pkgsrc-Users archive

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

Re: broken pipe



On Sun, Aug 11, 2024 at 04:53:32PM +0200, Thomas Klausner wrote:
> On Fri, Aug 02, 2024 at 06:57:09PM +0200, Thomas Klausner wrote:
> > Hi!
> > 
> > I noticed a day ago that some GUI applications on
> > NetBSD-current/amd64/20240711, modular X, start randomly exiting with
> > 'broken pipe'.
> > 
> > I first saw it with transmission-gtk, but then also with qbittorrent,
> > which has completely different GUI library dependencies.
> > 
> > I've started qbittorrent in gdb, the backtrace when it dies starts with
> > 
> > __pwrite()
> > pwrite() at  pthread_cancelstub.c:520
> > libtorrent::aux::pwrite_all at libtorren-rasterbar-2.0.10/include/libtorrent/span.hpp:126
> > operator() at libtorren-rasterbar-2.0.10/include/libtorrent/file.hpp:116
> > ...
> > 
> > Has anyone else seen this?
> 
> I ktraced another run and got
> 
>  29512  10789 qbittorrent CALL  sendmsg(0x6e,0x7c3eb39fefd0,0)
>  29512  10789 qbittorrent MISC  msghdr: [name=0x0, namelen=0, iov=0x7c3eb39ff040, iovlen=1, control=0x0, controllen=0, flags=4000000]
>  29512  10789 qbittorrent RET   sendmsg -1 errno 32 Broken pipe
> 
> Is this an application error that it's not catching SIGPIPE for
> sendmsg?

abs@ tracked it down, it was a bug in curl, fixed in 8.9.1nb1.

Thanks David!
 Thomas


Home | Main Index | Thread Index | Old Index