emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MS-Windows build using Posix configury


From: Dmitry Gutov
Subject: Re: MS-Windows build using Posix configury
Date: Sat, 18 May 2013 12:08:58 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6

On 18.05.2013 11:18, Eli Zaretskii wrote:
The patch doesn't seem to have the desired effect (and I've tried make
clean && make CFLAGS="-g3").

Moreover, despite the above CFLAGS value, I'm unable to obtain detailed
backtrace here:
...
If I revert the patch, recompile and reproduce it again, 'bt full'
outputs it full, no problem.

Sorry, I don't follow.  Are you saying that there's still a crash
after applying the patch, except that you cannot get a backtrace when
the crash happens?

Yes.

> What exactly happens when you try to produce a
backtrace?

I get the output I sent in the previous email.

Are you sure you switch to the correct thread when asking
for a backtrace?

Doesn't 'abort' breakpoint hit guarantee that I'm on the right thread?

> Try "info threads" and "thread apply all bt".

(gdb) info threads
  Id   Target Id         Frame
5 Thread 1360.0x1318 0x77541dfe in ntdll!LdrQueryProcessModuleInformation
    () from C:\windows\system32\ntdll.dll
  4    Thread 1360.0x204 0x751178d7 in USER32!IsDialogMessage ()
   from C:\windows\syswow64\user32.dll
  3    Thread 1360.0x558 0x7753fd71 in ntdll!RtlFindSetBits ()
   from C:\windows\system32\ntdll.dll
2 Thread 1360.0xe24 0x7754013d in ntdll!RtlEnableEarlyCriticalSectionEventCreation () from C:\windows\system32\ntdll.dll
* 1    Thread 1360.0xe28 0x76ba8e76 in msvcrt!abort ()
   from C:\windows\syswow64\msvcrt.dll
(gdb) thread apply all bt

Thread 5 (Thread 1360.0x1318):
#0  0x77541dfe in ntdll!LdrQueryProcessModuleInformation ()
   from C:\windows\system32\ntdll.dll
#1  0x77541dfe in ntdll!LdrQueryProcessModuleInformation ()
   from C:\windows\system32\ntdll.dll
#2  0x77577156 in ntdll!RtlTraceDatabaseLock ()
   from C:\windows\system32\ntdll.dll
#3  0x00000010 in ?? ()
#4  0x00000000 in ?? ()

Lisp Backtrace:
"kill-emacs" (0x88f028)
"save-buffers-kill-emacs" (0x88f318)
"save-buffers-kill-terminal" (0x88f644)
"call-interactively" (0x88f880)
"command-execute" (0x88fb7c)

Thread 4 (Thread 1360.0x204):
#0  0x751178d7 in USER32!IsDialogMessage ()
   from C:\windows\syswow64\user32.dll
#1  0x751178d7 in USER32!IsDialogMessage ()
   from C:\windows\syswow64\user32.dll
#2  0x7511790d in USER32!GetCursorPos () from C:\windows\syswow64\user32.dll
#3  0x6c9afec0 in ?? ()
#4  0x011a0185 in w32_msg_pump (msg_buf=0x6c9aff28) at w32fns.c:2417
#5  0x011a03c3 in address@hidden (arg=0x0) at w32fns.c:2643
#6  0x76f333aa in KERNEL32!BaseCleanupAppcompatCacheSupport ()
   from C:\windows\syswow64\kernel32.dll
#7  0x6c9affd4 in ?? ()
#8  0x77559ef2 in ntdll!RtlpNtSetValueKey ()
   from C:\windows\system32\ntdll.dll
#9  0x00000000 in ?? ()

Lisp Backtrace:
"kill-emacs" (0x88f028)
"save-buffers-kill-emacs" (0x88f318)
"save-buffers-kill-terminal" (0x88f644)
"call-interactively" (0x88f880)
"command-execute" (0x88fb7c)

Thread 3 (Thread 1360.0x558):
#0  0x7753fd71 in ntdll!RtlFindSetBits () from C:\windows\system32\ntdll.dll
#1  0x75213bc8 in SleepEx () from C:\windows\syswow64\KernelBase.dll
#2  0x00000000 in ?? ()

Lisp Backtrace:
"kill-emacs" (0x88f028)
"save-buffers-kill-emacs" (0x88f318)
"save-buffers-kill-terminal" (0x88f644)
"call-interactively" (0x88f880)
"command-execute" (0x88fb7c)

Thread 2 (Thread 1360.0xe24):
#0  0x7754013d in ntdll!RtlEnableEarlyCriticalSectionEventCreation ()
   from C:\windows\system32\ntdll.dll
#1  0x7754013d in ntdll!RtlEnableEarlyCriticalSectionEventCreation ()
   from C:\windows\system32\ntdll.dll
#2  0x77572f51 in ntdll!RtlWeaklyEnumerateEntryHashTable ()
   from C:\windows\system32\ntdll.dll
#3  0x00000003 in ?? ()
#4  0x00ab3a40 in ?? ()
#5  0x76f333aa in KERNEL32!BaseCleanupAppcompatCacheSupport ()
   from C:\windows\syswow64\kernel32.dll
#6  0x6bf2ffd4 in ?? ()
#7  0x77559ef2 in ntdll!RtlpNtSetValueKey ()
   from C:\windows\system32\ntdll.dll
#8  0x00ab3a10 in ?? ()
#9  0x77559ec5 in ntdll!RtlpNtSetValueKey ()
   from C:\windows\system32\ntdll.dll
#10 0x77572e25 in ntdll!RtlWeaklyEnumerateEntryHashTable ()
   from C:\windows\system32\ntdll.dll
#11 0x00ab3a10 in ?? ()
#12 0x00000000 in ?? ()

Lisp Backtrace:
"kill-emacs" (0x88f028)
"save-buffers-kill-emacs" (0x88f318)
"save-buffers-kill-terminal" (0x88f644)
"call-interactively" (0x88f880)
"command-execute" (0x88fb7c)

Thread 1 (Thread 1360.0xe28):
#0  0x76ba8e76 in msvcrt!abort () from C:\windows\syswow64\msvcrt.dll
#1  0x6cae6f62 in libgcc_s_dw2-1!__deregister_frame_info_bases ()
   from J:\Apps\System\MinGW\bin\libgcc_s_dw2-1.dll
#2  0x00000000 in ?? ()

Lisp Backtrace:
"kill-emacs" (0x88f028)
"save-buffers-kill-emacs" (0x88f318)
"save-buffers-kill-terminal" (0x88f644)
"call-interactively" (0x88f880)
"command-execute" (0x88fb7c)
(gdb)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]