[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Basic, but what the hell am I doing wrong here?



On Thu, Jun 10, 2004 at 09:36:04PM -0400, Stephen Touset wrote:
> read(3, "#include <fstream>\n\nusing namesp"..., 8192) = 218
> read(3, "", 4096)                       = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++

Shouldn't you get symbols for read() and step into that?
And step into the kernel if that is opaque to you?

Looks like you are stepping over the NULL pointer being dereferenced in 
read() somewhere.



Reply to: