|
From: Federico F. <fli...@ya...> - 2005-09-19 17:32:05
|
Hi everyone. Im having problems running with valgrind programs that use the shared library of db2 (libdb2.so). I dont know exactly whats going on, but when I run my program under valgrind, the program seems not to be running, I mean, it looks halted. I know that valgrind slow down programs, but this is too much. Im sure something wrong is going on. I Is it possible to exclude the library so it wont be checked by valgrind? I have the feeling that what is taking so long to execute is code from the library... When i give up waiting the program to finish I get this problem on the log ==19595== Invalid free() / delete / delete[] ==19595== at 0x1B8FF54C: free (vg_replace_malloc.c:235) ==19595== by 0x1CAB4EAB: free_mem (in /lib/tls/libc-2.3.2.so) ==19595== by 0x1CAB4AB4: __libc_freeres (in /lib/tls/libc-2.3.2.so) ==19595== by 0x1B8FB876: _vgw_freeres (vg_preloaded.c:62) ==19595== by 0x1CAD5897: (within /lib/tls/libc-2.3.2.so) ==19595== by 0x1CA0B536: _IO_file_fopen@@GLIBC_2.1 (in /lib/tls/libc-2.3.2.so) ==19595== by 0x1CA00EB0: __fopen_internal (in /lib/tls/libc-2.3.2.so) ==19595== by 0x1CA00F0D: fopen@@GLIBC_2.1 (in /lib/tls/libc-2.3.2.so) ==19595== by 0x1BF4903C: EnvOpenFile(_IO_FILE**, char const*, char const*, int) (in /opt/IBM/db2/V8.1/lib/libdb2.so.1) ==19595== by 0x1BF46813: EnvRegRefresh(_senvregistry*) (in /opt/IBM/db2/V8.1/lib/libdb2.so.1) ==19595== by 0x1BF46521: EnvRegOpen(_senvregistry**) (in /opt/IBM/db2/V8.1/lib/libdb2.so.1) ==19595== by 0x1BF43B2B: sqloPRegQueryDefaultValue(int, char*, char const*) (in /opt/IBM/db2/V8.1/lib/libdb2.so.1) ==19595== Address 0x1CE4D650 is not stack'd, malloc'd or (recently) free'd thanks Fede __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |