Big Karnak |
Part-time Lurker
|
|
|
Reged: 05/22/13
|
Posts: 1011
|
Loc: Mount St. Lurkling
|
|
Send PM
|
|
|
Loading Save States Crashes Emulator
#320631 - 01/20/14 04:10 PM
|
|
|
I've noticed that in this recent v0.152, that loading save states crashes a lot of games. Example: 2020 Super Baseball.
Win XP 32-bit
|
|
|
|
Re: Loading Save States Crashes Emulator
[Re: Big Karnak]
#320632 - 01/20/14 04:30 PM
|
|
|
Could you please list some more games? Are they all neogeo games?
|
.
|
|
|
Re: Loading Save States Crashes Emulator
[Re: Big Karnak]
#320633 - 01/20/14 04:30 PM
|
|
|
> I've noticed that in this recent v0.152, that loading save states crashes a lot of > games. Example: 2020 Super Baseball. > > Win XP 32-bit
You might want to open a report at mametesters, including a stack trace.
This is what I get.
[C:\emu\mamesvn]mame 2020bb
----------------------------------------------------- Exception at EIP=020A53A7 (render_container::add_generic(unsigned char, float, f loat, float, float, unsigned int)+0x0047): ACCESS VIOLATION While attempting to read memory at 00000002 ----------------------------------------------------- EAX=00000002 EBX=0AA05788 ECX=7FFDD000 EDX=00000000 ESI=0C73DC97 EDI=0C73DC99 EBP=0028B638 ESP=0028B5D0 ----------------------------------------------------- Stack crawl: 0028B638: 020A53A7 (render_container::add_generic(unsigned char, float, float, float, float, unsigned int)+0x0047) 0028B678: 020A567F (render_container::add_char(float, float, float, float, uns igned int, render_font&, unsigned short)+0x007f) 0028B708: 0207413C (ui_draw_text_full(render_container*, char const*, float, f loat, float, int, int, int, unsigned int, unsigned int, float*, float*)+0x028c) 0028B768: 020EFA5A (cheat_manager::render_text(render_container&)+0x00aa) 00000000: 020734B9 (ui_update_and_render(running_machine&, render_container*)+ 0x0139)
|
|
|
AWJ |
|
|
|
Reged: 03/08/05
|
Posts: 936
|
Loc: Ottawa, Ontario
|
|
Send PM
|
|
|
Re: Loading Save States Crashes Emulator
[Re: ]
#320639 - 01/20/14 07:13 PM
|
|
|
> > I've noticed that in this recent v0.152, that loading save states crashes a lot of > > games. Example: 2020 Super Baseball. > > > > Win XP 32-bit > > > You might want to open a report at mametesters, including a stack trace. > > This is what I get. > > [C:\emu\mamesvn]mame 2020bb > > ----------------------------------------------------- > Exception at EIP=020A53A7 (render_container::add_generic(unsigned char, float, f > loat, float, float, unsigned int)+0x0047): ACCESS VIOLATION > While attempting to read memory at 00000002 > ----------------------------------------------------- > EAX=00000002 EBX=0AA05788 ECX=7FFDD000 EDX=00000000 > ESI=0C73DC97 EDI=0C73DC99 EBP=0028B638 ESP=0028B5D0 > ----------------------------------------------------- > Stack crawl: > 0028B638: 020A53A7 (render_container::add_generic(unsigned char, float, float, > float, float, unsigned int)+0x0047) > 0028B678: 020A567F (render_container::add_char(float, float, float, float, uns > igned int, render_font&, unsigned short)+0x007f) > 0028B708: 0207413C (ui_draw_text_full(render_container*, char const*, float, f > loat, float, int, int, int, unsigned int, unsigned int, float*, float*)+0x028c) > 0028B768: 020EFA5A (cheat_manager::render_text(render_container&)+0x00aa) > 00000000: 020734B9 (ui_update_and_render(running_machine&, render_container*)+ > 0x0139)
Very strange, I tested savestates in the MESS aes driver just last night and they worked fine, but loading a savestate in any MAME neogeo game crashes MAME unless you load the state in the same session as you saved it.
|
|
|
|
Re: Loading Save States Crashes Emulator
[Re: AWJ]
#320641 - 01/20/14 07:32 PM
|
|
|
> Very strange, I tested savestates in the MESS aes driver just last night and they > worked fine, but loading a savestate in any MAME neogeo game crashes MAME unless you > load the state in the same session as you saved it.
Yeah it works in MAME if you save and load it straight away, but not if you save, exit, start again and then load it. I didn't try MESS.
(even if you save state a, exit, start again, save state b, you can load state b but not state a).
My initial guess is that something in the save state is storing the contents of a pointer and not what it's pointing to, which changes each time you load.
Edited by smf (01/20/14 07:34 PM)
|
|
|
AWJ |
|
|
|
Reged: 03/08/05
|
Posts: 936
|
Loc: Ottawa, Ontario
|
|
Send PM
|
|
|
Re: Loading Save States Crashes Emulator
[Re: ]
#320657 - 01/20/14 10:43 PM
|
|
|
> > Very strange, I tested savestates in the MESS aes driver just last night and they > > worked fine, but loading a savestate in any MAME neogeo game crashes MAME unless > you > > load the state in the same session as you saved it. > > Yeah it works in MAME if you save and load it straight away, but not if you save, > exit, start again and then load it. I didn't try MESS. > > (even if you save state a, exit, start again, save state b, you can load state b but > not state a). > > My initial guess is that something in the save state is storing the contents of a > pointer and not what it's pointing to, which changes each time you load.
No, it was even more pedestrian: passing the wrong size to save_pointer(). The fact that it didn't crash on MESS when I tested it was sheer dumb luck.
|
|
|
Big Karnak |
Part-time Lurker
|
|
|
Reged: 05/22/13
|
Posts: 1011
|
Loc: Mount St. Lurkling
|
|
Send PM
|
|
|
Re: Loading Save States Crashes Emulator
[Re: AWJ]
#320759 - 01/23/14 04:05 AM
|
|
|
Was this reported to MAME Testers?...(I couldn't register.) Or is this major issue just going to be ignored in favor of working on some new, exciting mechanical slot machines.
(last part was just a joke... relax sycophants)
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: Loading Save States Crashes Emulator
[Re: Big Karnak]
#320760 - 01/23/14 04:07 AM
|
|
|
> Was this reported to MAME Testers?...(I couldn't register.) Or is this major issue > just going to be ignored in favor of working on some new, exciting mechanical slot > machines.
Not only was it reported, but it is resolved and fixed as well
|
|
|
|
Re: Loading Save States Crashes Emulator
[Re: B2K24]
#320823 - 01/23/14 09:01 PM
|
|
|
> > Was this reported to MAME Testers?...(I couldn't register.) Or is this major issue > > just going to be ignored in favor of working on some new, exciting mechanical slot > > machines. > > > Not only was it reported, but it is resolved and fixed as well
Yeah, note threads above. Also, you don't have to be registered to view reports at MAMEtesters.
|
Scifi frauds. SF illuminates.
_________________
Culture General Contact Unit (Eccentric)
|
|
|