[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: igc, macOS avoiding signals
From: |
Gerd Möllmann |
Subject: |
Re: igc, macOS avoiding signals |
Date: |
Mon, 30 Dec 2024 15:52:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Pip Cet <pipcet@protonmail.com> writes:
> Does adding mps_message_poll (global_igc->arena) in the signal handler
> produce a crash/deadlock for you? Last thing I'm asking you to try
> today, I promise :-)
:-). When I do this:
1 file changed, 1 insertion(+)
src/igc.c | 1 +
modified src/igc.c
@@ -4966,6 +4966,7 @@ igc_alloc_dump (size_t nbytes)
bool
igc_busy_p (void)
{
+ mps_message_poll (global_igc->arena);
return mps_arena_busy (global_igc->arena);
}
with no changes, except the 1 commit reverted, I get an assertion
a short time after M-x profiler-start
Fatal error 6: Aborted
Backtrace:
0 emacs 0x0000000104fceca8 emacs_backtrace + 104
1 emacs 0x000000010515b31c
terminate_due_to_signal + 220
2 emacs 0x00000001050c090c syms_of_igc + 0
3 emacs 0x00000001051081a4 LockClaim + 144
4 emacs 0x0000000105107f78 ArenaEnterLock + 96
5 emacs 0x00000001050fa380 mps_message_poll + 24
6 emacs 0x00000001050c008c igc_busy_p + 28
7 emacs 0x00000001050b8a54 add_sample + 44
8 emacs 0x0000000104fce6fc
deliver_process_signal + 64
9 libsystem_platform.dylib 0x0000000190c56e04 _sigtramp + 56
10 libsystem_c.dylib 0x0000000190ad9ba4 clock + 52
11 emacs 0x00000001050f4c10 ArenaPoll + 164
12 emacs 0x00000001050f5b68 mps_ap_fill + 160
13 emacs 0x00000001050c0f24 alloc_impl + 128
14 emacs 0x00000001050bf290 igc_add_marker + 136
15 emacs 0x0000000104fe21cc set_marker_internal
+ 576
16 emacs 0x0000000104fe2700 Fcopy_marker + 180
17 emacs 0x0000000104f558b0 save_window_save +
748
18 emacs 0x0000000104f555ac
Fcurrent_window_configuration + 296
19 emacs 0x0000000104fe3bfc
Fread_from_minibuffer + 1044
20 minibuffer-1b0f548b-1c53371b.eln 0x0000000106a680f4
F636f6d706c6574696e672d726561642d64656661
...
- Re: igc, macOS avoiding signals, (continued)
- Re: igc, macOS avoiding signals, Pip Cet, 2024/12/30
- Re: igc, macOS avoiding signals, Eli Zaretskii, 2024/12/30
- Re: igc, macOS avoiding signals, Helmut Eller, 2024/12/30
- Re: igc, macOS avoiding signals, Pip Cet, 2024/12/30
- Re: igc, macOS avoiding signals, Gerd Möllmann, 2024/12/30
- Re: igc, macOS avoiding signals, Pip Cet, 2024/12/30
- Re: igc, macOS avoiding signals, Gerd Möllmann, 2024/12/30
- Re: igc, macOS avoiding signals, Pip Cet, 2024/12/30
- Re: igc, macOS avoiding signals,
Gerd Möllmann <=
- Re: igc, macOS avoiding signals, Pip Cet, 2024/12/30
- Re: igc, macOS avoiding signals, Gerd Möllmann, 2024/12/30
- Re: igc, macOS avoiding signals, Pip Cet, 2024/12/30
- Re: igc, macOS avoiding signals, Gerd Möllmann, 2024/12/30
- Re: igc, macOS avoiding signals, Pip Cet, 2024/12/30
- Re: igc, macOS avoiding signals, Pip Cet, 2024/12/30
- Re: igc, macOS avoiding signals, Gerd Möllmann, 2024/12/30
- Re: igc, macOS avoiding signals, Gerd Möllmann, 2024/12/30
Re: igc, macOS avoiding signals, Pip Cet, 2024/12/28