[PD-dev] [pure-data:bugs] #1090 tcpserver crashes on SIGPIPE

Antoine Villeret avilleret at users.sf.net
Tue Jul 2 21:01:31 CEST 2013




---

** [bugs:#1090] tcpserver crashes on SIGPIPE**

**Status:** open
**Labels:** iemnet 
**Created:** Tue Jul 02, 2013 07:01 PM UTC by Antoine Villeret
**Last Updated:** Tue Jul 02, 2013 07:01 PM UTC
**Owner:** nobody


here are attached 3 patches demonstrating the bug
the raw_server.pd should be started first 
then the 10_raw_client_light.pd should be started and a crash will happen not so late...

and below some infos


$ gdb pd
>run -noprefs -noaudio -nrt raw_server.pd 
>
>Starting program: /usr/local/bin/pd -noprefs -noaudio -nrt raw_server.pd
>[Thread debugging using libthread_db enabled]
>Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>[New Thread 0x7ffff3e9e700 (LWP 10304)]
>
>[New Thread 0x7fffa37fe700 (LWP 10440)]
>
>Program received signal SIGPIPE, Broken pipe.
>[Switching to Thread 0x7fffeee94700 (LWP 10329)]
>0x00007ffff73b52cc in __libc_send (fd=<optimized out>, buf=<optimized out>, 
>    n=<optimized out>, flags=<optimized out>)
>    at ../sysdeps/unix/sysv/linux/x86_64/send.c:33
>33	../sysdeps/unix/sysv/linux/x86_64/send.c: Aucun fichier ou dossier de ce type.
(gdb) bt
>#0  0x00007ffff73b52cc in __libc_send (fd=<optimized out>, 
>    buf=<optimized out>, n=<optimized out>, flags=<optimized out>)
>    at ../sysdeps/unix/sysv/linux/x86_64/send.c:33
>#1  0x00007ffff3ea25ca in iemnet__sender_dosend (q=0x748fe0, 
>    sockfd=<optimized out>) at iemnet_sender.c:97
>#2  iemnet__sender_sendthread (arg=0x72eae0) at iemnet_sender.c:124
>#3  0x00007ffff73ade9a in start_thread (arg=0x7fffeee94700)
>    at pthread_create.c:308
>#4  0x00007ffff6ed6ccd in clone ()
>    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>#5  0x0000000000000000 in ?? ()
>
$ uname -sr 
>(Ubuntu 12.04)

$ pd -version
>Pd-0.44.3 ("") compiled 20:14:45 Jun 24 2013




---

Sent from sourceforge.net because pd-dev at lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20130702/a19ba76b/attachment-0001.htm>


More information about the Pd-dev mailing list