Bad core files with 2.6.19-rc2



gdb doesn't like any core dump file generated while running
2.6.19-rc2. If I `kill -SIGSEGV $some_app_pid' and then...

gdb some_app core

I get...

warning: Couldn't find general-purpose registers in core file.
#0 0x00000000 in ?? ()

But if I gdb attach to a running process and then kill -SIGSEGV
the process, it produces a normal trace without problem.


--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Te audire no possum. |
| Musa sapientum fixa est in aure. |
|----------------------------------<steve@xxxxxxxxxxxxx>---|

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: NPTL patch for linux 2.4.28
    ... I have already checked the core files size ... Please point me to NPTL patch location or the kernel SRPM if you could. ... > While debugging a simple multithreaded application using gdb linux ... exec file is newer than core file. ...
    (Linux-Kernel)
  • Re: FreeBSD 8.0-BETA2/amd64 crashes on SMP under load
    ... GNU gdb 6.1.1 [FreeBSD] ... GDB is free software, covered by the GNU General Public License, and you are ... GDB can't read core files on this machine. ...
    (freebsd-current)
  • Re: FreeBSD 8.0-BETA2/amd64 crashes on SMP under load
    ... hob% sudo kgdb -n 1 ... GNU gdb 6.1.1 ... GDB can't read core files on this machine. ... The stratum of the kgdb target was changed from highest ...
    (freebsd-current)
  • Re: solaris nscd cores
    ... I need to get better gdb output, ... Core was generated by `/usr/sbin/nscd'. ... >> Has anyone else seen core dumps from their Solaris nscd process ... >> Do You Yahoo!? ...
    (Incidents)
  • Re: FreeBSD 8.0-BETA2/amd64 crashes on SMP under load
    ... because core GDB doesn't know how to deal with all FreeBSD ... kgdb doesn't actually use the regular core target at all, ... is the kgdb target used at all? ...
    (freebsd-current)