Re: Linux 2.1.125 doesn't dump core on SIGSEGV

Matthias Urlichs (smurf@noris.de)
Wed, 28 Oct 1998 16:22:30 +0100


Hi,

Andreas Schwab:
> |> Don't ask me. I have noticed more than once that "I forgot to initialize
> |> malloc()ed data structures" segfaults go away when I run programs under
> |> gdb.
>
> Perhaps the size of the environment has changed, which could result in a
> slightly different malloc pattern, but other than that the debugger does
> not effect the program, since it still runs as a separate process.
>
Nope; the problem also surfaced when attaching gdb after startup.

I'm as baffled as everybody else as to why this could possibly happen.

I'll try and whip up a test program which exhibits the problem.

-- 
Matthias Urlichs  |  noris network GmbH   |   smurf@noris.de  |  ICQ: 20193661
The quote was selected randomly. Really.    |      http://www.noris.de/~smurf/
-- 
Bower's Law:
       Talent goes where the action is.

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