<p dir="ltr">In my experience, this may bog down pd but it should never crash it. If it does, something else is the problem.</p>
<div class="gmail_quote">On Jul 1, 2013 1:24 PM, "Martin Peach" <<a href="mailto:martin.peach@sympatico.ca">martin.peach@sympatico.ca</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It could be that you are overloading Pd with too many messages. If you are wildly moving the slider and [tcpclient] is sending one TCP packet per value you can add messages to the queue faster than they will be sent out and Pd will eventually run out of resources.<br>
<br>
Maybe put a [speedlim] after your slider, or pack several values into one message?<br>
<br>
Martin<br>
<br>
<br>
<br>
On 2013-07-01 11:53, Iain Mott wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'll try the backtrace and other things you suggest and report back<br>
on mrpeach/tcpclient in another email.<br>
</blockquote>
<br>
it could well be, that it only does not crash with [iemnet/tcpclient]<br>
because you haven't parsed the output yet...<br>
<br>
</blockquote>
<br>
Don't think so - to crash Pd, I wasn't doing any parsing of incoming<br>
messages - just sending messages out.<br>
<br>
Did a backtrace using mrpeach/tcpclient - on a "freeze" as it didn't<br>
actually crash. Got this response:<br>
<br>
#0 0x0000000000442623 in clock_unset (x=0x8c5c80) at m_sched.c:70<br>
#1 clock_unset (x=0x8c5c80) at m_sched.c:62<br>
#2 0x000000000044266e in clock_set (x=0x8c5c80, setticks=<optimised<br>
out>)<br>
at m_sched.c:81<br>
#3 0x00007fffd21cfec1 in tcpclient_child_send (w=0xdec548)<br>
<br>
at /home/kiilo/Documents/dev/pd-<u></u>svn/externals/mrpeach/net/<u></u>tcpclient.c:380<br>
#4 0x00007ffff7bc4e9a in start_thread ()<br>
from /lib/x86_64-linux-gnu/<u></u>libpthread.so.0<br>
#5 0x00007ffff6ec0ccd in clone () from /lib/x86_64-linux-gnu/libc.so.<u></u>6<br>
#6 0x0000000000000000 in ?? ()<br>
<br>
<br>
Will do some more tests later.<br>
<br>
Thanks,<br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
<br>
<br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</blockquote></div>