|
From: Olivier B. <Oli...@gm...> - 2006-11-01 19:52:54
|
Dave Steffen wrote: > Compiler: GCC 3.4.6 > Reading specs from /scratch/dgsteffen/local/lib/gcc/i686-pc-linux-gnu/3.4.6/specs > Configured with: ../gcc-3.4.6/configure --prefix=/scratch/dgsteffen/local > Thread model: posix > gcc version 3.4.6 ... > --7122-- Reading syms from /usr/lib/libstdc++.so.5.0.6 (0x403D000) I think it can be a libstdc++ version problem. According to <http://gcc.gnu.org/onlinedocs/libstdc++/abi.html>, G++ 3.4.6 ships with libstdc++.so.6.0.3. Moreover, your GCC is configured with --prefix=/scratch/dgsteffen/local (and seems to be installed there, according to the specs file) and libstdc++ is loaded from /usr/lib. This would explain why memcheck has no problem (the call to operator new() is redirected to memcheck's own version), but causes problem to callgrind. As to why it does work outside valgrind? Maybe a different environment. HTH Olivier |