Created attachment 110094 [details] exp-sgcheck verbose output First of all, thanks for maintaining/developing valgrind, such a great tool! I tried for the first time to use the sgcheck tool, but the tool cannot run my (any?) executable. The error is exp-sgcheck: sg_main.c:2332 (sg_instrument_IRStmt): the 'impossible' happened. This issue has been reported on the mailing-list earlier this months. Someone gave instructions to provide more debugging info: https://www.mail-archive.com/valgrind-users@lists.sourceforge.net/msg06477.html I attached the output of the second command, that is valgrind --tool=exp-sgcheck --trace-flags=11000000 --trace-notbelow=1564 /bin/ls Some additional info: $ uname -a Linux fenchel 4.14.14-gentoo #1 SMP PREEMPT Sun Jan 21 17:22:28 CST 2018 x86_64 Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz GenuineIntel GNU/Linux The binary have been compiled with gcc-7.2.0. The system is using glibc 2.26
(should be) fixed in 88a591de86e76864249a6e21adbf32774b0695bf (at least, it now does something to instrument Ist_LoadG. I guess we will one day or another encounter a crash due to Ist_StoreG :)