Date: Sun, 19 Aug 2001 15:21:13 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Andrew Cottrell" Message-Id: <9003-Sun19Aug2001152113+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <002801c12892$0badcb80$0a02a8c0@acceleron> (acottrel@ihug.com.au) Subject: Re: Bash 2.05 beta 09/13-Aug-2001 SIGABRT References: <002801c12892$0badcb80$0a02a8c0 AT acceleron> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Andrew Cottrell" > Date: Sun, 19 Aug 2001 19:33:45 +1000 > > > Mark, > > This morning I added a getch() and printf to the programming_error > function > > in of error.c so that I could try to capture the screen above the SIGABRT > > error from yesterday. This did not work instead I got a SIGSEGV error as > > outlined below. > > > > I was trying to run the "djgpp\config" command to re-configure grep 2.4 > > under WIn 2K. > > The same exe also hangs on Win 98 when running the same conmmand as on Win > > 2K. > > > > loading site script ./djgpp/config.site > > Exiting due to signal SIGSEGV > > General Protection Fault at eip=000825cf > > eax=336d6534 ebx=0013fcbc ecx=0013fd4c edx=336d6534 esi=336d6534 > > edi=336d6574 > > ebp=00130974 esp=0013094c program=D:\DJ204\BIN\SH.EXE > > cs: sel=01a7 base=01ce0000 limit=0016ffff > > ds: sel=01af base=01ce0000 limit=0016ffff > > es: sel=01af base=01ce0000 limit=0016ffff > > fs: sel=017f base=000070c0 limit=0000ffff > > gs: sel=01bf base=00000000 limit=0010ffff > > ss: sel=01af base=01ce0000 limit=0016ffff > > App stack: [001314d8..000b14d8] Exceptn stack: [000b069c..000ae75c] > > > > Call frame traceback EIPs: > > > > Call frame traceback EIPs: > > 0x000825cf _free+611 > > 0x000826c4 _realloc+88 Looks like a memory corruption problem: the crash is inside realloc, and EDX, ESI, and EDI look like ASCII text ("4ei3", little-endian).