Re: "segmentation fault (core dumped)"

Reid Ellis (
Fri, 11 Jun 1999 14:14:34 -0400

Evan wrote:
>"segmentation fault (core dumped)"
>what does this mean (sounds bad ;).

At 11:08 1999-06-11 -0400, JP Rosevear wrote:
>Means there was a good 'ol memory access problem, many times caused by
>dereferencing a null pointer. The kernel will then dump the core (the
>processes' memory image), a hold over from the Un*x when it was possible
>to look at the core and determine what went wrong - these days 10MB is a
>fair bit more to look at than the 4k of yore.

Actually, you can see what happened by doing something like "gdb core"
[you can use your favorite debugger in place of 'gdb']. This is especially
useful if the binary had symbols compiled in. Then you can examine which
function it crashed in, what the values of all the variables were and
usually figure out what went wrong. Most often saying something like "now
how did THAT get to be NULL?".


This archive was generated by hypermail 2.0b3 on Wed Jun 30 1999 - 11:30:08 MDT