From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73870: 30.0.91; Segmentation fault when enabling php-ts-mode in an empty buffer Date: Sat, 19 Oct 2024 13:14:29 +0300 Message-ID: <86bjzgl7qy.fsf@gnu.org> References: <87r08dxh9l.fsf@ice9.digital> <86iktomwnr.fsf@gnu.org> <87ikto309g.fsf@ice9.digital> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34068"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, v.pupillo@gmail.com, 73870-done@debbugs.gnu.org To: Morgan Willcock Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 19 12:16:17 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t26VM-0008iT-8S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Oct 2024 12:16:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t26Uo-0005NN-LY; Sat, 19 Oct 2024 06:15:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t26Um-0005Mp-TO for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 06:15:40 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t26Um-0000Zo-AI for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 06:15:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=SfkG9joPdhaWeAav72etwe7tGM4hEP2be+lPUPuJe3o=; b=PjdK4MOksKlVFNKIMZ37BgaiT2G+N7lpQoazZfwknNoZTL9MawVz1FxpiZM3OGOker8jAcXVqUf9K30xSCiTsOlN9snSdq06JByQaWclJ4TjxDWHHmHmNzhy94H2bYy/5sShypzoTsJpK8hLy8OyjCXS57b2BP7bgqvFeKozDycJdVsTsYAyS7VSLmJ3oaI5Xo6Zpu5VampuC7xiBEGL894+HIZrekh/nrBMfhm3js+m3WeOcP27pElkrLVBTkxIrezOsDjj2/rV7sd4RMPkxcoVqYw1TyZVAGkL5OkTZ6HxyNRnoQHUHQH+nr53VgF29R5zur0rItRER5YqNmGplg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t26V9-0007eB-R9 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 06:16:03 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2024 10:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 73870 X-GNU-PR-Package: emacs Mail-Followup-To: 73870@debbugs.gnu.org, eliz@gnu.org, morgan@ice9.digital Original-Received: via spool by 73870-done@debbugs.gnu.org id=D73870.172933290328911 (code D ref 73870); Sat, 19 Oct 2024 10:16:03 +0000 Original-Received: (at 73870-done) by debbugs.gnu.org; 19 Oct 2024 10:15:03 +0000 Original-Received: from localhost ([127.0.0.1]:41535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t26UB-0007WF-E6 for submit@debbugs.gnu.org; Sat, 19 Oct 2024 06:15:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t26U9-0007VW-Eq for 73870-done@debbugs.gnu.org; Sat, 19 Oct 2024 06:15:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t26Tf-0000I0-Dg; Sat, 19 Oct 2024 06:14:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=SfkG9joPdhaWeAav72etwe7tGM4hEP2be+lPUPuJe3o=; b=BcHtkC+0WQj1 mkrFIL7fFQahKsPrf9XCWNI+3UYlUmVf2S76tkuvq7lLNktGfskFlXWyq4A/u3wtMzmeChTV9kjqu bAHROG9QgFB7/t0+w+TvSlKSwUM/fFV25ix3zbpUVgxRijbcPqPsd+rLQ1bGXEktQQ/6xFa0OVpki MWzsV3vxASbB3ifD18WhEjUUjzqpnmJnRwcvKzgdW7cfI4hDDa/IgKLogaBzSJ0QKVkhE9YCDSGoK FaREJ0KnR5Q8AahCicXF1yW3ZJXnbcPesqToywaRXoNMRRDkd6XolxrUZIvxLbDtiZLrod+zQikd+ S2Di1bwEyySC4jDG5AF7zg==; In-Reply-To: <87ikto309g.fsf@ice9.digital> (message from Morgan Willcock on Sat, 19 Oct 2024 10:33:31 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293866 Archived-At: > From: Morgan Willcock > Cc: Yuan Fu , 73870@debbugs.gnu.org, v.pupillo@gmail.com > Date: Sat, 19 Oct 2024 10:33:31 +0100 > > Eli Zaretskii writes: > > > The implementation of that function was significantly modified on the > > emacs-30 release branch, so the code which segfaults for you is no > > longer there. Can you try the current emacs-30 branch and see if the > > problem still happens there? If it does, please show a backtrace from > > that version. > > Testing the current state of the branch (commit f353fcc8506) it no > longer crashes. I tested with the previously built grammars and with > the newer grammars that the mode now says it requires, and in both cases > the problem doesn't happen. Thanks, so I believe we already fixed this, and I'm therefore closing this bug.