Previous Thread
Next Thread
Print Thread
MAME 0.214 crashes at startup on Catalina #116189 10/16/19 10:08 PM
Joined: May 1999
Posts: 568
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 568
Here's the output:
Code
dyld: Symbol not found: __ZTINSt3__112bad_weak_ptrE
  Referenced from: /Applications/Emulation/MAME/./MAME
  Expected in: /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
 in /Applications/Emulation/MAME/./MAME
zsh: abort      ./MAME


I built it using a beta of Xcode 11 before Catalina was released. Could that be the source of the crash?

Last edited by Carbon; 10/16/19 10:09 PM.
Re: MAME 0.214 crashes at startup on Catalina [Re: Carbon] #116219 10/19/19 08:27 AM
Joined: May 1999
Posts: 568
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 568
I compiled MAME 0.214 again using the release version of Xcode 11.1 and the crash at start-up has disappeared.

But now graphics output is limited to the lower left corner of the screen. I'm using "auto" for graphics in windowed mode in the ini file.

[Linked Image from i.postimg.cc]

Re: MAME 0.214 crashes at startup on Catalina [Re: Carbon] #116220 10/19/19 11:56 AM
Joined: Mar 2001
Posts: 16,391
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,391
On Catalina you're best off using -video bgfx, -bgfx_backend metal is fastest (but doesn't work if you use the CRT shader right now). -bgfx_backend opengl works fine, it's just a bit slower.

Re: MAME 0.214 crashes at startup on Catalina [Re: Carbon] #116224 10/19/19 07:02 PM
Joined: Mar 2001
Posts: 16,391
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,391
The OpenGL problem on Catalina is that they switched the default on Retina support. The next version of SDL will fix it, and I'm attempting a MAME-side fix as well.

Re: MAME 0.214 crashes at startup on Catalina [Re: Carbon] #116225 10/19/19 09:22 PM
Joined: May 1999
Posts: 568
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 568
Great, thanks.

Re: MAME 0.214 crashes at startup on Catalina [Re: Carbon] #116434 11/15/19 03:23 AM
Joined: Mar 2001
Posts: 16,391
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,391
BTW, I've confirmed that with SDL 2.0.10 MAME works fine with Catalina's built-in PS4 controller support. (Xbox One controllers should work too).

Re: MAME 0.214 crashes at startup on Catalina [Re: Carbon] #116445 11/17/19 01:52 AM
Joined: Mar 2001
Posts: 16,391
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,391
The -video OpenGL 1/4 size problem on Catalina has been worked around. The workaround will automatically disable itself if SDL 2.0.11 or later is used, since that's supposed to fix it in a better way.

Additionally, -video auto will now select BGFX on the Mac rather than OpenGL now that Metal in BGFX is fully functional.

Re: MAME 0.214 crashes at startup on Catalina [Re: Carbon] #116448 11/17/19 06:56 PM
Joined: Sep 2000
Posts: 224
W
will Offline
Senior Member
Offline
Senior Member
W
Joined: Sep 2000
Posts: 224
Thanks RB! I'm getting errors trying to compile latest Git:

4 warnings and 2 errors generated.
make[2]: *** [../../../../osx_clang/obj/x64/Release/osd_sdl/src/osd/modules/debugger/osx/disassemblyview.o] Error 1
make[1]: *** [osd_sdl] Error 2
make: *** [macosx_x64_clang] Error 2


=will=
Re: MAME 0.214 crashes at startup on Catalina [Re: Carbon] #116449 11/17/19 07:12 PM
Joined: Feb 2004
Posts: 2,095
Vas Crabb Offline
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,095
Pull the latest - I'm sick and I stayed awake literally all night, so I'm not quite with it. (Insert usual comment that anything other than tagged releases are not guaranteed to build for all supported targets, blablabla…)

Re: MAME 0.214 crashes at startup on Catalina [Re: Carbon] #116450 11/17/19 10:04 PM
Joined: Sep 2000
Posts: 224
W
will Offline
Senior Member
Offline
Senior Member
W
Joined: Sep 2000
Posts: 224
Thanks! I got it to compile and see OpenGL issue was fixed, runs full screen now on my Retina display.

Running bgfx with OpenGL backend still crashes.
zsh: illegal hardware instruction ./mame64 dkong -bgfx_backend opengl

Multiple screen games like Darius are still messed up with bgfx unless using chains.
So I'm glad I can default back to OpenGL now.


=will=

Moderated by  R. Belmont 

Who's Online Now
0 registered members (), 54 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,722
Posts114,638
Members4,873
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3