valkyrie fails to run valgrind
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
valkyrie (Debian) |
Fix Released
|
Unknown
|
|||
valkyrie (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Bug Description
Binary package hint: valkyrie
1) release: Ubuntu 10.04.1 LTS
2) Relevant packages and versions:
valkyrie 1.4.0-2
valgrind 1:3.6.0~
3) After configuring valkyrie to run valgrind on a program that I'm working on, I expect valgrind to successfully run and Valkyrie to display valgrind's output
4) Instead, I get an error message in Valkyrie: "Valgrind XML output is incomplete." The valgrind output on the command line reports:
==18969== --xml=yes has been specified, but there is no XML output
==18969== destination. You must specify an XML output destination
==18969== using --xml-fd=, --xml-file= or --xml=socket=.
valgrind: Bad option '--xml=yes, but no XML destination specified'; aborting.
valgrind: Use --help for more information.
It appears that valkyrie is expecting a different version of valgrind, but there appears to be no configuration option in the configuration dialogs or on the command line to specify which version of valgrind to run or which options to pass to valgrind.
I believe that it is a version mis-match issue because of the following: running 'valkyrie -V' outputs the valgrind options that it is aware of, whereas running 'valgrind --help' reports a different and larger set of options as though the installed version of valgrind is higher than the version that valkyrie expects. The outputs of both commands follow.
_______
Output from 'valkyrie -V':
Usage: valkyrie [valkyrie-opts] [valgrind-opts] [prog-and-args]
Valkyrie options:
-h, --help show this help message and exit
-v, --version display version information and exit
-V, --valgrind-opts show valgrind options too, and exit
--working-dir <dir> dir under which to run valgrind [./]
--view-log <file> parse and view a valgrind logfile
--merge <loglist> merge multiple logfiles, discarding
Valgrind options:
--tool <name> use the Valgrind tool named <name>.
--verbosity <0..4> Be more verbose, include counts of errors
--trace-children <yes|no> Valgrind-ise child processes (follow
--child-
--track-fds <yes|no> track open file descriptors? [no]
--time-stamp <yes|no> add timestamps to log messages? [no]
--log-fd <1..1024> log messages to file descriptor
--log-file <file> log messages to <file>
--log-socket <ipaddr:port> log messages to socket ipaddr:port
--run-
--sim-hints <hint1,hint2,...> Slightly modify the simulated behaviour.
--kernel-variant <variant1,...> Handle non-standard kernel variants.
--show-emwarns <yes|no> show warnings about emulation limits? [no]
--smc-check <none|stack|all> checks for self-modifying code: none,
--xml <yes|no> all output is in XML [yes]
--xml-
--demangle <yes|no> automatically demangle C++ names? [yes]
--num-callers <1..50> show <num> callers in stack traces [12]
--error-limit <yes|no> Stop showing new errors if too many? [yes]
--show-below-main <yes|no> continue stack traces below main() [no]
--suppressions <file1,...> suppress errors described in suppressions
--gen-
--db-attach <yes|no> start debugger when errors detected? [no]
--db-command <command> command to start debugger [/usr/bin/gdb
--input-fd <0..1024> File descriptor for (db) input (0=stdin,
--max-stackframe <number> assume stack switch for stack pointer
Memcheck options:
--leak-check <no|summary|full> search for memory leaks at exit? [full]
--leak-resolution <low|med|high> how much backtrace merging in leak check
--show-reachable <yes|no> show reachable blocks in leak check? [no]
--track-origins <yes|no> show the origins of uninitialised values?
--partial-
--freelist-vol <number> volume of freed blocks queue [10000000]
--workaround-
--alignment <number> set minimum alignment of allocations [8]
Valkyrie is copyright (c) 2003-2008 OpenWorks LLP
Valgrind is copyright (c) 2000-2008 and GNU GPL'd by Julian Seward et al.
_______
Output from 'valgrind --help':
usage: valgrind [options] prog-and-args
tool-selection option, with default in [ ]:
--tool=<name> use the Valgrind tool named <name> [memcheck]
basic user options for all Valgrind tools, with defaults in [ ]:
-h --help show this message
--help-debug show this message, plus debugging options
--version show version
-q --quiet run silently; only print error msgs
-v --verbose be more verbose -- show misc extra info
--trace-
--trace-
--child-
--track-
--time-
--log-
--log-
--log-
user options for Valgrind tools that report errors:
--xml=yes emit error output in XML (some tools only)
--xml-
--xml-
--xml-
--xml-
--demangle=
--num-
--error-
--error-
--show-
--suppressi
--gen-
--db-
--db-
--input-
--dsymutil=
--max-
--main-
user options for Valgrind tools that replace malloc:
--alignment
uncommon user options for all Valgrind tools:
--smc-
--read-
--run-
--sim-
--kernel-
--show-
user options for Memcheck:
--leak-
--leak-
--show-
--undef-
--track-
--partial-
--freelist-
--workaroun
--ignore-
--malloc-
--free-
Extra options read from ~/.valgrindrc, $VALGRIND_OPTS, ./.valgrindrc
Memcheck is Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
Valgrind is Copyright (C) 2000-2009, and GNU GPL'd, by Julian Seward et al.
LibVEX is Copyright (C) 2004-2009, and GNU GPL'd, by OpenWorks LLP.
Bug reports, feedback, admiration, abuse, etc, to: www.valgrind.org.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: valkyrie 1.4.0-2
ProcVersionSign
Uname: Linux 2.6.32-24-generic x86_64
Architecture: amd64
Date: Fri Sep 10 09:38:47 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: valkyrie
Changed in valkyrie (Debian): | |
status: | Unknown → Fix Committed |
Changed in valkyrie (Debian): | |
status: | Fix Committed → Fix Released |
Does the same for me. svn20100724- 0ubuntu2 and valyrie is still 1.4.0-2
I'm on Maverick and valgrind is 1:3.6.0~