hi all, 

I've just notice [tcpserver] crashes when the 34th client try to connect
both iemnet and mrpeach are affected

iemnet version send a strange number on the 33th connection (like 2.8686e+07) and crashes on the 34th


here is a gdb output for iem :
Program received signal SIGSEGV, Segmentation fault.
0x00007fffcdbca746 in tcpserver_connectpoll (x=0x66994c0) at tcpserver.c:503
503      x->x_sr[i] = y;
(gdb) watchdog: signaling pd...


and for mrpeach :
Program received signal SIGSEGV, Segmentation fault.
0x00007fffcddaf585 in tcpserver_connectpoll (x=0xadfc1c0) at tcpserver.c:1113
1113        outlet_float(x->x_sockout, x->x_sr[i]->sr_fd); /* the socket number */
(gdb) watchdog: signaling pd...


it happens on ubuntu 12.04 64 bit
pd 0.44.2
and SVN update today

i'm certainly doing something wrong to get this (like keeping clients connected all the time)
but a crash is never welcome...

cheers

antoine
--
do it yourself                      
http://antoine.villeret.free.fr