Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
"Apple Bonjour compatibility layer of Avahi" warning causes SIGPIPE crash #2931
We all know and love the "Apple Bonjour compatibility layer of Avahi" warning, as described in STR #2655.
Now I got a report (http://bugs.debian.org/497492) that this warning causes a cups crash:
[pid 3977] write(2, "*** WARNING * The program 'cups"..., 89) = 89
Thus it seems the warning is triggered by some child process which does not have a stderr and thus dies with a SIGPIPE. I cannot reproduce the crash, but the cause seems pretty clear.
Since STR #2655 made it quite clear that the avahi bonjour library usage isn't going away anytime soon, so I made a small patch to avoid the warning altogether.