From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Morgan Willcock 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 10:33:31 +0100 Message-ID: <87ikto309g.fsf@ice9.digital> References: <87r08dxh9l.fsf@ice9.digital> <86iktomwnr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10710"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Yuan Fu , v.pupillo@gmail.com, 73870@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 19 11:35:16 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 1t25re-0002Z9-6Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Oct 2024 11:35:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t25r7-0008QA-LT; Sat, 19 Oct 2024 05:34:41 -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 1t25r5-0008Pu-PD for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 05:34:39 -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 1t25r5-00046L-Gd for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 05:34:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=+wJy/fH7Yo1XahHrGVJSHQaxZuVZouPT3UHamXl0K7Q=; b=k5U4RmBsqqexgsJGaBh5mvJEiGju8Q7NrjfxJHnRKt/W2xRFnC2J0TAVJOPGcPUcZ95ZX6+8gtaaVOchVpNlB/fWWHGMfKQGINmlRDn2twTAaD+LrN5Iib0pMc4Nj/YtncEs9t1Ft5aG8DsOwii0kwbAbQyjOFzyD8yjiVM0HTZk26JL491m1RIsCyDUF8v1gwat6yvBGoLJywzAM8v8GwgJeaDX7y+JKV87STbaHXZezXM/rFAlePIgENGVMvDMlCQsU03BT1xHe09iwQlRXgya5EOYAVQuaj3pjgIMzv5NebZGcIFLi19Jt0kE3uvxkqUlXZNxbtOVwbCP8W5nfA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t25rS-0005eA-Ui for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 05:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Morgan Willcock Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2024 09:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73870 X-GNU-PR-Package: emacs Original-Received: via spool by 73870-submit@debbugs.gnu.org id=B73870.172933046721631 (code B ref 73870); Sat, 19 Oct 2024 09:35:02 +0000 Original-Received: (at 73870) by debbugs.gnu.org; 19 Oct 2024 09:34:27 +0000 Original-Received: from localhost ([127.0.0.1]:41450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t25qs-0005co-Rb for submit@debbugs.gnu.org; Sat, 19 Oct 2024 05:34:27 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:46435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t25qo-0005cW-Jq for 73870@debbugs.gnu.org; Sat, 19 Oct 2024 05:34:25 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id D841AC0007; Sat, 19 Oct 2024 09:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ice9.digital; s=gm1; t=1729330413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+wJy/fH7Yo1XahHrGVJSHQaxZuVZouPT3UHamXl0K7Q=; b=GqzZJGEG8Bxed8sGHSxZWO+NYO85q2jOfOYb51Ohzj7MgfLV1iqTA1LrtZ0TH8zUhY9Y2H pUiW3OJecajGnX9MgCI3IuTRh6JEpJFeE2GoAB5qTTfoUu/PZbOF5PH7RygKO4xdHhpa3T 3qCbiv9y7xAX36stxaEq601YSouunbxnZ2NQdeSorOh9SQ8elDYU811wpbIcypwncJhSiP x64m7CzKQcJ3u391DwZjYtwQEevVrP9z2Ps/jHrwk/8j4e/8mtBDA5uob+Jmv2STCVyubD Gk8uIwE2sDZoUutVYWZi1Ox8cWrj0h++ty6oWymI6YEogEQ8V/7Bb1SmgeTDuA== In-Reply-To: <86iktomwnr.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 19 Oct 2024 09:31:04 +0300") X-GND-Sasl: morgan@ice9.digital 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:293862 Archived-At: 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. -- Morgan Willcock