---
** [bugs:#1135] [mrpeach/tcpserver] crashes**
**Status:** open
**Created:** Tue Feb 04, 2014 12:35 PM UTC by Antoine Villeret
**Last Updated:** Tue Feb 04, 2014 12:35 PM UTC
**Owner:** Martin Peach
here is a backtrace of the crashes triggered by the patch attached
still on Ubuntu 12.04 64bit / pd0.45-4 / [tcpserver] build from SVN 17262.
~~~~
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7ffff18fd700 (LWP 6363)]
0x00007ffff73b42cc 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) thread apply all bt
Thread 1827 (Thread 0x7ffff18fd700 (LWP 6363)):
#0 0x00007ffff73b42cc 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 0x00007ffff3621a4d in tcpserver_broadcast_thread (arg=0x88b710)
at tcpserver.c:963
#2 0x00007ffff73ace9a in start_thread (arg=0x7ffff18fd700)
at pthread_create.c:308
#3 0x00007ffff6ed53fd in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fd5740 (LWP 4424)):
#0 0x00007ffff6e64558 in __GI___libc_free (mem=0x761d70) at malloc.c:2970
#1 0x00007ffff36211c1 in tcpserver_socketreceiver_free (x=0x761d70)
at tcpserver.c:318
#2 tcpserver_notify (x=0x7ffff7ec1010) at tcpserver.c:1048
#3 0x00007ffff3621027 in tcpserver_socketreceiver_read (x=0x761d70, fd=14)
at tcpserver.c:281
#4 0x000000000047b17a in sys_domicrosleep.constprop.3 ()
#5 0x000000000047cf5a in sys_pollgui ()
#6 0x000000000047664e in m_mainloop ()
#7 0x00007ffff6e0276d in __libc_start_main (main=0x411800 <main>, argc=4,
ubp_av=0x7fffffffe128, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffe118) at libc-start.c:226
#8 0x0000000000411831 in _start ()
~~~~
---
Sent from sourceforge.net because pd-...@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.
_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev