www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/11/27/08:43:26

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Authentication-Warning: itservs.wilkes.edu: apache set sender to fdonahoe AT wilkes DOT edu using -f
Message-ID: <1101561947.41a8805b99aca@webmail.wilkes.edu>
Date: Sat, 27 Nov 2004 08:25:47 -0500
From: fdonahoe AT wilkes DOT edu
To: Eli Zaretskii <eliz AT gnu DOT org>, Workers List <djgpp-workers AT delorie DOT com>
Cc: Juan Manuel Guerrero <st001906 AT hrz1 DOT hrz DOT tu-darmstadt DOT de>,
Esa Peuha <esa DOT peuha AT helsinki DOT fi>
Subject: Crash of info 4.7 while opening a gzipped info file.
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2
X-Originating-IP: 146.94.1.205
Reply-To: djgpp-workers AT delorie DOT com

To refresh my memory on gdb I discovered that the info built from
txi47s.zip under djgpp 2.04 crashed while trying to access a gzipped
info file.


> set DEBUG=1
> gdb ./info/ginfo.exe
(gdb) run
..
Select M info

gunzip.exe < /dev/env/DJDIR/info.info.gz...
Program received signal SIGSEGV, Segmentation fault.
free (ptr=0x3c206578) at malloc.c:377
377	block->size &= ~1;
(gdb) n

was followed by a crash whose record was, in those details
which matter, the same as the bfdsymified trace from the
crash generated by calling "info gdb" from the command line.

Exiting due to signal SIGSEGV
General Protection Fault at eip=0001fee4
eax=00000000 ebx=502b0a00 ecx=00000000 edx=00000006 \
    esi=502b09fc edi=00000006
ebp=000ccb38 esp=000ccb20 \
    program=C:\djg\gnu\texinfo4.7\info\ginfo.exe
cs: sel=01f7  base=02a40000  limit=000cffff
ds: sel=01ff  base=02a40000  limit=000cffff
es: sel=01ff  base=02a40000  limit=000cffff
fs: sel=01cf  base=00012260  limit=0000ffff
gs: sel=020f  base=00000000  limit=0010ffff
ss: sel=01ff  base=02a40000  limit=000cffff
App stack: [000ccd90..0004cd94]  \
    Exceptn stack: [0004c490..0004a550]

Call frame traceback EIPs:
  0x0001fee4 free+35, file \
    c:/tmp/djgpp/src/libc/ansi/stdlib/malloc.c, line 377
  0x000219db popen+248, file
c:/tmp/djgpp/src/libc/posix/stdio/popen.c, line 158
  0x0000520e .comment+10, file \
    c:/djg/gnu/texinfo4.7/info/filesys.c, line 548
  0x0000ed1f info_load_file_internal+63, file \
    c:/djg/gnu/texinfo4.7/info/nodes.c, line 362
  0x0000ef4a .debug_line+7, file \
    c:/djg/gnu/texinfo4.7/info/nodes.c, line 295
  0x0000f62d .debug_abbrev+91, file \
    c:/djg/gnu/texinfo4.7/info/nodes.c, line 108
  0x00008d1f .debug_abbrev+311
  0x0001fb3d .debug_info+100, file \
    c:/tmp/djgpp/src/libc/crt0/crt1.c, line 234

I feel stupid about this but how do I get the gdb traceback
output to a file so I can quote it without retyping?  I
failed to find the answer in the gdb.info file.

Regards,
Frank




-----------------------------------------------------------------------
This mail was sent through Wilkes Webmail: http://webmail.wilkes.edu
Wilkes Webmail is using IMP: http://horde.org/imp/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019