---
** [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@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.