[ オリジナルレポート ]

BugID: #08535

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
クラッシュ/フリーズ重要 (本体)解決済み修正済み2022-12-16 10:512023-01-05 00:54
 
テスターRobbbert担当者Ryan Holtzソース
バージョン0.250発生バージョン修正バージョン0.251
修正コミット 13aa80cプルリク #10692
フラグ
セット All
セット詳細
 
概 要ウインドウモードでAlt-Enterからnumscreen 2でクラッシュする。
詳 細In windowed mode, numscreens 2 followed by Alt-Enter crashes MAME, have to reboot.
再現手順* Start any machine, any video mode, with numscreens 2, in windowed mode. Press Alt-enter. The screen goes to full-screen then MAME freezes. An incomplete dump can be seen by alt-tabbing. It's not possible to regain control because the frozen MAME screen won't go away, so I have to reboot. It's not even possible to see the Task Manager.

* If you start at full-screen, the result is a total black screen. Alt-tabbing will get video. Then, the first Alt-enter works, putting it into window mode, the next Alt-enter causes the above freeze.

My test machine was pacman, although i did try others.

>mame pacman -window -numscreens 2
or
>mame pacman -nowindow -numscreens 2
追加情報The regression happened at either 0.227 or 0.228.

I got this dump by redirecting stderr to a file. I can only assume the location of the error indicates the problem is unique to Windows.
-----------------------------------------------------
Exception at EIP=00007ff697e059c1 (win_window_info::draw_video_contents(HDC__*, bool)+0x0051): ACCESS VIOLATION
While attempting to read memory at 0000000000000000
-----------------------------------------------------
RAX=0000000000000000 RBX=0000013b10fcc6f0 RCX=0000000000000000 RDX=0000000000000001
RSI=0000000000000001 RDI=0000000080006011 RBP=0000000000080258 RSP=0000001471d190b0
 R8=0000000000000001  R9=0000000000080258 R10=0000000000000000 R11=0000000000000246
R12=000000000a01076f R13=0000013b10fcc7c8 R14=0000000000080258 R15=0000000000000001
-----------------------------------------------------
Stack crawl:
  0000001471d19100: 00007ff697e059c1 (win_window_info::draw_video_contents(HDC__*, bool)+0x0051)
  0000001471d191f0: 00007ff697e08382 (win_window_info::video_window_proc(HWND__*, unsigned int, unsigned long long, long long)+0x0442)
  0000001471d19380: 00007ffeb032e7e8 (CallWindowProcW+0x03f8)
  0000001471d193e0: 00007ffeb032e36c (DispatchMessageW+0x039c)
  0000001471d19440: 00007ffeb0340c23 (SendMessageTimeoutW+0x0143)
  0000001471d194c8: 00007ffeb0c30ef4 (KiUserCallbackDispatcher+0x0024)
  0000001471d194d0: 00007ffeaea01704 (NtUserDispatchMessage+0x0014)
  0000001471d19550: 00007ffeb032e27a (DispatchMessageW+0x02aa)
  0000001471d19640: 00007ff697e07771 (winwindow_process_events(running_machine&, bool, bool)+0x01a1)
  0000001471d19670: 00007ff697e118ca (windows_osd_interface::input_update()+0x001a)
  0000001471d19700: 00007ff697f92c16 (video_manager::frame_update(bool)+0x0226)
  0000001471d19770: 00007ff694830473 (screen_device::vblank_begin(int)+0x0233)
  0000001471d197e0: 00007ff69484978b (device_scheduler::timeslice()+0x014b)
  0000001471d19960: 00007ff6948466d8 (running_machine::run(bool)+0x0198)
  0000001471d1edf0: 00007ff697dec42b (mame_machine_manager::execute()+0x024b)
  0000001471d1f1e0: 00007ff69a7f3e56 (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)
  0000001471d1f4c0: 00007ff69a7f447b (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)
  0000001471d1f520: 00007ff697de6b69 (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)
  0000001471d1f8f0: 00007ff69b9a44b7 (main+0x0197)
  0000001471d1f9c0: 00007ff6900b13b1 (__tmainCRTStartup+0x0231)
  0000001471d1f9f0: 00007ff6900b14e6 (mainCRTStartup+0x0016)
  0000001471d1fa20: 00007ffeafe67614 (BaseThreadInitThunk+0x0014)
  0000001471d1faa0: 00007ffeb0be26a1 (RtlUserThreadStart+0x0021)
 
添付ファイル