Exception handling completely broken in sandboxed intel mac apps

Just filed this one, seems really bad, but I’d like to see if somebody else can reproduce this. I’ve got it happening on two machines running ventura.

https://tracker.xojo.com/xojoinc/xojo/-/issues/72603

You’ll need a developer id to test this. As it says in the description, you’ll need to update the signing identity in the post-build step, then run it on intel hardware.

I haven’t tried to reproduce your example.

But there are other reports that might be related and also contain a crash on DecodeMachOTraceback (Intel processors only, when sandboxed) such as:

https://tracker.xojo.com/xojoinc/xojo/-/issues/72314

Oh, that sure looks identical.