I could finally isolate it.

It is a bug in netsend (again!), not print.

If you send too many message to netsend in 0 logical time, pd freezes
and stops responding, but without eating up CPU.

Here's a simple patch that reproduces it.
I guess the critical quantity of messages may be platform dependent
(or not), so if it does not reproduce the bug try increasing the
number in the message box.



2008/2/11, matteo sisti sette <[EMAIL PROTECTED]>:
> Hi,
>
> Does anyone know what kind of errors may cause PD to become completely
> unresponsive (i.e.: you click on any GUI object and nothing happens,
> ctrl+e does not change cursor, clicking on any object doesn't open it,
> pd's window won't close, etc) but without consuming any CPU at all
> (0%)???
>
> It's something triggered by something in my patch, but as usual I am
> not able to isolate it, as all tests with small quantities of things
> always worked and never had any error, and just when things get bigger
> (only a matter of quantity: more instances of the very same things)
> something weird happens....
>
> Windows XP here.
>
>
> What if a message tree becomes HUGE not in depth (which would give a
> stack overflow) but in "breadth"? A part from the time needed to
> execute it (if that was the problem, pd would hang consuming a lot of
> cpu), is it possible that it gets just too big and everything breaks
> and stop working without triggering a stack overflow or whatever
> error? Or must it be something else?
>
> Thanks,
> m.
>
> --
> Matteo Sisti Sette
> [EMAIL PROTECTED]
> http://www.matteosistisette.com
>


-- 
Matteo Sisti Sette
[EMAIL PROTECTED]
http://www.matteosistisette.com
#N canvas 177 43 1064 533 12;
#X obj 170 286 netsend;
#X msg 72 35 connect localhost 5000;
#X obj 170 316 select 1;
#X msg 47 71 disconnect;
#X obj 179 103 t b b;
#X msg 240 129 0;
#X obj 178 166 until;
#X obj 174 206 f;
#X obj 213 205 + 1;
#X msg 170 243 send bla bla \$1;
#X obj 624 92 netreceive 5000;
#X obj 270 45 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X msg 177 138 10000;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 12 0;
#X connect 4 1 5 0;
#X connect 5 0 7 1;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 7 0 9 0;
#X connect 8 0 7 1;
#X connect 9 0 0 0;
#X connect 11 0 4 0;
#X connect 12 0 6 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to