|
From: Tallys Y. <th...@gm...> - 2007-06-07 16:10:10
|
Hi, I'm running Ubuntu Linux 7.04 and Valgrind 3.2.1. Linux version 2.6.20-16-generic, gcc version 4.1.2. When I try to run valgrind --tool=massif --format=html with an application that I've developed, I get the error below. This same program runs without any problems when I use --tool=memcheck or --tool=callgrind. Any help is very much appreciated. Thank you, Tallys ==22773== Massif, a space profiler. ==22773== Copyright (C) 2003, Nicholas Nethercote ==22773== Using LibVEX rev 1658, a library for dynamic binary translation. ==22773== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==22773== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation framework. ==22773== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==22773== For more details, rerun with: -v ==22773== Massif: ms_main.c:481 (get_XCon): Assertion 'xpt->max_children != 0' failed. ==22773== at 0x380045C9: report_and_quit (m_libcassert.c:136) ==22773== by 0x380048F3: vgPlain_assert_fail (m_libcassert.c:200) ==22773== by 0x3800098A: get_XCon (ms_main.c:481) ==22773== by 0x3800127C: new_block (ms_main.c:661) ==22773== by 0x3800137F: ms_malloc (ms_main.c:705) ==22773== by 0x38022FD2: do_client_request (scheduler.c:1158) ==22773== by 0x380248FD: vgPlain_scheduler (scheduler.c:869) ==22773== by 0x380438F3: run_a_thread_NORETURN (syswrap-linux.c:87) sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==22773== at 0x4020E70: malloc (vg_replace_malloc.c:149) ==22773== by 0x811C174: CPXPmalloc (in /home/tallys/SIMPL/CODE/TEST/qap/qaprd) ==22773== by 0xFFFFFFFE: ??? 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. |