getlogical() crashes Max 6.0.8

Andrew's icon

I'm working on determining what object is under a given XY coordinate returned by a touch on a touchscreen. I can't use hover since it only works with the mouse pointer.

I'm including a stripped down patcher that calls the javascript with getlogical() and the javascript. The only documentation I can find on this is here:
https://cycling74.com/docs/max5/vignettes/js/jspatcherobject.html

It crashes Max instantly. I'm running it on OS 10.7.5. I haven't tried it on my older 10.6.8 machine yet, but the OS wasn't my first suspect in this. I've tried moving the getlogical call out of a function and that crashed it upon saving (autowatch is on).

Can anyone shed any light on this, please.
Thanks much,
Andrew

4699.GetLogicalTest.maxpat
Max Patch
Ben Bracken's icon

Hi Andrew,

This is something that I thought was resolved, but it looks like there are still some issues here. I've re-opened a ticket to take another look.

Thanks,
-Ben

Andrew's icon

Thanks, Ben. I just confirmed that my older machine running 10.6.8 crashes the same way.