From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#75459: 31.0.50; scratch-igc: Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at ./src/emacs.c:432 Date: Thu, 09 Jan 2025 19:27:55 +0000 Message-ID: <87plkv3hzd.fsf@protonmail.com> References: <87zfk0p741.fsf@no.lan> <861pxc2l6y.fsf@gnu.org> <87wmf42gdx.fsf@protonmail.com> <87frlst34b.fsf@no.lan> Reply-To: Pip Cet Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11740"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gregor Zattler , Eli Zaretskii , 75459@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 09 20:29:36 2025 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 1tVyDn-0002sH-F4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jan 2025 20:29:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVyDR-0005GJ-S1; Thu, 09 Jan 2025 14:29:13 -0500 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 1tVyDG-0005FI-UQ for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 14:29:05 -0500 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 1tVyDG-00038G-MI for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 14:29:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=pWOYOrv+IMx4Siu4nV5pK7SiRFtUOxZaRvXjrFji9qc=; b=kuXe8MM9PNkxZ5X+/2UVArP4dNTn62SV983FTzR/V0NXvJY/uRfAopZJxfx4bHbbBX6P3gh37lWyZGEXF0gSgWY1xDXPGevJ9qENCWf/cu3CXGM5BoaXDilGIOvX4NuVDqlCx2tB3BZS0hSohxMeAh5zmWJ2BHYc7ZJ8qEOUdtyh5Zt3BUtVs5GX9AmsHjltfjaPeiYfUe7261k/FfdNiFq9rnXvSojkzaOChxs3cF02WQOJtTniBN8swTzEmH+ZxEtm2KFC5N6FJ/F+NDtVGqf4AK1NaPS2+kdtDmgIZxTxufr9p03giW7EhxpwxESMgKsCcXJlRclFNQQqu6jUMg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVyDG-0000qm-F7 for bug-gnu-emacs@gnu.org; Thu, 09 Jan 2025 14:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jan 2025 19:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75459 X-GNU-PR-Package: emacs Original-Received: via spool by 75459-submit@debbugs.gnu.org id=B75459.17364508933192 (code B ref 75459); Thu, 09 Jan 2025 19:29:02 +0000 Original-Received: (at 75459) by debbugs.gnu.org; 9 Jan 2025 19:28:13 +0000 Original-Received: from localhost ([127.0.0.1]:54301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVyCR-0000pM-V4 for submit@debbugs.gnu.org; Thu, 09 Jan 2025 14:28:13 -0500 Original-Received: from mail-40134.protonmail.ch ([185.70.40.134]:14121) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVyCO-0000p3-If for 75459@debbugs.gnu.org; Thu, 09 Jan 2025 14:28:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1736450881; x=1736710081; bh=pWOYOrv+IMx4Siu4nV5pK7SiRFtUOxZaRvXjrFji9qc=; 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=rlcxVvmHMm0lYZmhWdH/+jLE9itNWgL3OyAJI5T+D8+aUe0v8FuiZKZ34Mnw5ZLJc y8AUgqpZf//bGAqwHC7KhLwcIB+gB8Yc/iiJIblD+sFaBjjsJ9qPgcMAZSbU/d1YQy ut4FH0Oyb2NpaMDo2fzLnTzKAE7cUc7lIYsoCbGfClErqppOQz9xto8skuS4aIVkGz 840znYrIAab6u3btc52ZemEBTHN9nGvBINjAL2bw/TDqTnMJSdrDQwt5vao9y8m9YO R++yJuafggFmuzgBv6bwz7f/QyadBDm+kcOgIzh4y5sYbHURCTTzNYgNtpbH2D9YNz MMg6bsMeAXogQ== In-Reply-To: Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 08dbbbd20f4c39d1cf24d1a1c44ae8dc390b5c88 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:298854 Archived-At: Gerd M=C3=B6llmann writes: > Gregor Zattler writes: > >> Hi Pip, >> * Pip Cet [2025-01-09; 14:47 GMT]: >>> Gregor, can you run "print specpdl_ptr", >>> "print *(struct Lisp_String *)0x555557040d50", and "bt full"? >> >> (gdb) print specpdl_ptr >> $4 =3D (union specbinding *) 0x5555567c1a50 >> >> (gdb) print *(struct Lisp_String *)0x555557040d50 It's not a string, but the data you printed is... weird. Usually you can recognize pointers, or it's all ASCII, but this seems to be very short ASCII strings betwen data in a totally different format. >> $5 =3D { >> gc_header =3D { >> v =3D 144120702814523145, >> gcaligned =3D 9 '\t' >> }, >> u =3D { >> s =3D { >> size =3D 74027876143398912, >> size_byte =3D 8028901113149262606, "clo" >> intervals =3D 0xd0e000d0d646573, "sed" >> data =3D 0x6c64616564080200 "deadl", which appears at the beginning of an Emacs string ("deadline") onl= y in org-agenda.el. The string is unlikely to start earlier because the next byte would be 0x08, an ASCII backspace. Unlikely. More likely it's an unaligned string. I think Emacs string data is always aligned, except for pure strings. But on scratch/igc, even pure strings are aligned to an 8-byte boundary! "closed" also appears in org-agenda.el, but this string isn't NUL-terminated: it's a Pascal-style string, with a length byte (0x06) followed by 6 ASCII characters. That would match the 8-byte "deadline" literal. Possibly a (basic) compression format, probably lz4 or zlib. I'm guessing this is a git object, which is stored in zlib format, and that appears to use length-prefixed string literals like these. What is it doing in your Emacs data? >> }, >> next =3D 0x106fff60d010000, >> gcaligned =3D 0 '\000' >> } >> } >> >> (gdb) bt full >> #0 terminate_due_to_signal (sig=3Dsig@entry=3D6, backtrace_limit=3Dback= trace_limit@entry=3D2147483647) at ./src/emacs.c:432 >> #1 0x00005555555b72db in die (msg=3Dmsg@entry=3D0x5555559d49e0 > "pdl->kind =3D=3D SPECPDL_BACKTRACE", file=3Dfile@entry=3D0x5555559d4540 > "eval.c", line=3Dline@entry=3D118) at ./src/alloc.c:8377 >> #2 0x00005555555bcc21 in backtrace_function (pdl=3D) at = ./src/eval.c:118 >> #3 0x00007fffffff986f in () >> #4 terminate_due_to_signal (sig=3Dsig@entry=3D6, backtrace_limit=3Dback= trace_limit@entry=3D2147483647) at ./src/emacs.c:432 >> #5 0x00005555555b72db in die (msg=3Dmsg@entry=3D0x5555559d49e0 > "pdl->kind =3D=3D SPECPDL_BACKTRACE", file=3Dfile@entry=3D0x5555559d4540 > "eval.c", line=3Dline@entry=3D118) at ./src/alloc.c:8377 >> #6 0x00005555555bcc21 in backtrace_function (pdl=3D) at = ./src/eval.c:118 >> #7 0x00007fffffff992f in () >> #8 terminate_due_to_signal (sig=3Dsig@entry=3D6, backtrace_limit=3Dback= trace_limit@entry=3D2147483647) at ./src/emacs.c:432 >> #9 0x00005555555b72db in die (msg=3Dmsg@entry=3D0x5555559d49e0 > "pdl->kind =3D=3D SPECPDL_BACKTRACE", file=3Dfile@entry=3D0x5555559d4540 > "eval.c", line=3Dline@entry=3D118) at ./src/alloc.c:8377 >> #10 0x00005555555bcc21 in backtrace_function (pdl=3D) at = ./src/eval.c:118 >> #11 0x00007fffffff99ef in () >> #12 terminate_due_to_signal (sig=3Dsig@entry=3D6, backtrace_limit=3Dback= trace_limit@entry=3D2147483647) at ./src/emacs.c:432 >> #13 0x00005555555b72db in die (msg=3Dmsg@entry=3D0x5555559d49e0 > "pdl->kind =3D=3D SPECPDL_BACKTRACE", file=3Dfile@entry=3D0x5555559d4540 > "eval.c", line=3Dline@entry=3D118) at ./src/alloc.c:8377 >> #14 0x00005555555bcc21 in backtrace_function (pdl=3D) at = ./src/eval.c:118 >> #15 0x00007fffffff9aaf in () >> #16 terminate_due_to_signal (sig=3Dsig@entry=3D6, backtrace_limit=3Dback= trace_limit@entry=3D2147483647) at ./src/emacs.c:432 >> #17 0x00005555555b72db in die (msg=3Dmsg@entry=3D0x5555559d49e0 > "pdl->kind =3D=3D SPECPDL_BACKTRACE", file=3Dfile@entry=3D0x5555559d4540 > "eval.c", line=3Dline@entry=3D118) at ./src/alloc.c:8377 >> #18 0x00005555555bcc21 in backtrace_function (pdl=3D) at = ./src/eval.c:118 >> #19 0x00007fffffff9b6f in () >> #20 terminate_due_to_signal (sig=3Dsig@entry=3D6, backtrace_limit=3Dback= trace_limit@entry=3D2147483647) at ./src/emacs.c:432 >> #21 0x00005555555b72db in die (msg=3Dmsg@entry=3D0x5555559cedde > "CHAR_TABLE_P (obj)", file=3Dfile@entry=3D0x5555559b0565 "character.h", > line=3Dline@entry=3D597) at ./src/alloc.c:8377 >> #22 0x00005555555b6acd in char_table_translate (obj=3DPython Exception <= class 'gdb.error'>: value has been optimized out >> , ch=3D32) at ./src/character.h:597 >> #23 0x00005555557d99a0 in re_match_2_internal (bufp=3D0x5555560fd6a0 > , bufp@entry=3D0x5eb92b3c6c43c900, string1=3D0x0, > string1@entry=3D0x555557025101 "\377\377\377\377\377\377\377\001", > size1=3D0, string2=3D0x5555570251b0 "#-*- mode: Org; indent-tabs-mode: > nil; coding: utf-8-unix -*-\n#+STARTUP: hidestars\n#+STARTUP: > odd\n;#+STARTUP: overview\n#+STARTUP: showeverything\n#+SEQ_TODO: > TODO(t) INPROGRESS(i@/@) WAITING(w@/@) VER"..., size2=3D93674, > size2@entry=3D93825020464468, pos=3D43986, regs=3D, > stop=3D) at ./src/regex-emacs.c:4553 >> len =3D 1 >> corig =3D 32 >> c =3D 32 >> mcnt =3D >> end1 =3D 0x0 >> end2 =3D 0x55555703bf9a "" >> end_match_1 =3D 0x0 >> end_match_2 =3D 0x55555703bf9a "" >> d =3D 0x55555702fd82 " :PROPERTIES:\n :ID: > fd470568-f0eb-48a4-bf04-dada8e83de5f\n :END:\n\n - Mittwoch Goldene > Zitronen\n - Treffen <2024-12-02 Mo 18:00> in Neuk=C3=B6lln, Stuttgarter > Str. 10 /\n Roseggerstr. 39"... >> dend =3D 0x55555703bf9a "" >> dfail =3D >> p =3D 0x555557040d55 "\005" That's a pointer into the zlib (?) data, but at a different offset from the last one, which was 0x555557040d54 >> pend =3D 0x555557040d8f " \377\003\376\377\377\207\376\377\377\a= \001" >> translate =3D XIL(0x7fffe0b702f5) >> multibyte =3D false >> target_multibyte =3D true >> fail_stack =3D { >> stack =3D , >> size =3D , >> avail =3D 3, >> frame =3D 3 >> } >> num_regs =3D 2 >> regstart =3D >> regend =3D 0x7fffffff9c40 >> best_regs_set =3D false >> best_regstart =3D 0x7fffffff9c48 >> best_regend =3D 0x7fffffff9c50 >> match_end =3D 0x0 >> nchars =3D 0 >> retval =3D -1 >> sa_avail =3D 6398840 sa_avail should never exceed 16K, but maybe it's uninitialized at this point. >> sa_count =3D { >> bytes =3D 1440 >> } >> re_nsub =3D >> #24 0x00005555557de57d in re_match_2 (bufp=3D0x5eb92b3c6c43c900, > string1=3D0x555557025101 "\377\377\377\377\377\377\377\001", > size1=3D, string2=3D, size2=3D9382502046446= 8, > pos=3D, regs=3D, stop=3D) at > ./src/regex-emacs.c:4056 >> #25 0x00005555557c9f73 in looking_at_1 (string=3DPython Exception : value has been optimized out >> , posix=3D, modify_data=3D) at ./src/searc= h.c:323 >> val =3D Python Exception : value has been opt= imized out >> >> p1 =3D 0x5555570251b0 "#-*- mode: Org; indent-tabs-mode: nil; coding: > utf-8-unix -*-\n#+STARTUP: hidestars\n#+STARTUP: odd\n;#+STARTUP: > overview\n#+STARTUP: showeverything\n#+SEQ_TODO: TODO(t) > INPROGRESS(i@/@) WAITING(w@/@) VER"... >> p2 =3D >> s1 =3D >> s2 =3D >> i =3D >> modify_match_data =3D >> cache_entry =3D 0x5555560fd680 >> #26 0x00007fffde1bc131 in > F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_38 () at > /home/grfz/.config/emacs/eln-cache/31.0.50-b708ad23/org-element-1d23d6e0-= 0b03f1c0.eln >> #27 0x000055555581b7c7 in funcall_subr (subr=3D0x7fffe63117f0, numargs= =3D4, args=3D) at ./src/eval.c:3173 >> argbuf =3D {XIL(0x7fffe5607a2b), XIL(0), XIL(0x7fffffffb170), XI= L(0x55555581153c), XIL(0x520), XIL(0), XIL(0), XIL(0x55555581cf4d)} >> a =3D >> maxargs =3D 4 >> #28 0x0000555555817e73 in Ffuncall (nargs=3D5, args=3D0x7fffffffb268) at= ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #29 0x00007fffde1eea0e in > F6f72672d656c656d656e742d2d70617273652d746f_org_element__parse_to_0 () > at > /home/grfz/.config/emacs/eln-cache/31.0.50-b708ad23/org-element-1d23d6e0-= 0b03f1c0.eln >> #30 0x000055555581b7e3 in funcall_subr (subr=3D0x7fffe6413978, numargs= =3D1, args=3D) at ./src/eval.c:3171 >> argbuf =3D {make_fixnum(44173), XIL(0), XIL(0), XIL(0x7fffe2e46fc8), > XIL(0x7fffe2e46fcb), XIL(0x55555611d1c0), XIL(0x7fffde263ea8), > XIL(0x55555581cf4d)} >> a =3D >> maxargs =3D 3 >> #31 0x0000555555817e73 in Ffuncall (nargs=3D2, args=3D0x7fffffffb480) at= ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #32 0x00007fffde1fe45e in > F6f72672d656c656d656e742d2d63616368652d7665726966792d656c656d656e74_org_e= lement__cache_verify_element_0 > () at > /home/grfz/.config/emacs/eln-cache/31.0.50-b708ad23/org-element-1d23d6e0-= 0b03f1c0.eln >> #33 0x000055555581b810 in funcall_subr (subr=3D0x7fffe95e36d8, numargs= =3D1, args=3D) at ./src/eval.c:3167 >> argbuf =3D {XIL(0), XIL(0), XIL(0), XIL(0), XIL(0), XIL(0x7ffff2= 9fcd40), XIL(0x55555611d1c0), XIL(0x55555581cf4d)} >> a =3D >> maxargs =3D 1 >> #34 0x0000555555817e73 in Ffuncall (nargs=3D2, args=3D0x7fffffffbbd0) at= ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #35 0x00007fffde218a4e in > F6f72672d656c656d656e742d61742d706f696e74_org_element_at_point_0 () at > /home/grfz/.config/emacs/eln-cache/31.0.50-b708ad23/org-element-1d23d6e0-= 0b03f1c0.eln >> #36 0x000055555581b7ff in funcall_subr (subr=3D0x7fffe6414738, numargs= =3D0, args=3D) at ./src/eval.c:3169 >> argbuf =3D {XIL(0), XIL(0), XIL(0x7fffe8c1e6b8), XIL(0x7fffe5606= b85), XIL(0x7fffe8c1e6bd), XIL(0x4), XIL(0x7fffffffbcc0), XIL(0x55555581cf4= d)} >> a =3D >> maxargs =3D 2 >> #37 0x0000555555817e73 in Ffuncall (nargs=3D1, args=3D0x7fffffffbd58) at= ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #38 0x00007fffdf123c64 in > F6f72672d696e2d7372632d626c6f636b2d70_org_in_src_block_p_0 () at > /home/grfz/.config/emacs/eln-cache/31.0.50-b708ad23/org-30013b5a-16ff07f1= .eln >> #39 0x000055555581b7ff in funcall_subr (subr=3D0x7fffe9cec0b0, numargs= =3D2, args=3D) at ./src/eval.c:3169 >> argbuf =3D {XIL(0x360), XIL(0), XIL(0), XIL(0x5555559d4f50), > XIL(0x7fffffffbec0), make_fixnum(23456248887582), XIL(0x7fffffffbed0), > XIL(0x55555581cf4d)} >> a =3D >> maxargs =3D 2 >> #40 0x0000555555817e73 in Ffuncall (nargs=3D3, args=3D0x7fffffffbf80) at= ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #41 0x00007fffde296717 in > F6f72672d6167656e64612d736b6970_org_agenda_skip_0 () at > /home/grfz/.config/emacs/eln-cache/31.0.50-b708ad23/org-agenda-c62ea9fb-0= f9a50be.eln >> #42 0x000055555581b810 in funcall_subr (subr=3D0x7fffe9d601e0, numargs= =3D0, args=3D) at ./src/eval.c:3167 >> argbuf =3D {XIL(0), XIL(0), XIL(0x38), XIL(0), XIL(0x7fffffffc11= 0), XIL(0x5555557f9350), XIL(0), XIL(0x55555581cf4d)} >> a =3D >> maxargs =3D 1 >> #43 0x0000555555817e73 in Ffuncall (nargs=3D1, args=3D0x7fffffffc208) at= ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #44 0x00007fffde2bb076 in > F6f72672d6167656e64612d6765742d626c6f636b73_org_agenda_get_blocks_0 () > at > /home/grfz/.config/emacs/eln-cache/31.0.50-b708ad23/org-agenda-c62ea9fb-0= f9a50be.eln >> #45 0x0000555555817e73 in Ffuncall (nargs=3D1, args=3D0x7fffffffc3c0) at= ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #46 0x00007fffde2a52cc in > F6f72672d6167656e64612d6765742d6461792d656e7472696573_org_agenda_get_day_= entries_0 > () at > /home/grfz/.config/emacs/eln-cache/31.0.50-b708ad23/org-agenda-c62ea9fb-0= f9a50be.eln >> #47 0x0000555555817e73 in Ffuncall (nargs=3Dnargs@entry=3D7, args=3D0x7f= ffffffc530) at ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #48 0x0000555555818220 in Fapply (nargs=3D, args=3D0x7fff= ffffc6f8) at ./src/eval.c:2771 >> i =3D >> funcall_nargs =3D 7 >> funcall_args =3D >> spread_arg =3D XIL(0) >> fun =3D Python Exception : value has been opt= imized out >> >> sa_avail =3D >> sa_count =3D { >> bytes =3D 512 >> } >> numargs =3D >> retval =3D Python Exception : value has been = optimized out >> >> #49 0x0000555555817e73 in Ffuncall (nargs=3D5, args=3D0x7fffffffc6f0) at= ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #50 0x00007fffde29911e in > F6f72672d6167656e64612d6c697374_org_agenda_list_0 () at > /home/grfz/.config/emacs/eln-cache/31.0.50-b708ad23/org-agenda-c62ea9fb-0= f9a50be.eln >> #51 0x000055555581c583 in eval_sub (form=3DPython Exception : value has been optimized out >> ) at ./src/eval.c:2614 >> i =3D 4 >> maxargs =3D 4 >> args_left =3D XIL(0) >> numargs =3D 2 >> original_fun =3D Python Exception : value has= been optimized out >> >> original_args =3D XIL(0x7fffe4e097b3) >> fun =3D XIL(0x7fffe6470da5) >> val =3D Python Exception : value has been opt= imized out >> >> funcar =3D Python Exception : value has been = optimized out >> >> argvals =3D {make_fixnum(0), XIL(0x7fffe4e097cc), XIL(0), XIL(0)= , XIL(0x555556150320), XIL(0x7fffffffc8a0), XIL(0x80), make_fixnum(23456249= 081022)} >> #52 0x000055555581c6d9 in Fprogn (body=3DXIL(0x7fffe4e2036b)) at ./src/e= val.c:443 >> val =3D XIL(0) >> #53 0x000055555581cadd in funcall_lambda (fun=3Dmake_fixnum(1), nargs=3D= , arg_vector=3D) at ./src/eval.c:3356 >> syms_left =3D Python Exception : value has be= en optimized out >> >> lexenv =3D Python Exception : value has been = optimized out >> >> i =3D >> optional =3D >> rest =3D >> previous_rest =3D >> #54 0x0000555555817e73 in Ffuncall (nargs=3Dnargs@entry=3D1, args=3Dargs= @entry=3D0x7fffffffcab8) at ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #55 0x00005555558127d7 in Ffuncall_interactively (nargs=3D1, args=3D0x7f= ffffffcab8) at ./src/callint.c:250 >> #56 0x0000555555817e73 in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dargs= @entry=3D0x7fffffffcab0) at ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #57 0x0000555555818478 in Fapply (nargs=3Dnargs@entry=3D3, args=3Dargs@e= ntry=3D0x7fffffffcab0) at ./src/eval.c:2724 >> i =3D >> funcall_nargs =3D >> funcall_args =3D 0x0 >> spread_arg =3D XIL(0) >> fun =3D XIL(0xae58) >> sa_avail =3D 16384 >> sa_count =3D { >> bytes =3D 192 >> } >> numargs =3D >> retval =3D Python Exception : value has been = optimized out >> >> #58 0x000055555581428c in Fcall_interactively (function=3DPython Excepti= on : value has been optimized out >> , record_flag=3DXIL(0), keys=3DXIL(0x7fffe137c8c5)) at ./src/callint.c:3= 42 >> funval =3D Python Exception : value has been = optimized out >> >> events =3D >> speccount =3D { >> bytes =3D 160 >> } >> arg_from_tty =3D false >> key_count =3D 2 >> record_then_fail =3D false >> save_this_command =3D XIL(0x2aaa8ecfbc50) >> save_this_original_command =3D XIL(0x2aaa8ecfbc50) >> save_real_this_command =3D XIL(0x2aaa8ecfbc50) >> save_last_command =3D XIL(0) >> prefix_arg =3D XIL(0) >> enable =3D XIL(0) >> up_event =3D XIL(0) >> form =3D Python Exception : value has been op= timized out >> >> specs =3D XIL(0) >> sa_avail =3D >> sa_count =3D { >> bytes =3D >> } >> string_len =3D >> string =3D >> string_end =3D >> next_event =3D >> nargs =3D >> args =3D >> visargs =3D >> varies =3D >> tem =3D >> #59 0x00007ffff27ee8f5 in > F636f6d6d616e642d65786563757465_command_execute_0 () at > /home/grfz/src/emacs-igc/src/../native-lisp/31.0.50-b708ad23/preloaded/si= mple-fab5b0cf-f25e9023.eln >> #60 0x000055555581b7c7 in funcall_subr (subr=3D0x7fffe139d428, numargs= =3D1, args=3D) at ./src/eval.c:3173 >> argbuf =3D {XIL(0x2aaa8ecfbc50), XIL(0), XIL(0), XIL(0), XIL(0x7= fffffffcc90), XIL(0x555555817e73), XIL(0x7ffff287dce0), XIL(0x55555581cf4d)= } >> a =3D >> maxargs =3D 4 >> #61 0x0000555555817e73 in Ffuncall (nargs=3Dnargs@entry=3D2, args=3Dargs= @entry=3D0x7fffffffcd60) at ./src/eval.c:3099 >> val =3D Python Exception : value has been opt= imized out >> >> #62 0x000055555577666c in command_loop_1 () at ./src/keyboard.c:1556 >> cmd =3D Python Exception : value has been opt= imized out >> >> keybuf =3D {XIL(0x2aaa8c649708), make_fixnum(106), make_fixnum(106), > make_fixnum(97), XIL(0x7fffe1e302e4), XIL(0x7fffe11e2f64), > XIL(0x7fffe11e2f64), XIL(0x16c00), XIL(0x38), XIL(0x7fffe0ab759d), > XIL(0x7fffe0ab759d), XIL(0x7fffffffceb0), XIL(0), XIL(0), XIL(0), > make_fixnum(23456248787193), make_fixnum(0), XIL(0x5555557ff930), > XIL(0), XIL(0x5555557ff588), XIL(0), XIL(0x5eb92b3c6c43c900), XIL(0), > XIL(0x60), XIL(0x7fffe582e41b), XIL(0), XIL(0x5555559d4f50), > XIL(0x7fffe0c6bec5), XIL(0x7fffffffced0), XIL(0x555555817b23)} >> i =3D >> last_pt =3D 1 >> prev_modiff =3D 1 >> prev_buffer =3D 0x7fffe0c6bec0 >> #63 0x0000555555815d26 in internal_condition_case > (bfun=3Dbfun@entry=3D0x5555557760b0 , > handlers=3Dhandlers@entry=3DXIL(0xa8), hfun=3Dhfun@entry=3D0x55555575a510 > ) at ./src/eval.c:1618 >> val =3D XIL(0x4c) >> c =3D 0x7fffe1e5de70 >> #64 0x0000555555758e1e in command_loop_2 (handlers=3Dhandlers@entry=3DXI= L(0xa8)) at ./src/keyboard.c:1174 >> #65 0x0000555555815aaf in internal_catch > (tag=3Dtag@entry=3DXIL(0x15460), func=3Dfunc@entry=3D0x555555758df0 > , arg=3DPython Exception : value has > been optimized out >> , arg@entry=3DXIL(0xa8)) at ./src/eval.c:1297 >> val =3D XIL(0x4c) >> c =3D 0x7fffe1e37138 >> #66 0x0000555555758db9 in command_loop () at ./src/lisp.h:1240 >> #67 0x0000555555765535 in recursive_edit_1 () at ./src/keyboard.c:760 >> val =3D Python Exception : value has been opt= imized out >> >> #68 0x00005555557658d5 in Frecursive_edit () at ./src/keyboard.c:843 >> #69 0x00005555555cffe5 in main (argc=3D5, argv=3D) at ./s= rc/emacs.c:2646 >> stack_bottom_variable =3D 0x7ffff3e92c60 >> old_argc =3D >> no_loadup =3D >> junk =3D 0x0 >> dname_arg =3D 0x7fffffffd7a8 "EMACS-MPS=3Dyes" >> ch_to_dir =3D 0x0 >> original_pwd =3D >> dump_mode =3D >> skip_args =3D 1 >> temacs =3D 0x0 >> attempt_load_pdump =3D >> only_version =3D >> rlim =3D { >> rlim_cur =3D 10022912, >> rlim_max =3D 18446744073709551615 >> } >> lc_all =3D >> sockfd =3D >> module_assertions =3D >> >> Lisp Backtrace: >> >> eval.c:118: Emacs fatal error: assertion failed: pdl->kind =3D=3D SPECPD= L_BACKTRACE >> >> Breakpoint 1, terminate_due_to_signal (sig=3Dsig@entry=3D6, backtrace_li= mit=3Dbacktrace_limit@entry=3D2147483647) at ./src/emacs.c:432 >> 432 { >> The program being debugged stopped while in a function called from GDB. >> Evaluation of the expression containing the function >> (backtrace_function) will be abandoned. >> When the function is done executing, GDB will silently stop. >> >> >> >> HTH, Gregor > > I'm wondering what should have been the specpdl entry. This one? > > #26 0x00007fffde1bc131 in > F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_38 () at > /home/grfz/.config/emacs/eln-cache/31.0.50-b708ad23/org-element-1d23d6e0-= 0b03f1c0.eln > > The rest, I think, is die -> backtrace -> assert -> die -> backtrace -> a= ssert ... until it > stops. Weird. I think that's the new stackframes gdb created after the crash, trying to print xbacktrace repeatedly. The real crash starts at #20. Can you try "p $rsp"? Pip