Subject: bug#12579: Emacs 24.1 / 24.2 daily crashes

From: "Fabrice Niessen" <[email-masked]>
Date: Sat, 06 Oct 2012 13:26:26 +0200

Dear Eli,

Here is more info, from another crash:

--8<---------------cut here---------------start------------->8---
GNU gdb (GDB) 7.5.50.20120815-cvs (cygwin-special)
Copyright (C) 2012 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-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 5928
[New Thread 5928.0x1904]
[New Thread 5928.0x1c7c]
[New Thread 5928.0x1644]
[New Thread 5928.0x28c]
Reading symbols from /cygdrive/c/Program Files/Emacs-24.2/bin/emacs.exe...done.
warning: File "/cygdrive/c/Program Files/Emacs-24.2/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
(gdb) thread apply all backtrace

Thread 4 (Thread 5928.0x28c):
#0  0x7c91120f in ntdll!DbgUiConnectToDbg () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c962119 in ntdll!KiIntSystemCall () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x00000005 in ?? ()
#3  0x00000004 in ?? ()
#4  0x00000001 in ?? ()
#5  0x7132ffd0 in ?? ()
#6  0x00000000 in ?? ()

Thread 3 (Thread 5928.0x1644):
#0  0x7c91e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c91df5a in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x7c8025db in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#3  0x00000658 in ?? ()
#4  0x00000000 in ?? ()

Thread 2 (Thread 5928.0x1c7c):
#0  0x7c91e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7e3991be in USER32!GetProcessWindowStation () from /cygdrive/c/WINDOWS/system32/USER32.dll
#2  0x7e3991f1 in USER32!GetMessageW () from /cygdrive/c/WINDOWS/system32/USER32.dll
#3  0x011490bd in w32_msg_pump (msg_buf=0x7236ff54) at w32fns.c:2263
#4  0x011492fb in w32_msg_worker@4 (arg=0x0) at w32fns.c:2485
#5  0x7c80b729 in KERNEL32!GetModuleFileNameA () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#6  0x00000000 in ?? ()

Thread 1 (Thread 5928.0x1904):
#0  0x7c91e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c91df4a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x7c8648a2 in UnhandledExceptionFilter () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#3  0x00000002 in ?? ()
#4  0x007b7f4c in ?? ()
#5  0x7c8438fa in ValidateLocale () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#6  0x00000000 in ?? ()
(gdb) xbacktrace
(gdb) Undefined command: "xbacktrace".  Try "help".

(gdb) Undefined command: "xbacktrace".  Try "help".
source .gdbinit
Warning: /cygdrive/c/Program Files/Emacs-24.2/../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 0x1154889: file w32fns.c, line 7200.
Temporary breakpoint 2 at 0x11449c9: file sysdep.c, line 819.
(gdb) xbacktrace
"split-string" (0x82cb40)
"cons" (0x82cd64)
"setq" (0x82ceb4)
"progn" (0x82cfe4)
"if" (0x82d114)
"ac-update-word-index-1" (0x82d200)
"save-current-buffer" (0x82d474)
"progn" (0x82d5a4)
"if" (0x82d6d4)
"while" (0x82d844)
"let" (0x82da14)
"progn" (0x82db44)
"ac-update-word-index" (0x82dce4)
"funcall" (0x82dce0)
"cond" (0x82dee4)
"save-excursion" (0x82e044)
"progn" (0x82e174)
"if" (0x82e2a4)
"while" (0x82e414)
"let*" (0x82e5a4)
"progn" (0x82e6d4)
"ac-init" (0x82e7c0)
"progn" (0x82ea04)
"if" (0x82eb34)
"if" (0x82ec94)
"let*" (0x82ee24)
"if" (0x82ef84)
"progn" (0x82f0b4)
"let*" (0x82f244)
"ac-start" (0x82f330)
"progn" (0x82f584)
"if" (0x82f6b4)
"condition-case" (0x82f894)
"ac-handle-post-command" (0x82fa44)
(gdb)
"split-string" (0x82cb40)
"cons" (0x82cd64)
"setq" (0x82ceb4)
"progn" (0x82cfe4)
"if" (0x82d114)
"ac-update-word-index-1" (0x82d200)
"save-current-buffer" (0x82d474)
"progn" (0x82d5a4)
"if" (0x82d6d4)
"while" (0x82d844)
"let" (0x82da14)
"progn" (0x82db44)
"ac-update-word-index" (0x82dce4)
"funcall" (0x82dce0)
"cond" (0x82dee4)
"save-excursion" (0x82e044)
"progn" (0x82e174)
"if" (0x82e2a4)
"while" (0x82e414)
"let*" (0x82e5a4)
"progn" (0x82e6d4)
"ac-init" (0x82e7c0)
"progn" (0x82ea04)
"if" (0x82eb34)
"if" (0x82ec94)
"let*" (0x82ee24)
"if" (0x82ef84)
"progn" (0x82f0b4)
"let*" (0x82f244)
"ac-start" (0x82f330)
"progn" (0x82f584)
"if" (0x82f6b4)
"condition-case" (0x82f894)
"ac-handle-post-command" (0x82fa44)
(gdb)
--8<---------------cut here---------------end--------------->8---

Hopefully, this time, it should be much more helpful for you (thus, for me!).

Thanks a lot,
Fabrice

--
Fabrice Niessen
Pre-sales, Network and Software Engineer
M i s s i o n   C r i t i c a l   I T
✉ [email-masked]
☎ +32 2-757.10.15