|
From: Josef W. <Jos...@gm...> - 2008-03-13 16:29:45
|
On Thursday 13 March 2008, Bart Van Assche wrote: > A question: is self-hosting Valgrind without installing Valgrind > supported ? It resulted in an assertion failure when I tried it. Does this work when installed? I recently had a similar bug report (which I was not able to reproduce), so this could be a real bug in callgrind. I'll check if I can reproduce it... Josef > > Outer Valgrind was configured and built as follows: > $ ./autogen.sh && ./configure && make -s && make -s check > Inner Valgrind was configured and built as follows: > $ ./autogen.sh && ./configure --enable-inner && make -s && make -s check > > $ ../valgrind-outer/vg-in-place --sim-hints=enable-outer > --trace-children=yes --pop-on-jump --tool=callgrind > ../valgrind-inner/vg-in-place --tool=none date > ==4827== Callgrind, a call-graph generating cache profiler. > ==4827== Copyright (C) 2002-2008, and GNU GPL'd, by Josef Weidendorfer et al. > ==4827== Using LibVEX rev 1812, a library for dynamic binary translation. > ==4827== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. > ==4827== Using valgrind-3.4.0.SVN, a dynamic binary instrumentation framework. > ==4827== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. > ==4827== For more details, rerun with: -v > ==4827== > ==4827== For interactive control, run 'callgrind_control -h'. > ==4828== Callgrind, a call-graph generating cache profiler. > ==4828== Copyright (C) 2002-2008, and GNU GPL'd, by Josef Weidendorfer et al. > ==4828== Using LibVEX rev 1812, a library for dynamic binary translation. > ==4828== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. > ==4828== Using valgrind-3.4.0.SVN, a dynamic binary instrumentation framework. > ==4828== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. > ==4828== For more details, rerun with: -v > ==4828== > ==4828== For interactive control, run 'callgrind_control -h'. > ==4828== > ==4828== Events : Ir > ==4828== Collected : 2324926 > ==4828== > ==4828== I refs: 2,324,926 > 0x0002A918 > BB# 1034156 > > Callgrind: threads.c:247 (vgCallgrind_post_signal): Assertion 'sigNum > == vgCallgrind_current_state.sig' failed. > ==4827== at 0x3801B4BD: report_and_quit (m_libcassert.c:140) > ==4827== by 0x3801B7D1: vgPlain_assert_fail (m_libcassert.c:205) > ==4827== by 0x38018E80: vgCallgrind_post_signal (threads.c:247) > ==4827== by 0x3807F2A7: vgPlain_sigframe_destroy (sigframe-x86-linux.c:710) > ==4827== by 0x38082473: vgSysWrap_x86_linux_sys_sigreturn_before > (syswrap-x86-linux.c:973) > ==4827== by 0x3803CC00: vgPlain_client_syscall (syswrap-main.c:850) > ==4827== by 0x3803A717: vgPlain_scheduler (scheduler.c:798) > ==4827== by 0x3804E6D8: run_a_thread_NORETURN (syswrap-linux.c:89) > > sched status: > running_tid=1 > > Thread 1: status = VgTs_Runnable > ==4827== at 0x40007F2: (within /lib/ld-2.6.1.so) > ==4827== by 0x80802C1: wait_for (in /bin/bash) > ==4827== by 0x80847C3: command_substitute (in /bin/bash) > ==4827== by 0x808BBB6: (within /bin/bash) > ==4827== by 0x808D08C: (within /bin/bash) > ==4827== by 0x808D5BB: expand_string_assignment (in /bin/bash) > ==4827== by 0x8085C22: (within /bin/bash) > ==4827== by 0x80860E8: (within /bin/bash) > ==4827== by 0x808C7A4: (within /bin/bash) > ==4827== by 0x8072E2B: (within /bin/bash) > ==4827== by 0x80717FB: execute_command_internal (in /bin/bash) > ==4827== by 0x806FE92: execute_command (in /bin/bash) > ==4827== by 0x8061F87: reader_loop (in /bin/bash) > ==4827== by 0x8061A4D: main (in /bin/bash) > > > Note: see also the FAQ.txt in the source distribution. > It contains workarounds to several common problems. > > If that doesn't help, please report this bug to: www.valgrind.org > > In the bug report, send all the above text, the valgrind > version, and what Linux distro you are using. Thanks. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |