Previous Thread
Next Thread
Print Thread
A Mac-specific bug? #115308
05/15/19 02:35 PM
05/15/19 02:35 PM
Joined: Sep 2004
Posts: 43
Italy
V
Van Ba Offline OP
Member
Van Ba  Offline OP
Member
V
Joined: Sep 2004
Posts: 43
Italy
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
05/15/19 02:57 PM
Joined: Feb 2004
Posts: 2,050
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,050
Sydney, Australia
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
05/15/19 03:11 PM
Joined: Mar 2001
Posts: 16,226
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,226
USA
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
05/16/19 01:06 AM
Joined: Feb 2014
Posts: 259
G
Golden Child Offline
Senior Member
Golden Child  Offline
Senior Member
G
Joined: Feb 2014
Posts: 259
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
05/16/19 01:35 AM
Joined: Mar 2001
Posts: 16,226
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,226
USA
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
05/16/19 08:06 PM
Joined: Sep 2004
Posts: 43
Italy
V
Van Ba Offline OP
Member
Van Ba  Offline OP
Member
V
Joined: Sep 2004
Posts: 43
Italy
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
1 registered members (Pernod), 146 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,659
Posts113,530
Members4,847
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.039s Queries: 14 (0.018s) Memory: 5.6235 MB (Peak: 5.8107 MB) Zlib enabled. Server Time: 2019-06-26 11:50:06 UTC