2012-07-08 73 views
0

我想用waf運行valgrind。命令是./waf --command-template =「valgrind%s」 - 運行程序名稱。C++發現內存泄漏

我收到valgrind的內部錯誤。即使valgrind失敗,我還能嘗試什麼?

--6446-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting 
--6446-- si_code=80; Faulting address: 0x0; sp: 0x40b3c9df0 

valgrind: the 'impossible' happened: 
    Killed by fatal signal 
==6446== at 0x38058236: ??? (in /usr/lib/valgrind/memcheck-amd64-linux) 
==6446== by 0x38021ADC: ??? (in /usr/lib/valgrind/memcheck-amd64-linux) 
==6446== by 0x38021CCD: ??? (in /usr/lib/valgrind/memcheck-amd64-linux) 
==6446== by 0x380902A7: ??? (in /usr/lib/valgrind/memcheck-amd64-linux) 
==6446== by 0x3809F7D5: ??? (in /usr/lib/valgrind/memcheck-amd64-linux) 
==6446== by 0x3809FA5A: ??? (in /usr/lib/valgrind/memcheck-amd64-linux) 
==6446== by 0x380BBEAD: ??? (in /usr/lib/valgrind/memcheck-amd64-linux) 
==6446== by 0xDEADBEEFDEADBEEE: ??? 
==6446== by 0xDEADBEEFDEADBEEE: ??? 
==6446== by 0xDEADBEEFDEADBEEE: ??? 
+1

參見[Valgrind的錯誤清單(https://bugs.kde.org/buglist.cgi?quicksearch=product%3Avalgrind),必要時提交一個新的。 – 2012-07-08 21:47:33

+0

你的程序中是否有一些真正優化的庫/代碼?當我嘗試在鏈接到英特爾性能基元的代碼上運行valgrind時,我得到了類似的錯誤,這些代碼使用一些花哨的內存/ CPU指令技巧來提高速度。 – tacaswell 2012-07-08 22:12:29

+0

很多代碼不是我的,所以我不知道。 – evaG 2012-07-08 22:23:47

回答