https://bugs.winehq.org/show_bug.cgi?id=54432
Bug ID: 54432 Summary: Missing ntdll.RtlAddressInSectionTable() implementation causes all GraalVM Native Image exes to crash on load Product: Wine Version: 8.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: axel@axelfontaine.com Distribution: ---
All exes produced by GraalVM Native Image attempt to locate a copy of their initial heap within the exe file. To do so they use the ntdll.RtlAddressInSectionTable() call as can be seen here: https://github.com/oracle/graal/blob/master/substratevm/src/com.oracle.svm.c...
As wine always returns 0, all these exes fail the following check on startup: https://github.com/oracle/graal/blob/master/substratevm/src/com.oracle.svm.c...
And terminate immediately with exit code 127.