Hi, I found out when I open a pd patch multiple times and then if I try to close them using 'menuclose', it seems like it is causing pd to crash.
It didn't always crash, but in my experience it crashed about 9 out of 10 times.
I attached 2 files that are 'test.pd' and 'child.pd'.
Please follow the steps below to test yourself
I used Pd-0.47-1-64bit on Mac OS X 10.11.6.
I really hope this can be fixed.
Thanks,
Zack
PS: I personally think it would be better if there's a way to close the specific patch among a patch that is opened multiple times.
Anonymous
confirmed.
it seems that the deletion of the patches invalidates the elements of a currently-traversed linked list and Pd doesn't check for that...
btw, you can close a specific patch by using
[namecanvas]to attach a unique name to the patch, and send amenuclose 1message to that name.just make sure to not do this from within the patch you are about to close...
Thank you so much!
I tried your suggestion and it no longer crashed when I close patches using [namecanvas] instead of patch filename :)