|
From: jim m. <jim...@wb...> - 2006-09-22 04:31:24
|
Hi, I was wondering if anyone has had any luck using Valgrind with a C/C++ program utilizing Garbage Collection (specifically the Hans Boehm GC - http://www.hpl.hp.com/personal/Hans_Boehm/gc/)? I just installed Valgrind 3.2.1 and when I run my application I get a SIGSEGV almost immediately. The log shows the following: ==12806== Process terminating with default action of signal 11 (SIGSEGV) ==12806== Access not within mapped region at address 0xBE90A12C ==12806== at 0x401D8F4: GC_mark_from (mark.c:759) ==12806== by 0x401E37F: GC_mark_some (mark.c:361) ==12806== by 0x40140BF: GC_stopped_mark (alloc.c:531) ==12806== by 0x4014419: GC_try_to_collect_inner (alloc.c:378) ==12806== by 0x402063F: GC_init_inner (misc.c:787) ==12806== by 0x401AAF4: GC_generic_malloc_inner (malloc.c:125) ==12806== by 0x401ABF0: GC_generic_malloc (malloc.c:194) ==12806== by 0x401AF73: GC_malloc (malloc.c:333) ==12806== by 0x4068994: wsi_malloc (wsimemory.c:30) ==12806== by 0x4068A36: wsiMemAllocateDebug (wsimemory.c:191) ==12806== by 0x4068F79: wsiMemAllocate (wsimemory.c:467) ==12806== by 0x40695D3: wsiHandleAllocate (wsimemory.c:828) ==12806== by 0x40713A3: wsiModuleLoadA (wsimoduleLinux.c:47) ==12806== by 0x40E41F9: getCWBEMServerIniFile (utils.c:396) ==12806== by 0x40E42CB: get_Preferred_IPADDR (utils.c:436) ==12806== by 0x40E43FC: get_system_ip (utils.c:501) ==12806== by 0x8048CAF: main (wsicimom.c:67) Does this indicate a problem with my program (it does not SIGSEGV when run outside of Valgrind) or that Valgrind and the GC don't work well together? Thanks -Jim |