EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Carbon on 05 September 2019, 21:12

Title: ClrMAME 64 bit crashes under Wine
Post by: Carbon on 05 September 2019, 21:12
As a happy user of clrmamepro on macOS using Wine for the last several years, I've recently been trying out the 64 bit version with the impending release of macOS 15 which no longer will support any 32 bit executable.

Sadly, even under the latest version of Wine (4.15), at launch the "Welcome to clrmamepro" message is displayed, but clrmamepro crashes as soon as I click the OK button. Other programs (e.g. mame64b itself) run fine under Wine.

I've added the backtrace to this post. If there is anything I can do to debug this issue Roman, I'll gladly try to help.
Title: Re: ClrMAME 64 bit crashes under Wine
Post by: Roman on 06 September 2019, 06:29
did you try the latest nightly build of cmpro?
Title: Re: ClrMAME 64 bit crashes under Wine
Post by: Carbon on 06 September 2019, 15:02
If you mean the one from May of this year, then yes.
Title: Re: ClrMAME 64 bit crashes under Wine
Post by: Roman on 06 September 2019, 16:33
did it work before and with updating wine/macos it fails?
Or did you only use the 32 bit build in the past?
Title: Re: ClrMAME 64 bit crashes under Wine
Post by: Carbon on 06 September 2019, 16:41
In the past I only used the 32 bit versions which worked perfectly fine under any Wine and macOS combination.

It's only the 64 build that throws an exception (on macOS 10.14, the current one, and a beta of 10.15, the next one which ditches 32 bit support). I only tested the lates build 4.15 of Wine for the 64 bit build.
Title: Re: ClrMAME 64 bit crashes under Wine
Post by: Roman on 06 September 2019, 16:47
hmm....ok...nice to know that's 64bit based..(although it runs flawlessly under Windows ;-))
Guess it will be very very tricky to find out what is actually causing the problem.....could be a WINE issue.....maybe fixed in a nightly build....
Could be something totally different.

Sorry but currently I don't see a chance from my side to look at it (due to nearly no free time).
Maybe someone has experiences with a LINUX / WINE combination and the 64bit version....if it runs there I'd blame the WINE build under MacOS.

I will however check what's happening near that "OK" click to see what might be causing this.....but don't count on any update soon
Title: Re: ClrMAME 64 bit crashes under Wine
Post by: Carbon on 06 September 2019, 17:43
Thanks, no pressure, clrmamepro runs fine under full virtualisation anyway  :)

Just wanted to mention it here in case someone had the same (or a similar) problem and found a solution.
Title: Re: ClrMAME 64 bit crashes under Wine
Post by: Starshadow on 07 September 2019, 12:20
I am using clrmamepro 64 bit under wine on linux and while it's not 100% flawless, it's definitely functional. I'm using wine 4.14 at this time because 4.15 introduced some glitches in other programs I use, but clrmamepro was working ok under 4.15. My suggestion would be to open up winecfg and add cmpro64.exe to the Applications tab, and then kick the settings around and see if you can make any difference. My emulated windows version is 10, and I use "Emulate a virtual desktop" on the Graphics tab. I hope you can get it fixed.
Title: Re: ClrMAME 64 bit crashes under Wine
Post by: Carbon on 07 September 2019, 20:50
Thanks for your suggestions, Starshadow, but Wine still crashes after I click on the OK button in the initial Welcome window.

Seems like a macOS specific bug of Wine.