https://bugs.dolphin-emu.org/https://bugs.dolphin-emu.org/favicon.ico?12021-12-05T01:51:04ZDolphin bug trackerEmulator - Emulator Issues #12752: MacOS Universal builds immediately crash on macOS Mojave (10.14.6)https://bugs.dolphin-emu.org/issues/12752?journal_id=7434122021-12-05T01:51:04ZOatmealDome
<ul></ul><p>5.0-15586 starts up correctly on my Intel Mac, though I'm running Monterey. Unfortunately, I don't have a Mojave machine around to test...</p>
<p>The crash log is... quite odd. Not sure why the Objective-C runtime is failing.</p>
<p>Specs:<br>
MacBook Pro 16" (2019)<br>
macOS Monterey 12.0.1</p>
Emulator - Emulator Issues #12752: MacOS Universal builds immediately crash on macOS Mojave (10.14.6)https://bugs.dolphin-emu.org/issues/12752?journal_id=7434132021-12-05T01:58:07ZCelestialAmber
<ul></ul><p>I was thinking maybe Mojave has issues with Universal binaries, but I'm not sure about that.</p>
Emulator - Emulator Issues #12752: MacOS Universal builds immediately crash on macOS Mojave (10.14.6)https://bugs.dolphin-emu.org/issues/12752?journal_id=7434172021-12-06T07:51:36ZMayImilae
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Accepted</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Milestone</strong> set to <i>Current</i></li></ul><p>Tested on macOS 10.13.3 High Sierra, and reproduced this issue. The latest dev version universal build also does not run on that machine. The last intel build, 5.0-15146, does run on 10.13.</p>
<p>Universal Builds should work no matter how old the macOS version is, I mean, it's been a concept in macOS since the PowerPC days. And the lack of any kind of minimum OS requirements in the announcements seems to indicate that is true. I'm pretty sure our builder is just doing something silly <del>right now</del>.</p>
<p>EDIT: 5.0-14295 Universal also fails. That's the very first universal build. Whoops, I wish I tested this.</p>
<p>Tested on system:<br>
MacBook Pro 13in 2012<br>
Intel Core i5-3210M @ 2.5ghz<br>
Intel HD Graphics 4000<br>
MacOS 10.13.3 High Sierra</p>
Emulator - Emulator Issues #12752: MacOS Universal builds immediately crash on macOS Mojave (10.14.6)https://bugs.dolphin-emu.org/issues/12752?journal_id=7434192021-12-06T14:06:12ZMayImilae
<ul><li><strong>Operating system</strong> <i>OS X</i> added</li><li><strong>Operating system</strong> deleted (<del><i>N/A</i></del>)</li></ul> Emulator - Emulator Issues #12752: MacOS Universal builds immediately crash on macOS Mojave (10.14.6)https://bugs.dolphin-emu.org/issues/12752?journal_id=7434202021-12-07T03:34:03ZOatmealDome
<ul></ul><p>I installed a macOS Mojave 10.14.6 VM and reproduced the crash with builds made by the buildbot. However, builds made locally with Xcode 11.3.1 work perfectly fine. It doesn't appear to be Qt related either, since if I copy and paste the frameworks from my local version into the buildbot version, the crash will occurs. I'm honestly baffled.</p>
<p>Looking at the call stack, it appears that the crash occurs when -[NSApplication init] attempts to call +[NSCursor _makeCursors]. Can't find much information on this function on the Internet.</p>
<p>I tried fiddling with the LC_VERSION_MIN_MACOSX field in the Mach-O executable in case it was some sort of weird macOS compatibility issue, but it didn't help. Extracting the x86_64 slice and running that didn't do anything either, so it probably has nothing to do with the universal binary stuff.</p>
<p>Maybe it's something to do with the installed macOS SDK on the buildbot?</p>
Emulator - Emulator Issues #12752: MacOS Universal builds immediately crash on macOS Mojave (10.14.6)https://bugs.dolphin-emu.org/issues/12752?journal_id=7434272021-12-09T05:28:37ZTellowKrinkle
<ul></ul><p>Looks like it's SDL, which was built with a minimum macOS version of 11.0</p>
Emulator - Emulator Issues #12752: MacOS Universal builds immediately crash on macOS Mojave (10.14.6)https://bugs.dolphin-emu.org/issues/12752?journal_id=7434282021-12-09T05:32:56ZTellowKrinkle
<ul></ul><p>Not sure if you are, but you have to be careful around grabbing binaries from Homebrew, as they always build for the latest macOS</p>
<p>And check the linker output for warnings like</p>
<pre><code>ld: warning: dylib (/usr/local/lib/libportaudio.dylib) was built for newer macOS version (12.0) than being linked (10.13)
</code></pre> Emulator - Emulator Issues #12752: MacOS Universal builds immediately crash on macOS Mojave (10.14.6)https://bugs.dolphin-emu.org/issues/12752?journal_id=7434862021-12-20T01:38:52ZCelestialAmber
<ul></ul><p><a class="user active user-mention" href="https://bugs.dolphin-emu.org/users/34070">@OatmealDome</a> What was the cause?</p>
Emulator - Emulator Issues #12752: MacOS Universal builds immediately crash on macOS Mojave (10.14.6)https://bugs.dolphin-emu.org/issues/12752?journal_id=7434872021-12-20T01:49:33ZOatmealDome
<ul></ul><p>The SDL on the Dolphin build machine is built with macOS 11.0 and higher compatibility, which causes it to be incompatible with 10.13 and 10.14. See TellowTrinkle's replies above.</p>
<p>Unfortunately, the issue is unable to be fixed at the moment due to an ongoing issue on the build machine.</p>
Emulator - Emulator Issues #12752: MacOS Universal builds immediately crash on macOS Mojave (10.14.6)https://bugs.dolphin-emu.org/issues/12752?journal_id=7435522021-12-27T14:03:30ZMayImilae
<ul><li><strong>Status</strong> changed from <i>Accepted</i> to <i>Fixed</i></li></ul><p>All fixed! Latest Dolphin Universal Builds now work on High Sierra. Specifically tested 5.0-15697 on my 2012 MacBook Pro with MacOS 10.13.3 High Sierra.</p>
<p>Thank you Oatmealdome for getting it all sorted! And thank you CelestialAmber for bringing it to our attention.</p>