This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/12211] New: stapio shouldn't hide the death of its child
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: Fri, 12 Nov 2010 00:08:04 +0000
- Subject: [Bug runtime/12211] New: stapio shouldn't hide the death of its child
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12211
Summary: stapio shouldn't hide the death of its child
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap@sources.redhat.com
ReportedBy: jistone@redhat.com
When the child process given by "-c" has an abnormal exit, we give no
indication at all, as shown below. It would be nice if we printed a warning
for abnormal exits and passed along the child's exit status (at least when our
own is 0).
$ cat div0.c
int main() { return 1/0; }
$ gcc div0.c -o div0
div0.c: In function âmainâ:
div0.c:1:22: warning: division by zero
$ ./div0
Floating point exception (core dumped)
$ echo $?
136
$ stap -e 'probe never{next}' -c './div0'
$ echo $?
0
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.