Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 250836 - Corrupted stdout output from PE application
Summary: Corrupted stdout output from PE application
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RM (show other bugs)
Version: 2.1RC1   Edit
Hardware: Power PC Unix All
: P3 normal (vote)
Target Milestone: 2.1RC3   Edit
Assignee: Greg Watson CLA
QA Contact: Craig E Rasmussen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-14 15:29 EDT by David Wootton CLA
Modified: 2008-10-24 11:14 EDT (History)
0 users

See Also:


Attachments
Fix for stdout corruption problem (1.15 KB, patch)
2008-10-14 15:29 EDT, David Wootton CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Wootton CLA 2008-10-14 15:29:23 EDT
Created attachment 115076 [details]
Fix for stdout corruption problem

Output written to stdout by a PE application is corrupted if output text contains a ':' and the user has not chosen to split stdout output by task. Any line of stdout output which as a ':' will have all text up to and including the ':' discarded.

This patch fixes the problem by only looking for the ':' character when the user requests stdout output be spit by task and otherwise leaving the stdout output unmodified. In the case where stdout output is split by task, this action is safe since in this case, the MP_LABELIO environment is set, resulting in all stdout text having <task #>: prefixed to each line.
Comment 1 Greg Watson CLA 2008-10-23 11:50:17 EDT
Applied.
Comment 2 Greg Watson CLA 2008-10-24 11:14:21 EDT
Closing.