Previous Thread
Next Thread
Print Thread
A Mac-specific bug? #115308 05/15/19 02:35 PM
Joined: Sep 2004
Posts: 43
V
Van Ba Offline OP
Member
OP Offline
Member
V
Joined: Sep 2004
Posts: 43
With the 0.208 and 0.209 versions, if I try to launch Breakout (breakout) or Pong revision E (pongf) on my MacBookPro with MacOS 10.13, this error message appears:

Quote
Caught unhandled St16invalid_argument exception: Continuation after numeric value ends: 2.52
Found 1 info blocks
Found block with 1 dangling allocations


This error does not occur, using version 0.200.
Launching Pong Doubles (pongd, same driver), the error does not occur using any version.
I asked for help in the MAMEdev forum, and it seems all three games run smoothly without errors in other systems (Windows and Linux).

I installed the pre-compiled versions - downloaded from lngn.net and choccyhobnob.com - because I don't have enough disk space on the MacBookPro to install XCode.
I don't know if I'll find the time to compile MAME using my very old MacPro with MacOS 10.6; I don't even know if it's still possible.
Can someone compile MAME on a new Mac - even waiting for the new version in two weeks - and check if the error persists?

Re: A Mac-specific bug? [Re: Van Ba] #115309 05/15/19 02:57 PM
Joined: Feb 2004
Posts: 2,081
Vas Crabb Offline
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,081
It's possibly related to clang libc++ vs GNU libstdc++ so someone on Linux could test as well. Sorry I don't have time to look into this at the moment.

Re: A Mac-specific bug? [Re: Van Ba] #115310 05/15/19 03:11 PM
Joined: Mar 2001
Posts: 16,374
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,374
It's also possible couriersud's recent reorganizations have fixed the problem since 0.209 came out. I can try it tonight on my MBP.

Re: A Mac-specific bug? [Re: Van Ba] #115311 05/16/19 01:06 AM
Joined: Feb 2014
Posts: 354
G
Golden Child Offline
Senior Member
Offline
Senior Member
G
Joined: Feb 2014
Posts: 354
on my Ubuntu 18.04 LTS I compiled 209 with both clang and gcc and they both seemed to work fine with pongf and breakout. That was super easy to compile with clang, just "sudo apt install clang" and add OVERRIDE_CC=clang OVERRIDE_CXX=clang++ to the make command line.


$ make -j4 OVERRIDE_CC=clang OVERRIDE_CXX=clang++

208 with gcc seemed to work fine as well.

Re: A Mac-specific bug? [Re: Van Ba] #115312 05/16/19 01:35 AM
Joined: Mar 2001
Posts: 16,374
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,374
With latest github, breakout and pongf both work fine for me on macOS 10.14.5 beta.

Re: A Mac-specific bug? [Re: R. Belmont] #115317 05/16/19 08:06 PM
Joined: Sep 2004
Posts: 43
V
Van Ba Offline OP
Member
OP Offline
Member
V
Joined: Sep 2004
Posts: 43
Thank you, I'll do my best to compile and run the next version of MAME under High Sierra.


Moderated by  R. Belmont 

Who's Online Now
4 registered members (AJR, R. Belmont, exidyboy, 1 invisible), 149 guests, and 3 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,711
Posts114,502
Members4,869
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3