SIGPIPE in Live555 uncaught
When running the VLM with two broadcasts with RTSP streams as their sources, failure in these streams will cause VLC to crash with a SIGPIPE (144). In my case one VLM was feeding several other VLMs with media. All of them crashed after killing the feeds. My guess is this is caused by the fact that Live555 isn't thread safe. This doesn't happen when using only a single stream when chaining VLMs.
Here's a backtrace of what happened at the moment of the crash. The socket was already dead when the sendto() was called, throwing the SIGPIPE.
[#0](https://code.videolan.org/videolan/vlc/-/issues/0) 0x0beb3abd in sendto () from /usr/lib/libc.so.48.0
[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x0eb36e52 in sendto (fd=10, msg=0x843f1300, len=133, flags=0, to=0x0,
to_len=0) at /usr/src/lib/libpthread/uthread/uthread_sendto.c:52
[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x0bee8f64 in send (s=10, msg=0x843f1300, len=133, flags=0)
at /usr/src/lib/libc/net/send.c:39
[#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0x001e4c38 in RTSPClient::sendRequest ()
from /usr/local/vlc/lib/vlc/demux/liblive555_plugin.dll
[#4](https://code.videolan.org/videolan/vlc/-/issues/4) 0x001e5e47 in RTSPClient::sendOptionsCmd ()
from /usr/local/vlc/lib/vlc/demux/liblive555_plugin.dll
[#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0x001b3936 in Connect (p_demux=0x843f1940) at live555.cpp:555
[#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0x001b3936 in Connect (p_demux=0x0) at live555.cpp:555
[#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x001b3936 in Connect (p_demux=0x2be8b860) at live555.cpp:555
[#8](https://code.videolan.org/videolan/vlc/-/issues/8) 0x001b3936 in Connect (p_demux=0x1710b48) at live555.cpp:555
[#9](https://code.videolan.org/videolan/vlc/-/issues/9) 0x001b3936 in Connect (p_demux=0x2678bff6) at live555.cpp:555
[#10](https://code.videolan.org/videolan/vlc/-/issues/10) 0x001b3936 in Connect (p_demux=0x0) at live555.cpp:555
[#11](https://code.videolan.org/videolan/vlc/-/issues/11) 0x001b3936 in Connect (p_demux=0x0) at live555.cpp:555
[#12](https://code.videolan.org/videolan/vlc/-/issues/12) 0x001b3936 in Connect (p_demux=0x0) at live555.cpp:555
[#13](https://code.videolan.org/videolan/vlc/-/issues/13) 0x001b3936 in Connect (p_demux=0x0) at live555.cpp:555
The system I'm using is running OpenBSD 4.4 i386. I've built VLC from git, commit [e4fb8860]. I've used Live555 v2009.04.20. All of the hardware is connected to a clean private LAN.