|
From: Mathieu M. <mma...@ny...> - 2005-11-29 06:43:26
|
I am having a very bizarre problem using valgrind (any version) and a small code compiled with g++-3.4 valgrind is reporting this, *only* when compiled with g++-3.4 (any other version seems to be fine). ==30206== 1 errors in context 1 of 1: ==30206== Conditional jump or move depends on uninitialised value(s) ==30206== at 0x1B9A356E: std::string::~string() (in /usr/lib/libstdc++.so.6.0.7) ==30206== by 0x8048F2E: main (TestString.cxx:14) Here is the full valgrind log: http://www.creatis.insa-lyon.fr/~malaterre/StringDes/valgrind-3.0.log Code is here: http://www.creatis.insa-lyon.fr/~malaterre/StringDes/ Could someone with a little time and lot more expertise than me could have a look into it, the C++ code is extremely short. Thanks Mathieu Ps: I am still struggling to get valgrind-svn autogen.sh to work... |
|
From: Mathieu M. <mma...@ny...> - 2005-12-05 07:27:49
|
Hello again, So I placed an already compiled executable here: http://www.creatis.insa-lyon.fr/~malaterre/StringDes/TestString-3.4 Could someone with a svn version of valgrind please tell me if he can also see the warning ? Thanks. If someone else can duplicate it, should I report this as a valgrind bug or g++-3.4 ? I tried the subversion of valgrind, configure like this: ./configure --prefix=/home/mathieu/local make make install /home/mathieu/local/bin/valgrind --help valgrind: failed to start tool 'memcheck' for plateform 'x86-linux': No such file or directory Thanks Mathieu Mathieu Malaterre wrote: > I am having a very bizarre problem using valgrind (any version) and a > small code compiled with g++-3.4 > > valgrind is reporting this, *only* when compiled with g++-3.4 (any other > version seems to be fine). > > ==30206== 1 errors in context 1 of 1: > ==30206== Conditional jump or move depends on uninitialised value(s) > ==30206== at 0x1B9A356E: std::string::~string() (in > /usr/lib/libstdc++.so.6.0.7) > ==30206== by 0x8048F2E: main (TestString.cxx:14) > > > Here is the full valgrind log: > http://www.creatis.insa-lyon.fr/~malaterre/StringDes/valgrind-3.0.log > > Code is here: > http://www.creatis.insa-lyon.fr/~malaterre/StringDes/ > > Could someone with a little time and lot more expertise than me could > have a look into it, the C++ code is extremely short. > > Thanks > Mathieu > Ps: I am still struggling to get valgrind-svn autogen.sh to work... > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |