www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/11/22/08:09:03

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: <1101127921.41a1e0f18d76c@webmail.wilkes.edu>
Date: Mon, 22 Nov 2004 07:52:01 -0500
From: fdonahoe AT wilkes DOT edu
To: esa DOT peuha AT helsinki DOT fi
Cc: Workers List <djgpp-workers AT delorie DOT com>
Subject: Re: djgpp 2.04 crash in libc.a
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2
X-Originating-IP: 146.94.1.208
Reply-To: djgpp-workers AT delorie DOT com

Quoting Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>:

> Could you compile malloc.c and popen.c with -g and reproduce the
> crash?
> That would show the line numbers inside free and popen, which would
> be
> helpful.
> 
I will get to it later today.

On Sun, 21 Nov 2004 fdonahoe AT wilkes DOT edu wrote:
> > .....
> > Call frame traceback EIPs:
> >   0x00016446 free+182, file ct_upper.c
> >   0x00017e6b fread+75, file fread.c
> >   0x00006fa2 .debug_info+1030, file c:/djg/gnu/sed-4.1-2/ \
> >     sed/execute.c, line 492
> >   0x00002179 .comment+9
> >   0x000157dd fprintf+45, file fprintf.c
> > ....
> 
> There seems to be something wrong with the output from symify (for
> one thing, ct_upper.c has no function called free).  Are you sure
> it was the exact same executable that crashed and that you gave to
> symify as argument?
> 

It had the same name, ../sed/sed(.exe), but was a different
compilation.  The sed which had the first crash was build with the
supplied Makefile.  The package was reconfigured for NLS
and --host=i786-pc-msdosdjgpp.  This host thing did not cause
the build to use any extra flags.  The second crash was from
this sed.  I have no record of the size of the exe files.  As
the two differed in details, I made a third build with NLS
disabled.  It's crash was the same as the second's, reporting
ct_upper.c.

LC_ALL=C  ../sed/sed -f ./eval.sed < ./eval.inp > eval.out 
Exiting due to signal SIGSEGV
General Protection Fault at eip=00016446
eax=00000000 ebx=00000006 ecx=00000000 edx=00000006 esi=00000002
edi=00000006
ebp=000bceb8 esp=000bcea0 program=C:\djg\gnu\sed-4.1-2\sed\sed.exe
cs: sel=13b7  base=038c0000  limit=000dffff
ds: sel=13bf  base=038c0000  limit=000dffff
es: sel=13bf  base=038c0000  limit=000dffff
fs: sel=138f  base=00035a10  limit=0000ffff
gs: sel=13cf  base=00000000  limit=0010ffff
ss: sel=13bf  base=038c0000  limit=000dffff
App stack: [000bf118..0003f11c]  Exceptn stack: [0003f03c..0003d0fc]

Call frame traceback EIPs:
  0x00016446 free+182, file ct_upper.c
  0x00017e6b fread+75, file fread.c
  0x00006fa2 .debug_info+1030, file
c:/djg/gnu/sed-4.1-2/sed/execute.c, line 492
  0x00002179 .comment+9
  0x000157dd fprintf+45, file fprintf.c

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