valgrind on FC2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



     Does anyone know if there are specific limitations to the
types of binaries that can be used with valgrind? I am attempting
to find a memory leak in a commercial scientific package we use,
InsightII by Accelrys. After installing the valgrind 2.1.1-1.1.fc2.dag
rpms, I tried running...

valgrind --tool=memcheck --leak-check=yes /usr/accelrys/I2000.3L/Linux_2_Intel_32/biosym_exe/insightII

The executable at /usr/accelrys/I2000.3L/Linux_2_Intel_32/biosym_exe/insightII
can be used to run the program normally outside of valgrind. However when I
attempt to run it within valgrind I get the error...

==8055== Memcheck, a memory error detector for x86-linux.
==8055== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward.
==8055== Using valgrind-2.1.1, a program supervision framework for x86-linux.
==8055== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward.
==8055== Valgrind library directory: /usr/lib/valgrind
==8055== Command line
==8055==    /usr/accelrys/I2000.3L/Linux_2_Intel_32/biosym_exe/insightII
==8055== Startup, with flags:
==8055==    --tool=memcheck
==8055==    --leak-check=yes
==8055==    -v
==8055== Reading syms from /usr/accelrys/I2000.3L/Linux_2_Intel_32/exe/insight/insightII (0x8048000)
==8055== Reading syms from /lib/ld-2.3.3.so (0x3C000000)
==8055==    object doesn't have any debug info
==8055== Reading syms from /lib/ld-2.3.3.so (0xB0000000)
==8055==    object doesn't have any debug info
==8055== Reading syms from /usr/lib/valgrind/vgskin_memcheck.so (0xB7CA6000)
==8055== Reading syms from /lib/tls/libc-2.3.3.so (0xB7ECD000)
==8055==    object doesn't have any debug info
==8055== Reading syms from /lib/libdl-2.3.3.so (0xB7FEA000)
==8055==    object doesn't have any debug info
==8055== Reading syms from /usr/lib/valgrind/stage2 (0xB8000000)
==8055==    object doesn't have any debug info
==8055== Reading suppressions file: /usr/lib/valgrind/default.supp
==8055== REDIRECT soname:libc.so.6(__GI___errno_location) to soname:libpthread.so.0(__errno_location)
==8055== REDIRECT soname:libc.so.6(__errno_location) to soname:libpthread.so.0(__errno_location)
==8055== REDIRECT soname:libc.so.6(__GI___h_errno_location) to soname:libpthread.so.0(__h_errno_location)
==8055== REDIRECT soname:libc.so.6(__h_errno_location) to soname:libpthread.so.0(__h_errno_location)
==8055== REDIRECT soname:libc.so.6(__GI___res_state) to soname:libpthread.so.0(__res_state)
==8055== REDIRECT soname:libc.so.6(__res_state) to soname:libpthread.so.0(__res_state)
==8055== REDIRECT soname:libc.so.6(stpcpy) to *vgpreload_memcheck.so*(stpcpy)
==8055== REDIRECT soname:libc.so.6(strnlen) to *vgpreload_memcheck.so*(strnlen)
==8055== REDIRECT soname:ld-linux.so.2(stpcpy) to *vgpreload_memcheck.so*(stpcpy)
==8055== REDIRECT soname:ld-linux.so.2(strchr) to *vgpreload_memcheck.so*(strchr)
==8055==
Segmentation fault (core dumped)

I was under the impression that I didn't need to have debug versions of
the binaries and libraries for valgrind to work. Or isn't that really
the case?
               Jack


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux