|
From: Dennis L. <pla...@pr...> - 2006-06-21 10:39:40
|
What valgrind, compiler and OS version are you using? Am Dienstag, den 20.06.2006, 07:01 -0700 schrieb sgromoll: > Hi, > > I am trying to use valgrind to debug a segfault. The program seems to be > crashing on a statement that declares an stl map: > > map<int, float> type_to_a1; > cout << "OK" << endl; > map<int, float> type_to_a2; // CRASHES HERE > > Valgrind reports no errors before this statement. When it segfaults, > valgrind reports: PS: STL is something old from SGI&HP, since 1998 (since there is a C++ standard) there is a "C++ Standard Library" |