linux - how to analyze the output of valgrind -
linux - how to analyze the output of valgrind -
working on project using valgrind check code in process. got errors valgrind. not specified file name , line number. have searched , guess there may symbol table missed. run in gdb in can source code, symbol table there.
the next output of valgrind.
45 ==10858== 0x808855e: ??? (in /repo3/mydir/project1/sw/build/automod/lt_l.exe) 46 ==10858== address 0x6fdb0cc 24,244 bytes within block of size 24,640 free'd 47 ==10858== @ 0x6ceb51d: free (vg_replace_malloc.c:325) 4 48 ==10858== 0x8087079: ??? (in /repo3/mydir/project1/sw/build/automod/lt_l.exe) 49 ==10858== 0x808bb1a: ??? (in /repo3/mydir/project1/sw/build/automod/lt_l.exe) 50 ==10858== 0x80ae3ad: ??? (in /repo3/mydir/project1/sw/build/automod/lt_l.exe) 51 ==10858== 0x813fada: ??? (in /repo3/mydir/project1/sw/build/automod/lt_l.exe) 52 ==10858== 0x808b55a: ??? (in /repo3/mydir/project1/sw/build/automod/lt_l.exe) 53 ==10858== 0x8088593: ??? (in /repo3/mydir/project1/sw/build/automod/lt_l.exe) 54 ==10858== 0x808e175: ??? (in /repo3/mydir/project1/sw/build/automod/lt_l.exe) 55 ==10858== 0x9a8a5a: makecontext (in /lib/libc-2.5.so) 56 ==10858== 0x808855e: ??? (in /repo3/mydir/project1/sw/build/automod
how find problem is? not specified file name , line no. caused makefile? (we utilize complex makefile). or output above, still can locate wrong code?
edit: can utilize gdb watch stack address above find wrong code?
thanks!
linux valgrind
Comments
Post a Comment