|
From: Peter T. <pt...@li...> - 2012-04-03 14:12:19
|
Hi Valgrinders I am debugging a beast of C/C++ - ~800.000 lines of code. I see with GCC 4.5.2 and valgrind 3.7.0 on Red Hat 5.7 64 bit, that valgrind exits with no warning. Bummer! With the same code and GCC 4.2.2 (32 bit) + valgrind 3.7 and valgrind works fine, but gives several lines of ERROR: ld.so: object '/usr/local/valgrind-3.7.0-32/lib/valgrind/vgpreload_core-x86-linux.so' from LD_PRELOAD cannot be preloaded: ignored. The execution continues and I don't have any apparent errors. Can anyone explain what the ld.so error above means? I do not have any $LD_PRELOAD set. Should I? Best Peter -- Peter Toft, PhD http://petertoft.dk |
|
From: Julian S. <js...@ac...> - 2012-04-03 15:37:11
|
On Tuesday, April 03, 2012, Peter Toft wrote: > Hi Valgrinders > > I am debugging a beast of C/C++ - ~800.000 lines of code. 800k LOC is small (very) compared to some .. > I see with GCC 4.5.2 and valgrind 3.7.0 on Red Hat 5.7 64 bit, that > valgrind exits with no warning. Bummer! Is it using a custom allocator, or a non-glibc malloc/free implementation (tcmalloc, jemalloc) ? That might explain it. > I do not have any $LD_PRELOAD set. Should I? Not AFAIK. J |
|
From: Peter T. <pt...@li...> - 2012-04-03 16:49:01
|
On Tue, 3 Apr 2012 17:19:15 +0200, Julian Seward wrote: > On Tuesday, April 03, 2012, Peter Toft wrote: >> Hi Valgrinders >> >> I am debugging a beast of C/C++ - ~800.000 lines of code. > > 800k LOC is small (very) compared to some .. Good to hear! > >> I see with GCC 4.5.2 and valgrind 3.7.0 on Red Hat 5.7 64 bit, that >> valgrind exits with no warning. Bummer! > > Is it using a custom allocator, or a non-glibc malloc/free > implementation > (tcmalloc, jemalloc) ? That might explain it. I don't think this is the case. I have some vendor-made code, but I doubt it. > >> I do not have any $LD_PRELOAD set. Should I? > > Not AFAIK. > > J What is the Valgrind error-message then telling me? Best Peter -- Peter Toft, PhD http://petertoft.dk |
|
From: Philippe W. <phi...@sk...> - 2012-04-03 19:51:47
|
On Tue, 2012-04-03 at 18:48 +0200, Peter Toft wrote: > >> I do not have any $LD_PRELOAD set. Should I? > > > > Not AFAIK. > > > > J > > What is the Valgrind error-message then telling me? This looks like bug https://bugs.kde.org/show_bug.cgi?id=286270 which is solved in 3.8.0 SVN. If this is the same bug, then there is no consequence. Philippe |