Bug 159308

Summary: Unitize OOM errors reporting
Product: [Fedora] Fedora Reporter: Dmitry V. Levin <ldv>
Component: straceAssignee: Roland McGrath <roland>
Status: CLOSED NEXTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-01 18:55:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace-4.5.11-alt-oom.patch none

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]
strace-4.5.11-alt-oom.patch

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.