From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Stak dump with tar.[bz2/gz] files (Cygwin) Date: Sun, 15 Jun 2008 03:29:51 +0200 Message-ID: <4854708F.20508@alice.it> References: <48511871.1090203@alice.it> <4851806A.6070104@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213493447 26627 80.91.229.12 (15 Jun 2008 01:30:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2008 01:30:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 15 03:31:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K7h5e-0005U8-3c for ged-emacs-devel@m.gmane.org; Sun, 15 Jun 2008 03:31:30 +0200 Original-Received: from localhost ([127.0.0.1]:60249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7h4o-0005qP-OT for ged-emacs-devel@m.gmane.org; Sat, 14 Jun 2008 21:30:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7h4l-0005qB-5K for emacs-devel@gnu.org; Sat, 14 Jun 2008 21:30:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7h4j-0005py-Py for emacs-devel@gnu.org; Sat, 14 Jun 2008 21:30:34 -0400 Original-Received: from [199.232.76.173] (port=38346 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7h4j-0005pv-MW for emacs-devel@gnu.org; Sat, 14 Jun 2008 21:30:33 -0400 Original-Received: from smtp-out26.alice.it ([85.33.2.26]:4964) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K7h4e-00038c-C7; Sat, 14 Jun 2008 21:30:28 -0400 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out26.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Sun, 15 Jun 2008 03:30:24 +0200 Original-Received: from FBCMCL01B04.fbc.local ([192.168.69.85]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Sun, 15 Jun 2008 03:30:24 +0200 Original-Received: from [87.6.239.166] ([87.6.239.166]) by FBCMCL01B04.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Sun, 15 Jun 2008 03:30:23 +0200 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: X-OriginalArrivalTime: 15 Jun 2008 01:30:23.0925 (UTC) FILETIME=[61F28650:01C8CE87] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99236 Archived-At: Eli Zaretskii ha scritto: > Also, I think the two new threads above are spawned to handle the > signal. Maybe you can set a breakpoint in open_stackdumpfile, and > then, when that breakpoint is hit, see where the main thread caught > the signal. Here some results: $ gdb /usr/local/emacs/bin/emacs.exe GNU gdb 6.8.0.20080328-cvs (cygwin-special) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-pc-cygwin"... (gdb) break open_stackdumpfile Function "open_stackdumpfile" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (open_stackdumpfile) pending. (gdb) run -Q Starting program: /usr/local/emacs/bin/emacs.exe -Q [New thread 3956.0xda8] [New thread 3956.0xadc] [New thread 3956.0x478] [New thread 3956.0xedc] [New thread 3956.0x178] [New thread 3956.0xf80] [New thread 3956.0x9f4] [New thread 3956.0xde8] [New thread 3956.0x1a0] [Switching to thread 3956.0xadc] Breakpoint 1, 0x61016416 in open_stackdumpfile () from /usr/bin/cygwin1.dll C-x C-f hello1.tar.bz2 Parsing tar file...done here Emacs hangs? The portion of overlapped window isn't redisplayed... (gdb) c Continuing. 3 [sig] emacs 3956 open_stackdumpfile: Dumping stack trace to emacs.exe.stackdump Program exited with code 0103000. (gdb) As alternative: [...] an alternative [Switching to thread 3692.0xc0c] Breakpoint 1, 0x61016416 in open_stackdumpfile () from /usr/bin/cygwin1.dll (gdb) bt #0 0x61016416 in open_stackdumpfile () from /usr/bin/cygwin1.dll #1 0x6101669e in stackdump () from /usr/bin/cygwin1.dll #2 0x61017fd5 in _cygtls::signal_exit () from /usr/bin/cygwin1.dll #3 0x61018638 in sigpacket::process () from /usr/bin/cygwin1.dll #4 0x61099f57 in wait_sig () from /usr/bin/cygwin1.dll #5 0x61002f32 in cygthread::callfunc () from /usr/bin/cygwin1.dll #6 0x61003769 in cygthread::stub () from /usr/bin/cygwin1.dll #7 0x00001074 in ?? () #8 0x00000000 in ?? () (gdb) c Continuing. 3 [sig] emacs 3692 open_stackdumpfile: Dumping stack trace to emacs.exe.stackdump Program exited with code 0103000. (gdb) Angelo.