Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
09038 Crash/Freeze Critical (emulator) Always Dec 18, 2024, 07:53 9 days ago
Tester Robbbert View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS Windows 10/11 (64-bit)
Status [?] Confirmed Driver
Version 0.272 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 09038: vs29815, vs29915, vs29915a, vs29915j: Crash soon after start
Description These games will firstly show a black screen, with windows intermittently showing "not responding", and then followed by a crash.
Steps To Reproduce start the game and sit back.
Additional Information C:\MAME>mame vs29915

-----------------------------------------------------
Exception at EIP=00007ff7dbbea048 (__cxa_throw_bad_array_new_length+0x30c09a8): ACCESS VIOLATION
While attempting to write memory at 00007ff7dbbea048
-----------------------------------------------------
RAX=00007ff7dbbea048 RBX=000001f6d0facfe0 RCX=0000000000000003 RDX=00000006be6f9840
RSI=0000000000000308 RDI=0000000080021000 RBP=000001f6b72d0080 RSP=00000006be6f97c8
 R8=0000000000000000 R9=0000000000000001 R10=000000000010000b R11=00000006be6f6440
R12=00000000f900008f R13=00007ff7dbbfaea0 R14=0000000000000308 R15=00000000f90000f0
-----------------------------------------------------
Stack crawl:
  00000006be6f97c0: 00007ff7dbbea048 (luaopen_lfs+0x61e8a58)
  00000006be6f98b0: 00007ff7cdbb0945 (device_execute_interface::device_input::set_state_synced(int, int)+0x0385)
  00000006be6f9930: 00007ff7cdb4c5ac (device_scheduler::timeslice()+0x04ac)
  00000006be6f9ab0: 00007ff7cdb49495 (running_machine::run(bool)+0x01c5)
  00000006be6ff0d0: 00007ff7d0ca301c (mame_machine_manager::execute()+0x024c)
  00000006be6ff4c0: 00007ff7d49ca4ea (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&)+0x03ea)
  00000006be6ff7d0: 00007ff7d49cab1a (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> > > >&)+0x007a)
  00000006be6ff830: 00007ff7d0c9ddc7 (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> > > >&)+0x0027)
  00000006be6ffc00: 00007ff7d66613e1 (luaopen_lfs+0xc5fdf1)
  00000006be6ffc50: 00007ff7c9da12ee (__tmainCRTStartup+0x016e)
  00000006be6ffc80: 00007ff7c9da1406 (mainCRTStartup+0x0016)
  00000006be6ffcb0: 00007ffd66bf7374 (BaseThreadInitThunk+0x0014)
  00000006be6ffd30: 00007ffd68b3cc91 (RtlUserThreadStart+0x0021)
Github Commit
Flags Noted in Source
Regression Version
Affected Sets / Systems vs29815, vs29915, vs29915a, vs29915j
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
7
User avatar
No.22638
Firewave
Senior Tester
Dec 20, 2024, 14:34
Ignoring MAME exception: LSI53C810: reg_w: Unknown reg F0, 00

terminate called after throwing an instance of 'emu_fatalerror'
  what():  LSI53C810: reg_w: Unknown reg F0, 00

Looks like there is a missing `catch` somewhere.

Sets are flagged MNW so this report should be invalid.
User avatar
No.22651
hap
Developer
Dec 20, 2024, 17:18
If it's fatalerroring (instead of crash), then yeah, MT report can be closed. Unless the game was half-working before and it's a regression.
User avatar
No.22652
cuavas
Administrator
Dec 21, 2024, 00:52
> Looks like there is a missing `catch` somewhere.

Recompiled code has no unwind tables, so exceptions can’t propagate across it.
User avatar
No.22668
JimCarlTay
Tester
Dec 22, 2024, 10:19
edited on: Dec 22, 2024, 10:44
Confirmed. It's likely a complete freeze at first, and then MAME closes itself afterward. Likely a crash.
User avatar
No.23329
JimCarlTay
Tester
9 days ago
As of build f1f9ec3: Attempting to load the game (from those affected sets) causes the emulator to crash without freezing and gives a fatal error. The error message appears after a brief black screen.

The message (from vs29915): "Fatal error: LSI53C810: reg_w: Unknown reg F0, 00"
User avatar
No.23333
Robbbert
Moderator
9 days ago
There's a long-term bug when run in Windows that prevents certain fatal errors from showing, including this one.

When run normally only the dump appears. When run under debug, there's nothing at all - it just exits to the command line.
User avatar
No.23335
Kale
Developer
9 days ago
edited on: 9 days ago
vs29815 - massive memory trashing and page faults

As for the crash, game trashes $f9000000-$f900ffff area for some reason, which happens to touch SCSI registers and the chip is not even supposed to have registers beyond $5f. It may be setting up PCI BARs in a noticeably different way than other Model 3 games causing the crash.