$ gdb ./emacs.exe GNU gdb (GDB) 8.0.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-w64-mingw32". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./emacs.exe...done. warning: File "C:\home\jbm\src\emacs\src\.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path C:\home\jbm\src\emacs\src\.gdbinit line to your configuration file "C:\home\jbm/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "C:\home\jbm/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" (gdb) source .gdbinit SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] Environment variable "DISPLAY" not defined. TERM = xterm-256color Breakpoint 1 at 0x4000a81c0: file emacs.c, line 363. Temporary breakpoint 2 at 0x4000c0cc0: init_sys_modes. (3 locations) (gdb) r -Q Starting program: C:\home\jbm\src\emacs\src\emacs.exe -Q [New Thread 3240.0x3738] [New Thread 3240.0x40ec] [New Thread 3240.0x3490] [New Thread 3240.0x2108] [New Thread 3240.0x28bc] [New Thread 3240.0x33e0] Thread 1 received signal SIGSEGV, Segmentation fault. 0x00007ff8cb7893a0 in ntdll!RtlCaptureContext () from C:\Windows\SYSTEM32\ntdll.dll (gdb) bt full #0 0x00007ff8cb7893a0 in ntdll!RtlCaptureContext () from C:\Windows\SYSTEM32\ntdll.dll No symbol table info available. #1 0x00007ff8cb6f8f27 in ntdll!RtlUnwindEx () from C:\Windows\SYSTEM32\ntdll.dll No symbol table info available. #2 0x00007ff8c91d1f4a in msvcrt!_setjmpex () from C:\Windows\System32\msvcrt.dll No symbol table info available. #3 0x00000004000a93d4 in quit_throw_to_read_char ( from_signal=from_signal@entry=false) at keyboard.c:10548 No locals. #4 0x00000004000b4853 in kbd_buffer_get_event (end_time=0x0, used_mouse_menu=0xbff5b0, kbp=) at keyboard.c:3790 obj = #5 read_event_from_main_queue (used_mouse_menu=, local_getcjmp=, end_time=) at keyboard.c:2151 c = XIL(0) save_jump = {{ Part = {0, 0} } } kb = #6 read_decoded_event_from_main_queue (used_mouse_menu=, local_getcjmp=, end_time=, prev_event=...) at keyboard.c:2214 No locals. #7 read_char (commandflag=, commandflag@entry=1, map=XIL(0x1f00000000), map@entry=XIL(0x4006f4c03), prev_event=XIL(0xbff5b8), used_mouse_menu=, used_mouse_menu@entry=0xbff46b, end_time=, end_time@entry=0x0) at keyboard.c:2802 c = jmpcount = local_getcjmp = {{ Part = {12579656, 0} }, { Part = {12578352, 12579656} }, { Part = {17185481664, 0} }, { Part = {0, 7923139} }, { Part = {17185159176, 0} }, { Part = {17180599850, 3843995738016} }, { Part = {0, 0} }, { Part = {0, 0} }, { Part = {0, 0} }, { Part = {0, 0} }, { Part = {0, 0} }, { Part = {0, 0} }, { Part = {0, 0} }, { Part = {0, 0} }, { Part = {0, 0} }, { Part = {0, 0} }} save_jump = {{ Part = {0, 0} }, { Part = {0, 0} }, { Part = {0, 0} }, { Part = {0, 120} }, { Part = {17185159176, 120} }, { Part = {17185159176, 12579296} }, { Part = {17185881888, 0} }, { Part = {0, 17181019941} }, { Part = {0, 0} }, { Part = {4, 0} }, { Part = {5, 34496} }, { Part = {17188623920, 1} }, { Part = {17187559952, 17180947715} }, { Part = {1, 3} }, { Part = {1, 37408} }, { Part = {17187560176, 17180641615} }} tem = save = previous_echo_area_message = XIL(0) also_record = XIL(0) reread = false recorded = false polling_stopped_here = true orig_kboard = #8 0x00000004000b58d2 in read_key_sequence (keybuf=keybuf@entry=0xbff5b0, prompt=prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30) at keyboard.c:9147 interrupted_kboard = 0x2536490 interrupted_frame = 0x400a10f00 key = used_mouse_menu = false echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 new_binding = t = 0 echo_start = 0 keys_start = 0 current_binding = XIL(0x4006f4c03) first_event = XIL(0) first_unbound = 31 mock_input = 0 fkey = { parent = XIL(0x4006eec83), map = XIL(0x4006eec83), start = 0, end = 0 } keytran = { parent = XIL(0x400606293), map = XIL(0x400606293), start = 0, end = 0 } indec = { parent = XIL(0x4006eeca3), map = XIL(0x4006eeca3), start = 0, end = 0 } shift_translated = false delayed_switch_frame = XIL(0) original_uppercase = XIL(0) original_uppercase_position = -1 dummyflag = false fake_prefixed_keys = XIL(0) #9 0x00000004000b7371 in command_loop_1 () at keyboard.c:1368 cmd = XIL(0x4000ad920) keybuf = {XIL(0xbff640), XIL(0x40011b321), XIL(0x4002f2345), XIL(0), XIL(0x4), XIL(0x5f004d00450054), XIL(0x46004500520050), XIL(0x580049), XIL(0x40900001001), XIL(0x400000004), XIL(0), XIL(0x7ff8c8ce25e0), XIL(0x9), make_number(43044382448936), XIL(0xb0000), XIL(0x78), XIL(0x40050b808), XIL(0x78), XIL(0x40050b808), XIL(0xbff690), XIL(0x4005bbf20), XIL(0), XIL(0x40064feb3), XIL(0x400118f25), XIL(0), XIL(0x3), XIL(0x40078f643), make_number(1000), XIL(0x5), XIL(0x8c00)} i = prev_modiff = 0 prev_buffer = 0x0 #10 0x000000040011862d in internal_condition_case ( bfun=bfun@entry=0x4000b7120 , handlers=..., handlers@entry=XIL(0x5b70), hfun=hfun@entry=0x4000ad920 ) at eval.c:1332 val = XIL(0x4005d1d68) c = 0x2533350 #11 0x00000004000a8824 in command_loop_2 (ignore=...) at keyboard.c:1110 val = #12 0x000000040011859b in internal_catch (tag=..., tag@entry=XIL(0xf378), func=func@entry=0x4000a8800 , arg=arg@entry=XIL(0)) at eval.c:1097 val = XIL(0x4005d1d68) c = 0x25331c0 #13 0x00000004000a87ae in command_loop () at keyboard.c:1089 No locals. #14 0x0000000000000000 in ?? () No symbol table info available. Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) xbacktrace (gdb)