From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs 24.0.90 Pretest Windows Binaries Date: Thu, 20 Oct 2011 16:03:09 +0200 Message-ID: <83y5wfsqua.fsf@gnu.org> References: <4E9E1D1D.1080405@gmail.com> <83zkgxtcy7.fsf@gnu.org> <83ty75t3o3.fsf@gnu.org> <83d3dst5iu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1319119423 29961 80.91.229.12 (20 Oct 2011 14:03:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2011 14:03:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kevin Yu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 20 16:03:39 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGtDf-0003LM-4c for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2011 16:03:39 +0200 Original-Received: from localhost ([::1]:34270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGtDb-00082l-KA for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2011 10:03:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGtDV-00081S-04 for emacs-devel@gnu.org; Thu, 20 Oct 2011 10:03:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGtDT-0002G8-Md for emacs-devel@gnu.org; Thu, 20 Oct 2011 10:03:28 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:47558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGtDT-0002F7-Bh for emacs-devel@gnu.org; Thu, 20 Oct 2011 10:03:27 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LTD00600AUDMI00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Thu, 20 Oct 2011 16:03:09 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.212.197]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LTD006MJB16MV00@a-mtaout23.012.net.il>; Thu, 20 Oct 2011 16:03:07 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145364 Archived-At: > Date: Thu, 20 Oct 2011 17:11:04 +0800 > From: Kevin Yu > Cc: emacs-devel@gnu.org >=20 > > Thanks. =A0But this is only for one thread; as you see above, the= re are > > others. =A0"info threads" will show all the threads; please produ= ce a > > backtrace from all of them. =A0To switch to thread number N, type > > "thread N" at the GDB prompt. >=20 > (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\us= er32.dll > #3 0x010bbf37 in w32_msg_pump (msg_buf=3D) at w32fn= s.c:2246 > #4 0x010bc5ac in w32_msg_worker@4 (arg=3D0x0) 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 m= y 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?