Bug 272035 - Guard against segfaults of inferior program
Summary: Guard against segfaults of inferior program
Status: RESOLVED FIXED
Alias: None
Product: Linux Tools
Classification: Tools
Component: Valgrind (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.3   Edit
Assignee: Elliott Baron CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2009-04-13 11:52 EDT by Andrew Overholt CLA
Modified: 2009-05-22 13:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Overholt CLA 2009-04-13 11:52:34 EDT
I have a test case which segfaults due to:

int *a;
printf("%d\n", *a);

valgrind (memcheck) exits with a return code of 1.  As a result, I see the XML output from valgrind in my console view.  It would be nice if we could somehow guard against this case.
Comment 1 Elliott Baron CLA 2009-05-22 11:31:04 EDT
This is fixed with the switch to plain-text Valgrind output in trunk. Will be N&N feature for 0.3.