jit.world crash when entering fullscreen

ifranco's icon

Hi!
I'm getting random crashes from toggling fullscreen on/off in a jit.world.
Anyone else experiencing the same? I've been able to reproduce the crash several times but it seems it is not deterministic, meaning it can happen immediately or only after quite a while of toggling fullscreen.
Included is the offending patch.

Thanks,
Ivan

MacBook Pro (Retina, 15-inch, Late 2013)
OSX Yosemite 10.10.5
Max 7.05

glworld.maxpat
Max Patch
Wil's icon

Just toggled full screen about 100 times with your patch. works fine.

Macbook Pro non-retina 15-inch late 2011
OSX El Capitan 10.11
480 GB Solid State SATA Drive
16mb crucial ram
Max 7.0.6 (32 bit mode)

ifranco's icon

Just downloaded 7.06 to see if it got any better but the same thing is happening. Proof on this youtube link:

Rob Ramirez's icon

hi ifranco. thanks for the patch.
yes, this is tricky to reproduce, but i think i've managed to get it crashing. it seems to have to do with moving the mouse while the window is rebuilding from a fullscreen toggle. i'll try and get it sorted out.

if you could try and confirm that the crash happens when you are moving the mouse while toggling fullscreen, that would be great.

ifranco's icon

Hi Rob,
yes, I just tested it again and it does crash almost immediately if moving the mouse. It actually adds up since in in my final application I'm trying to use the mouse to pick elements in the gl window.

Rob Ramirez's icon

great, thanks for confirming.

ifranco's icon

Sorry to bother but any chances of a quick fix? I need to compile this patch for distribution soon...

Thanks,
Ivan

Rob Ramirez's icon
Max Patch
Copy patch and select New From Clipboard in Max.

sure, don't use jit.world: