We are trying to run one of our Intel Linux console apps in an ARM Linux VM on an M1 Mac via Rosetta 2 (Apple added Rosetta 2 support for ARM Linux VMs in Ventura).
Unfortunately, when we start our app we get the following crash from the Xojo framework.
Runtime Error
Please report what caused this error along with the information below.
Common/ObjectGlue.cpp: 147
Failure Condition: mClassPtr
StackOverflowException
Aborted
As far as we can tell we have all of the required AMD64 libraries installed that Rosetta 2 / our app would need so it should just work.
Does anybody have information on what could be triggering the crash?
NOTE. I know Xojo compiles for ARM Linux but this project relies on a 3rd party library that does not have ARM Linux support (yet) so we were hoping to use Rosetta 2 in the meantime.
The executable and all libraries are the Intel (AMD64) versions.
That note was to try and avoid somebody replying with “just compile your app for ARM Linux”. That, of course, would be the best solution but cannot be done until we have a ARM version of this library.