|
From: John R. <jr...@bi...> - 2013-04-10 01:46:35
|
> BTW, do you have any idea about "adding the dump of thread info about > all the threads (maybe enabled on/off by a command switch) > when valgrind/memcheck detects serious memory error "? Distinguishing "serious memory error" from "non-serious memory error" is a problem. > > After fixing the strange repetition of same addresses (numerical address), > which seems to be a bug, or we can simply omit the repetition of the same numbers after a few times, > the dump will be very useful. This might be something that vgdb can do already. Run "valgrind --help" and search the output for 'vgdb'. The idea is to run valgrind with vgdb so that vgdb gets control at each valgrind error. Then a script tells vgdb what to do, which can include ordinary gdb commands such as "thread all tb" [or whatever the syntax is] to give a traceback for each thread. -- |