Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 159308 - Unitize OOM errors reporting
Summary: Unitize OOM errors reporting
Alias: None
Product: Fedora
Classification: Fedora
Component: strace
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2005-06-01 16:21 UTC by Dmitry V. Levin
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2005-06-01 18:55:29 UTC

Attachments (Terms of Use)
strace-4.5.11-alt-oom.patch (deleted)
2005-06-01 16:22 UTC, Dmitry V. Levin
no flags Details | Diff

Description Dmitry V. Levin 2005-06-01 16:21:15 UTC
As of cvs snapshot 20050526, strace behaves differently in "out of memory" condition.  Sometimes it outputs error via tprintf, sometimes - via fprintf(stderr).  Sometimes it stops to decode arguments, sometimes not.
I suggest to normalize this somehow.

Comment 1 Dmitry V. Levin 2005-06-01 16:22:57 UTC
Created attachment 115036 [details]

Proposed change.

Comment 2 Roland McGrath 2005-06-01 18:55:29 UTC
Looks good, thanks for the patch.  I've put it in upstream.

Note You need to log in before you can comment on or make changes to this bug.