Re: r247839: broken pipe - for top, sudo and ports

From: Hartmann, O. <ohartman_at_zedat.fu-berlin.de>
Date: Tue, 05 Mar 2013 20:59:09 +0100
On 03/05/13 20:35, Hartmann, O. wrote:
> On recent FreeBSD 10.0-CURRENT/amd64 (CLANG buildworld, serveral systems
> (3) the same symptoms)), many services drop a sporadic
> 
> broken pipe
> 
> This happesn to system's top (I have to type it several times to get
> finally a top), it happens to "sudo su -", it happens to SSH (drops
> connection with broken pipe) and as I reported earlier, it seems to
> affect the entire port system, since I can not build any port, I receive
> 
> *** [do-extract] Signal 13
> 
> This is dramatic for me, because several modules (rtc, linux_adobe ...)
> can not be recompiled as it is required by the last /usr/src/UPDATING
> entry 20130304.
> 
> Since dbus fails to start and even the nVidia driver (which is a kernel
> module, it canot be built and therefore ... ).
> 
> Dimitry, I put you into CC, just in case. It seems that the last commits
> (not only the new DRM2 mess) broke something.
> 
> I hope that others using FreeBSD 10.0CURRENT with CLANG can confirm this.
> 
> Regards,
> 
> Oliver
> 
> On 03/05/13 10:33, Dimitry Andric wrote:
>> On 2013-03-05 10:16, Hartmann, O. wrote:
>>> On FreeBSD 10.0-CURRENT #3 r247829: Tue Mar  5 08:12:19 CET 2013/amd64 I
>>> run into a mess and can not figure out what happens.
>>>
>>> Suddenly, after upgrading, buildworld etc., dbus fails to start so X11
>>> is without mouse.
>>>
>>> Trying to rebuild the port dbus fails in a SIGNAL 13 while [do-extract].
>>>
>>> This is weird. I can not extract and rebuild ports anymore, every port I
>>> try to rebuild with portmaster fails with the very same fault:
>>>
>>> => SHA256 Checksum OK for dbus-1.4.14.tar.gz.
>>> *** [do-extract] Signal 13
>>
>> This is SIGPIPE, so maybe your tar is broken?  What happens if you
>> manually extract that tar.gz file?


A "truss top" reveals this, is this of help?

[...]
stat("/etc/nsswitch.conf",{ mode=-rw-r--r--
,inode=162310,size=1007,blksize=32768 }) = 0 (0x0)
stat("/etc/nsswitch.conf",{ mode=-rw-r--r--
,inode=162310,size=1007,blksize=32768 }) = 0 (0x0)
stat("/etc/nsswitch.conf",{ mode=-rw-r--r--
,inode=162310,size=1007,blksize=32768 }) = 0 (0x0)
stat("/etc/nsswitch.conf",{ mode=-rw-r--r--
,inode=162310,size=1007,blksize=32768 }) = 0 (0x0)
stat("/etc/nsswitch.conf",{ mode=-rw-r--r--
,inode=162310,size=1007,blksize=32768 }) = 0 (0x0)
socket(PF_LOCAL,SOCK_STREAM,0)                   = 4 (0x4)
connect(4,{ AF_UNIX "/var/run/nscd" },15)        = 0 (0x0)
fcntl(4,F_SETFL,O_NONBLOCK)                      = 0 (0x0)
kqueue(0x80183b000,0x80122fc58,0x10,0x80062b308,0x80183b010,0x2) = 5 (0x5)
kevent(5,{0x4,EVFILT_WRITE,EV_ADD,0,0x0,0x0},1,0x0,0,0x0) = 0 (0x0)
kqueue(0x5,0x7fffffffd2e0,0x1,0x0,0x0,0x0)       = 6 (0x6)
kevent(6,{0x4,EVFILT_READ,EV_ADD,0,0x0,0x0},1,0x0,0,0x0) = 0 (0x0)
kevent(5,{0x4,EVFILT_WRITE,EV_ADD,1,0x4,0x0},1,0x0,0,0x0) = 0 (0x0)
kevent(5,0x0,0,{0x4,EVFILT_WRITE,EV_EOF,0,0x2000,0x0},1,0x0) = 1 (0x1)
sendmsg(0x4,0x7fffffffd290,0x0,0x1,0x1,0x0)      ERR#32 'Broken pipe'
SIGNAL 13 (SIGPIPE)
process exit, rval = 0
Received on Tue Mar 05 2013 - 18:58:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC