カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
クラッシュ/フリーズ仮承認未処理2023-04-25 00:292023-05-02 17:11
 
テスターRobbbert担当者 ソースnintendo/nss.cpp
バージョン0.253発生バージョン修正バージョン
修正コミットプルリク
フラグ
セット nss_ncaa, nss_lwep
セット詳細
nss_lwep - Lethal Weapon (Nintendo Super System)
nss_ncaa - NCAA Basketball (Nintendo Super System)
 
概 要続けて複数のゲームを起動するとクラッシュする。
詳 細These 2 games, both marked as not working, if played one after the other will eventually cause a crash.

It was first noticed on one of my builds by crashing, so the current git of MAME was used to confirm it (pretty much what will be in 0.254).
再現手順Start MAME by going into the UI.

Type nss, you'll see the 2 games concerned in the centre of the screen.

Choose one of them, it will seem to work. After a short while press Esc to return to the menu.

Type nss again (menu doesn't remember it from before).

Choose the other game, let it run a little while as before.

After swapping between them a few times you may randomly get a crash.

-----------------------------------------------------
Exception at EIP=00007ff70327f22f (m50458_device::screen_update(screen_device&, bitmap_rgb32&, rectangle const&)+0x046f): ACCESS VIOLATION
While attempting to write memory at 0000016c0523b280
-----------------------------------------------------
RAX=fffffffffffd7484 RBX=0000000000000017 RCX=0000000000000000 RDX=0000016c052de070
RSI=0000000000000005 RDI=0000000000000000 RBP=0000016c036f03a0 RSP=00000042cd339280
R8=0000000000000001 R9=0000000000000000 R10=0000000000000004 R11=000000000000002f
R12=0000000000000000 R13=0000016c011efea8 R14=00000000fffffdb7 R15=00000000fffffde6
-----------------------------------------------------
Stack crawl:
00000042cd339340: 00007ff70327f22f (m50458_device::screen_update(screen_device&, bitmap_rgb32&, rectangle const&)+0x046f)
00000042cd339370: 00007ff6feb09fe0 ((anonymous namespace)::nss_state::screen_update(screen_device&, bitmap_rgb32&, rectangle const&)+0x0010)
00000042cd339410: 00007ff7009efd90 (screen_device::update_partial(int)+0x0290)
00000042cd339470: 00007ff70407e093 (video_manager::finish_screen_updates()+0x00c3)
00000042cd339500: 00007ff704080108 (video_manager::frame_update(bool)+0x01f8)
00000042cd339570: 00007ff7009ed623 (screen_device::vblank_begin(int)+0x0233)
00000042cd3395e0: 00007ff700a05f5b (device_scheduler::timeslice()+0x014b)
00000042cd339760: 00007ff700a0313f (running_machine::run(bool)+0x01bf)
00000042cd33ec90: 00007ff703ed6e6b (mame_machine_manager::execute()+0x024b)
00000042cd33f080: 00007ff707c3fc66 (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)
00000042cd33f360: 00007ff707c4028b (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)
00000042cd33f3c0: 00007ff703ed1629 (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)
00000042cd33f780: 00007ff708e603f3 (luaopen_lfs+0xb603f3)
00000042cd33f850: 00007ff6fc3713b1 (__tmainCRTStartup+0x0231)
00000042cd33f880: 00007ff6fc3714e6 (mainCRTStartup+0x0016)
00000042cd33f8b0: 00007ffcac477604 (BaseThreadInitThunk+0x0014)
00000042cd33f930: 00007ffcad2626a1 (RtlUserThreadStart+0x0021)
追加情報Even though they are marked as not working, they should not crash like this.
 
添付ファイル