pcp
[Top] [All Lists]

pcp updates - pmrep broken pipe handling and Exception Ignored errors, a

To: pcp <pcp@xxxxxxxxxxx>
Subject: pcp updates - pmrep broken pipe handling and Exception Ignored errors, and QA
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Tue, 9 Feb 2016 12:12:52 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
pmrep - add signal handler for Broken Pipe exceptions, and avoid Exception
Ignored errors. New test qa/880 to test this.

Changes committed to git://git.pcp.io/mgoodwin/pcp master


commit 88fa161389e1d7198da8120a9b1909c853be7e1d
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date:   Tue Feb 9 12:06:49 2016 +1100

    qa: add test 880 to check pmrep for broken pipe exceptions and Exception 
Ignored errors

commit 8aa78cd1e59cd07cd7bf1e74920f4dd3356b0038
Merge: 7a31a19 c96ff82
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date:   Tue Feb 9 10:58:07 2016 +1100

    Merge branch 'master' of git://oss.sgi.com/pcp/pcp

commit 7a31a198faf58104a823e84d37897dcde558cff6
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date:   Tue Feb 9 10:52:53 2016 +1100

    pmrep: cleanup stdio on exit to avoid Exception Ignored errors
Flush and close stdout and stderr on exit to avoid "Exception Ignored"
    errors when the destructor is called with i/o still pending. Also
    ignore SIGPIPE to avoid broken pipe exceptions. These issues occur
    when pmrep is piped to e.g. /usr/bin/head.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates - pmrep broken pipe handling and Exception Ignored errors, and QA, Mark Goodwin <=