Subject: Re: bug#16832: 24.3.50; Emacs goes crazy when deleting lines

From: "Fabrice Niessen" <[email-masked]>
Date: Wed, 26 Feb 2014 12:06:24 +0100

Eli Zaretskii wrote:
>> From: "Fabrice Niessen" <[email-masked]>
>> Cc: [email-masked]
>> Date: Tue, 25 Feb 2014 10:58:32 +0100
>> 
>> > One thing to try is to set debug-on-quit to a non-nil value, repeat
>> > the steps to reproduce the problem, then type C-g.  If all goes well,
>> > you should see a Lisp backtrace that might shed some light on this.
>> 
>> Euh, that brought me once:
>> 
>> --8<---------------cut here---------------start------------->8---
>> Debugger entered--Lisp error: (quit)
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Very disappointing in this case...
>> 
>> On other trials, C-g stays unresponsive: nothing happens, I can type
>> 10's of them in a row, and Emacs still does not react.
>
> Then try F12 (if you are on XP), or try attaching a debugger and
> getting a C and Lisp backtrace.

Hope this helps:

$ gdb -r emacs.exe
GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i686-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
..
/cygdrive/d/Users/fni/.gdbinit:19: Error in sourced command file:
No symbol table is loaded.  Use the "file" command.
Reading symbols from /cygdrive/c/Program Files (x86)/emacs-trunk/bin/emacs.exe...expanding to full symbols...done.
(gdb) r emacs.exe
Starting program: /cygdrive/c/Program Files (x86)/emacs-trunk/bin/emacs.exe emacs.exe
[New Thread 4000.0x1174]
[New Thread 4000.0x1b34]
[New Thread 4000.0x26ec]
[New Thread 4000.0x2040]
[New Thread 4000.0xd0c]
[Thread 4000.0xd0c exited with code 1]
[New Thread 4000.0x2520]
[Thread 4000.0x2520 exited with code 1]
[New Thread 4000.0x1e24]
[Thread 4000.0x1e24 exited with code 1]
[New Thread 4000.0x138]
[New Thread 4000.0x2054]
[Thread 4000.0x2054 exited with code 1]
[New Thread 4000.0x28ec]
[Thread 4000.0x28ec exited with code 1]
[New Thread 4000.0x1194]
[Thread 4000.0x1194 exited with code 1]
[New Thread 4000.0xcc]
[Thread 4000.0xcc exited with code 1]
[New Thread 4000.0x13f0]
[Thread 4000.0x13f0 exited with code 1]
[New Thread 4000.0x22ec]
[Thread 4000.0x22ec exited with code 1]
[New Thread 4000.0x4b0]
[Thread 4000.0x4b0 exited with code 1]
[New Thread 4000.0xcc4]
[Thread 4000.0x138 exited with code 0]
[New Thread 4000.0xdf4]
[Thread 4000.0xdf4 exited with code 1]
[New Thread 4000.0x1c60]
[Thread 4000.0x1c60 exited with code 1]
[New Thread 4000.0x2080]
[Thread 4000.0xcc4 exited with code 0]
[New Thread 4000.0x2b9c]
[New Thread 4000.0x2a5c]
[Thread 4000.0x2a5c exited with code 1]
[New Thread 4000.0xf1c]
[Thread 4000.0x2080 exited with code 0]
[New Thread 4000.0x2664]
[Thread 4000.0x2664 exited with code 1]
[New Thread 4000.0x2d4]
[Thread 4000.0x2d4 exited with code 1]
[New Thread 4000.0x146c]
[Thread 4000.0xf1c exited with code 0]
[New Thread 4000.0x110c]
[Thread 4000.0x110c exited with code 1]
[New Thread 4000.0xa8c]
[Thread 4000.0x146c exited with code 0]
[New Thread 4000.0x2464]
[Thread 4000.0x2464 exited with code 1]
[New Thread 4000.0xc30]
[Thread 4000.0xc30 exited with code 1]
[New Thread 4000.0x1bc8]
[Thread 4000.0x1bc8 exited with code 1]
[New Thread 4000.0x182c]
[Thread 4000.0xa8c exited with code 0]
[Thread 4000.0x1b34 exited with code 0]
[Thread 4000.0x2b9c exited with code 0]
[New Thread 4000.0x2bb0]

<... here F12 inside Emacs (which was eating my CPU)...>

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 4000.0x2bb0]
0x774a2d3c in ?? ()
(gdb) backtrace
#0  0x774a2d3c in ?? ()
(gdb) thread apply all backtrace

Thread 32 (Thread 4000.0x2bb0):
#0  0x774a2d3c in ?? ()

Thread 31 (Thread 4000.0x182c):
#0  0x7748dc54 in ?? ()
#1  0x76ffe322 in msvcrt!__CxxFrameHandler3 () from /cygdrive/c/Windows/SysWOW64/msvcrt.dll
#2  0x000002ac in ?? ()
#3  0x0153ebec in child_procs ()
#4  0x00000001 in ?? ()
#5  0x00c1fe80 in ?? ()
#6  0x76ffe408 in read () from /cygdrive/c/Windows/SysWOW64/msvcrt.dll
#7  0x00000005 in ?? ()
#8  0x0153ebec in child_procs ()
#9  0x00000001 in ?? ()
#10 0xfdfeac7b in ?? ()
#11 0x00000000 in ?? ()

Thread 4 (Thread 4000.0x2040):
#0  0x7662b891 in USER32!CharNextA () from /cygdrive/c/Windows/SysWOW64/USER32.dll
#1  0x011f01c6 in w32_msg_pump (msg_buf=0x6ed0ff24) at c:/msys/home/dani/emacs/trunk/src/w32fns.c:2449
#2  0x011f0404 in w32_msg_worker@4 (arg=0x0) at c:/msys/home/dani/emacs/trunk/src/w32fns.c:2675
#3  0x74f4850d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/SysWOW64/KERNEL32.DLL
#4  0x774bbf39 in ?? ()
#5  0x774bbf0c in ?? ()
#6  0x00000000 in ?? ()

Thread 3 (Thread 4000.0x26ec):
#0  0x7748df34 in ?? ()
#1  0x770c119c in Sleep () from /cygdrive/c/Windows/SysWOW64/KERNELBASE.dll
#2  0x0122987b in timer_loop (arg=0x1536740 <real_itimer>) at c:/msys/home/dani/emacs/trunk/src/w32proc.c:396
#3  0x74f4850d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/SysWOW64/KERNEL32.DLL
#4  0x774bbf39 in ?? ()
#5  0x774bbf0c in ?? ()
#6  0x00000000 in ?? ()

Thread 1 (Thread 4000.0x1174):
#0  0x010ce4aa in char_table_translate (table=61372653, ch=108) at c:/msys/home/dani/emacs/trunk/src/chartab.c:683
#1  0x011552c2 in re_match_2_internal (bufp=0x1524c38 <searchbufs+952>,
    string1=0x748b574 "Value: ((\"c:/Program Files (x86)/emacs-r114715-20131019-w32/share/emacs/24.3.50/lisp/saveplace.elc\" save-place-alist save-place save-place save-place-file save-place-file save-place-version-control sa"..., size1=0,
    string2=0x748b574 "Value: ((\"c:/Program Files (x86)/emacs-r114715-20131019-w32/share/emacs/24.3.50/lisp/saveplace.elc\" save-place-alist save-place save-place save-place-file save-place-file save-place-version-control sa"..., size2=832548, pos=159902, regs=0x15260e4 <search_regs>, stop=832548) at c:/msys/home/dani/emacs/trunk/src/regex.c:5360
#2  0x01153a39 in re_search_2 (bufp=0x1524c38 <searchbufs+952>,
    str1=0x748b574 "Value: ((\"c:/Program Files (x86)/emacs-r114715-20131019-w32/share/emacs/24.3.50/lisp/saveplace.elc\" save-place-alist save-place save-place save-place-file save-place-file save-place-version-control sa"..., size1=0,
    str2=0x748b574 "Value: ((\"c:/Program Files (x86)/emacs-r114715-20131019-w32/share/emacs/24.3.50/lisp/saveplace.elc\" save-place-alist save-place save-place save-place-file save-place-file save-place-version-control sa"..., size2=832548, startpos=159902, range=672646, regs=0x15260e4 <search_regs>, stop=832548) at c:/msys/home/dani/emacs/trunk/src/regex.c:4441
#3  0x01145f93 in search_buffer (string=97813121, pos=3, pos_byte=3, lim=832551, lim_byte=832551, n=1, RE=1, trt=61372653, inverse_trt=61682773, posix=false) at c:/msys/home/dani/emacs/trunk/src/search.c:1192
#4  0x011458e1 in search_command (string=97813121, bound=58415138, noerror=58415170, count=58415138, direction=1, RE=1, posix=false) at c:/msys/home/dani/emacs/trunk/src/search.c:985
#5  0x0114887a in Fre_search_forward (regexp=97813121, bound=58415138, noerror=58415170, count=58415138) at c:/msys/home/dani/emacs/trunk/src/search.c:2167
#6  0x0117f218 in eval_sub (form=106041566) at c:/msys/home/dani/emacs/trunk/src/eval.c:2195
#7  0x0117aab6 in Fif (args=106081438) at c:/msys/home/dani/emacs/trunk/src/eval.c:415
#8  0x0117eee9 in eval_sub (form=106081382) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#9  0x0117ad86 in Fprogn (body=106080870) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#10 0x0116e84d in Fsave_excursion (args=106080870) at c:/msys/home/dani/emacs/trunk/src/editfns.c:941
#11 0x0117eee9 in eval_sub (form=106080878) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#12 0x0117ad86 in Fprogn (body=106080838) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#13 0x01181024 in funcall_lambda (fun=106080862, nargs=0, arg_vector=0x88bfd4) at c:/msys/home/dani/emacs/trunk/src/eval.c:3042
#14 0x01180822 in Ffuncall (nargs=1, args=0x88bfd0) at c:/msys/home/dani/emacs/trunk/src/eval.c:2876
#15 0x0117f07b in eval_sub (form=106032062) at c:/msys/home/dani/emacs/trunk/src/eval.c:2157
#16 0x0117ad86 in Fprogn (body=106167038) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#17 0x01181024 in funcall_lambda (fun=106167022, nargs=1, arg_vector=0x88c1ec) at c:/msys/home/dani/emacs/trunk/src/eval.c:3042
#18 0x01180822 in Ffuncall (nargs=2, args=0x88c1e8) at c:/msys/home/dani/emacs/trunk/src/eval.c:2876
#19 0x0117fffe in call1 (fn=106167022, arg1=104938306) at c:/msys/home/dani/emacs/trunk/src/eval.c:2614
#20 0x0118ad16 in mapcar1 (leni=14, vals=0x88c280, fn=106167022, seq=99291174) at c:/msys/home/dani/emacs/trunk/src/fns.c:2320
#21 0x0118b017 in Fmapcar (function=106167022, sequence=99291174) at c:/msys/home/dani/emacs/trunk/src/fns.c:2390
#22 0x0117f1a4 in eval_sub (form=106166958) at c:/msys/home/dani/emacs/trunk/src/eval.c:2188
#23 0x0117ab10 in Fif (args=106166878) at c:/msys/home/dani/emacs/trunk/src/eval.c:419
#24 0x0117eee9 in eval_sub (form=106166886) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#25 0x0117f0e1 in eval_sub (form=106166446) at c:/msys/home/dani/emacs/trunk/src/eval.c:2170
#26 0x0117ad86 in Fprogn (body=106166398) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#27 0x01181024 in funcall_lambda (fun=106166422, nargs=2, arg_vector=0x88c670) at c:/msys/home/dani/emacs/trunk/src/eval.c:3042
#28 0x01180a14 in apply_lambda (fun=106166422, args=104018678) at c:/msys/home/dani/emacs/trunk/src/eval.c:2924
#29 0x0117f565 in eval_sub (form=104018774) at c:/msys/home/dani/emacs/trunk/src/eval.c:2260
#30 0x0117afe2 in Fsetq (args=104018782) at c:/msys/home/dani/emacs/trunk/src/eval.c:545
#31 0x0117eee9 in eval_sub (form=104018814) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#32 0x0117ad86 in Fprogn (body=104086158) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#33 0x0117eee9 in eval_sub (form=104086150) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#34 0x0117ab10 in Fif (args=104086134) at c:/msys/home/dani/emacs/trunk/src/eval.c:419
#35 0x0117eee9 in eval_sub (form=104086126) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#36 0x0117ad86 in Fprogn (body=104085966) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#37 0x0117c61c in Fwhile (args=104086206) at c:/msys/home/dani/emacs/trunk/src/eval.c:998
#38 0x0117eee9 in eval_sub (form=104086214) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#39 0x0117ad86 in Fprogn (body=104080918) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#40 0x0117ca20 in internal_catch (tag=58544578, func=0x117ad2f <Fprogn>, arg=104080918) at c:/msys/home/dani/emacs/trunk/src/eval.c:1118
#41 0x0117c941 in Fcatch (args=104080942) at c:/msys/home/dani/emacs/trunk/src/eval.c:1093
#42 0x0117eee9 in eval_sub (form=104080950) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#43 0x0117ae46 in Fprog1 (args=104080902) at c:/msys/home/dani/emacs/trunk/src/eval.c:500
#44 0x0117eee9 in eval_sub (form=104080910) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#45 0x0117ad86 in Fprogn (body=104080870) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#46 0x0117c093 in FletX (args=104080862) at c:/msys/home/dani/emacs/trunk/src/eval.c:906
#47 0x0117eee9 in eval_sub (form=104080854) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#48 0x0117ad86 in Fprogn (body=104080830) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#49 0x0117c093 in FletX (args=104080822) at c:/msys/home/dani/emacs/trunk/src/eval.c:906
#50 0x0117eee9 in eval_sub (form=104080814) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#51 0x0117ad86 in Fprogn (body=104080790) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#52 0x01173e6a in Fsave_restriction (body=104080798) at c:/msys/home/dani/emacs/trunk/src/editfns.c:3415
#53 0x0117eee9 in eval_sub (form=104080806) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#54 0x0117ad86 in Fprogn (body=104080710) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#55 0x0116e84d in Fsave_excursion (args=104080710) at c:/msys/home/dani/emacs/trunk/src/editfns.c:941
#56 0x0117eee9 in eval_sub (form=104080718) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#57 0x0117ad86 in Fprogn (body=104080686) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#58 0x0117ca20 in internal_catch (tag=108941794, func=0x117ad2f <Fprogn>, arg=104080686) at c:/msys/home/dani/emacs/trunk/src/eval.c:1118
#59 0x0117c941 in Fcatch (args=104080694) at c:/msys/home/dani/emacs/trunk/src/eval.c:1093
#60 0x0117eee9 in eval_sub (form=104080702) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#61 0x0117ad86 in Fprogn (body=104080542) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#62 0x01181024 in funcall_lambda (fun=104080630, nargs=1, arg_vector=0x88d660) at c:/msys/home/dani/emacs/trunk/src/eval.c:3042
#63 0x01180a14 in apply_lambda (fun=104080630, args=106097526) at c:/msys/home/dani/emacs/trunk/src/eval.c:2924
#64 0x0117f565 in eval_sub (form=106097518) at c:/msys/home/dani/emacs/trunk/src/eval.c:2260
#65 0x0117ad86 in Fprogn (body=106097534) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#66 0x0116e84d in Fsave_excursion (args=106094102) at c:/msys/home/dani/emacs/trunk/src/editfns.c:941
#67 0x0117eee9 in eval_sub (form=106094094) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#68 0x0117c2b0 in Flet (args=106092870) at c:/msys/home/dani/emacs/trunk/src/eval.c:946
#69 0x0117eee9 in eval_sub (form=106092878) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#70 0x0117ad86 in Fprogn (body=106092902) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#71 0x01181024 in funcall_lambda (fun=106092886, nargs=0, arg_vector=0x88dbc4) at c:/msys/home/dani/emacs/trunk/src/eval.c:3042
#72 0x01180822 in Ffuncall (nargs=1, args=0x88dbc0) at c:/msys/home/dani/emacs/trunk/src/eval.c:2876
#73 0x0117f07b in eval_sub (form=106095454) at c:/msys/home/dani/emacs/trunk/src/eval.c:2157
#74 0x0117aa07 in Fand (args=106095470) at c:/msys/home/dani/emacs/trunk/src/eval.c:393
#75 0x0117eee9 in eval_sub (form=106095318) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#76 0x0117ad86 in Fprogn (body=106095478) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#77 0x0117acd3 in Fcond (args=106092486) at c:/msys/home/dani/emacs/trunk/src/eval.c:446
#78 0x0117eee9 in eval_sub (form=106092494) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#79 0x0117ad86 in Fprogn (body=106092502) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#80 0x0117c51e in Flet (args=106092510) at c:/msys/home/dani/emacs/trunk/src/eval.c:976
#81 0x0117eee9 in eval_sub (form=106090502) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#82 0x0117ad86 in Fprogn (body=106090518) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#83 0x0117acd3 in Fcond (args=106090542) at c:/msys/home/dani/emacs/trunk/src/eval.c:446
#84 0x0117eee9 in eval_sub (form=106090550) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#85 0x0117ad86 in Fprogn (body=106090558) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#86 0x0117c093 in FletX (args=106090566) at c:/msys/home/dani/emacs/trunk/src/eval.c:906
#87 0x0117eee9 in eval_sub (form=106090574) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#88 0x0117ad86 in Fprogn (body=106090606) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#89 0x0117abce in Fif (args=106090590) at c:/msys/home/dani/emacs/trunk/src/eval.c:420
#90 0x0117eee9 in eval_sub (form=106090582) at c:/msys/home/dani/emacs/trunk/src/eval.c:2133
#91 0x0117ad86 in Fprogn (body=106090638) at c:/msys/home/dani/emacs/trunk/src/eval.c:468
#92 0x01181024 in funcall_lambda (fun=106090614, nargs=0, arg_vector=0x88e5e8) at c:/msys/home/dani/emacs/trunk/src/eval.c:3042
#93 0x01180822 in Ffuncall (nargs=1, args=0x88e5e4) at c:/msys/home/dani/emacs/trunk/src/eval.c:2876
#94 0x011c10e8 in exec_byte_code (bytestr=101282673, vector=103247309, maxdepth=24, args_template=58415138, nargs=0, args=0x0) at c:/msys/home/dani/emacs/trunk/src/bytecode.c:919
#95 0x011810b9 in funcall_lambda (fun=103247549, nargs=0, arg_vector=0x6276dcd) at c:/msys/home/dani/emacs/trunk/src/eval.c:3049
#96 0x0118074f in Ffuncall (nargs=1, args=0x88e914) at c:/msys/home/dani/emacs/trunk/src/eval.c:2864
#97 0x011c10e8 in exec_byte_code (bytestr=101268193, vector=103246869, maxdepth=16, args_template=58415138, nargs=0, args=0x0) at c:/msys/home/dani/emacs/trunk/src/bytecode.c:919
#98 0x011c0538 in Fbyte_code (bytestr=101268193, vector=103246869, maxdepth=16) at c:/msys/home/dani/emacs/trunk/src/bytecode.c:482
#99 0x0117f1d9 in eval_sub (form=107492686) at c:/msys/home/dani/emacs/trunk/src/eval.c:2191
#100 0x0117d368 in internal_lisp_condition_case (var=58415138, bodyform=107492686, handlers=107492366) at c:/msys/home/dani/emacs/trunk/src/eval.c:1323
#101 0x011c2028 in exec_byte_code (bytestr=101268385, vector=103246989, maxdepth=12, args_template=58415138, nargs=0, args=0x0) at c:/msys/home/dani/emacs/trunk/src/bytecode.c:1169
#102 0x011810b9 in funcall_lambda (fun=103247013, nargs=0, arg_vector=0x6276c8d) at c:/msys/home/dani/emacs/trunk/src/eval.c:3049
#103 0x0118074f in Ffuncall (nargs=1, args=0x88f014) at c:/msys/home/dani/emacs/trunk/src/eval.c:2864
#104 0x011c10e8 in exec_byte_code (bytestr=107626817, vector=119171549, maxdepth=4, args_template=58415138, nargs=0, args=0x0) at c:/msys/home/dani/emacs/trunk/src/bytecode.c:919
#105 0x011810b9 in funcall_lambda (fun=119171573, nargs=1, arg_vector=0x71a69dd) at c:/msys/home/dani/emacs/trunk/src/eval.c:3049
#106 0x0118074f in Ffuncall (nargs=2, args=0x88f42c) at c:/msys/home/dani/emacs/trunk/src/eval.c:2864
#107 0x0117f63b in Fapply (nargs=3, args=0x88f42c) at c:/msys/home/dani/emacs/trunk/src/eval.c:2297
#108 0x01180403 in Ffuncall (nargs=4, args=0x88f428) at c:/msys/home/dani/emacs/trunk/src/eval.c:2796
#109 0x011c10e8 in exec_byte_code (bytestr=60589793, vector=119171061, maxdepth=20, args_template=512, nargs=0, args=0x88f774) at c:/msys/home/dani/emacs/trunk/src/bytecode.c:919
#110 0x01180cf5 in funcall_lambda (fun=119171085, nargs=0, arg_vector=0x88f774) at c:/msys/home/dani/emacs/trunk/src/eval.c:2983
#111 0x0118074f in Ffuncall (nargs=1, args=0x88f770) at c:/msys/home/dani/emacs/trunk/src/eval.c:2864
#112 0x0117ffca in call0 (fn=111706434) at c:/msys/home/dani/emacs/trunk/src/eval.c:2599
#113 0x010f56b6 in safe_run_hooks_1 () at c:/msys/home/dani/emacs/trunk/src/keyboard.c:1872
#114 0x0117d473 in internal_condition_case (bfun=0x10f5631 <safe_run_hooks_1>, handlers=58415170, hfun=0x10f56b8 <safe_run_hooks_error>) at c:/msys/home/dani/emacs/trunk/src/eval.c:1354
#115 0x010f5aae in safe_run_hook_funcall (nargs=1, args=0x88f870) at c:/msys/home/dani/emacs/trunk/src/keyboard.c:1927
#116 0x0117febe in run_hook_with_args (nargs=1, args=0x88f870, funcall=0x10f5a1c <safe_run_hook_funcall>) at c:/msys/home/dani/emacs/trunk/src/eval.c:2551
#117 0x010f5af2 in safe_run_hooks (hook=111706434) at c:/msys/home/dani/emacs/trunk/src/keyboard.c:1944
#118 0x010f4814 in command_loop_1 () at c:/msys/home/dani/emacs/trunk/src/keyboard.c:1570
#119 0x0117d473 in internal_condition_case (bfun=0x10f4169 <command_loop_1>, handlers=58466658, hfun=0x10f39cf <cmd_error>) at c:/msys/home/dani/emacs/trunk/src/eval.c:1354
#120 0x010f3e1e in command_loop_2 (ignore=58415138) at c:/msys/home/dani/emacs/trunk/src/keyboard.c:1174
#121 0x0117ca20 in internal_catch (tag=58462018, func=0x10f3dfa <command_loop_2>, arg=58415138) at c:/msys/home/dani/emacs/trunk/src/eval.c:1118
#122 0x010f3dd6 in command_loop () at c:/msys/home/dani/emacs/trunk/src/keyboard.c:1153
#123 0x010f356c in recursive_edit_1 () at c:/msys/home/dani/emacs/trunk/src/keyboard.c:777
#124 0x010f3728 in Frecursive_edit () at c:/msys/home/dani/emacs/trunk/src/keyboard.c:845
#125 0x010f1922 in main (argc=2, argv=0xc93018) at c:/msys/home/dani/emacs/trunk/src/emacs.c:1643
(gdb)
(gdb) xbacktrace
Undefined command: "xbacktrace".  Try "help".
(gdb) source ~/.gdbinit
Warning: /cygdrive/c/Program Files (x86)/emacs-trunk/bin/../lwlib: No such file or directory.
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 0x10f0372: file c:/msys/home/dani/emacs/trunk/src/emacs.c, line 351.
Temporary breakpoint 2 at 0x1113e88: file c:/msys/home/dani/emacs/trunk/src/sysdep.c, line 854.
(gdb) xbacktrace
[Thread 4000.0x2bb0 exited with code 0]
(gdb) Cannot step over breakpoint hit in wrong thread
An error occurred while in a function called from GDB.
Evaluation of the expression containing the function
(backtrace_top) will be abandoned.
When the function is done executing, GDB will silently stop.