From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauritz Stenek via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 13:31:52 -0600 Message-ID: <87bk3vl8bb.fsf@disroot.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> Reply-To: Mauritz Stenek Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7750"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71679@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 20 21:33:34 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 1sKNXK-0001ja-G7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jun 2024 21:33:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKNWs-0000bS-KA; Thu, 20 Jun 2024 15:33:06 -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 1sKNWq-0000ay-G3 for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 15:33:04 -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 1sKNWk-0005X0-4l for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 15:33:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKNWn-0001ql-TM for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 15:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauritz Stenek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jun 2024 19:33:01 +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.17189119307028 (code B ref 71679); Thu, 20 Jun 2024 19:33:01 +0000 Original-Received: (at 71679) by debbugs.gnu.org; 20 Jun 2024 19:32:10 +0000 Original-Received: from localhost ([127.0.0.1]:41514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKNVy-0001pI-35 for submit@debbugs.gnu.org; Thu, 20 Jun 2024 15:32:10 -0400 Original-Received: from layka.disroot.org ([178.21.23.139]:46010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKNVu-0001p3-RJ for 71679@debbugs.gnu.org; Thu, 20 Jun 2024 15:32:07 -0400 X-Virus-Scanned: SPAM Filter at disroot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1718911915; bh=5laLTUwO/VUTtJEDRUCUW5LiJdsbW89cFzq031hu5SM=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=EwHGR95ag9iGjto6xPraCWVNJcyCiOT4FWuKngZ1FcSKSu2frxSn6O13BCswMfqqE OBfeUbptC6jBJIub0w1OafOnOm4nUqFD7oi2q6djEPkbWJ6wFdq2Cih/zz4pSqdo34 /4ZpZPV13NoRqhmn5CAF6e4KA4VifSdWze8X/nKn91pPoqodbtCw1DrbZlpr6MxITD pIeAjNA97dfYeY0vOLmjYoqrfZnJ6+vjfIdYKSDs4EGbIxoGbMuZKVV/DsX47ViNyY vyrBGkx1Iw0zBTn8WIgVkXQC6jCPWLotfGdOFHapuv7Uu9iD/LLvtEBI18cnOdYXjm U2rUJiS12NpaA== In-Reply-To: <86iky3mnvt.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Jun 2024 22:10:14 +0300") 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:287594 Archived-At: 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 ?? () #5 0x00007f496d659800 in F656c6973702d2d6576616c2d6c6173742d736578702d7072696e742d76616c7565_elisp__eval_last_sexp_print_value_0 () from /gnu/store/cigkk82q1f5wypljsc6nfs4sz9k1qi2b-emacs-29.3/bin/../lib/emacs/29.3/native-lisp/29.3-d9acad52/preloaded/progmodes/elisp-mode.eln #6 0x00000000005dbf33 in ?? () #7 0x00007f496d659788 in F656c6973702d2d6576616c2d6c6173742d73657870_elisp__eval_last_sexp_0 () from /gnu/store/cigkk82q1f5wypljsc6nfs4sz9k1qi2b-emacs-29.3/bin/../lib/emacs/29.3/native-lisp/29.3-d9acad52/preloaded/progmodes/elisp-mode.eln #8 0x00000000005dbf33 in ?? () #9 0x00007f496d659c11 in F6576616c2d6c6173742d73657870_eval_last_sexp_0 () from /gnu/store/cigkk82q1f5wypljsc6nfs4sz9k1qi2b-emacs-29.3/bin/../lib/emacs/29.3/native-lisp/29.3-d9acad52/preloaded/progmodes/elisp-mode.eln #10 0x00000000005dbf33 in ?? () #11 0x00000000005d7fbf in ?? () #12 0x00000000005dbf33 in ?? () #13 0x00000000005d93e3 in ?? () #14 0x00007f496ded5c9d in F636f6d6d616e642d65786563757465_command_execute_0 () from /gnu/store/cigkk82q1f5wypljsc6nfs4sz9k1qi2b-emacs-29.3/bin/../lib/emacs/29.3/native-lisp/29.3-d9acad52/preloaded/simple.eln #15 0x00000000005dbf33 in ?? () #16 0x00000000005651c5 in ?? () #17 0x00000000005da697 in ?? () #18 0x00000000005510ba in ?? () #19 0x00000000005da5f1 in ?? () #20 0x000000000055105f in ?? () #21 0x0000000000558033 in ?? () #22 0x00000000005583aa in ?? () #23 0x0000000000431069 in ?? () #24 0x00007f496fc2d1f7 in __libc_start_call_main () from /gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libc.so.6 #25 0x00007f496fc2d2ac in __libc_start_main_impl () from /gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libc.so.6 #26 0x0000000000431561 in ?? () (gdb) continue Continuing. Thread 1 ".emacs-29.3-rea" received signal SIGSEGV, Segmentation fault. 0x00007f496fc8afec in __pthread_kill_implementation () from /gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libc.so.6 (gdb) continue Continuing. Couldn't get registers: No such process. (gdb) [Thread 0x7f496be00640 (LWP 257704) exited] [Thread 0x7f496ef9d100 (LWP 257702) exited] [Thread 0x7f496c800640 (LWP 257703) exited] [New process 257702] Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. The program is not being run. ``` Is this the expected backtrace output? -- Mauritz Stenek