[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird segfault crash
From: |
Perry E. Metzger |
Subject: |
Re: weird segfault crash |
Date: |
Wed, 1 Sep 2021 10:42:42 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Thunderbird/92.0 |
On 9/1/21 10:30, Ben Mezger wrote:
Are you able to run with lldb --file /path/to/emacs/bin and see the
traceback with bt? I am unable to test this out atm.
Running under LLDB gives me:
Process 85909 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason =
EXC_BAD_ACCESS (code=1, address=0x2488cc8fb)
frame #0: 0x0000000100227a2b Emacs`keyremap_step.cold.2 at
keyboard.c:2208:29 [opt]
2205 }
2206
2207 /* Terminate Emacs in batch mode if at eof. */
-> 2208 if (noninteractive && FIXNUMP (c) && XFIXNUM (c) < 0)
2209 Fkill_emacs (make_fixnum (1));
2210
2211 if (FIXNUMP (c))
Target 1: (Emacs) stopped.
Doing a backtrace gives me:
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason =
EXC_BAD_ACCESS (code=1, address=0x2488cc8fb)
* frame #0: 0x0000000100227a2b Emacs`keyremap_step.cold.2 at
keyboard.c:2208:29 [opt]
frame #1: 0x00000001000db18a Emacs`keyremap_step [inlined]
SYMBOL_NAME at lisp.h:0 [opt]
frame #2: 0x00000001000db182 Emacs`keyremap_step at keyboard.c:9193
[opt]
frame #3: 0x00000001000db08c
Emacs`keyremap_step(keybuf=0x00007ffeefbff190, fkey=0x00007ffeefbff038,
input=1, doit=true, diff=0x00007ffeefbff0b8, prompt=0x0000000000000000)
at keyboard.c:9218 [opt]
frame #4: 0x00000001000cad9f
Emacs`read_key_sequence(keybuf=<unavailable>, prompt=0x0000000000000000,
dont_downcase_last=false, can_return_switch_frame=true,
fix_current_buffer=true, prevent_redisplay=<unavailable>) at
keyboard.c:10103:11 [opt]
frame #5: 0x00000001000c871c Emacs`command_loop_1 at
keyboard.c:1376:15 [opt]
frame #6: 0x00000001001521af
Emacs`internal_condition_case(bfun=(Emacs`command_loop_1 at
keyboard.c:1262), handlers=0x0000000000000090, hfun=(Emacs`cmd_error at
keyboard.c:925)) at eval.c:1478:25 [opt]
frame #7: 0x00000001000c81fe
Emacs`command_loop_2(handlers=0x0000000000000090) at keyboard.c:1117:11
[opt]
frame #8: 0x000000010015173e
Emacs`internal_catch(tag=0x000000000000d9e0, func=(Emacs`command_loop_2
at keyboard.c:1113), arg=0x0000000000000090) at eval.c:1198:25 [opt]
frame #9: 0x00000001002277c8 Emacs`recursive_edit_1.cold.1 at
keyboard.c:1095:2 [opt]
frame #10: 0x00000001000c7a9c Emacs`recursive_edit_1 [inlined]
command_loop at keyboard.c:1092:5 [opt]
frame #11: 0x00000001000c7a97 Emacs`recursive_edit_1 at
keyboard.c:720 [opt]
frame #12: 0x00000001000c7c2b Emacs`Frecursive_edit at
keyboard.c:792:3 [opt]
frame #13: 0x00000001000c6c5e Emacs`main(argc=<unavailable>,
argv=0x00007ffeefbff5a0) at emacs.c:2310:3 [opt]
frame #14: 0x00007fff20548f3d libdyld.dylib`start + 1
(lldb)
Perry