Max crashes when I start my patch

May 10, 2011 at 11:49am

Max crashes when I start my patch

I’ve spent a long time building my first patch and trying to condense it using sub patches to make it a little tidier, but now it crashes MAX whenever I turn it on using the toggle. I’ve included a copy of the patch and would appreciate any help you can offer.



  1. A2final.maxpat
May 10, 2011 at 11:56am

Stack overflow here -> which appears to result from the rightmost p timesig from what max indicates…

May 10, 2011 at 12:21pm

Ok, thanks. Any ideas how I fix it? As I said, this is my first patch so I’m still learning as I go.

May 10, 2011 at 12:37pm

I don’t have time to track down the patch thouroughly at this time, but removing the patchcord from the 3rd inlet of p timesig (the right hand one) to the counter “reset counter to number immediately” input seems to stop this happening. Ata guess: You may need to revise some of the logic connected to the “if $i1==0 then 0 else -1″ which may help avoid the issue..

May 10, 2011 at 12:45pm

Great cheers, I’ll have a look. Feel free to have a play with it when you have time though ;-)


You must be logged in to reply to this topic.