|
From: Albert S. <fu...@gm...> - 2011-07-28 20:21:53
|
Hello again On Thu, Jul 28, 2011 at 9:02 PM, Albert Strasheim <fu...@gm...> wrote: > I have been testing Valgrind 3.6.1 and the latest from SVN with some > Go binaries. > A bug I reported against 3.6.0 still seems to exit: > https://bugs.kde.org/show_bug.cgi?id=262916 > Running Go binaries under Valgrind lead to a segfault in > vgPlain_get_StackTrace_wrk. The line that crashes is this: m_stacktrace.c:334: uregs.xip = (((UWord*)uregs.xbp)[1]); (gdb) p uregs $1 = {xip = 1066225967935, xsp = 75771824, xbp = 4294966222} Above the code there is this comment: /* Note: re "- 1 * sizeof(UWord)", need to take account of the fact that we are prodding at & ((UWord*)fp)[1] and so need to adjust the limit check accordingly. Omitting this has been observed to cause segfaults on rare occasions. */ so it seems Go binaries are triggering this "rare occasion". Any thoughts on how to proceed would be appreciated. Thanks! Regards Albert |