Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06862 Crash/Freeze Critical (emulator) Always Feb 1, 2018, 23:58 Feb 3, 2018, 04:27
Tester wuemura View Status Public Platform MAME (Official Binary)
Assigned To Resolution Duplicate OS Windows 10 (64-bit)
Status [?] Closed Driver
Version 0.194 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 06862: all sets in model2.cpp: Machine can crash at start
Description Machine crash soon after it start.
-----------------------------------------------------
Exception at EIP=0000000004bdd8b1 (poly_manager<float, m2_poly_extra_data, 4, 4000>::work_item_callback(void*, int)+0x0111): ACCESS VIOLATION
While attempting to read memory at 0000022690d36c00
-----------------------------------------------------
RAX=000000000000fdd9 RBX=000002268f173200 RCX=0000022690d36c00 RDX=00000226fdd99b90
RSI=000000403d3f7b54 RDI=0000000000000002 RBP=000000403d3f7b80 RSP=000000403d3f7b00
 R8=0000000000000000 R9=0000000000000001 R10=000000000000000b R11=0000000000000030
R12=0000000000000000 R13=00000226fdd96570 R14=000002268b583f50 R15=0000000004bdd7a0
-----------------------------------------------------
Stack crawl:
  000000403d3f7b20: 0000000004bdd8b1 (poly_manager<float, m2_poly_extra_data, 4, 4000>::work_item_callback(void*, int)+0x0111)
  000000403d3f7c10: 0000000004a290cd (worker_thread_process(osd_work_queue*, work_thread_info*) [clone .isra.11]+0x006d)
  000000403d3f7ca0: 0000000004a296b3 (osd_work_item_queue_multiple(osd_work_queue*, void* (*)(void*, int), int, void*, int, unsigned int)+0x0253)
  000000403d3f7e90: 0000000004bdd656 (poly_manager<float, m2_poly_extra_data, 4, 4000>::render_triangle(rectangle const&, delegate<void (int, poly_manager<float, m2_poly_extra_data, 4, 4000>::extent_t const&, m2_poly_extra_data const&, int)>, int, poly_manager<float, m2_poly_extra_data, 4, 4000>::vertex_t const&, poly_manager<float, m2_poly_extra_data, 4, 4000>::vertex_t const&, poly_manager<float, m2_poly_extra_data, 4, 4000>::vertex_t const&)+0x0cb6)
  000000403d3f7f90: 0000000001ca6a61 (model2_renderer::model2_3d_render(triangle*, rectangle const&)+0x0ce1)
  000000403d3f8030: 0000000001ca6fcf (model2_state::model2_3d_frame_end(bitmap_rgb32&, rectangle const&)+0x016f)
  000000403d3f81d0: 0000000001ca7309 (model2_state::screen_update_model2(screen_device&, bitmap_rgb32&, rectangle const&)+0x02c9)
  000000403d3f8220: 000000000449fc24 (screen_device::update_partial(int)+0x01a4)
  000000403d3f82a0: 00000000044c4c89 (video_manager::finish_screen_updates()+0x0069)
  000000403d3f8330: 00000000044c6899 (video_manager::frame_update(bool)+0x0139)
  000000403d3f83a0: 000000000449be77 (screen_device::vblank_end()+0x01f7)
  000000403d3f8410: 000000000449feb6 (screen_device::device_timer(emu_timer&, unsigned int, int, void*)+0x0286)
  000000403d3f84c0: 0000000004497825 (device_scheduler::timeslice()+0x04e5)
  000000403d3f85c0: 000000000445557d (running_machine::run(bool)+0x033d)
  000000403d3ff1e0: 0000000002d864a3 (mame_machine_manager::execute()+0x01e3)
  000000403d3ff480: 0000000002df4979 (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&)+0x03f9)
  000000403d3ff5f0: 0000000002df4df5 (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> > > >&)+0x0045)
  000000403d3ff650: 0000000002d8455a (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> > > >&)+0x002a)
  000000403d3ffe00: 0000000007a3060d (main+0x013d)
  000000403d3ffed0: 00000000013413f8 (__tmainCRTStartup+0x0248)
  000000403d3fff00: 000000000134151b (mainCRTStartup+0x001b)
  000000403d3fff30: 00007ff8400d1fe4 (BaseThreadInitThunk+0x0014)
  000000403d3fff80: 00007ff8421eef91 (RtlUserThreadStart+0x0021)
Steps To Reproduce mame64 vcop
mame64 daytona93
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems all sets in model2.cpp
Attached Files
 
Relationships
duplicate of 06148Resolved All games in model2.cpp: Segmentation Fault 
Notes
2
User avatar
No.14697
Tafoid
Administrator
Feb 2, 2018, 00:23
edited on: Feb 2, 2018, 00:23
It doesn't ALWAYS crash, but more often than not all model2.cpp will crash eventually with a similar crash.
This is known. Unknown when it can be fixed as the model2 driver is in disrepair to the point of needing to start fresh.
User avatar
No.14715
NekoEd
Senior Tester
Feb 3, 2018, 04:27
This is a duplicate of 06148, where the current behavior is reported in a note on that bug. Closing.