bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9089: pipe failure with cat and head of coreutils 6.12


From: Philipp Thomas
Subject: bug#9089: pipe failure with cat and head of coreutils 6.12
Date: Fri, 15 Jul 2011 13:30:23 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

I'm trying to track down a bug in cat of coreutils 6.12. Doing 

cat /var/log/Xorg.0.log | head -n70

under ksh consistently fails with 'cat: write error: Connection reset by
peer'.  It does not fail when run under bash and it does not fail in current
coreutils .  It seems that ksh implementing pipes by socketpair(2) is the
reason for this failure.

Does somebody have a hint how to track this down? When trying to use strace
it won't fail and I don't know how to get this to run under gdb.

Philipp





reply via email to

[Prev in Thread] Current Thread [Next in Thread]