Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07541 Crash/Freeze Critical (emulator) N/A Jan 8, 2020, 08:22 Feb 14, 2020, 06:33
Tester georgc3 View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows 10 (64-bit)
Status [?] Confirmed Driver
Version 0.217 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 07541: swa: crashes with access violation toward the end of final stage
Description Although the game was promoted to working status but crashes with access violation during the gameplay toward the end of the final stage.
Steps To Reproduce 1) Start the game with official mame
2) Play the game until you reach the final stage facing death star where you face the generator the last thing you destroy to beat the game. Then fire the target with your laser and protons.
3) The game crashes with access violation and also crashes the emulator.
Additional Information Exception at EIP=000000000167d52a (model1_state::push_object(unsigned int, unsigned int, unsigned int) [clone .part.0]+0x00ba): ACCESS VIOLATION
While attempting to read memory at 000000001fc76b0c
-----------------------------------------------------
RAX=00000000007d8eb3 RBX=000000001388df00 RCX=000000001388df00 RDX=0000000022036110
RSI=00000000007d8eb3 RDI=000000001dd13040 RBP=0000000010648de0 RSP=0000000010648d60
 R8=00000000c67d8eb3 R9=0000000022036110 R10=00000000000000e8 R11=000000000163bdff
R12=000000001388df00 R13=000000000cb66cd0 R14=000000002203612c R15=000000000e2232b0
-----------------------------------------------------
Stack crawl:
  0000000010648e40: 000000000167d52a (model1_state::push_object(unsigned int, unsigned int, unsigned int) [clone .part.0]+0x00ba)
  0000000010648f70: 000000000167ea35 (model1_state::tgp_render(bitmap_rgb32&, rectangle const&) [clone .part.0]+0x0255)
  0000000010649000: 00000000016805df (model1_state::screen_update_model1(screen_device&, bitmap_rgb32&, rectangle const&)+0x024f)
  00000000106490b0: 00000000059adc14 (screen_device::update_partial(int)+0x0284)
  0000000010649140: 00000000059e0e46 (video_manager::finish_screen_updates()+0x00c6)
  00000000106491c0: 00000000059e28d8 (video_manager::frame_update(bool)+0x0168)
  0000000010649240: 00000000059adf33 (screen_device::device_timer(emu_timer&, unsigned int, int, void*)+0x02e3)
  0000000010649280: 00000000059a3acd (emu_timer::device_timer_expired(emu_timer&, void*, int)+0x002d)
  0000000010649300: 00000000059a4ad9 (device_scheduler::timeslice()+0x0169)
  00000000106493f0: 0000000005962de0 (running_machine::run(bool)+0x0130)
  000000001064f0a0: 0000000003c948f8 (mame_machine_manager::execute()+0x01c8)
  000000001064f370: 0000000003d0e593 (cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x0303)
  000000001064f610: 0000000003d0e9cb (cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)+0x005b)
  000000001064f670: 0000000003c92a3c (emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)+0x002c)
  000000001064fe20: 000000000a5999e2 (main+0x0182)

Github Commit
Flags
Regression Version
Affected Sets / Systems swa
Attached Files
7z file icon swa save state.7z (160,112 bytes) Jan 12, 2020, 07:34 Uploaded by georgc3
Star Wars Arcade Savestate file
png file icon game crashed.png (153,175 bytes) Jan 12, 2020, 07:34 Uploaded by georgc3
georgc3
Relationships
There are no relationship linked to this issue.
Notes
8
User avatar
No.17328
Tafoid
Administrator
Jan 8, 2020, 12:24
It would be very helpful if you could provide a save state or better yet an .inp (-record swa.inp) file of a playthrough in which this happens so it can be quickly diagnosed.
User avatar
No.17336
georgc3
Tester
Jan 9, 2020, 00:50
Okay, I provided the savestate file which leads towards the end of the final stage. It will show the game and mame crashed due to access violation. I could not provide an inp file since savestates causes the inp file to desync so the savestate file was the best thing I can provide.
User avatar
No.17338
Firewave
Senior Tester
Jan 9, 2020, 07:40
The save state doesn't work with 0.217. Which version did you use to create it?
User avatar
No.17340
georgc3
Tester
Jan 9, 2020, 11:44
I used 0.217 to create a save state. It works when I used it. I do not understand why it is not working on your end.
User avatar
No.17341
Firewave
Senior Tester
Jan 9, 2020, 13:15
I am using a 32-bit build. Maybe there is a bug in the save state system - or maybe it isn't supposed to work.
User avatar
No.17342
Osso
Moderator
Jan 9, 2020, 13:26
model1.cpp isn't flagged as supporting save, thus they aren't supposed to work. If the OP got to the point of the crash only using save states, it's possible the crash might be caused by that.
User avatar
No.17344
georgc3
Tester
Jan 9, 2020, 19:32
edited on: Jan 12, 2020, 07:43
Firewave,

I used the 64-bit version of mame (downloaded from the mamedev site) to create a savestate. You need to use the 64-bit version of mame to use the savestate. The reason why I uploaded a savestate file is because Tafoid suggested it.


Update: Posted a YouTube video of someone able to verify the crash. Watch the video on 13:26. That's when the crash start.
User avatar
No.17346
Haze
Senior Tester
Jan 10, 2020, 20:06
it happens without states too, multiple people have confirmed it