From unknown Fri Jun 20 07:15:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#77024 <77024@debbugs.gnu.org> To: bug#77024 <77024@debbugs.gnu.org> Subject: Status: 31.0.50; feature/igc: crash "switching to thread" Reply-To: bug#77024 <77024@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:15:10 +0000 retitle 77024 31.0.50; feature/igc: crash "switching to thread" reassign 77024 emacs submitter 77024 Oliver Reiter severity 77024 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 15 02:39:23 2025 Received: (at submit) by debbugs.gnu.org; 15 Mar 2025 06:39:23 +0000 Received: from localhost ([127.0.0.1]:38073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ttLB4-0002PA-Ed for submit@debbugs.gnu.org; Sat, 15 Mar 2025 02:39:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:44488) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ttBvg-0005D7-QL for submit@debbugs.gnu.org; Fri, 14 Mar 2025 16:46:53 -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 1ttBva-0006Bu-T0 for bug-gnu-emacs@gnu.org; Fri, 14 Mar 2025 16:46:46 -0400 Received: from mail.wiiw.ac.at ([80.120.177.169]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ttBvY-0006s9-JM for bug-gnu-emacs@gnu.org; Fri, 14 Mar 2025 16:46:46 -0400 X-Footer: d2lpdy5hYy5hdA== Received: from localhost ([172.16.10.40]) (authenticated user reiter@wiiw.ac.at) by mail.wiiw.ac.at (Kerio Connect 10.0.6 patch 3) with ESMTPSA (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) for bug-gnu-emacs@gnu.org; Fri, 14 Mar 2025 21:34:37 +0100 From: Oliver Reiter To: bug-gnu-emacs@gnu.org Subject: 31.0.50; feature/igc: crash "switching to thread" User-Agent: mu4e 1.12.9; emacs 31.0.50 Date: Fri, 14 Mar 2025 21:34:32 +0100 Message-ID: <87ldt7bbc7.fsf@wiiw.ac.at> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=80.120.177.169; envelope-from=reiter@wiiw.ac.at; helo=mail.wiiw.ac.at X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 15 Mar 2025 02:39:20 -0400 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.0 (/) Evening! After weeks of no crash, emacs crashed on me today again. [New Thread 0x7fffb3bb96c0 (LWP 54691)] [Thread 0x7fffb3bb96c0 (LWP 54691) exited] ... quite a lot of those [New Thread 0x7fffb3bb96c0 (LWP 54696)] [Thread 0x7fffb3bb96c0 (LWP 54696) exited] [New Thread 0x7fffb3bb96c0 (LWP 54709)] [Thread 0x7fffb3bb96c0 (LWP 54709) exited] [New Thread 0x7fffb3bb96c0 (LWP 54751)] [Switching to Thread 0x7fffb3bb96c0 (LWP 54751)] Thread 409 "diff-hl--update" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=40) at /home/reitero/build/sources/emacs/emacs_debug/src/emacs.c:425 425 { (gdb) bt #0 terminate_due_to_signal (sig=6, backtrace_limit=40) at /home/reitero/build/sources/emacs/emacs_debug/src/emacs.c:425 #1 0x00005555556d31a5 in emacs_abort () at /home/reitero/build/sources/emacs/emacs_debug/src/sysdep.c:2378 #2 0x000055555579fa76 in fix_lisp_obj (ss=ss@entry=0x7fffb3bb81a8, pobj=pobj@entry=0x555556f67eb0) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1132 #3 0x00005555557a1040 in scan_specpdl (ss=0x7fffb3bb81a8, start=, end=0x555556f684e0, closure=) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1535 #4 0x0000555555861428 in RootScan () #5 0x00005555558615fa in traceScanRootRes () #6 0x0000555555861c0b in TraceStart () #7 0x0000555555862bf8 in PolicyStartTrace () #8 0x0000555555866331 in TracePoll () #9 0x00005555558664f9 in ArenaPoll () #10 0x00005555558668e3 in mps_ap_fill () #11 0x00005555557a13b7 in alloc_impl (size=size@entry=304, type=type@entry=IGC_OBJ_HANDLER, ap=0x7fffb8367818) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:4094 #12 0x00005555557a14a6 in alloc (size=size@entry=304, type=type@entry=IGC_OBJ_HANDLER) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:4122 #13 0x00005555557a17cd in igc_alloc_handler () at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:4499 #14 0x00005555557a392f in run_thread (state=0x7fffa66f9c90) at /home/reitero/build/sources/emacs/emacs_debug/src/thread.c:804 #15 0x00007ffff353270a in start_thread (arg=) at pthread_create.c:448 #16 0x00007ffff35b6aac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 (gdb) bt full #0 terminate_due_to_signal (sig=6, backtrace_limit=40) at /home/reitero/build/sources/emacs/emacs_debug/src/emacs.c:425 No locals. #1 0x00005555556d31a5 in emacs_abort () at /home/reitero/build/sources/emacs/emacs_debug/src/sysdep.c:2378 No locals. #2 0x000055555579fa76 in fix_lisp_obj (ss=ss@entry=0x7fffb3bb81a8, pobj=pobj@entry=0x555556f67eb0) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1132 word = p = 0x555556f67eb0 tag = 1 client = base = res = _ss = 0x7fffb3bb81a8 _mps_zs = _mps_ufs = 0 _mps_wt = _mps_w = #3 0x00005555557a1040 in scan_specpdl (ss=0x7fffb3bb81a8, start=, end=0x555556f684e0, closure=) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1535 res = pdl = 0x555556f67ea0 t = _ss = 0x7fffb3bb81a8 _mps_zs = _mps_ufs = 0 _mps_wt = _mps_w = #4 0x0000555555861428 in RootScan () No symbol table info available. #5 0x00005555558615fa in traceScanRootRes () No symbol table info available. #6 0x0000555555861c0b in TraceStart () No symbol table info available. #7 0x0000555555862bf8 in PolicyStartTrace () No symbol table info available. #8 0x0000555555866331 in TracePoll () No symbol table info available. #9 0x00005555558664f9 in ArenaPoll () No symbol table info available. #10 0x00005555558668e3 in mps_ap_fill () No symbol table info available. #11 0x00005555557a13b7 in alloc_impl (size=size@entry=304, type=type@entry=IGC_OBJ_HANDLER, ap=0x7fffb8367818) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:4094 res = p = 0x0 #12 0x00005555557a14a6 in alloc (size=size@entry=304, type=type@entry=IGC_OBJ_HANDLER) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:4122 No locals. #13 0x00005555557a17cd in igc_alloc_handler () at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:4499 h = #14 0x00005555557a392f in run_thread (state=0x7fffa66f9c90) at /home/reitero/build/sources/emacs/emacs_debug/src/thread.c:804 stack_pos = { o = 0x7fffb3bb85c0, p = 0x7fffb3bb85c0, c = -64 '\300' } self = 0x7fffa66f9c90 --Type for more, q to quit, c to continue without paging-- iter = c = #15 0x00007ffff353270a in start_thread (arg=) at pthread_create.c:448 ret = pd = out = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140736208803520, -7017451993682105089, 140736208803520, -600, 11, 140737488338656, -7017451993560470273, -7017310503391286017}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = #16 0x00007ffff35b6aac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 No locals. (gdb) xbacktrace ## is empty In GNU Emacs 31.0.50 (build 13, x86_64-pc-linux-gnu, GTK+ Version 3.24.48, cairo version 1.18.2) of 2025-03-07 built on wilap Repository revision: 07cca9aec11b2c40d1107a90b81400c3a34e1f68 Repository branch: HEAD System Description: Arch Linux Configured using: 'configure 'CFLAGS=-g3 -ggdb -Og -fno-omit-frame-pointer' CPPFLAGS=-I/home/reitero/.local/lib/mps LDFLAGS=-L/home/reitero/.local/lib/mps --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-mps=yes --with-gameuser=root:games --with-pgtk --with-xft --with-harfbuzz --with-modules --without-compress-install --without-m17n-flt --with-libotf --without-imagemagick --without-gsettings --without-gconf --with-native-compilation=aot --with-tree-sitter --enable-link-time-optimization' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES MPS NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Cheers, Oliver From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 15 06:28:13 2025 Received: (at 77024) by debbugs.gnu.org; 15 Mar 2025 10:28:13 +0000 Received: from localhost ([127.0.0.1]:38961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ttOkX-0003dc-FS for submit@debbugs.gnu.org; Sat, 15 Mar 2025 06:28:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37744) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ttOkV-0003dE-0P for 77024@debbugs.gnu.org; Sat, 15 Mar 2025 06:28:11 -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 1ttOkO-0000fp-5e; Sat, 15 Mar 2025 06:28:04 -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=rnoLVrZ3389Z4yc+XThSINtc7TwJtNIfowxLvj/5AUg=; b=d4G75RXwB33w 0lQOVgWIKGB2WdYVLNnH1HULSFH+GapRynK09MoehLC6VsKr8VzEHmnWEKJujNnDhETkzms9k/4Zh QzGupSn/KVZsrn2mfmrrHZ6PBM08A+E7sbrWfYiXBao4734sxRzTpQ1o19aC+OSv6rkO6uurpvw/x Ewu/Ge9FFnhiT3DUJqCelrbigO0J6yZp0w8gnxBtt3/KhRTgBK2ORJfTu0a4RPG6fZL+9gi9Kta38 4E/XT3/AEazOI2f6OuMCC/RbhhO/o+tI/P2Is/qAJIKCMiLVPA2Oo8T8WU/tY73XrMZ4v43JCaVGk kteM6bykG/tisXuNLR6zng==; Date: Sat, 15 Mar 2025 12:27:53 +0200 Message-Id: <86ikoay4eu.fsf@gnu.org> From: Eli Zaretskii To: Oliver Reiter In-Reply-To: <87ldt7bbc7.fsf@wiiw.ac.at> (message from Oliver Reiter on Fri, 14 Mar 2025 21:34:32 +0100) Subject: Re: bug#77024: 31.0.50; feature/igc: crash "switching to thread" References: <87ldt7bbc7.fsf@wiiw.ac.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77024 Cc: 77024@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: Oliver Reiter > Date: Fri, 14 Mar 2025 21:34:32 +0100 > > After weeks of no crash, emacs crashed on me today again. > > [New Thread 0x7fffb3bb96c0 (LWP 54691)] > [Thread 0x7fffb3bb96c0 (LWP 54691) exited] > ... quite a lot of those > [New Thread 0x7fffb3bb96c0 (LWP 54696)] > [Thread 0x7fffb3bb96c0 (LWP 54696) exited] > [New Thread 0x7fffb3bb96c0 (LWP 54709)] > [Thread 0x7fffb3bb96c0 (LWP 54709) exited] > [New Thread 0x7fffb3bb96c0 (LWP 54751)] > [Switching to Thread 0x7fffb3bb96c0 (LWP 54751)] > > Thread 409 "diff-hl--update" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=40) at /home/reitero/build/sources/emacs/emacs_debug/src/emacs.c:425 > 425 { > (gdb) bt > #0 terminate_due_to_signal (sig=6, backtrace_limit=40) at /home/reitero/build/sources/emacs/emacs_debug/src/emacs.c:425 > #1 0x00005555556d31a5 in emacs_abort () at /home/reitero/build/sources/emacs/emacs_debug/src/sysdep.c:2378 > #2 0x000055555579fa76 in fix_lisp_obj (ss=ss@entry=0x7fffb3bb81a8, pobj=pobj@entry=0x555556f67eb0) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1132 This is here: mps_word_t tag = word & IGC_TAG_MASK; if (tag == Lisp_Int0 || tag == Lisp_Int1) return MPS_RES_OK; else if (tag == Lisp_Type_Unused0) emacs_abort (); <<<<<<<<<<<<<<<<<<<<<<<<<< Called from here: case SPECPDL_UNWIND: IGC_FIX12_OBJ (ss, &pdl->unwind.arg); break; Can you show the contents of 'pdl' here? From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 15 07:09:13 2025 Received: (at 77024) by debbugs.gnu.org; 15 Mar 2025 11:09:13 +0000 Received: from localhost ([127.0.0.1]:39100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ttPOC-0001J2-Sg for submit@debbugs.gnu.org; Sat, 15 Mar 2025 07:09:13 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:33181) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ttPNO-0001Fu-Tt for 77024@debbugs.gnu.org; Sat, 15 Mar 2025 07:08:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1742036895; x=1742296095; bh=GOkzSnFuOh6/tVy7Y18RNSA2yFI+OvIM1i7x6yh2etg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=CW9GaoTN6QFo3FYvORZ61ZTJV6gDTbJLRckDKvuCC+mC+bV3mekh0NRoAi/a3v1JV tYbLNzEPsYArknd6U2f6RAGDjBnvkKyh/Ihv/7yk71Bma1TIUHTU1DjJNgWVxOnrC+ 9AU358KB8z5VG4pav0uBElJb43MKE/Fw8VNzkzxALYqjni+KHrINOgoylzWrw1Dt3c yNfli2xcpsNqiWL2NFeqR1fYsiKLj3iyz3d+INJsXJbPq7pyw5nWr6ZeQMiBRZTgf1 d9rjgiOHbVocSH3uVGUHB1yBRpzvV07GIa1bZ9QfjHhPyGUGLbspmyFoG7ghN4PPvU kzOd4Tjy/95jg== Date: Sat, 15 Mar 2025 11:08:11 +0000 To: Oliver Reiter From: Pip Cet Subject: Re: bug#77024: 31.0.50; feature/igc: crash "switching to thread" Message-ID: <87msdmeemn.fsf@protonmail.com> In-Reply-To: <87ldt7bbc7.fsf@wiiw.ac.at> References: <87ldt7bbc7.fsf@wiiw.ac.at> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: aff040d4edc8d6e61315e9ac5690c5df3b019139 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77024 Cc: 77024@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: -1.0 (-) "Oliver Reiter" writes: > Evening! > After weeks of no crash, emacs crashed on me today again. Thanks for the report! I'm surprised that you hit the multi-Lisp-thread code, I thought it remained essentially unused. In any case, the problem here is that when we create a new thread, we xmalloc the new thread's specpdl. This is Fmake_thread: union specbinding *pdlvec =3D xmalloc ((1 + size) * sizeof (union specbin= ding)); new_thread->m_specpdl =3D pdlvec + 1; /* Skip the dummy entry. */ new_thread->m_specpdl_end =3D new_thread->m_specpdl + size; new_thread->m_specpdl_ptr =3D new_thread->m_specpdl; And this is init_eval_once_for_pdumper, which works: union specbinding *pdlvec =3D xzalloc ((size + 1) * sizeof *specpdl); specpdl =3D specpdl_ptr =3D pdlvec + 1; specpdl_end =3D specpdl + size; xmalloc often returns memory that happens to be zeroed, but doesn't guarantee it, and then we try to scan the new specpdl and hit the assert below. > [New Thread 0x7fffb3bb96c0 (LWP 54691)] > [Thread 0x7fffb3bb96c0 (LWP 54691) exited] > ... quite a lot of those > [New Thread 0x7fffb3bb96c0 (LWP 54696)] > [Thread 0x7fffb3bb96c0 (LWP 54696) exited] > [New Thread 0x7fffb3bb96c0 (LWP 54709)] > [Thread 0x7fffb3bb96c0 (LWP 54709) exited] > [New Thread 0x7fffb3bb96c0 (LWP 54751)] > [Switching to Thread 0x7fffb3bb96c0 (LWP 54751)] TBH, I'd rather go through the thread.c code once more to make sure there aren't any obvious bugs preventing it from working with HAVE_MPS. What were you doing that launched multiple threads? > Thread 409 "diff-hl--update" hit Breakpoint 1, terminate_due_to_signal (s= ig=3D6, backtrace_limit=3D40) at /home/reitero/build/sources/emacs/emacs_de= bug/src/emacs.c:425 I'll fix the xmalloc->xzalloc thing now, but it's possible there are other problems, particularly with so many threads... Pip From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 16 04:06:42 2025 Received: (at 77024) by debbugs.gnu.org; 16 Mar 2025 08:06:43 +0000 Received: from localhost ([127.0.0.1]:45264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ttj18-0004XL-2z for submit@debbugs.gnu.org; Sun, 16 Mar 2025 04:06:42 -0400 Received: from sonic303-20.consmr.mail.ne1.yahoo.com ([66.163.188.146]:37750) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1ttj15-0004WI-OM for 77024@debbugs.gnu.org; Sun, 16 Mar 2025 04:06:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1742112392; bh=iWr7vBo/9Iu3ZmLSfTi8Y+bnXIj/kI5poDT9P7XJRU4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Zb3Z2rzR6xCCbsZ1UMYnQETfcRg1p5vM7vHUqz5vfsQLk5EX9JELHrIsvfm/Y4hUOeFxCIUy8NdhvxnesMXrIWtKUG9sZoCdnnSm8YYT/MER4YwJMigMzGCUxglW8GMHv9Vp7MTqpY7hOABIZd/2nZH+MRSXtnYo1giZBYMObFCyD+PWy/6b+szw7dvgXwzxV9ugjBfkXLZ7zi94gle/yaSCobrz4b5OmBnN+rxCNc/jTeFoJFvRr1q4V1aaub6kNvntVb13HKvvhkE5IwK64r9NSjGSF0bp2bv7B68zbTonUEROabuplnoAHkLDk5Of4ac00a7Kv/U65cL7zCC3xw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1742112392; bh=IVPTvJsyBLVvXBakH50Eg51s0C+0+6ysHXHCiXaJYDG=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=cNf/teYALXlejDD/JOxhoFmKEUw1Ba7x0Gr4bjk00iI4JbBEbSMFvFl8iar05snJ27dpBueMzUmHbA8ujLLjMZuPAZEsOLS5pPj0gLz05cHn2rCjqmbUNTKs0HCPi0wspvXe7pAgDS3MHhl8V0iuCAqPRfoOylM8+G6gzEqFsDYj0ZnXKkZB/Aw7jOA3CDsPUQXG5CAAS0lbRzdFRtpXfC/GSdzARakQNee/8YKRUneOl2hKPzHaas1Rj2Kmw36jO2HQB7cUSsROrkxhp+NnnMFjrx0u9b5hC1/ZfmQGLG2F7lOpUfUSPQ95DMSqViVlK4bWuxtqmO5Wf3I+7nYr4g== X-YMail-OSG: BQcBozwVM1lx5DtUvVKaJbbLvr.rojCdvQNtzy4SgdqPu6wrVIbJB4PRWrOUeSL qH7Y9F862hK7OMByJLUDr9n7_MN3UodSqNWUO8CCMg93eyzf5rszgee00hU5XDGzkZpeSmL8_9WD 4sjoT6gQs.B_In0FoCmfAD9V26lJkMa3WmHdHHxYsHlunlCkl3c5txpN9HljLPhl_DcDAZtCDipd i4Nl1RIBn0lWvYZCpEoSJI2lyJWCI39U4SIjIFUjAVhssZZJ_XFvdO_2pJwvp2jhVcmb7d6XzlQ2 tIhiMJA_EfyZamFiZxpKUieTz_N.1i8qJkaKfpUtCuTbe_m8rLcaXn5ZJ.TpqsWmKWM_yh02PnCf sHZjVZNxvPWoWTceTLBX6cM.hMgCHyL39hIRzm7cQt4DaSMAQ6xBxCV2ccb9CGIcFq0aROnVUnFV xTpcs1Mj8DJ6THoUgmem7q4F.QuUAyb3jSx.pVWkDtyTu9dE7YncZkEOlNjPBd3Bohq5akY6inik ydX6YSIBxlJJPH_usMzPfekQ3YFivOrCORMhpWmDlS59JkJSrZmsvbNnwFYCRq6l0BXzQwoAlOfE vtdT2b5qjcCcA3nWl5029t19hMOmXl7Heow5hiXTESfo0O2sdohJ5I88gJbPSwDHg9tQZfXQQONq _McnqvCMUantND1v42dg_w9KQlPl42._0pnDsK_h0GPermBL1ZL3qd0RMwuK1NrY87.h6u5LqaBg 3aeLYU57gqpFE6webjlQWtO0jyon58ZUNgCB5m_Zb.vNyHMIybOi70o80IVkftHn7IWVn4vF6PVZ mV.U9.kUatvomHC1ORKST0mBmKeIcZbyWmNOK8mMT1xYP3SMSaUB2Ne6K0SvjvrB2BEHTM102GTg XQoiglHVL8KrFjMYp6r0GnudeKD188SCtM.2leu9dZ_espS02xY3or8hFtIpaJKkK5TUQ70I5TfD 2VhMUu9p.STCrRqxxzbBFgER2ik0vUkIalbiNjJ1rWFIs_Oc7YorCObx_HFo29RbRwVkRM_iOhHy rZJWYTtR3LXk0lPGkuSSZQmsVmu.yYx4y6wRwnCbPj5hItXc6AhMO7kgEoIbyN5k.BxF6ndf5VRo KWXFls7nmA0hc_HZ4vfCySvY2q6r9ChdzLfOZgZI9qwru8SP81KvKDNnPfLLnrspsdKU829fZiXP yGmKzqRHx8elIcx23_lxVKC4zekfu3YAH5M80EJVPthgd3PBNHNJXB6xBB9.hy28szpZlpMMKaBO 0A1md6KdNZcK5vMGoiJjIZ2ZSFXiNSQNL9A3BwkQVVSVItKTqVho.ZVgdR10vAyoxJdDYyvhHPPJ 8AlamlBaPZgr7xdyARLUQ0e1LWO9tP8K0EfnbEougid0rCj_K6vAfwa9PwOFMO6w0B5Dk.Sa9EMn vEQux9Dg4C9sQBJt62vCCL_PbuV7ntGDN5zO0hU0Ncug3pHm4ORGJWPLBdShVd_5ax6EVI8Aj_LE 8hbGrOXnCQOIotY4EOrst.zBZGb_jSieyrVTqfDxaYAxLdaXsMardjFiVTbfmD5U.3PxD1vF3.B3 oNPb8gny7BLmoM7MqYejWHLOuZcsnqQIukGpv1pLmBiNczhSGvC1IuXFjbKOCuMgSBT3Qrz4Mz6l ins5hnGcGq1m5jFCkx4UKXxk2LVFwNtF1DGfeNKlmjJNqEl_1p_4TvPN2h5Gn8_Qu3OqM5n1NGrq nYKnN4HvRu72UcxmIeVLqxUvtxUO8VBmM6b7KMQN.CbH61nQP2lVoqWlpW4w8AUVnpeA3n27ZQA4 .KZakBnb9a4tCF42M7cN8XDOkQ6L98GEfUPg_DpDIe1yoY_GHiS6ok3lWG7BxGTeskord1G5RdAM oRt_Rf0r3jsDcwVvti659etcfA4CthrItPHLKO8hCVp6FZyyfQQLs3gzqjT5TmgujUd4.Y1pMWJb 6_pwPuCmc9Y.o4erXuKyZTq3GdUd6NDPhrUkyZohI2hHP1D8mW6K39LstbJ.NKJBkibbRGmzBJMb LzYe9jDVgP4EAuIpU_Pbz.ifn5iu6SPa1OUbspepWCcIjUjcrD5OXhu9zRIOzDsDZ0MxB.xGMzLO CgZmxw7kBDRY2FxXyXETnDpYYLDoDW_WV9OZSZ5GYsUcpiV_bOQG0jdn0xwi4WCopMHevbuDMpbx N5NiggjR28RFLAnO4DpT1zfStS1C4rgO5v7HtMJSQBdZiEfDGfXLjlXqjG6405ecXtG44623XNS2 JQcoUVWnoopEidzINLTnHcaejqUgSyF1_OOH2Al5hcUugSeQGodjIN6fp X-Sonic-MF: X-Sonic-ID: cc33e924-b315-4e5c-83dd-7a927d8f764c Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Sun, 16 Mar 2025 08:06:32 +0000 Received: by hermes--production-sg3-fdfb796d6-gxw9f (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 55e06e6c3f337e8a4ed0d7642d787b59; Sun, 16 Mar 2025 08:06:25 +0000 (UTC) From: Po Lu To: Pip Cet Subject: Re: bug#77024: 31.0.50; feature/igc: crash "switching to thread" In-Reply-To: <87msdmeemn.fsf@protonmail.com> References: <87ldt7bbc7.fsf@wiiw.ac.at> <87msdmeemn.fsf@protonmail.com> Date: Sun, 16 Mar 2025 16:06:19 +0800 Message-ID: <878qp51jt0.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.23435 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 273 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77024 Cc: Oliver Reiter , 77024@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: -1.0 (-) Pip Cet writes: > What were you doing that launched multiple threads? Either diff-hl or debbugs.el. It was the latter which caught me unawares one morning having just updated it from ELPA and prompted me to implement threads properly on Android. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 19 04:09:00 2025 Received: (at 77024) by debbugs.gnu.org; 19 Mar 2025 08:09:00 +0000 Received: from localhost ([127.0.0.1]:47520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuoTz-0007vC-K4 for submit@debbugs.gnu.org; Wed, 19 Mar 2025 04:09:00 -0400 Received: from mail.wiiw.ac.at ([80.120.177.169]:65417) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tuoTt-0007tg-Sv for 77024@debbugs.gnu.org; Wed, 19 Mar 2025 04:08:55 -0400 X-Footer: d2lpdy5hYy5hdA== Received: from localhost ([172.16.10.40]) (authenticated user reiter@wiiw.ac.at) by mail.wiiw.ac.at (Kerio Connect 10.0.6 patch 3) with ESMTPSA (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)); Wed, 19 Mar 2025 09:08:47 +0100 From: Oliver Reiter To: Eli Zaretskii Subject: Re: bug#77024: 31.0.50; feature/igc: crash "switching to thread" In-Reply-To: <86ikoay4eu.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Mar 2025 12:27:53 +0200") References: <87ldt7bbc7.fsf@wiiw.ac.at> <86ikoay4eu.fsf@gnu.org> User-Agent: mu4e 1.12.9; emacs 30.1 Date: Wed, 19 Mar 2025 09:08:44 +0100 Message-ID: <87v7s5zblf.fsf@wiiw.ac.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77024 Cc: 77024@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 (---) --=-=-= Content-Type: text/plain Content-Disposition: inline Eli Zaretskii writes: >> From: Oliver Reiter >> Date: Fri, 14 Mar 2025 21:34:32 +0100 >> >> After weeks of no crash, emacs crashed on me today again. >> >> [New Thread 0x7fffb3bb96c0 (LWP 54691)] >> [Thread 0x7fffb3bb96c0 (LWP 54691) exited] >> ... quite a lot of those >> [New Thread 0x7fffb3bb96c0 (LWP 54696)] >> [Thread 0x7fffb3bb96c0 (LWP 54696) exited] >> [New Thread 0x7fffb3bb96c0 (LWP 54709)] >> [Thread 0x7fffb3bb96c0 (LWP 54709) exited] >> [New Thread 0x7fffb3bb96c0 (LWP 54751)] >> [Switching to Thread 0x7fffb3bb96c0 (LWP 54751)] >> >> Thread 409 "diff-hl--update" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=40) at /home/reitero/build/sources/emacs/emacs_debug/src/emacs.c:425 >> 425 { >> (gdb) bt >> #0 terminate_due_to_signal (sig=6, backtrace_limit=40) at /home/reitero/build/sources/emacs/emacs_debug/src/emacs.c:425 >> #1 0x00005555556d31a5 in emacs_abort () at /home/reitero/build/sources/emacs/emacs_debug/src/sysdep.c:2378 >> #2 0x000055555579fa76 in fix_lisp_obj (ss=ss@entry=0x7fffb3bb81a8, pobj=pobj@entry=0x555556f67eb0) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1132 > > This is here: > > mps_word_t tag = word & IGC_TAG_MASK; > if (tag `= Lisp_Int0 || tag =' Lisp_Int1) > return MPS_RES_OK; > else if (tag == Lisp_Type_Unused0) > emacs_abort (); <<<<<<<<<<<<<<<<<<<<<<<<<< > > Called from here: > > case SPECPDL_UNWIND: > IGC_FIX12_OBJ (ss, &pdl->unwind.arg); > break; > > Can you show the contents of 'pdl' here? I am not that proficient in debugging, do you mean like this? >From 'bt full', I figured that 'pdl' is at 0x555556f67ea0: #2 0x000055555579fa76 in fix_lisp_obj (ss=ss@entry=0x7fffb3bb81a8, pobj=pobj@entry=0x555556f67eb0) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1132 word = p = 0x555556f67eb0 tag = 1 client = base = res = _ss = 0x7fffb3bb81a8 _mps_zs = _mps_ufs = 0 _mps_wt = _mps_w = #3 0x00005555557a1040 in scan_specpdl (ss=0x7fffb3bb81a8, start=, end=0x555556f684e0, closure=) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1535 res = pdl = 0x555556f67ea0 t = _ss = 0x7fffb3bb81a8 _mps_zs = _mps_ufs = 0 _mps_wt = _mps_w = So: (gdb) p *(struct Lisp_String *)0x555556f67ea0 $5 = { gc_header = { v = 1, gcaligned = 1 '\001' }, u = { s = { size = 1, size_byte = 4294967297, intervals = 0x1, data = 0x0 }, next = 0x1, gcaligned = 1 '\001' } } This should then be pdl->unwind.arg, I guess: (gdb) p *(struct Lisp_String *)0x555556f67eb0 $4 = { gc_header = { v = 4294967297, gcaligned = 1 '\001' }, u = { s = { size = 1, size_byte = 0, intervals = 0x0, data = 0x1287 }, next = 0x1, gcaligned = 1 '\001' } } If you meant something else, happy to help. Oliver --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 19 04:10:48 2025 Received: (at 77024) by debbugs.gnu.org; 19 Mar 2025 08:10:49 +0000 Received: from localhost ([127.0.0.1]:47551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuoVf-0008Cg-Lg for submit@debbugs.gnu.org; Wed, 19 Mar 2025 04:10:48 -0400 Received: from mail.wiiw.ac.at ([80.120.177.169]:65447) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tuoVc-0008BL-6U for 77024@debbugs.gnu.org; Wed, 19 Mar 2025 04:10:41 -0400 X-Footer: d2lpdy5hYy5hdA== Received: from localhost ([172.16.10.40]) (authenticated user reiter@wiiw.ac.at) by mail.wiiw.ac.at (Kerio Connect 10.0.6 patch 3) with ESMTPSA (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)); Wed, 19 Mar 2025 09:10:34 +0100 From: Oliver Reiter To: Po Lu Subject: Re: bug#77024: 31.0.50; feature/igc: crash "switching to thread" In-Reply-To: <878qp51jt0.fsf@yahoo.com> (Po Lu's message of "Sun, 16 Mar 2025 16:06:19 +0800") References: <87ldt7bbc7.fsf@wiiw.ac.at> <87msdmeemn.fsf@protonmail.com> <878qp51jt0.fsf@yahoo.com> User-Agent: mu4e 1.12.9; emacs 30.1 Date: Wed, 19 Mar 2025 09:10:32 +0100 Message-ID: <87r02tzbif.fsf@wiiw.ac.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77024 Cc: Pip Cet , 77024@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 (---) --=-=-= Content-Type: text/plain Content-Disposition: inline Po Lu writes: > Pip Cet writes: > >> What were you doing that launched multiple threads? Nothing particular comes to mind. I think I marked a region to do some editing. I definitely didn't start a thread on purpose. > > Either diff-hl or debbugs.el. It was the latter which caught me > unawares one morning having just updated it from ELPA and prompted me to > implement threads properly on Android. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 19 10:15:12 2025 Received: (at 77024) by debbugs.gnu.org; 19 Mar 2025 14:15:12 +0000 Received: from localhost ([127.0.0.1]:51866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuuCN-0004Nh-ST for submit@debbugs.gnu.org; Wed, 19 Mar 2025 10:15:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34866) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tuuCD-0004KZ-AF for 77024@debbugs.gnu.org; Wed, 19 Mar 2025 10:15:09 -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 1tuuC5-00076s-Ga; Wed, 19 Mar 2025 10:14:53 -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=qkylDS5LLlBET5nUPfTC6nj7gw4G541K2tMPzB2lYOo=; b=AMNhkeBBWItB Id7Em2ioN5Lwr/hh+bbSh0uIBX897btXznKKR1yXqtvMds3Wwt1GnDjOKx0XzfrRXtqTLWPqKWae2 axsC4I7x6tnuSTrNZZ9M8C2yU+LXMGTWPzXriiuZcZTXkwEsiu/PdKSgAOcGb03mJ2dlxSKG30n3c YSnVbE7Pc7B3IjaatOv5Ts4d0G9Qg08fR6LYdD3+t59LSc3uhrVxh7jVTNRQblUDsv170y3KYikYQ NBiJ1zk3gy/SjNV1F7qMc1nEsEW7GaWrCXldKLvdIWlPM9pX/eyj9qdmhGAy0FJxz0fMc30B3h4L9 7z+6IFVvZN4pPJOTACffrw==; Date: Wed, 19 Mar 2025 16:14:48 +0200 Message-Id: <86cyedp0o7.fsf@gnu.org> From: Eli Zaretskii To: Oliver Reiter In-Reply-To: <87v7s5zblf.fsf@wiiw.ac.at> (message from Oliver Reiter on Wed, 19 Mar 2025 09:08:44 +0100) Subject: Re: bug#77024: 31.0.50; feature/igc: crash "switching to thread" References: <87ldt7bbc7.fsf@wiiw.ac.at> <86ikoay4eu.fsf@gnu.org> <87v7s5zblf.fsf@wiiw.ac.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77024 Cc: 77024@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: Oliver Reiter > Cc: 77024@debbugs.gnu.org > Date: Wed, 19 Mar 2025 09:08:44 +0100 > > > Can you show the contents of 'pdl' here? > > I am not that proficient in debugging, do you mean like this? > > >From 'bt full', I figured that 'pdl' is at 0x555556f67ea0: > > #2 0x000055555579fa76 in fix_lisp_obj (ss=ss@entry=0x7fffb3bb81a8, pobj=pobj@entry=0x555556f67eb0) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1132 > word = > p = 0x555556f67eb0 > tag = 1 > client = > base = > res = > _ss = 0x7fffb3bb81a8 > _mps_zs = > _mps_ufs = 0 > _mps_wt = > _mps_w = > #3 0x00005555557a1040 in scan_specpdl (ss=0x7fffb3bb81a8, start=, end=0x555556f684e0, closure=) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1535 > res = > pdl = 0x555556f67ea0 > t = > _ss = 0x7fffb3bb81a8 > _mps_zs = > _mps_ufs = 0 > _mps_wt = > _mps_w = > > So: > > (gdb) p *(struct Lisp_String *)0x555556f67ea0 > $5 = { > gc_header = { > v = 1, > gcaligned = 1 '\001' > }, > u = { > s = { > size = 1, > size_byte = 4294967297, > intervals = 0x1, > data = 0x0 > }, > next = 0x1, > gcaligned = 1 '\001' > } > } > > This should then be pdl->unwind.arg, I guess: > > (gdb) p *(struct Lisp_String *)0x555556f67eb0 > $4 = { > gc_header = { > v = 4294967297, > gcaligned = 1 '\001' > }, > u = { > s = { > size = 1, > size_byte = 0, > intervals = 0x0, > data = 0x1287 > }, > next = 0x1, > gcaligned = 1 '\001' > } > } > > If you meant something else, happy to help. Just "p *pdl" is what I had in mind. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 19 10:47:04 2025 Received: (at 77024) by debbugs.gnu.org; 19 Mar 2025 14:47:04 +0000 Received: from localhost ([127.0.0.1]:52066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuuhE-0000xF-3R for submit@debbugs.gnu.org; Wed, 19 Mar 2025 10:47:04 -0400 Received: from mail.wiiw.ac.at ([80.120.177.169]:55336) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tuuh7-0000vq-Qh for 77024@debbugs.gnu.org; Wed, 19 Mar 2025 10:47:01 -0400 X-Footer: d2lpdy5hYy5hdA== Received: from localhost ([172.16.10.40]) (authenticated user reiter@wiiw.ac.at) by mail.wiiw.ac.at (Kerio Connect 10.0.6 patch 3) with ESMTPSA (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)); Wed, 19 Mar 2025 15:46:51 +0100 From: Oliver Reiter To: Eli Zaretskii Subject: Re: bug#77024: 31.0.50; feature/igc: crash "switching to thread" In-Reply-To: <86cyedp0o7.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 19 Mar 2025 16:14:48 +0200") References: <87ldt7bbc7.fsf@wiiw.ac.at> <86ikoay4eu.fsf@gnu.org> <87v7s5zblf.fsf@wiiw.ac.at> <86cyedp0o7.fsf@gnu.org> User-Agent: mu4e 1.12.9; emacs 30.1 Date: Wed, 19 Mar 2025 15:46:48 +0100 Message-ID: <87zfhhxelj.fsf@wiiw.ac.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77024 Cc: 77024@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 (---) --=-=-= Content-Type: text/plain Content-Disposition: inline Eli Zaretskii writes: > > Just "p *pdl" is what I had in mind. > > Thanks. Ah, didn't know it could be that easy. Here you go: (gdb) fr 3 #3 0x00005555557a1040 in scan_specpdl (ss=0x7fffb3bb81a8, start=, end=0x555556f684e0, closure=) at /home/reitero/build/sources/emacs/emacs_debug/src/igc.c:1535 1535 case SPECPDL_FREE: (gdb) p *pdl $7 = { kind = SPECPDL_UNWIND, unwind = { kind = SPECPDL_UNWIND, func = 0x1, arg = XIL(0x100000001), eval_depth = 1 }, unwind_array = { kind = SPECPDL_UNWIND, nelts = 1, array = 0x100000001 }, unwind_ptr = { kind = SPECPDL_UNWIND, func = 0x1, arg = 0x100000001, mark = 0x1 }, unwind_int = { kind = SPECPDL_UNWIND, func = 0x1, arg = 1 }, unwind_intmax = { kind = SPECPDL_UNWIND, func = 0x1, arg = 4294967297 }, unwind_excursion = { kind = SPECPDL_UNWIND, marker = XIL(0x1), window = XIL(0x100000001) }, unwind_void = { kind = SPECPDL_UNWIND, func = 0x1 }, let = { kind = SPECPDL_UNWIND, symbol = XIL(0x1), old_value = XIL(0x100000001), where = { kbd = 0x1, buf = XIL(0x1) } }, bt = { kind = SPECPDL_UNWIND, debug_on_exit = false, function = XIL(0x1), args = 0x100000001, nargs = 1 } } --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 19 09:40:36 2025 Received: (at 77024-done) by debbugs.gnu.org; 19 Apr 2025 13:40:36 +0000 Received: from localhost ([127.0.0.1]:60254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u68Qt-0004Cv-Gr for submit@debbugs.gnu.org; Sat, 19 Apr 2025 09:40:35 -0400 Received: from mail-10628.protonmail.ch ([79.135.106.28]:41749) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u68Qq-0004CF-Po for 77024-done@debbugs.gnu.org; Sat, 19 Apr 2025 09:40:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1745070025; x=1745329225; bh=wLOQUkWnh6vRBAZUzFstjHzEaZ/l06sSnaTlnbS0Yc8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=ROBdflMMbe4Fy26c8pLe8ptj1h74IqcKV0u57gTabsiQ3+M13MGr9nr7Rma4bAYhe yxnMPvRFZy64Qfo5VdO9rVO4KfcExASAXDsLO+OFXV/4+7Y9mQHkEV00qsfOXNYMGV BTo4WRUrKaiJQb2B4GvbtvpUFO1qWj6/ZLHXA0p9uoeZXRcwdrgVZRmGOPTqr7HS+4 slMjieVLzZdv8gwML9z8FsnHYFkIR3k5yya0DpZrRTG0yOR0X+tHDQ5LDuxNE9YrqS J/ZVp/kHKVzyOCbLaPIQAQiesGffg0AT57AwA55tbA3cD2nM03YzwvkIvoMe6cCuZt KDbYvHZE2+epA== Date: Sat, 19 Apr 2025 13:40:20 +0000 To: Oliver Reiter From: Pip Cet Subject: Re: bug#77024: 31.0.50; feature/igc: crash "switching to thread" Message-ID: <87msccqnge.fsf@protonmail.com> In-Reply-To: <87zfhhxelj.fsf@wiiw.ac.at> References: <87ldt7bbc7.fsf@wiiw.ac.at> <86ikoay4eu.fsf@gnu.org> <87v7s5zblf.fsf@wiiw.ac.at> <86cyedp0o7.fsf@gnu.org> <87zfhhxelj.fsf@wiiw.ac.at> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: d7727cfb268027671fe90ee9efbff650a7042aae MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77024-done Cc: Eli Zaretskii , 77024-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: -1.0 (-) "Oliver Reiter" writes: > Eli Zaretskii writes: >> >> Just "p *pdl" is what I had in mind. >> >> Thanks. > > Ah, didn't know it could be that easy. Here you go: As this doesn't look unexpected given the likely explanation for the bug, and that bug has been fixed, I'm closing this report. Thanks again! Pip From unknown Fri Jun 20 07:15:10 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, 18 May 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