Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
Joined: Sep 2008
Posts: 84
J
John IV Offline OP
Member
OP Offline
Member
J
Joined: Sep 2008
Posts: 84
From the shoutbox before it scrolls off:

Having a couple problems with nightly, mk4 will assert at the end using 'mame mk4 -str 90 -nothrottle -norc' before producing the percentage speed.

Does not assert with 'mame mk4 -bench 90' only a video / audio run.

0.230 (mame0230-86-g17e0ffb32bf)

Last edited by John IV; 04/05/21 01:58 AM.
Joined: Sep 2008
Posts: 84
J
John IV Offline OP
Member
OP Offline
Member
J
Joined: Sep 2008
Posts: 84
Interesting.
'mame mk4 -str 10 -nothrottle -norc' is ok. Which is why it may have gotten by Tafoid if he's still using that time period. 50 seconds was also ok, but 90 seconds shows the assert.

Last edited by John IV; 04/05/21 01:58 AM.
Joined: Apr 2006
Posts: 729
Senior Member
Offline
Senior Member
Joined: Apr 2006
Posts: 729
By ASSERT you are denoting that testing was done with a DEBUG=1 build?
Can you post what you are getting?
With a normal daily build I am getting no crash with or without video on a 90 second test.
MAME v0.230 (mame0230-91-g4e263a920a8)




Joined: Sep 2008
Posts: 84
J
John IV Offline OP
Member
OP Offline
Member
J
Joined: Sep 2008
Posts: 84
0.230 (mame0230-94-ga23cee7261a)

c:\O\Games\MAME>mame mk4 -str 90 -norc -nothrottle -screen \\.\DISPLAY2
c32boot.bin ROM NEEDS REDUMP
WARNING: the machine might not run correctly.

-----------------------------------------------------
Exception at EIP=00000000011deaa2 (not found): ACCESS VIOLATION
While attempting to read memory at 00000000ad0c0e40
-----------------------------------------------------
RAX=000000008000bc00 RBX=000000002d0b5240 RCX=000000002d0b5240 RDX=000000008000bc00
RSI=000000002c9010c0 RDI=0000000000000006 RBP=0000000000000000 RSP=00000000309dfbf8
R8=0000000000000000 R9=00000000c0005e00 R10=0000000000000000 R11=00000000309dfb30
R12=0000000000000100 R13=a3d70a3d70a3d70b R14=0000000000000001 R15=00000000ff8000bc
-----------------------------------------------------
Stack crawl:

It's right when Raiden says 'banished Shinock' as the camera is panning around him in the rain. I'll do a debug build and see try to get a backtrace.

Last edited by John IV; 04/06/21 07:37 AM.
Joined: Feb 2004
Posts: 2,291
Likes: 19
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,291
Likes: 19
A segmentation fault isn’t an assert…

Joined: Sep 2008
Posts: 84
J
John IV Offline OP
Member
OP Offline
Member
J
Joined: Sep 2008
Posts: 84
Ok I've got a debug build w/ symbols and tried to do 'gdb mame' and then launch the game like the old days but it doesn't appear to be taking. Is there a new method for getting the backtrace?
One of these?
05/17/2020 11:45 PM 88,576 gdbmtool.exe
05/17/2020 11:45 PM 16,896 gdbm_dump.exe
05/17/2020 11:45 PM 19,968 gdbm_load.exe
10/18/2020 04:24 AM 43,844 gdbus.exe

Last edited by John IV; 04/06/21 05:04 PM.
Joined: May 2009
Posts: 1,980
Likes: 24
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,980
Likes: 24
If you're already running MAME with a given set of arguments, just use "gdb --args" and then the entire set of arguments (including the executable) that you would have otherwise.

Once GDB has started up, just type 'run' and hit Enter, and it'll run as it usually should with those arguments.

Joined: Sep 2008
Posts: 84
J
John IV Offline OP
Member
OP Offline
Member
J
Joined: Sep 2008
Posts: 84
Thanks JD, I only see the above gdb*.exes in the buildtools \bin directory. I don't think gdb by itself is there, did it get dropped from the package? It was there a few years ago when I used it last. Can I use any of those other .exes?

Joined: May 2009
Posts: 1,980
Likes: 24
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,980
Likes: 24
If you're following the instructions on the official site that pertain to the build tools, you'll definitely have gdb.

Joined: Sep 2008
Posts: 84
J
John IV Offline OP
Member
OP Offline
Member
J
Joined: Sep 2008
Posts: 84
Looks like gdb.exe is in the prior mysys64 package from mamedev.org (2019-12-23) but is not in the current one (2020-11-03). I snagged it from the prior and put it in my build tools.

...
Laugh, now my debug build doesn't launch, Windows 10 says this app can't run on my PC.

My build was just:
make -j9 -Werror DEBUG=1 SYMBOLS=1

Page 1 of 2 1 2

Link Copied to Clipboard
Who's Online Now
0 members (), 19 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,993
Posts118,153
Members5,005
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com