From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 04:45:41 2025 Received: (at submit) by debbugs.gnu.org; 23 Mar 2025 08:45:42 +0000 Received: from localhost ([127.0.0.1]:47590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twGxg-0007kD-8T for submit@debbugs.gnu.org; Sun, 23 Mar 2025 04:45:41 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35634) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1twGxb-0007i8-Rq for submit@debbugs.gnu.org; Sun, 23 Mar 2025 04:45:37 -0400 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 1twGxQ-00055E-T4 for bug-gnu-emacs@gnu.org; Sun, 23 Mar 2025 04:45:25 -0400 Received: from [78.47.144.35] (helo=metalevel.at) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1twGxO-0005GT-LX for bug-gnu-emacs@gnu.org; Sun, 23 Mar 2025 04:45:24 -0400 Received: from mt-VivoBook (localhost [127.0.0.1]) by metalevel.at (Postfix) with ESMTPS id 20FDB9C77E for ; Sun, 23 Mar 2025 09:45:20 +0100 (CET) Received: by mt-VivoBook (Postfix, from userid 1000) id C4EE680A2E; Sun, 23 Mar 2025 09:45:18 +0100 (CET) From: Markus Triska To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Emacs sometimes crashes if several frames are present X-Debbugs-Cc: Date: Sun, 23 Mar 2025 09:45:17 +0100 Message-ID: <87frj4i19e.fsf@metalevel.at> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.47.144.35 (failed) Received-SPF: none client-ip=78.47.144.35; envelope-from=triska@metalevel.at; helo=metalevel.at X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) To reproduce this issue, please download several_frames_tty.el from: https://www.metalevel.at/ei/several_frames_tty.el Then start Emacs with: $ emacs -Q -nw --load several_frames_tty.el Leave it running for a bit, and then press: C-g C-x C-c The expectation is that Emacs exits, and it works as expected in many cases. However, in some cases, I get: /lib/x86_64-linux-gnu/libc.so.6(+0x28150)[0x7deeafe28150] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89)[0x7deeafe28209] ./emacs(+0x3f5c5)[0x59a98895d5c5] Segmentation fault (core dumped) I attach the backtrace below. The example is related to #77046 in that it also causes a crash. However, this time, several different frames are involved, and the backtrace is different, so I file this as a seperate issue. Please do merge the issues if you consider them equivalent. Thank you and all the best, Markus #0 0x000055555559ce5f in check_matrix_pointers (window_matrix=0x0, frame_matrix=0x0) at dispnew.c:3145 #1 0x000055555559cdd7 in check_window_matrix_pointers (w=0x5555560beba0) at dispnew.c:3123 #2 0x000055555559f8f9 in combine_updates_for_frame (f=0x555555b15660, inhibit_scrolling=false) at dispnew.c:4074 #3 0x000055555559f9cc in combine_updates (roots=XIL(0x7ffff72df523)) at dispnew.c:4097 #4 0x00005555556023a9 in redisplay_internal () at xdisp.c:17748 #5 0x00005555555ffa42 in redisplay () at xdisp.c:16802 #6 0x0000555555766abf in read_char (commandflag=1, map=XIL(0x7ffff7341e83), prev_event=XIL(0), used_mouse_menu=0x7fffffffd769, end_time=0x0) at keyboard.c:2672 #7 0x000055555577bc92 in read_key_sequence (keybuf=0x7fffffffd990, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10848 #8 0x0000555555762a9b in command_loop_1 () at keyboard.c:1424 #9 0x000055555584add0 in internal_condition_case (bfun=0x55555576264d , handlers=XIL(0x90), hfun=0x555555761a40 ) at eval.c:1620 #10 0x00005555557621f0 in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1163 #11 0x000055555584a1a1 in internal_catch (tag=XIL(0x11df0), func=0x5555557621c2 , arg=XIL(0x90)) at eval.c:1300 #12 0x000055555576217e in command_loop () at keyboard.c:1141 #13 0x00005555557614c2 in recursive_edit_1 () at keyboard.c:749 #14 0x00005555557616f6 in Frecursive_edit () at keyboard.c:832 #15 0x000055555575cc04 in main (argc=5, argv=0x7fffffffde58) at emacs.c:2560 Lisp Backtrace: "redisplay_internal (C function)" (0x0) In GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2025-03-23 built on laptop Repository revision: ab25b4fca9a20ccc03a90ec9c2281a2f88872d93 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12302000 System Description: Ubuntu 23.10 Configured using: 'configure --with-x-toolkit=lucid --with-xpm=ifavailable --with-gif=ifavailable --with-tiff=ifavailable --with-gnutls=ifavailable --enable-checking=yes,glyphs --enable-check-lisp-object-type 'CFLAGS=-O0 -g3'' Configured features: FREETYPE GMP JPEG LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TOOLKIT_SCROLL_BARS X11 XDBE XFT XIM XPM LUCID ZLIB From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 05:39:15 2025 Received: (at 77200) by debbugs.gnu.org; 23 Mar 2025 09:39:16 +0000 Received: from localhost ([127.0.0.1]:47677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twHnW-0007gl-AD for submit@debbugs.gnu.org; Sun, 23 Mar 2025 05:39:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57172) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1twHnT-0007fc-Lw for 77200@debbugs.gnu.org; Sun, 23 Mar 2025 05:39:12 -0400 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 1twHnN-0004k6-JR; Sun, 23 Mar 2025 05:39:05 -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=EWUAfvIa49myQNdA/jfLFwObOT01/BVQ8tgTCPpz3Wo=; b=hD5rfZJ+4EUq shZ5qUGp1GUaWwnwb1EYaIpCaPmfHTa9mY84MS/NY3uCteR6kkm68V6MkiV2yFPIQEs4zwwf8Eocz 3N4hgKFuwHRBGLPaL6ebgS1QUuAyLRssSu54peu7B2rvIUTllhTKVBWrQosuBDOTkKwQVakU+d8VE sEnCgtRq3E+ENm46Wqs/BBNQG6gwg2SvAgSNtIdudvjFVul0EjkDRgDWxF7ZktQgjc930G0coXhzd LnzupNDRyq7s10qlfu4CozJas9NhGWYFQ3+XNpD0EfnlgKhQ1CbG1NjBmX040MRYAO5R4CiW0hOMP LeVClQOQu2Nva5IT4qVTUA==; Date: Sun, 23 Mar 2025 11:39:01 +0200 Message-Id: <86bjtsgk7e.fsf@gnu.org> From: Eli Zaretskii To: Markus Triska In-Reply-To: <87frj4i19e.fsf@metalevel.at> (message from Markus Triska on Sun, 23 Mar 2025 09:45:17 +0100) Subject: Re: bug#77200: 31.0.50; Emacs sometimes crashes if several frames are present References: <87frj4i19e.fsf@metalevel.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77200 Cc: 77200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Markus Triska > Date: Sun, 23 Mar 2025 09:45:17 +0100 > > To reproduce this issue, please download several_frames_tty.el from: > > https://www.metalevel.at/ei/several_frames_tty.el > > Then start Emacs with: > > $ emacs -Q -nw --load several_frames_tty.el > > Leave it running for a bit, and then press: > > C-g C-x C-c > > The expectation is that Emacs exits, and it works as expected in many > cases. However, in some cases, I get: > > /lib/x86_64-linux-gnu/libc.so.6(+0x28150)[0x7deeafe28150] > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89)[0x7deeafe28209] > ./emacs(+0x3f5c5)[0x59a98895d5c5] > Segmentation fault (core dumped) > > I attach the backtrace below. I could only reproduce this once, and checked in a fix. Please try again with the current master branch. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 05:46:47 2025 Received: (at 77200) by debbugs.gnu.org; 23 Mar 2025 09:46:47 +0000 Received: from localhost ([127.0.0.1]:47697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twHuo-0000Nn-Qj for submit@debbugs.gnu.org; Sun, 23 Mar 2025 05:46:47 -0400 Received: from [78.47.144.35] (port=35336 helo=metalevel.at) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twHum-0000NX-MV for 77200@debbugs.gnu.org; Sun, 23 Mar 2025 05:46:45 -0400 Received: by metalevel.at (Postfix, from userid 1000) id 861079C78C; Sun, 23 Mar 2025 10:46:43 +0100 (CET) From: Markus Triska To: Eli Zaretskii Subject: Re: bug#77200: 31.0.50; Emacs sometimes crashes if several frames are present References: <87frj4i19e.fsf@metalevel.at> <86bjtsgk7e.fsf@gnu.org> Date: Sun, 23 Mar 2025 10:46:43 +0100 In-Reply-To: <86bjtsgk7e.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 23 Mar 2025 11:39:01 +0200") Message-ID: <87pli8dqpo.fsf@metalevel.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii writes: > I could only reproduce this once, and checked in a fix. Please try > again with the current master branch. Awesome, it seems to work nicely, thank you a lot! Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.47.144.35 listed in sa-trusted.bondedsender.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [78.47.144.35 listed in bl.score.senderscore.com] 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 77200 Cc: 77200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Eli Zaretskii writes: > I could only reproduce this once, and checked in a fix. Please try > again with the current master branch. Awesome, it seems to work nicely, thank you a lot! All the best, Markus From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 23 05:56:11 2025 Received: (at 77200-done) by debbugs.gnu.org; 23 Mar 2025 09:56:11 +0000 Received: from localhost ([127.0.0.1]:47723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twI3u-0001ht-78 for submit@debbugs.gnu.org; Sun, 23 Mar 2025 05:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48390) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1twI3q-0001gK-IQ for 77200-done@debbugs.gnu.org; Sun, 23 Mar 2025 05:56:07 -0400 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 1twI3l-0007Nf-8k; Sun, 23 Mar 2025 05:56:01 -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=g83RNqCagbKpADe7C6OCheP7bgVkEpC7Mdg7xdDRGOY=; b=C03eC1zsnClq AZxoqJ64BlITXfGdQzB4ocJjVZWC8xZjqgvVHZ4EFzC8cZ4fzbGGx3mSN6FHsBXDTDFE5fVWQelLE aAcEYzrnzcGALFLmhL0nfRTf8ilYV7v1yIZSFZcyYHza8kEO0rkahisDkO0A3TquPUjT+Q8xa2gau mPOSMqcgWcGZkbLSxHgQwkXe8/YtHFWhQvKDyw9qP6nxE+B5hJVKMYVDNNFU1Y5RQe0l4fCAVx2x8 9afwHyIv0XPJbCUbyhNMU4ucn9prfdTuwVT36faU1+CWhCbcSFskwp1TKtYZHbt88evA/htZV0xyU R5zJ9YtNM1EY7MjYcdBAfQ==; Date: Sun, 23 Mar 2025 11:55:59 +0200 Message-Id: <868qowgjf4.fsf@gnu.org> From: Eli Zaretskii To: Markus Triska In-Reply-To: <87pli8dqpo.fsf@metalevel.at> (message from Markus Triska on Sun, 23 Mar 2025 10:46:43 +0100) Subject: Re: bug#77200: 31.0.50; Emacs sometimes crashes if several frames are present References: <87frj4i19e.fsf@metalevel.at> <86bjtsgk7e.fsf@gnu.org> <87pli8dqpo.fsf@metalevel.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77200-done Cc: 77200-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Markus Triska > Cc: 77200@debbugs.gnu.org > Date: Sun, 23 Mar 2025 10:46:43 +0100 > > Eli Zaretskii writes: > > > I could only reproduce this once, and checked in a fix. Please try > > again with the current master branch. > > Awesome, it seems to work nicely, thank you a lot! Thanks, closing. From unknown Tue Aug 19 05:10:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 20 Apr 2025 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator