Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08370 Crash/Freeze Critical (emulation) Random Jul 7, 2022, 01:32 Jul 9, 2022, 16:47
Tester Robbbert View Status Public Platform MAME (Self-compiled)
Assigned To holub Resolution Fixed OS Windows 10/11 (64-bit)
Status [?] Resolved Driver
Version 0.245 Fixed in Version 0.246 Build 64-bit
Fixed in Git Commit 78a7de1 Github Pull Request # #10053
Summary MESS-specific 08370: tc2048: Crash at start
Description Crashes at start
Steps To Reproduce Start it.
Additional Information Caused by holub's spectrum changes.

-----------------------------------------------------
Exception at EIP=00007ff6b35577be (tc2048_state::lores_scanline(bitmap_ind16&, int, int, int)+0x002e): INTEGER DIVIDE BY ZERO
-----------------------------------------------------
RAX=0000000000000000 RBX=000001d38c01d250 RCX=0000000000000000 RDX=0000000000000000
RSI=000001d38c01d250 RDI=0000000000000070 RBP=0000000000000000 RSP=0000000504af9328
 R8=0000000000000000 R9=0000000000000020 R10=000001d38bff95b8 R11=0000000000000020
R12=0000000504af93a0 R13=000001d38c01d250 R14=000001d38bff9060 R15=00000000000000df
-----------------------------------------------------
Stack crawl:
  0000000504af9360: 00007ff6b35577be (tc2048_state::lores_scanline(bitmap_ind16&, int, int, int)+0x002e)
  0000000504af93d0: 00007ff6b35579ef (tc2048_state::spectrum_update_screen(screen_device&, bitmap_ind16&, rectangle const&)+0x009f)
  0000000504af94b0: 00007ff6b353a5ff (spectrum_state::screen_update_spectrum(screen_device&, bitmap_ind16&, rectangle const&)+0x036f)
  0000000504af9550: 00007ff6b0673b3c (screen_device::update_partial(int)+0x020c)
  0000000504af95e0: 00007ff6b06741a3 (screen_device::update_now()+0x0363)
  0000000504af9690: 00007ff6b353a07e (spectrum_state::video_start()+0x021e)
  0000000504af96c0: 00007ff6af3c4fad (spectrum_128_state::video_start()+0x000d)
  0000000504af9700: 00007ff6b0496ca2 (driver_device::device_start()+0x01b2)
  0000000504af9840: 00007ff6b0465ef8 (device_t::start()+0x0698)
  0000000504af9990: 00007ff6b067fa30 (running_machine::start_all_devices()+0x0150)
  0000000504af9ab0: 00007ff6b0685056 (running_machine::start()+0x0b66)
  0000000504af9c30: 00007ff6b0686e4b (running_machine::run(bool)+0x00cb)
  0000000504aff0c0: 00007ff6b3bf78fb (mame_machine_manager::execute()+0x024b)
  0000000504aff4b0: 00007ff6b64c5e16 (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)
  0000000504aff790: 00007ff6b64c643b (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)
  0000000504aff7f0: 00007ff6b3bf2039 (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)
  0000000504affbc0: 00007ff6b75999c7 (main+0x0197)
  0000000504affc90: 00007ff6ac0913b1 (__tmainCRTStartup+0x0231)
  0000000504affcc0: 00007ff6ac0914e6 (mainCRTStartup+0x0016)
  0000000504affcf0: 00007ff902237034 (BaseThreadInitThunk+0x0014)
  0000000504affd70: 00007ff9029c2651 (RtlUserThreadStart+0x0021)
Github Commit
Flags
Regression Version 0.245
Affected Sets / Systems tc2048
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.20362
Tafoid
Administrator
Jul 7, 2022, 01:59
First reported:
https://github.com/mamedev/mame/commit/90115f4de2964170bf4c84e4ceb0404a5a636b16#commitcomment-76744623
User avatar
No.20371
holub
Tester
Jul 9, 2022, 00:48
https://github.com/mamedev/mame/pull/10053