On Thursday 26 October 2006 11:04, Andrew Haley wrote: > By default, libstdc++ compiles with -g, so that should be OK. > If I were you I'd run the program inside gdb, so that when > the Valgrind 'invalid read' error tripped I could have a look > at where exactly it was. You can make valgrind automatically start the debugger when it detects an error using the --db-attach=yes command line option. -- Bill Gallafent.