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: Fri, 13 Jun 2008 17:53:40 +0200 Message-ID: <48529804.80901@alice.it> References: <48511871.1090203@alice.it> <4851806A.6070104@alice.it> <48519B79.1010300@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 1213372476 21177 80.91.229.12 (13 Jun 2008 15:54:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2008 15:54:36 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 13 17:55:16 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 1K7BcJ-00015X-Dd for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 17:55:07 +0200 Original-Received: from localhost ([127.0.0.1]:35224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7BbV-0000QL-Kd for ged-emacs-devel@m.gmane.org; Fri, 13 Jun 2008 11:54:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7BbQ-0000Pp-Da for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:54:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7BbP-0000PL-SO for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:54:12 -0400 Original-Received: from [199.232.76.173] (port=57281 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7BbP-0000PA-Ok for emacs-devel@gnu.org; Fri, 13 Jun 2008 11:54:11 -0400 Original-Received: from smtp-out26.alice.it ([85.33.2.26]:3954) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K7BbK-0003I5-C9; Fri, 13 Jun 2008 11:54:06 -0400 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out26.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Jun 2008 17:54:05 +0200 Original-Received: from FBCMCL01B02.fbc.local ([192.168.69.83]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Jun 2008 17:54:03 +0200 Original-Received: from [82.55.236.63] ([82.55.236.63]) by FBCMCL01B02.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Jun 2008 17:54:03 +0200 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: X-OriginalArrivalTime: 13 Jun 2008 15:54:03.0437 (UTC) FILETIME=[B3F50DD0:01C8CD6D] 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:99118 Archived-At: Eli Zaretskii ha scritto: > Inside GDB, type "info symbol 0xNNNNNNNN" for each of the above lines, > where NNNNNNNN is the number in the "Function" column. This should > display the name of each function in the stack dump. Some results: [...] 3 [sig] emacs 3908 open_stackdumpfile: Dumping stack trace to emacs.exe.stackdump Program exited with code 0103000. (gdb) info symbol 0x7C802542 WaitForSingleObject + 18 in section .text (gdb) info symbol 0x61097F34 sig_send(_pinfo*, siginfo_t&, _cygtls*) + 2788 in section .text (gdb) info symbol 0x61095ACB _pinfo::kill(siginfo_t&) + 235 in section .text (gdb) info symbol 0x61095FAB kill0(int, siginfo_t&) + 107 in section .text (gdb) info symbol 0x61096162 kill + 66 in section .text (gdb) info symbol 0x61093588 _sigbe in section .text (gdb) info symbol 0x61017BE0 _cygtls::call_signal_handler() + 144 in section .text (gdb) info symbol 0x61098028 sig_send(_pinfo*, siginfo_t&, _cygtls*) + 3032 in section .text (gdb) info symbol 0x61095ACB _pinfo::kill(siginfo_t&) + 235 in section .text (gdb) info symbol 0x61095FAB kill0(int, siginfo_t&) + 107 in section .text (gdb) info symbol 0x61096162 kill + 66 in section .text (gdb) info symbol 0x61093588 _sigbe in section .text (gdb) info symbol 0x0056A345 r_re_alloc + 149 in section .text (gdb) info symbol 0x004C7C6F enlarge_buffer_text + 47 in section .text (gdb) info symbol 0x004D188C make_gap_larger + 60 in section .text (gdb) info symbol 0x004D2850 insert_from_string_1 + 544 in section .text > Also, you can > type "list *0xNNNNNNNN" (note the asterisk: it's important), which > will show the source around the addresses in the stack dump. That, at > least, will glean some useful information from this gobbledygook. idem: (gdb) list *0x7C802542 No source file for address 0x7c802542. (gdb) list *0x61097F34 No source file for address 0x61097f34. (gdb) list *0x61095ACB No source file for address 0x61095acb. (gdb) list *0x61095FAB No source file for address 0x61095fab. (gdb) list *0x61096162 No source file for address 0x61096162. (gdb) list *0x61093588 No source file for address 0x61093588. (gdb) list *0x61017BE0 No source file for address 0x61017be0. (gdb) list *0x61098028 No source file for address 0x61098028. (gdb) list *0x61095ACB No source file for address 0x61095acb. (gdb) list *0x61095FAB No source file for address 0x61095fab. (gdb) list *0x61096162 No source file for address 0x61096162. (gdb) list *0x61093588 No source file for address 0x61093588. (gdb) list *0x0056A345 0x56a345 is in r_re_alloc (/work/emacs-23.0.60/src/ralloc.c:1016). 1011 SIZE size; 1012 { 1013 register bloc_ptr bloc; 1014 1015 if (! r_alloc_initialized) 1016 r_alloc_init (); 1017 1018 if (!*ptr) 1019 return r_alloc (ptr, size); 1020 if (!size) (gdb) list *0x004C7C6F 0x4c7c6f is in enlarge_buffer_text (/work/emacs-23.0.60/src/buffer.c:5056). 5051 p = r_re_alloc ((POINTER_TYPE **) &b->text->beg, nbytes); 5052 #else 5053 p = xrealloc (b->text->beg, nbytes); 5054 #endif 5055 5056 if (p == NULL) 5057 { 5058 UNBLOCK_INPUT; 5059 memory_full (); 5060 } (gdb) list *0x004D188C 0x4d188c is in make_gap_larger (/work/emacs-23.0.60/src/insdel.c:529). 524 error ("Buffer exceeds maximum size"); 525 526 enlarge_buffer_text (current_buffer, nbytes_added); 527 528 /* Prevent quitting in move_gap. */ 529 tem = Vinhibit_quit; 530 Vinhibit_quit = Qt; 531 532 real_gap_loc = GPT; 533 real_gap_loc_byte = GPT_BYTE; (gdb) list *0x004D2850 0x4d2850 is in insert_from_string_1 (/work/emacs-23.0.60/src/insdel.c:1107). 1102 prepare_to_modify_buffer (PT, PT, NULL); 1103 1104 if (PT != GPT) 1105 move_gap_both (PT, PT_BYTE); 1106 if (GAP_SIZE < outgoing_nbytes) 1107 make_gap (outgoing_nbytes - GAP_SIZE); 1108 UNGCPRO; 1109 1110 /* Copy the string text into the buffer, perhaps converting 1111 between single-byte and multibyte. */ If the above infos are useful, we are very fortunate... Cheers, Angelo.