all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pip Cet <pipcet@protonmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Eval EXEC <execvy@gmail.com>, emacs-devel@gnu.org
Subject: Re: [scratch/igc] 985247b6bee crash on Linux, KDE, Wayland
Date: Thu, 05 Sep 2024 11:12:34 +0000	[thread overview]
Message-ID: <87le06s6ao.fsf@protonmail.com> (raw)
In-Reply-To: <86jzfq4j59.fsf@gnu.org>

"Eli Zaretskii" <eliz@gnu.org> writes:
>> From: Eval EXEC <execvy@gmail.com>
>> Date: Thu, 05 Sep 2024 14:24:39 +0800
>>
>> ```elisp
>>   (setq-default tab-bar-format
>> 				'(tab-bar-format-menu-bar
>>                   tab-bar-format-history tab-bar-format-tabs
>>                   tab-bar-separator tab-bar-format-add-tab
>>                   tab-bar-separator tab-bar-format-align-right
>>                   tab-bar-format-global))
>> ```
>>
>> Than, about 20 seconds after, the emacs crash, crash bt is:
>> ```
>>         info "(gdb)Auto-loading safe path"
>> warning: File "/nix/store/x47hg342iyiw50c1fhqjzz4n0rqy3dhh-isl-0.20/lib/libisl.so.19.1.0-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:/nix/store/40yjzm7r5ki59kkk9423dnwbm86x7pyd-gcc-13.2.0-lib".
>> (gdb) bt
>> #0  0x00007f84a90a2efc in __pthread_kill_implementation () from /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6
>> #1  0x00007f84a9052e86 in raise () from /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6
>> #2  0x0000000000429886 in terminate_due_to_signal ()
>> #3  0x0000000000431d79 in igc_assert_fail.lto_priv[cold] ()
>> #4  0x00000000007b0e60 in LockClaim ()
>> #5  0x00000000007ddea5 in ArenaEnterLock ()
>> #6  0x00000000007e01a1 in mps_ap_fill ()
>> #7  0x00000000006e74b6 in alloc_impl.lto_priv ()
>> #8  0x000000000060993b in list2 ()
>> #9  0x000000000042da87 in xsignal2 ()
>> #10 0x000000000042c379 in wrong_type_argument ()
>> #11 0x0000000000430730 in get_process.lto_priv[cold] ()
>> #12 0x00000000006bd653 in process_send_signal ()
>> #13 0x00000000006be017 in kill_buffer_processes ()
>> #14 0x000000000058efb5 in shut_down_emacs ()
>> #15 0x0000000000429852 in terminate_due_to_signal ()
>> #16 0x000000000042a38f in handle_sigsegv.lto_priv[cold] ()
>> #17 <signal handler called>
>> #18 0x00007f84a905316b in kill () from /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6
>> #19 0x00000000007e3919 in sigHandle ()
>> #20 <signal handler called>
>> #21 0x000000000075d716 in dflt_scan_obj.isra ()
>> #22 0x00000000006e288d in dflt_scan ()
>
> Looks like a SIGSEGV while handling protection-induced SIGSEGV?  I
> don't think I understand why the second SIGSEGV was triggered.

sigHandle() triggers a second SIGSEGV if the first SIGSEGV wasn't
handled successfully, after restoring the previous sigaction.  So this
is a "normal", fatal SIGSEGV and MPS passed it on.

> Is this related to tab-bar, i.e. if you do not modify tab-bar-format,
> does this not happen?

I suspect it's a tracing problem related to the (highly optimized,
inlined, LTO'd) code used by Flist and copy_font_spec.  We'll have to
disassemble those functions and check where and how they store
references to the list being built.

Pip




  parent reply	other threads:[~2024-09-05 11:12 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-05  6:24 [scratch/igc] 985247b6bee crash on Linux, KDE, Wayland Eval EXEC
2024-09-05  7:14 ` Eval EXEC
2024-09-05  8:17   ` Eval EXEC
2024-09-05  7:21 ` Eval EXEC
2024-09-05  8:08 ` Eli Zaretskii
2024-09-05  8:14   ` Eval EXEC
2024-09-05 11:12   ` Pip Cet [this message]
2024-09-05  8:24 ` Helmut Eller
2024-09-05  8:28   ` Eval EXEC
2024-09-05  8:34     ` Helmut Eller
2024-09-05  8:37       ` Eval EXEC
2024-09-05 10:44       ` Eval EXEC
2024-09-05 11:01         ` Eli Zaretskii
2024-09-05 11:04           ` Eval EXEC
2024-09-05 11:09 ` Pip Cet
2024-09-05 11:15   ` Eval EXEC
2024-09-05 11:19     ` Pip Cet
2024-09-05 11:26       ` Eval EXEC
2024-09-05 16:04         ` Pip Cet
2024-09-05 16:32           ` Eval EXEC
2024-09-05 11:34       ` Eval EXEC
2024-09-05 11:49       ` Eval EXEC
2024-09-05 12:21         ` Eli Zaretskii
2024-09-05 13:20           ` Gerd Möllmann
2024-09-05 13:31             ` Eli Zaretskii
2024-09-05 13:37               ` Gerd Möllmann
2024-09-05 13:52                 ` Eli Zaretskii
2024-09-05 13:57                   ` Gerd Möllmann
2024-09-05 14:33                     ` Eli Zaretskii
2024-09-05 14:44                       ` Eli Zaretskii
2024-09-05 14:58                       ` Gerd Möllmann
2024-09-05 16:19                       ` Pip Cet
2024-09-05 16:40                         ` Eval EXEC
2024-09-05 16:45                         ` Eval EXEC
2024-09-05 16:57                         ` Eval EXEC
2024-09-05 16:59                           ` Eval EXEC
2024-09-05 17:03                           ` Pip Cet
2024-09-05 17:05                             ` Eval EXEC
2024-09-05 17:16                               ` Gerd Möllmann
2024-09-05 18:46                                 ` Eli Zaretskii
2024-09-05 19:24                                   ` Gerd Möllmann
2024-09-05 19:31                                     ` Eli Zaretskii
2024-09-05 18:48                               ` Eli Zaretskii
2024-09-05 18:56                                 ` Eval EXEC
2024-09-05 19:23                                   ` Eli Zaretskii
2024-09-05 19:31                                     ` Eli Zaretskii
2024-09-06  2:15                                     ` Eval EXEC
2024-09-06  3:10                                       ` Eval EXEC
2024-09-06  5:58                                         ` Pip Cet
2024-09-06  6:32                                           ` Eval EXEC
2024-09-06  7:41                                             ` Pip Cet
2024-09-06  8:28                                               ` Eval EXEC
2024-09-06 12:58                                                 ` Pip Cet
2024-09-06 13:14                                                   ` Eval EXEC
2024-09-06 10:57                                               ` Eli Zaretskii
2024-09-06 13:03                                                 ` Eval EXEC
2024-09-06 19:29                                             ` Pip Cet
2024-09-07  5:57                                               ` Eli Zaretskii
2024-09-07  9:05                                                 ` Pip Cet
2024-09-06  6:39                                           ` Eval EXEC
2024-09-06  7:43                                             ` Pip Cet
2024-09-07  7:46                                               ` Eval EXEC
2024-09-07  8:10                                                 ` Pip Cet
2024-09-07 13:20                                                   ` Gerd Möllmann
2024-09-06  6:05                                         ` Eli Zaretskii
2024-09-06  6:30                                           ` Pip Cet
2024-09-06  6:34                                           ` Eval EXEC
2024-09-06 11:49                                             ` Eli Zaretskii
2024-09-06 13:08                                               ` Eval EXEC
2024-09-05 19:01                                 ` Eval EXEC
2024-09-05 17:29                             ` Eval EXEC

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87le06s6ao.fsf@protonmail.com \
    --to=pipcet@protonmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=execvy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.