[Wylug-help] Help with Linux core file.

Roger Leigh roger at whinlatter.uklinux.net
Mon Mar 22 21:17:36 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Thomas, Nicholas" <nick.thomas at eldon.co.uk> writes:

> Core was generated by `appname >>/tmp/SatExec.log'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x4010738e in ?? ()
> (gdb)
> ------------------------------------------
>
> I can't believe that a 270MB core file only show me this info!!!

Have you tried backtrace, up, down, frame etc.?  (Though this doesn't
look hopeful).

- From what I can see, I'd guess the program terminated with abort(),
which raise()d SIGABRT, so what you're seeing is the (non-existent)
stack for the SIGABRT signal handler.

Try installing and using a debugging version of glibc.  On Debian,
it's libc6-dbg, and you use it by setting
LD_LIBRARY_PATH=/usr/lib/debug to override the default glibc.

In addition, compile with "-g3 -ggdb -gdwarf-2" to get the most
informative debug information.  Now you should see exactly what
happens, including abort() and raise().

NB. the above options rely on a recent GCC/binutils, at least 3.2,
preferably newer, e.g. 3.3.3.  Older versions don't support DWARF2 or
are buggy.


Regards,
Roger

- --
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFAX1fuVcFcaSW/uEgRAq7sAKDxV9y3RKxSvFYLzhXt2FhcfevrigCggFrw
60jISqUAPnrvyaxdtgSKzKM=
=6EpO
-----END PGP SIGNATURE-----




More information about the Wylug-help mailing list