[Gllug] How can writing a single character (successfully) to stderr cause a segmentation fault

Nix nix at esperi.org.uk
Mon Oct 23 23:51:01 UTC 2006


On Mon, 23 Oct 2006, John Winters murmured woefully:
> John Winters wrote:
> [a silly question]
> 
> Please excuse my temporary brain failure.  strace of course shows only system calls.  The program must be trundling off the end of
> an array or something in call-less code.  I will peruse the source.

Build with -g, valgrind --tool=memcheck --db-attach=yes ...,
and bob's your uncle.

-- 
`When we are born we have plenty of Hydrogen but as we age our
 Hydrogen pool becomes depleted.'
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list