06-05-2006
I search from the Internet to see how I can use 'valgrind'.
I tried this: valgrind --memcheck analysis.exe
but I got a complaint:
valgrind: Missing --tool option
Available tools:
addrcheck
none
callgrind
corecheck
helgrind
memcheck
lackey
cachegrind
massif
Please advise. Thank you so much.
8 More Discussions You Might Find Interesting
1. Programming
I ran degugger in C++ and the followings are the message I got:
Program received signal SIGABRT, Aborted.
0x002a57a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) info s
#0 0x002a57a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x002e97f5 in raise () from /lib/tls/libc.so.6... (1 Reply)
Discussion started by: napapanbkk
1 Replies
2. Programming
Here is my initiating code:
#define NUM 20
static struct tab {
int count;
int use;
} tab;
int curtab = 0;
int tab_create(int tab_count)
{
curtab++;
tab.use = 1;
tab.count = tab_count;
kprintf("here!");
return curtab;
} (2 Replies)
Discussion started by: micmac700
2 Replies
3. AIX
Hello,
One of our customer is getting segmentation fault when he runs his shell script which invokes our executable on AIX 6.1.
On AIX 5.3, there were no issues.
Here is the truss output.
811242: __loadx(0x0A040000, 0xF0D3A26C, 0x00000000, 0x00000009, 0x00000000) = 0xF026E884... (0 Replies)
Discussion started by: erra_krishna
0 Replies
4. Programming
i am executing following program
int main()
{ char str;
FILE * fp;
int i=0; ... (4 Replies)
Discussion started by: bhavesh.sapra
4 Replies
5. Programming
I am making a command line program in C using XCode. When running the program, it initially does what it is supposed to do (asks me for a file path). However, when I type in a valid and existing file path, it gives me the following error:
Program received signal: “EXC_BAD_ACCESS”.... (6 Replies)
Discussion started by: mdonova33
6 Replies
6. Programming
Im using gdb and when a user disconnects from my server I receive a message
Program received signal SIGABRT, Aborted.
0x7ffe0304 in ?? ()
I was hoping someone here might have a explination for this message in gdb (26 Replies)
Discussion started by: Errigour
26 Replies
7. Programming
Hello everybody,
I've been working on a program on my Linux box, after finished the code, i compile it with gcc -Wall option, so i can see what's wrong or unused.
The Walll output shows nothing, so there are no loose ends on the program.
I run the program on my system, and it works PERFECTLY.... (5 Replies)
Discussion started by: Zykl0n-B
5 Replies
8. Programming
I use a binary name (ie polo) it gets some parameter , so for debugging normally i do this :
i wrote script for watchdog my app (polo) and check every second if it's not running then start it , the problem is , if my app , remain in state of segmentation fault for a while (ie 15 ... (6 Replies)
Discussion started by: pooyair
6 Replies
LEARN ABOUT DEBIAN
valkyrie
VALKYRIE(1) General Commands Manual VALKYRIE(1)
NAME
valkyrie - graphical front-end to the Valgrind suite of tools for debugging and profiling Linux executables
SYNOPSIS
valkyrie [valkyrie-opts] [valgrind-opts] [prog-and-args]
DESCRIPTION
Valkyrie is a graphical front-end to the Valgrind suite of tools for debugging and profiling Linux executables. The current version sup-
ports Valgrind from version 3.4.0. Currently, the only supported Valgrind tool is Memcheck. Valkyrie uses the Qt widget library, and
should run on most reasonably recent Linux setups. The only sine qua non is that you must have: Qt v.3.2.0 or higher (but not Qt v.4 as
yet), and Valgrind v.3.4.0 or higher.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below. For more help please see HTML documentation.
-h, --help
-v, --version
Show version of program.
-V, --valgrind-opts
Show valgrind options as well
--working-dir
Dir under which to run valgrind. Defaults to [./]
--view-log <file>
Parse and view a valgrind logfile
--merge <loglist>
Merge multiple logfiles, discarding duplicate errors
SEE ALSO
valgrind(1), vk_logmerge(1).
AUTHOR
valkyrie was written by Donna Robinson, Cerion Armour-Brown and others.
This manual page was written by Hai Zaar <haizaar@haizaar.com>, for the Debian project (but may be used by others).
2009-05-03 VALKYRIE(1)