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#71679: 29.3; treesit-node-child function chokes and crashes emacs for nodes with large number of child nodes Date: Thu, 20 Jun 2024 22:43:39 +0300 Message-ID: <86bk3vmmc4.fsf@gnu.org> References: <87bk3vmz2o.fsf@disroot.org> <86zfrfmwke.fsf@gnu.org> <877cejmv0m.fsf@disroot.org> <86sex7mude.fsf@gnu.org> <87zfrflezz.fsf@disroot.org> <86r0crmqu1.fsf@gnu.org> <87msnflbfr.fsf@disroot.org> <86o77vmphu.fsf@gnu.org> <87iky3l9k0.fsf@disroot.org> <86iky3mnvt.fsf@gnu.org> <87bk3vl8bb.fsf@disroot.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28264"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71679@debbugs.gnu.org To: Mauritz Stenek Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 20 21:44:14 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 1sKNhd-0007AW-MW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jun 2024 21:44:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKNhS-0006OU-8l; Thu, 20 Jun 2024 15:44:02 -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 1sKNhP-0006OC-O5 for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 15:43:59 -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 1sKNhP-0007Q7-EW for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 15:43:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKNhS-0002BT-GZ for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 15:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jun 2024 19:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71679 X-GNU-PR-Package: emacs Original-Received: via spool by 71679-submit@debbugs.gnu.org id=B71679.17189126338364 (code B ref 71679); Thu, 20 Jun 2024 19:44:02 +0000 Original-Received: (at 71679) by debbugs.gnu.org; 20 Jun 2024 19:43:53 +0000 Original-Received: from localhost ([127.0.0.1]:41825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKNhJ-0002An-DD for submit@debbugs.gnu.org; Thu, 20 Jun 2024 15:43:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKNhH-0002Aa-TP for 71679@debbugs.gnu.org; Thu, 20 Jun 2024 15:43:52 -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 1sKNh8-0007Or-G4; Thu, 20 Jun 2024 15:43:42 -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=41lqgJHDHrx9P0Tg4yWlqwuh69Eh/St+7X3m33oC/Z8=; b=gCJI8tU3Hy4e k9ctt4f95kfWc+azU2A5izss5O8/KUmgmiW+Gdji6rHSSx6PFrVIHrcCUdWYZ0zwokbQFH5Ul83G2 /J1eiIF3Zg9tsC9vTRsDm0NTaOzxnlzSpqHSlxiJ4OOHd39HzCcsMFUVo0OkDDoyfhX3syGt8biBQ 56dPfPZrQFuXnG7i5dX/TBhruXZXj9PFucE4MaymxkmiydmPtjT3ZnrcZTm+fLo/m/m+gBwhyuyS9 up+haRF4+aat6Xf9cdKem2bmIPcvetMM8NUP/uz014g7jAMiOVlq6xt7VBGvWG8FLmfKGXtOv0SNn U/G4hrtOBhuZ30AIqd0phw==; In-Reply-To: <87bk3vl8bb.fsf@disroot.org> (message from Mauritz Stenek on Thu, 20 Jun 2024 13:31:52 -0600) 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:287595 Archived-At: > From: Mauritz Stenek > Cc: 71679@debbugs.gnu.org > Date: Thu, 20 Jun 2024 13:31:52 -0600 > > On 2024-06-20 at 13:10, Eli Zaretskii wrote: > > > But your way should also work, if you say "continue" after > > attaching > > GDB. And don't use -i=mi, since the MI interface is for another > > program to drive GDB, it is not convenient for humans. > > I couldn't run it your way; running it without the `-i=mi`, this > is what I get from gdb: > > ``` > (gdb) continue > Continuing. > > Thread 1 ".emacs-29.3-rea" received signal SIGSEGV, Segmentation > fault. > 0x0000000000584404 in ?? () > (gdb) bt > #0 0x0000000000584404 in ?? () > #1 0x0000000000662d88 in ?? () > #2 0x0000000000604b9d in ?? () > #3 0x0000000000602b1b in ?? () > #4 0x000000000060350d in ?? () This means your Emacs is stripped of debug information, so no useful backtrace is possible. But never mind: as I wrote earlier, I've reproduced this problem in the stock Emacs 29.2, and then saw that we already fixed it in the development sources.