Subject: Re: random crashes in rapid succession
To: Greywolf <greywolf@starwolf.com>
From: Audun Arnesen Nordal <audun@stud.cs.uit.no>
List: current-users
Date: 10/27/2003 22:20:41
On Mon, 27 Oct 2003, Greywolf wrote:

> Thus spake Audun Arnesen Nordal ("AAN> ") sometime Today...
> 
> AAN> yet another example:
> AAN> $ gdb -c sh.core sh.core
>                         ^^^^^

> AAN> GNU gdb 5.3nb1
> AAN> [...]
> AAN> This GDB was configured as "i386--netbsdelf"..."/home/audun/sh.core": not
> AAN> in executable format: File format not recognized
> AAN> (gdb) bt
> AAN> #0  0x00000000 in ?? ()
> 
> Slightly off to the side:
> 
> You *might* have better luck if you didn't try to debug a core file as
> your executable...

Note to self: Read before posting :-p. Here is the proper output

$ gdb -c sh.core sh
GNU gdb 5.3nb1
[...]
Core was generated by `sh'.
Program terminated with signal 11, Segmentation fault.
warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /lib/libedit.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libedit.so.2
Reading symbols from /lib/libtermcap.so.0...(no debugging symbols 
found)...
done.
Loaded symbols for /lib/libtermcap.so.0
Reading symbols from /lib/libc.so.12...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libc.so.12
#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()



-- 
Audun Nordal