Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07084 Crash/Freeze Critical (emulator) Always Sep 2, 2018, 16:26 Jun 27, 2023, 11:37
Tester Tafoid View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS Windows Vista/7/8 (64-bit)
Status [?] Confirmed Driver
Version 0.201 Fixed in Version Build Debug
Fixed in Git Commit Github Pull Request #
Summary 07084: giclasex: [debug] Assertion Failed! Expression: offset < ARRAY_LENGTH(m_regsb)
Description
Assertion failed: offset < std::size(m_regsb), file ../../../../../src/mame/video/k054156_k054157_k056832.cpp, line 1072
Steps To Reproduce
Additional Information
Github Commit
Flags Debug build specific
Regression Version 0.194
Affected Sets / Systems giclasex
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
5
User avatar
No.15400
Robbbert
Senior Tester
Sep 6, 2018, 09:18
Game crashes after about 2-3 seconds on my normal 32-bit build.

Output consists of a row of dashes.
User avatar
No.15415
Tafoid
Administrator
Sep 6, 2018, 17:34
Yes, the DEBUG=1 build will show the assert and is the same message as 06969
User avatar
No.21590
Robbbert
Senior Tester
Jun 27, 2023, 05:55
-----------------------------------------------------
Exception at EIP=00007ff6f1198f00 (ioport_field::set_value(unsigned int)): ACCESS VIOLATION
While attempting to read memory at ffffffffffffffff
-----------------------------------------------------
RAX=00000000000000f2 RBX=0000016c39a684e6 RCX=ff000000ff000000 RDX=0000000000000000
RSI=00000000000000ae RDI=0000016c39a67c70 RBP=0000000000000000 RSP=00000052d5319398
 R8=00000000ffffffff R9=0000000000000324 R10=0000016c389a9210 R11=0000016c38995130
R12=0000000000000000 R13=00000052d53194a0 R14=00007ff6fe88e680 R15=00000052d5319910
-----------------------------------------------------
Stack crawl:
  00000052d5319390: 00007ff6f1198f00 (ioport_field::set_value(unsigned int))
  00000052d5319420: 00007ff6f4bd9f3c (ui_input_manager::frame_update()+0x006c)
  00000052d5319460: 00007ff6f1398eaa (running_machine::call_notifiers(machine_notification)+0x003a)
  00000052d53194f0: 00007ff6f4b72b1d (video_manager::frame_update(bool)+0x00dd)
  00000052d5319560: 00007ff6f1389d43 (screen_device::vblank_begin(int)+0x0233)
  00000052d53195d0: 00007ff6f13a2f3b (device_scheduler::timeslice()+0x014b)
  00000052d5319750: 00007ff6f13a011f (running_machine::run(bool)+0x01bf)
  00000052d531ec80: 00007ff6f49c922b (mame_machine_manager::execute()+0x024b)
  00000052d531f070: 00007ff6f8aeb156 (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&)+0x03e6)
  00000052d531f350: 00007ff6f8aeb77b (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> > > >&)+0x007b)
  00000052d531f3b0: 00007ff6f49c39e9 (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> > > >&)+0x0029)
  00000052d531f770: 00007ff6fa66ec23 (luaopen_lfs+0xb675c3)
  00000052d531f840: 00007ff6ecc813b1 (__tmainCRTStartup+0x0231)
  00000052d531f870: 00007ff6ecc814e6 (mainCRTStartup+0x0016)
  00000052d531f8a0: 00007ff9cdb77614 (BaseThreadInitThunk+0x0014)
  00000052d531f920: 00007ff9cf2a26f1 (RtlUserThreadStart+0x0021)
User avatar
No.21591
hap
Developer
Jun 27, 2023, 10:59
crashes are possibly fixed here: https://github.com/mamedev/mame/commit/05c8f37232a9e030ff494f85f8f01c5ea8bfdc13
I haven't tried a 32bit build or debug build.
User avatar
No.21592
Robbbert
Senior Tester
Jun 27, 2023, 11:37
Amazing, it actually shows something now. But pressing F3 just puts it back to the rom-checking screen where it hangs.

But at least it isn't crashing any more.