|
From: Ahmet B.
|
I have not been able to use valgrind on my application. It seems it is failing right at the start. I did compile it with --disable-pie Below is the console output I am getting with Valgrind My system is: data/NOMSClient> uname -a ---------------------------------------------------------------------------- - Linux atlas 2.4.18-64GB-SMP #1 SMP Wed Mar 27 13:58:12 UTC 2002 i686 unknown ---------------------------------------------------------------------------- - It basically a pentium box. I am using Oracle 9 libraries, as well as Qt 3 gcc 3.4.0 Any words of wisdom ? Thanks Ahmet ---------------------------------------------------------------------------- --- Console output Shell started ... ==17673== Memcheck, a memory error detector for x86-linux. ==17673== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==17673== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==17673== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==17673== For more details, rerun with: -v ==17673== ==17673== ==17673== Process terminating with default action of signal 11 (SIGSEGV) ==17673== Bad permissions for mapped region at address 0x1B903638 ==17673== at 0x1B8EDE53: _dl_relocate_object (in /lib/ld-2.2.5.so) ==17673== by 0x1B8E7E39: dl_main (in /lib/ld-2.2.5.so) ==17673== by 0x1B8F25DC: _dl_sysdep_start (in /lib/ld-2.2.5.so) ==17673== by 0x1B8E6431: _dl_start_final (in /lib/ld-2.2.5.so) ==17673== by 0x1B8E637B: _dl_start (in /lib/ld-2.2.5.so) ==17673== by 0x1B8E5E35: (within /lib/ld-2.2.5.so) ==17673== Jump to the invalid address stated on the next line ==17673== at 0x8C2: ??? ==17673== by 0x1B8F9A5F: ??? ==17673== by 0x1B8E7E39: dl_main (in /lib/ld-2.2.5.so) ==17673== by 0x1B8F25DC: _dl_sysdep_start (in /lib/ld-2.2.5.so) ==17673== by 0x1B8E6431: _dl_start_final (in /lib/ld-2.2.5.so) ==17673== by 0x1B8E637B: _dl_start (in /lib/ld-2.2.5.so) ==17673== by 0x1B8E5E35: (within /lib/ld-2.2.5.so) ==17673== Address 0x8C2 is not stack'd, malloc'd or (recently) free'd ==17673== ==17673== Process terminating with default action of signal 11 (SIGSEGV) ==17673== Access not within mapped region at address 0x8C2 ==17673== at 0x8C2: ??? ==17673== by 0x1B8F9A5F: ??? ==17673== by 0x1B8E7E39: dl_main (in /lib/ld-2.2.5.so) ==17673== by 0x1B8F25DC: _dl_sysdep_start (in /lib/ld-2.2.5.so) ==17673== by 0x1B8E6431: _dl_start_final (in /lib/ld-2.2.5.so) ==17673== by 0x1B8E637B: _dl_start (in /lib/ld-2.2.5.so) ==17673== by 0x1B8E5E35: (within /lib/ld-2.2.5.so) ==17673== ==17673== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 207 from 2) ==17673== malloc/free: in use at exit: 0 bytes in 0 blocks. ==17673== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==17673== For counts of detected errors, rerun with: -v ==17673== No malloc'd blocks -- no leaks are possible. Segmentation fault |