stack overflow

May 16, 2008 at 1:12pm

stack overflow

why does the following patch causes a stack overflow?
thanks for a hint

ole

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P comment 129 82 18 196617 2;
#P comment 109 82 18 196617 1;
#P comment 89 162 18 196617 D;
#P comment 89 142 18 196617 C;
#P comment 89 123 18 196617 B;
#N vpatcher 20 74 1080 501;
#P outlet 51 294 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 0;
#P message 22 209 34 196617 0 2 0;
#P newex 22 184 64 196617 match 0 0 1;
#P message 83 138 34 196617 1 1 0;
#P message 20 140 34 196617 0 0 0;
#P newex 19 112 64 196617 match 0 2 1;
#P inlet 45 36 15 0;
#P window linecount 1;
#P message 86 210 34 196617 1 3 0;
#P newex 89 184 64 196617 match 1 1 1;
#P newex 84 112 64 196617 match 1 3 1;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 3 0 7 0;
#P connect 7 0 8 0;
#P connect 5 0 9 0;
#P connect 8 0 9 0;
#P connect 6 0 9 0;
#P connect 2 0 9 0;
#P connect 0 0 6 0;
#P connect 3 0 0 0;
#P connect 1 0 2 0;
#P connect 3 0 1 0;
#P pop;
#P newobj 347 174 47 196617 p Umsch;
#P user matrixctrl 108 100 200 160 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 200 160 16 16 10 8 20 20 1 1 48 2 0 0;
#P objectname matrixctrl[1];
#P window linecount 2;
#P comment 93 46 100 196617 push first A1 , then D2:;
#P window linecount 1;
#P comment 89 103 18 196617 A;
#P fasten 2 0 3 0 113 268 322 268 322 163 352 163;
#P fasten 3 0 2 0 352 202 416 202 416 97 113 97;
#P window clipboard copycount 9;

#37827
May 16, 2008 at 1:47pm

Feedback loops in Max processing cause Stack Overflow.

You click D2, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, which causes preset to send a message to your Umsch subpatch, which sends a message to the preset object, …

Get the idea?

#130924
May 16, 2008 at 1:57pm

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 407 259 62 196617 prepend set;
#P comment 189 142 18 196617 2;
#P comment 169 142 18 196617 1;
#P comment 149 222 18 196617 D;
#P comment 149 202 18 196617 C;
#P comment 149 183 18 196617 B;
#N vpatcher 20 74 1080 501;
#P outlet 51 294 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 0;
#P message 22 209 34 196617 0 2 0;
#P newex 22 184 64 196617 match 0 0 1;
#P message 83 138 34 196617 1 1 0;
#P message 20 140 34 196617 0 0 0;
#P newex 19 112 64 196617 match 0 2 1;
#P inlet 45 36 15 0;
#P window linecount 1;
#P message 86 210 34 196617 1 3 0;
#P newex 89 184 64 196617 match 1 1 1;
#P newex 84 112 64 196617 match 1 3 1;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 3 0 7 0;
#P connect 7 0 8 0;
#P connect 2 0 9 0;
#P connect 6 0 9 0;
#P connect 8 0 9 0;
#P connect 5 0 9 0;
#P connect 0 0 6 0;
#P connect 3 0 0 0;
#P connect 1 0 2 0;
#P connect 3 0 1 0;
#P pop;
#P newobj 407 234 47 196617 p Umsch;
#P user matrixctrl 168 160 200 160 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 200 160 16 16 10 8 20 20 1 1 48 2 0 0;
#P objectname matrixctrl[1];
#P window linecount 2;
#P comment 153 106 100 196617 push first A1 , then D2:;
#P window linecount 1;
#P comment 149 163 18 196617 A;
#P fasten 9 0 2 0 412 291 527 291 527 156 173 156;
#P connect 3 0 9 0;
#P fasten 2 0 3 0 173 328 382 328 382 223 412 223;
#P window clipboard copycount 10;

#130925
May 16, 2008 at 2:38pm

thanks-I was confused because it was working sometimes…

ole

#130926

You must be logged in to reply to this topic.