- --
Viewing Issue Advanced Details
[ Jump to Notes ]
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
08645 | Crash/Freeze | Critical (emulator) | Always | May 29, 2023, 11:57 | May 30, 2023, 11:17 |
Tester | ICEknight | View Status | Public | Platform | MAME (Official Binary) |
Assigned To | Resolution | Open | OS | Windows 10/11 (64-bit) | |
Status [?] | Confirmed | Driver | |||
Version | 0.254 | Fixed in Version | Build | 64-bit | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 08645: UI: Bgfx: Crash when switching to/from fullscreen while tilde menu is on-screen | ||||
Description |
It seems that certain options from the Tilde menu are somehow causing MAME to crash if they're on screen while pressing Alt+Enter in Windows. Some example error logs are attached, as well as a pop-up error that MAME displayed only once. |
||||
Steps To Reproduce |
-Start any driver in MAME. -Press the Tilde key. -Select "Screen Vert Position" option or below. -Press Alt+Enter, MAME may crash. -If it doesn't crash, press Alt+Enter again. (Moving the selection up/down might work as well?) |
||||
Additional Information |
Tested with Opengl and Vulkan backends. Might be random, but the chain-related options ("Window 0, Screen 0 Effect x" and below) seem to have a better chance of crashing it. |
||||
Github Commit | |||||
Flags | |||||
Regression Version | |||||
Affected Sets / Systems | UI | ||||
Attached Files
|
error.png (4,312 bytes) May 29, 2023, 11:57 Uploaded by ICEknight
| ||||
error1.txt (2,644 bytes) May 29, 2023, 11:58 Uploaded by ICEknight [Show Content] [Hide Content]----------------------------------------------------- Exception at EIP=0000000000000024 (+0x0024): ACCESS VIOLATION While attempting to write memory at 0000000000000024 ----------------------------------------------------- RAX=00000219c3cc9960 RBX=00000219c3ccf470 RCX=00000219c3cd0110 RDX=000000bf9b0f95a0 RSI=00000219c3cd0110 RDI=0000000000000001 RBP=0000000000000000 RSP=000000bf9b0f9558 R8=000000bf9b0f9598 R9=0000000000000000 R10=000000000000002c R11=fffffffff921334c R12=00000219c3ccf3c0 R13=0000000000000001 R14=00007ff68635c520 R15=000000bf9b0f9d10 ----------------------------------------------------- Stack crawl: 000000bf9b0f9550: 0000000000000024 (+0x0024) 000000bf9b0f95e0: 00007ff6815fbf7a (luaopen_lfs+0x33aefa) 000000bf9b0f9700: 00007ff6815f6c9a (luaopen_lfs+0x335c1a) 000000bf9b0f9760: 00007ff6815f7074 (luaopen_lfs+0x335ff4) 000000bf9b0f9880: 00007ff680edbea9 (mame_ui_manager::update_and_render(render_container&)+0x0189) 000000bf9b0f98b0: 00007ff67d175d8c (emulator_info::draw_user_interface(running_machine&)+0x001c) 000000bf9b0f9940: 00007ff67d26bf1e (video_manager::frame_update(bool)+0x021e) 000000bf9b0f99b0: 00007ff679c013b3 (screen_device::vblank_begin(int)+0x0233) 000000bf9b0f9a20: 00007ff679c290fb (device_scheduler::timeslice()+0x014b) 000000bf9b0f9b80: 00007ff679c2625f (running_machine::run(bool)+0x01bf) 000000bf9b0ff0a0: 00007ff67d17b6bb (mame_machine_manager::execute()+0x020b) 000000bf9b0ff480: 00007ff680f1290f (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&)+0x03cf) 000000bf9b0ff740: 00007ff680f12f1d (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> > > >&)+0x004d) 000000bf9b0ff7a0: 00007ff67d175d39 (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) 000000bf9b0ffb60: 00007ff682161b73 (luaopen_lfs+0xea0af3) 000000bf9b0ffc30: 00007ff6752b13b1 (__tmainCRTStartup+0x0231) 000000bf9b0ffc60: 00007ff6752b14e6 (mainCRTStartup+0x0016) 000000bf9b0ffc90: 00007ffb1ff17614 (BaseThreadInitThunk+0x0014) 000000bf9b0ffd10: 00007ffb20ec26a1 (RtlUserThreadStart+0x0021) | |||||
error2.txt (2,652 bytes) May 29, 2023, 11:58 Uploaded by ICEknight [Show Content] [Hide Content]----------------------------------------------------- Exception at EIP=0000012e136fcda0 (+0x136fcda0): ACCESS VIOLATION While attempting to write memory at 0000012e136fcda0 ----------------------------------------------------- RAX=0000012e00e38628 RBX=0000012e00e77bd0 RCX=0000012e136b8540 RDX=00000001b36f9310 RSI=0000012e136b8540 RDI=0000000000000001 RBP=0000000000000001 RSP=00000001b36f92c8 R8=00000001b36f9308 R9=0000000000000000 R10=0000000000000020 R11=fffffffff921334c R12=0000012e00e77b20 R13=0000000000000001 R14=00007ff68635c520 R15=00000001b36f9a80 ----------------------------------------------------- Stack crawl: 00000001b36f92c0: 0000012e136fcda0 (+0x136fcda0) 00000001b36f9350: 00007ff6815fbf7a (luaopen_lfs+0x33aefa) 00000001b36f9470: 00007ff6815f6c9a (luaopen_lfs+0x335c1a) 00000001b36f94d0: 00007ff6815f7074 (luaopen_lfs+0x335ff4) 00000001b36f95f0: 00007ff680edbea9 (mame_ui_manager::update_and_render(render_container&)+0x0189) 00000001b36f9620: 00007ff67d175d8c (emulator_info::draw_user_interface(running_machine&)+0x001c) 00000001b36f96b0: 00007ff67d26bd47 (video_manager::frame_update(bool)+0x0047) 00000001b36f9720: 00007ff679c013b3 (screen_device::vblank_begin(int)+0x0233) 00000001b36f9790: 00007ff679c290fb (device_scheduler::timeslice()+0x014b) 00000001b36f98f0: 00007ff679c2625f (running_machine::run(bool)+0x01bf) 00000001b36fee10: 00007ff67d17b6bb (mame_machine_manager::execute()+0x020b) 00000001b36ff1f0: 00007ff680f1290f (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&)+0x03cf) 00000001b36ff4b0: 00007ff680f12f1d (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> > > >&)+0x004d) 00000001b36ff510: 00007ff67d175d39 (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) 00000001b36ff8d0: 00007ff682161b73 (luaopen_lfs+0xea0af3) 00000001b36ff9a0: 00007ff6752b13b1 (__tmainCRTStartup+0x0231) 00000001b36ff9d0: 00007ff6752b14e6 (mainCRTStartup+0x0016) 00000001b36ffa00: 00007ffb1ff17614 (BaseThreadInitThunk+0x0014) 00000001b36ffa80: 00007ffb20ec26a1 (RtlUserThreadStart+0x0021) | |||||
error3.txt (2,797 bytes) May 29, 2023, 11:58 Uploaded by ICEknight [Show Content] [Hide Content]----------------------------------------------------- Exception at EIP=00007ff6815fb804 (ui::menu_sliders::custom_render(void*, float, float, float, float, float, float)+0x00d4): ACCESS VIOLATION While attempting to read memory at ffffffffffffffff ----------------------------------------------------- RAX=00007ff6815f1aa0 RBX=0000024c04c5e370 RCX=0000024c04c46f80 RDX=000000cad9588cc8 RSI=0000024c04c46f80 RDI=000000cad9588ce0 RBP=0000000000000020 RSP=000000cad9588c40 R8=000000cad9588cc4 R9=0000024c04c46f80 R10=2e8ba2e8ba2e8ba3 R11=000000cad9588ba0 R12=000000cad9588cd0 R13=000000cad9588eb0 R14=000000cad9588f10 R15=000000cad9589820 ----------------------------------------------------- Stack crawl: 000000cad9588db0: 00007ff6815fb804 (luaopen_lfs+0x33a784) 000000cad9589050: 00007ff6815f28be (luaopen_lfs+0x33183e) 000000cad95890f0: 00007ff6815f54ab (luaopen_lfs+0x33442b) 000000cad9589210: 00007ff6815f6c7d (luaopen_lfs+0x335bfd) 000000cad9589270: 00007ff6815f7074 (luaopen_lfs+0x335ff4) 000000cad9589390: 00007ff680edbea9 (mame_ui_manager::update_and_render(render_container&)+0x0189) 000000cad95893c0: 00007ff67d175d8c (emulator_info::draw_user_interface(running_machine&)+0x001c) 000000cad9589450: 00007ff67d26bf1e (video_manager::frame_update(bool)+0x021e) 000000cad95894c0: 00007ff679c013b3 (screen_device::vblank_begin(int)+0x0233) 000000cad9589530: 00007ff679c290fb (device_scheduler::timeslice()+0x014b) 000000cad9589690: 00007ff679c2625f (running_machine::run(bool)+0x01bf) 000000cad958ebb0: 00007ff67d17b6bb (mame_machine_manager::execute()+0x020b) 000000cad958ef90: 00007ff680f1290f (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&)+0x03cf) 000000cad958f250: 00007ff680f12f1d (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> > > >&)+0x004d) 000000cad958f2b0: 00007ff67d175d39 (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) 000000cad958f670: 00007ff682161b73 (luaopen_lfs+0xea0af3) 000000cad958f740: 00007ff6752b13b1 (__tmainCRTStartup+0x0231) 000000cad958f770: 00007ff6752b14e6 (mainCRTStartup+0x0016) 000000cad958f7a0: 00007ffb1ff17614 (BaseThreadInitThunk+0x0014) 000000cad958f820: 00007ffb20ec26a1 (RtlUserThreadStart+0x0021) | |||||
error4.txt (2,960 bytes) May 29, 2023, 11:58 Uploaded by ICEknight [Show Content] [Hide Content]----------------------------------------------------- Exception at EIP=00007ff6817871c1 (chain_manager::slider_changed(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int)+0x0031): ACCESS VIOLATION While attempting to read memory at ffffffffffffffff ----------------------------------------------------- RAX=4188000044a3a000 RBX=000001816479ee60 RCX=0000005daef58e70 RDX=0000000000000000 RSI=0000000000000000 RDI=0000005daef58e80 RBP=000000000000000d RSP=0000005daef58d30 R8=0000005daef58e70 R9=0000000012345678 R10=00007ff681787190 R11=0000000000000000 R12=0000005daef58e70 R13=0000005daef59050 R14=0000005daef58e70 R15=0000005daef599c0 ----------------------------------------------------- Stack crawl: 0000005daef58da0: 00007ff6817871c1 (luaopen_lfs+0x4c6141) 0000005daef58dd0: 00007ff6817890b0 (luaopen_lfs+0x4c8030) 0000005daef58f50: 00007ff6815fb807 (luaopen_lfs+0x33a787) 0000005daef591f0: 00007ff6815f28be (luaopen_lfs+0x33183e) 0000005daef59290: 00007ff6815f54ab (luaopen_lfs+0x33442b) 0000005daef593b0: 00007ff6815f6c7d (luaopen_lfs+0x335bfd) 0000005daef59410: 00007ff6815f7074 (luaopen_lfs+0x335ff4) 0000005daef59530: 00007ff680edbea9 (mame_ui_manager::update_and_render(render_container&)+0x0189) 0000005daef59560: 00007ff67d175d8c (emulator_info::draw_user_interface(running_machine&)+0x001c) 0000005daef595f0: 00007ff67d26bf1e (video_manager::frame_update(bool)+0x021e) 0000005daef59660: 00007ff679c013b3 (screen_device::vblank_begin(int)+0x0233) 0000005daef596d0: 00007ff679c290fb (device_scheduler::timeslice()+0x014b) 0000005daef59830: 00007ff679c2625f (running_machine::run(bool)+0x01bf) 0000005daef5ed50: 00007ff67d17b6bb (mame_machine_manager::execute()+0x020b) 0000005daef5f130: 00007ff680f1290f (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&)+0x03cf) 0000005daef5f3f0: 00007ff680f12f1d (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> > > >&)+0x004d) 0000005daef5f450: 00007ff67d175d39 (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) 0000005daef5f810: 00007ff682161b73 (luaopen_lfs+0xea0af3) 0000005daef5f8e0: 00007ff6752b13b1 (__tmainCRTStartup+0x0231) 0000005daef5f910: 00007ff6752b14e6 (mainCRTStartup+0x0016) 0000005daef5f940: 00007ffb1ff17614 (BaseThreadInitThunk+0x0014) 0000005daef5f9c0: 00007ffb20ec26a1 (RtlUserThreadStart+0x0021) | |||||
error5.txt (105 bytes) May 29, 2023, 12:00 Uploaded by ICEknight [Show Content] [Hide Content]Caught unhandled St17bad_function_call exception: bad_function_call Average speed: 78.37% (14 seconds) | |||||
Relationships
There are no relationship linked to this issue. |
Notes
1
No.21471
Robbbert Senior Tester
May 30, 2023, 11:17
|
Looks like part of a wider problem. I used >mame pacman -video bgfx (my default backend is d3d11 and my default is Windowed). After playing the game, I pressed Tilde and selected the "Screen Vert Position" but didn't change anything. Pressing Alt Enter worked, so I pressed it again - worked again. Then I pressed the Down key to choose another slider, and it crashed. C:\MAME>mame pacman -video bgfx ----------------------------------------------------- Exception at EIP=0000015f75a7db00 (+0x75a7db00): ACCESS VIOLATION While attempting to write memory at 0000015f75a7db00 ----------------------------------------------------- RAX=0000015f65456960 RBX=0000015f7596d5e0 RCX=0000015f75a7d920 RDX=0000004db4d896e0 RSI=0000000000000001 RDI=0000015f75a7d920 RBP=0000000000000000 RSP=0000004db4d89668 R8=0000004db4d896d8 R9=0000000000000000 R10=000000000000000c R11=00000750aaf1926f R12=0000015f7596d530 R13=0000000000000001 R14=00007ff693193300 R15=0000004db4d89d60 ----------------------------------------------------- Stack crawl: 0000004db4d89660: 0000015f75a7db00 (+0x75a7db00) 0000004db4d89730: 00007ff68e417382 (luaopen_lfs+0x127c2) 0000004db4d89790: 00007ff68e411ee4 (luaopen_lfs+0xd324) 0000004db4d898b0: 00007ff68d3b1a19 (mame_ui_manager::update_and_render(render_container&)+0x0189) 0000004db4d89940: 00007ff68950272e (video_manager::frame_update(bool)+0x021e) 0000004db4d899b0: 00007ff685dbdcc3 (screen_device::vblank_begin(int)+0x0233) 0000004db4d89a20: 00007ff685dd65fb (device_scheduler::timeslice()+0x014b) 0000004db4d89ba0: 00007ff685dd37df (running_machine::run(bool)+0x01bf) 0000004db4d8f0d0: 00007ff68935945b (mame_machine_manager::execute()+0x024b) 0000004db4d8f4c0: 00007ff68d3e8cf6 (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) 0000004db4d8f7a0: 00007ff68d3e931b (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) 0000004db4d8f800: 00007ff689353c19 (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) 0000004db4d8fbc0: 00007ff68ef69643 (luaopen_lfs+0xb64a83) 0000004db4d8fc90: 00007ff6816d13b1 (__tmainCRTStartup+0x0231) 0000004db4d8fcc0: 00007ff6816d14e6 (mainCRTStartup+0x0016) 0000004db4d8fcf0: 00007ff8fbfb7614 (BaseThreadInitThunk+0x0014) 0000004db4d8fd70: 00007ff8fd7826a1 (RtlUserThreadStart+0x0021) |
---|