[ オリジナルレポート ]

BugID: #06195

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
クラッシュ/フリーズ重要 (本体)解決済み修正済み2016-04-30 19:232016-05-27 08:36
 
テスターTourniquet担当者 ソース
バージョン0.173発生バージョン修正バージョン0.175
修正コミットプルリク
フラグ
セット
セット詳細
 
概 要-video BGFXでマシン選択をして別なマシンを起動するとクラッシュする。
詳 細Either throws a bad_alloc() or sometimes crashes with a stacktrace.
Doesn't happen if you hit 'Escape' (when no game param), only using the menu option.

This is on Win10 64-bit, with official 64-bit binaries, and clean install. Only change is to use BGFX.
On a Surface Pro 3 (Intel video).
再現手順Run 'mame64,.exe -video bgfx'
Select a game/machine
Menu->"Select New Machine"
Select another game/machine
追加情報C:\Projects\mame0173b_64bit>mame64.exe -video bgfx s1945iii
Average speed: 58.76% (5 seconds)
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.





C:\Projects\mame0173b_64bit>mame64.exe -video bgfx s1945iii
Average speed: 53.70% (5 seconds)
Average speed: 67.38% (8 seconds)
4-u59.bin NOT FOUND (NO GOOD DUMP KNOWN) (tried in s1945 s1945)
WARNING: the machine might not run correctly.
Average speed: 43.25% (4 seconds)

-----------------------------------------------------
Exception at EIP=00007FFB5B553BC0 (register_frame_ctor+0x567713a0): ACCESS VIOLATION
While attempting to read memory at FFFFFFFFFFFFFFFF
-----------------------------------------------------
RAX=0000000000000008 RBX=0000000026D012B0 RCX=000000003625A040 RDX=003B363E841C0A6A
RSI=0000000027C47CA0 RDI=000000000A9D6CC8 RBP=0000000008A18050 RSP=0000000008A17FC8
R8=0000000026D012B0 R9=0000000001368095 R10=0000000000000000 R11=000000003625A040
R12=0000000008A18010 R13=000000000A9D6CC8 R14=0000000000000000 R15=003B363EBA41AAAA
-----------------------------------------------------
Stack crawl:
0000000008A17FC0: 00007FFB5B553BC0 (memcpy+0x0140)
0000000008A18070: 000000000176EF69 (bgfx_chain::~bgfx_chain()+0x0279)
0000000008A180C0: 000000000173E2C1 (chain_manager::~chain_manager()+0x0041)
0000000008A18120: 0000000001734904 (renderer_bgfx::~renderer_bgfx()+0x0064)
0000000008A18160: 0000000001734B26 (renderer_bgfx::~renderer_bgfx()+0x0016)
0000000008A18250: 000000000171A7FD (win_window_info::video_window_proc(HWND__*, unsigned int, unsigned long long, long long)+0x06ed)
0000000008A18280: 000000000171C0ED (winwindow_video_window_proc_ui(HWND__*, unsigned int, unsigned long long, long long)+0x000d)
0000000008A18370: 00007FFB5B391169 (DispatchMessageW+0x0689)
0000000008A183D0: 00007FFB5B390EE2 (DispatchMessageW+0x0402)
0000000008A18430: 00007FFB5B3A098E (GetMenuItemInfoW+0x076e)
0000000008A184B8: 00007FFB5DB38B94 (KiUserCallbackDispatcher+0x0024)
0000000008A184C0: 00007FFB5B3B3234 (DestroyWindow+0x0014)
0000000008A185B0: 000000000171A6AD (win_window_info::video_window_proc(HWND__*, unsigned int, unsigned long long, long long)+0x059d)
0000000008A185E0: 000000000171C0ED (winwindow_video_window_proc_ui(HWND__*, unsigned int, unsigned long long, long long)+0x000d)
0000000008A186D0: 00007FFB5B391169 (DispatchMessageW+0x0689)
0000000008A18730: 00007FFB5B390EE2 (DispatchMessageW+0x0402)
0000000008A18790: 00007FFB5B3A098E (GetMenuItemInfoW+0x076e)
0000000008A18818: 00007FFB5DB38B94 (KiUserCallbackDispatcher+0x0024)
0000000008A18820: 00007FFB5B3B1F94 (InvalidateRect+0x0074)
0000000008A188B0: 00007FFB5B390804 (SendMessageW+0x02a4)
0000000008A18910: 00007FFB5B39065B (SendMessageW+0x00fb)
0000000008A189A0: 000000000171625D (win_window_info::destroy()+0x014d)
0000000008A189E0: 000000000171ADB3 (windows_osd_interface::window_exit()+0x00f3)
0000000008A18A20: 00000000017145AE (windows_osd_interface::video_exit()+0x001e)
0000000008A18A60: 00000000016F2C45 (osd_common_t::osd_exit()+0x00b5)
0000000008A18AA0: 00000000016F2339 (windows_osd_interface::osd_exit()+0x0029)
0000000008A18B00: 00000000029D313F (running_machine::run(bool)+0x01ef)
0000000008A1F4F0: 000000000178F2FA (mame_machine_manager::execute()+0x015a)
0000000008A1F960: 000000000180A9D2 (cli_frontend::execute(int, char**)+0x1092)
0000000008A1F9D0: 000000000178E555 (emulator_info::start_frontend(emu_options&, osd_interface&, int, char**)+0x0035)
0000000008A1FDF0: 00000000016F1834 (utf8_main(int, char**)+0x0124)
0000000008A1FE50: 0000000002E9085F (wmain+0x007f)
0000000008A1FF20: 000000000040140C (__tmainCRTStartup+0x025c)
0000000008A1FF50: 000000000040153B (mainCRTStartup+0x001b)
0000000008A1FF80: 00007FFB5B7C8102 (BaseThreadInitThunk+0x0022)
0000000008A1FFD0: 00007FFB5DAEC5B4 (RtlUserThreadStart+0x0034)
 
添付ファイル