all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Kevin Yu <yujie052@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs 24.0.90 Pretest Windows Binaries
Date: Thu, 20 Oct 2011 16:03:09 +0200	[thread overview]
Message-ID: <83y5wfsqua.fsf@gnu.org> (raw)
In-Reply-To: <CALK2n0DDZhJT_KfzanqViyyV1MCAnxuOihm9SyN2E9mSUjYAyQ@mail.gmail.com>

> Date: Thu, 20 Oct 2011 17:11:04 +0800
> From: Kevin Yu <yujie052@gmail.com>
> Cc: emacs-devel@gnu.org
> 
> > 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 w32_msg_worker@4 (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	other threads:[~2011-10-20 14:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-19  0:43 Emacs 24.0.90 Pretest Windows Binaries Christoph Scholtes
2011-10-19  7:30 ` Eli Zaretskii
2011-10-19  7:47 ` Drew Adams
2011-10-19  8:52 ` Kevin
2011-10-19 11:08   ` Richard Stallman
2011-10-19 11:53   ` Eli Zaretskii
2011-10-19 13:42     ` Kevin Yu
2011-10-19 15:13       ` Eli Zaretskii
2011-10-20  2:16         ` Kevin Yu
2011-10-20  8:46           ` Eli Zaretskii
2011-10-20  9:11             ` Kevin Yu
2011-10-20 14:03               ` Eli Zaretskii [this message]
2011-10-21  1:44                 ` Kevin Yu
2011-10-21  8:04                   ` Eli Zaretskii
2011-10-21  8:45                     ` Kevin Yu
2011-10-21 10:10                       ` Kevin Yu
2011-10-21 12:12                         ` Eli Zaretskii
2011-10-21 14:12                           ` Kevin Yu
2011-10-21 14:33                             ` Eli Zaretskii
2011-10-21 14:55                               ` Kevin Yu
2011-10-21 12:31                       ` Eli Zaretskii
2011-10-19 12:20   ` Christoph Scholtes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y5wfsqua.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=yujie052@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.