Re: Linux 2.1.125 doesn't dump core on SIGSEGV

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
28 Oct 1998 14:58:58 +0100


"Matthias Urlichs" <smurf@noris.de> writes:

|> Hi,
|>
|> Andreas Schwab:
|> > "Matthias Urlichs" <smurf@noris.de> writes:
|> >
|> > |> gdb tends to change the way malloc()ed memory is laid out
|> >
|> > Huh? How that?
|>
|> 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.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

- 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/