print returning EINTR

Bug #1239373 reported by vsespb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
New
Undecided
Unassigned

Bug Description

There is a bug in perl 5.14 , which was fixed in later versions:
https://rt.perl.org/rt3//Public/Bug/Display.html?id=119097 (fix and testcases included)

Problem is that print(), read() can fail if interrupted. ( testcase for read http://www.perlmonks.org/?node_id=1026468 )

Perl code, that run into this bug, can mistakely decide that there is EOF of data coming from pipe/socket, this can lead to data loss if happens in critical perl applications.

perhaps it worth to backport the fix?

Currently problem reproducable on Ubuntu 12.04 with lates updates.

Revision history for this message
vsespb (vsespb) wrote :

found duplicate #1100359

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.