|
From: Ivo R. <iv...@iv...> - 2017-04-26 01:04:47
|
2017-04-26 1:21 GMT+02:00 Patrick J. LoPresti <lop...@gm...>: > On Tue, Apr 25, 2017 at 12:22 PM, Carl E. Love <ce...@us...> wrote: >> >> I did try recompiling the test case with -fno-builtin-strcmp and running without any >> additional Valgrind flags and still got the issue. > > Hm. You are sure the warning is still from the application code and > not the C library? I'd suggest to try gdb+vgdb combo, as described nicely for example here: http://valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.gdbserver Start your application with: --vgdb=full --vgdb-error=1 [--vgdb-shadow-registers=yes] and after attaching with gdb you'll get exact location which is causing all the trouble. I. |