emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 24.0.90 Pretest Windows Binaries


From: Eli Zaretskii
Subject: Re: Emacs 24.0.90 Pretest Windows Binaries
Date: Thu, 20 Oct 2011 16:03:09 +0200

> Date: Thu, 20 Oct 2011 17:11:04 +0800
> From: Kevin Yu <address@hidden>
> Cc: address@hidden
> 
> > Thanks.  But this is only for one thread; as you see above, there are
> > others.  "info threads" will show all the threads; please produce a
> > backtrace from all of them.  To switch to thread number N, type
> > "thread N" at the GDB prompt.
> 
> (gdb) info threads
>   Id   Target Id         Frame
>   2    Thread 5748.0x112c 0x7c92e514 in ntdll!LdrAccessResource ()
>    from C:\windows\system32\ntdll.dll
> * 1    Thread 5748.0x214 0x77c0554a in msvcrt!_abnormal_termination ()
>    from C:\windows\system32\msvcrt.dll
> (gdb) thread 2
> [Switching to thread 2 (Thread 5748.0x112c)]
> #0  0x7c92e514 in ntdll!LdrAccessResource ()
>    from C:\windows\system32\ntdll.dll
> (gdb) bt
> #0  0x7c92e514 in ntdll!LdrAccessResource ()
>    from C:\windows\system32\ntdll.dll
> #1  0x77d191be in USER32!GetProcessWindowStation ()
>    from C:\windows\system32\user32.dll
> #2  0x77d2776b in USER32!GetMessageA () from C:\windows\system32\user32.dll
> #3  0x010bbf37 in w32_msg_pump (msg_buf=<optimized out>) at w32fns.c:2246
> #4  0x010bc5ac in address@hidden (arg=0x0) at w32fns.c:2465
> #5  0x7c80b729 in KERNEL32!GetModuleFileNameA ()
>    from C:\windows\system32\kernel32.dll
> #6  0x00000000 in ?? ()
> (gdb)

Hmm... looks like thread 1 is the one that crashes.  Your previous
message indicated that it crashes inside strerror:

  Program received signal SIGSEGV, Segmentation fault.
  0x77c0554a in msvcrt!_abnormal_termination ()
     from C:\windows\system32\msvcrt.dll
  (gdb) bt
  #0  0x77c0554a in msvcrt!_abnormal_termination ()
     from C:\windows\system32\msvcrt.dll
  #1  0x77c09bc6 in strerror () from C:\windows\system32\msvcrt.dll

Interestingly enough, I cannot put a breakpoint on that function in my
Emacs binary: GDB says it is not linked in.  Can you put a breakpoint
on strerror?

Also, do I understand correctly that to crash Emacs, all you need is
start it with "emacs -Q" and type "C-g"?  Or is something else
required?





reply via email to

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