[PD-dev] SIGPIPE on iemnet's tcpserver
Antoine Villeret
antoine.villeret at gmail.com
Tue Jul 2 12:16:55 CEST 2013
hi all,
I got some crashes with iemnet's tcpserver
gdb tells :
[New Thread 0x7fffb9ffb700 (LWP 7828)]
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7fffea57a700 (LWP 7713)]
0x00007ffff73b52cc in __libc_send (fd=<optimized out>, buf=<optimized out>,
n=<optimized out>, flags=<optimized out>)
and it happends when several (10) clients are connected at the same time
and send some data
I guess tcpserver is trying to write to a broken pipe and receive a SIGPIPE
signal which is not handle and then exit - so crashes pd
am I right ?
if so, is it possible to set the SIG_PIPE handler to SIG_IGN to avoid crash
?
I saw that here [1].
should I file a bug report ?
if so where ?
best regards
antoine
[1] :
http://stackoverflow.com/questions/108183/how-to-prevent-sigpipes-or-handle-them-properly
--
do it yourself
http://antoine.villeret.free.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20130702/e326cbd0/attachment.htm>
More information about the Pd-dev
mailing list