Bug 975732 - EIO on stdout for large make jobs
Summary: EIO on stdout for large make jobs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 19
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-19 08:47 UTC by Julian Stecklina
Modified: 2013-07-01 01:39 UTC (History)
5 users (show)

Fixed In Version: kernel-3.9.8-300.fc19
Clone Of:
Environment:
Last Closed: 2013-07-01 01:39:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
strace output for offending make process (25.59 KB, text/plain)
2013-06-19 08:47 UTC, Julian Stecklina
no flags Details

Description Julian Stecklina 2013-06-19 08:47:30 UTC
Created attachment 762792 [details]
strace output for offending make process

Description of problem:

In a large production build system, make and sometimes bash etc., fail, because they get EIO from a write to stdout. Stdout is not redirected and goes to a pty (urxvt). We first thought it to be a file system issue, but using tmpfs or ext4 doesn't make a difference.

Version-Release number of selected component (if applicable):
kernel-3.9.5-301.fc19.x86_64
glibc-2.17-4.fc19.x86_64
make-3.82-15.fc19.x86_64

This bug is very hard to reproduce. Sometimes it hits a couple of times in a row, but most of the time it works without problems. In order to reproduce this, I had to run our full build over 200 times. Usually it is spotted by our buildbot. The whole 3.9 series seems to affected. Downgrading to 3.4 fixed the issue for us.

Actual results:
make[5]: Leaving directory `/home/julian/src/l4-src/l4/pkg/drivers-frst/uart/src'
make[5]: write error
make[4]: *** [src] Error 1

write(1, ...) returns -1 with errno = EIO.

Expected results:
write to stdout succeeds. make completes.

Additional info:

It seems others have hit this problem as well:
https://groups.google.com/forum/#!topic/sage-devel/2XdLbWhtmKM

Comment 2 Julian Stecklina 2013-06-24 13:03:38 UTC
This patch is included in 3.10-rc7, so it will be fixed with 3.10.

Comment 3 Josh Boyer 2013-06-24 13:24:39 UTC
It's CC'd to stable, so it should also make the next 3.9 stable update.

Comment 4 Fedora Update System 2013-06-27 22:15:17 UTC
kernel-3.9.8-300.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/kernel-3.9.8-300.fc19

Comment 5 Fedora Update System 2013-06-29 15:24:33 UTC
Package kernel-3.9.8-300.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.9.8-300.fc19'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-11901/kernel-3.9.8-300.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-07-01 01:39:49 UTC
kernel-3.9.8-300.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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