カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
クラッシュ/フリーズ解決済み修正済み2017-06-12 05:122017-07-04 08:17
 
テスターM.A.S.H.担当者Hazeソースdataeast/rohga.cpp
バージョン0.186発生バージョン0.182修正バージョン0.188
修正コミットプルリク
フラグ
セット schmeisr
セット詳細
schmeisr - シュマイザーロボ
 
概 要終了時に例外が発生する。
詳 細When you press ESC to exit after second screen ("Hot-B") or insert coin after first screen ("Notice" screen)
you get an exception!

It crashes only under Linux 64bit and Windows XP. Not under Windows10 64bit with MAME 32bit or 64bit version.


Source:
In MAME 0.182 the MACHINE_CONFIG of Schmeiser Robo was changed
from
MCFG_DECO16IC_WIDTH12(1)
to
MCFG_DECO16IC_WIDTH12(1|4)

If you change MCFG_DECO16IC_WIDTH12 back to (1) the bug is gone!
再現手順 
追加情報Linux 64 (Mint) Version/MAME 0.185

nitro@nitro-P5QL-PRO ~ $ mame schmeisr
Average speed: 63.91% (4 seconds)
*** Error in `mame': free(): invalid pointer: 0x000055e65417b2e0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7faa102ca7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7faa102d2e0a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7faa102d698c]
mame(+0x7835c64)[0x55e64a402c64]
mame(+0x7835ce9)[0x55e64a402ce9]
mame(+0x7836ec0)[0x55e64a403ec0]
mame(+0x77c95a5)[0x55e64a3965a5]
mame(+0x5b44567)[0x55e648711567]
mame(+0x5bc052d)[0x55e64878d52d]
mame(+0x5bc074e)[0x55e64878d74e]
mame(+0x5b42485)[0x55e64870f485]
mame(main+0xda)[0x55e6465477da]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7faa10273830]
mame(+0x39e0339)[0x55e6465ad339]
.
.
.

Windows XP 32Bit
-----------------------------------------------------
Exception at EIP=7c921e58 (register_frame_ctor+0x761e0968): ACCESS VIOLATION
While attempting to read memory at 00000000
-----------------------------------------------------
EAX=103d3818 EBX=003e0000 ECX=00000000 EDX=00000000
ESI=103d3810 EDI=103d4018 EBP=0022bf1c ESP=0022bf10
-----------------------------------------------------
Stack crawl:
0022bf1c: 7c921e58 (RtlInitializeCriticalSection+0x032b)
0022bff0: 7c920d5c (wcsncpy+0x02cd)
0022c038: 77bfc2de (free+0x00c3)
0022c058: 0349d9f8 (bitmap_t::~bitmap_t()+0x0038)
0022c078: 032c607b (tilemap_t::~tilemap_t()+0x004b)
0022c098: 032c610e (tilemap_t::~tilemap_t()+0x000e)
0022c0a8: 032c8124 (tilemap_manager::~tilemap_manager()+0x0064)
0022c0e8: 0326ca83 (running_machine::~running_machine()+0x0943)
0022f938: 01bc792e (mame_machine_manager::execute()+0x021e)
0022f9e8: 01c27b22 (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> > > >&)+0x01f2)
0022fad8: 01c27d39 (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> > > >&)+0x0039)
0022fb08: 01bc595d (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> > > >&)+0x002d)
0022fe88: 01b2766f (utf8_main(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> > > >&)+0x011f)
0022fef8: 0378fcab (wmain+0x013b)
0022ffc0: 004013f0 (__tmainCRTStartup+0x0280)
0022fff0: 7c816fd7 (RegisterWaitForInputIdle+0x0049)
 
添付ファイル