lkml.org 
[lkml]   [1998]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Linux 2.1.125 doesn't dump core on SIGSEGV
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.051 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site