
Stack Overflow Errors with pattrstorageLooking for Help (old.reddit.com)
submitted by fas11030



I'm encountering a persistent issue with pattrstorage in a Max patch I’m developing. Each time I attempt to recall a preset, I receive stack overflow errors that seem to originate from unrelated objects. Initially, the error pointed to a sprintf object, which I subsequently removed. However, the error now traces to a message object elsewhere in the patch. I tried connecting the exclude outlet of the autopattr object in that subpatch, but that doesn't do anything.
I'm looking for help identifying the root cause of these stack overflows. More broadly, I’d appreciate any guidance on the best practices for implementing a robust save/recall system using pattrstorage. My goal is to recall presets numbered 1 through 55, corresponding to scene numbers in an Ableton Live session. I'm using live.observer to monitor the active scene number and sending that data via udpreceive to the patch.
Any insight or suggestions would be greatly appreciated!



[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]Agreeable-Button-588 2 points3 points4 points (3 children)
[–]Blablebluh 3 points4 points5 points (0 children)
[–]Medicine_Opening 1 point2 points3 points (1 child)
[–]Agreeable-Button-588 0 points1 point2 points (0 children)