[ オリジナルレポート ]

BugID: #07549

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
その他重要 (本体)仮承認未処理2020-01-15 07:152020-01-15 07:52
 
テスターFirewave担当者 ソース
バージョン0.217発生バージョン修正バージョン
フラグ
セット
セット詳細
 
概 要ソフト選択を開くと、AddressSanitizer: new-delete-type-mismatchが出る。
詳 細
=================================================================
==1556==ERROR: AddressSanitizer: new-delete-type-mismatch on 0x1a25d2d0 in thread T0:
  object passed to delete has wrong type:
  size of the allocated type:   40 bytes;
  size of the deallocated type: 24 bytes.
==1556==WARNING: Failed to use and restart external symbolizer!
    #0 0xa93189 in operator delete D:\agent\_work\6\s\src\vctools\crt\asan\llvm\compiler-rt\lib\asan\asan_new_delete.cc:172
    #1 0x9d768fb in util::`anonymous namespace'::zippath_resolve s:\dev\mame0217\src\lib\util\zippath.cpp:266
    #2 0x9d74101 in util::zippath_directory::open s:\dev\mame0217\src\lib\util\zippath.cpp:585
    #3 0x6f8461e in ui::menu_control_device_image::menu_control_device_image+0x38e (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x71a461e)
    #4 0x6f09d38 in ui::menu_file_manager::handle+0x308 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x7129d38)
    #5 0x6f0429a in ui::menu::ui_handler+0x25a (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x712429a)
    #6 0x6e70022 in std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,unsigned int (__cdecl*)(render_container &,mame_ui_manager &),std::_Ph<1> const &,std::reference_wrapper<mame_ui_manager> >,unsigned int,render_container &>::_Do_call+0x42 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x7090022)
    #7 0x6e7e0f6 in mame_ui_manager::update_and_render+0x126 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x709e0f6)
    #8 0x6c7ac25 in emulator_info::draw_user_interface+0x75 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x6e9ac25)
    #9 0x5f67db8 in video_manager::frame_update s:\dev\mame0217\src\emu\video.cpp:229
    #10 0x5ada652 in screen_device::vblank_begin s:\dev\mame0217\src\emu\screen.cpp:1660
    #11 0x5ad2975 in screen_device::device_timer s:\dev\mame0217\src\emu\screen.cpp:959
    #12 0x5dc86dd in emu_timer::device_timer_expired s:\dev\mame0217\src\emu\schedule.cpp:317
    #13 0x5dc8d7c in device_scheduler::execute_timers s:\dev\mame0217\src\emu\schedule.cpp:907
    #14 0x5dcbdfe in device_scheduler::timeslice s:\dev\mame0217\src\emu\schedule.cpp:544
    #15 0x5dda220 in running_machine::run s:\dev\mame0217\src\emu\machine.cpp:372
    #16 0x6c7b15c in mame_machine_manager::execute+0x52c (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x6e9b15c)
    #17 0x6c9d54a in cli_frontend::start_execution+0x56a (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x6ebd54a)
    #18 0x6c952d4 in cli_frontend::execute+0x174 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x6eb52d4)
    #19 0x6c7c0b9 in emulator_info::start_frontend+0x59 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x6e9c0b9)
    #20 0x9f46a2e in main s:\dev\mame0217\src\osd\windows\winmain.cpp:323
    #21 0x9cea0bd in __scrt_common_main_seh d:\agent\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
    #22 0x77016358 in BaseThreadInitThunk+0x18 (C:\WINDOWS\System32\KERNEL32.DLL+0x6b816358)
    #23 0x77377b73 in RtlGetAppContainerNamedObjectPath+0xe3 (C:\WINDOWS\SYSTEM32
tdll.dll+0x4b2e7b73)
    #24 0x77377b43 in RtlGetAppContainerNamedObjectPath+0xb3 (C:\WINDOWS\SYSTEM32
tdll.dll+0x4b2e7b43)

0x1a25d2d0 is located 0 bytes inside of 40-byte region [0x1a25d2d0,0x1a25d2f8)
allocated by thread T0 here:
    #0 0xa92e7d in operator new D:\agent\_work\6\s\src\vctools\crt\asan\llvm\compiler-rt\lib\asan\asan_new_delete.cc:99
    #1 0x3941b08 in osd_stat s:\dev\mame0217\src\osd\modules\file\winfile.cpp:382
    #2 0x9d76789 in util::`anonymous namespace'::zippath_resolve s:\dev\mame0217\src\lib\util\zippath.cpp:251
    #3 0x9d74101 in util::zippath_directory::open s:\dev\mame0217\src\lib\util\zippath.cpp:585
    #4 0x6f8461e in ui::menu_control_device_image::menu_control_device_image+0x38e (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x71a461e)
    #5 0x6f09d38 in ui::menu_file_manager::handle+0x308 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x7129d38)
    #6 0x6f0429a in ui::menu::ui_handler+0x25a (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x712429a)
    #7 0x6e70022 in std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,unsigned int (__cdecl*)(render_container &,mame_ui_manager &),std::_Ph<1> const &,std::reference_wrapper<mame_ui_manager> >,unsigned int,render_container &>::_Do_call+0x42 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x7090022)
    #8 0x6e7e0f6 in mame_ui_manager::update_and_render+0x126 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x709e0f6)
    #9 0x6c7ac25 in emulator_info::draw_user_interface+0x75 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x6e9ac25)
    #10 0x5f67db8 in video_manager::frame_update s:\dev\mame0217\src\emu\video.cpp:229
    #11 0x5ada652 in screen_device::vblank_begin s:\dev\mame0217\src\emu\screen.cpp:1660
    #12 0x5ad2975 in screen_device::device_timer s:\dev\mame0217\src\emu\screen.cpp:959
    #13 0x5dc86dd in emu_timer::device_timer_expired s:\dev\mame0217\src\emu\schedule.cpp:317
    #14 0x5dc8d7c in device_scheduler::execute_timers s:\dev\mame0217\src\emu\schedule.cpp:907
    #15 0x5dcbdfe in device_scheduler::timeslice s:\dev\mame0217\src\emu\schedule.cpp:544
    #16 0x5dda220 in running_machine::run s:\dev\mame0217\src\emu\machine.cpp:372
    #17 0x6c7b15c in mame_machine_manager::execute+0x52c (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x6e9b15c)
    #18 0x6c9d54a in cli_frontend::start_execution+0x56a (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x6ebd54a)
    #19 0x6c952d4 in cli_frontend::execute+0x174 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x6eb52d4)
    #20 0x6c7c0b9 in emulator_info::start_frontend+0x59 (S:\dev\mame0217\build\projects\windows\mame\vs2019\..\..\..\..\..\mame.exe+0x6e9c0b9)
    #21 0x9f46a2e in main s:\dev\mame0217\src\osd\windows\winmain.cpp:323
    #22 0x9cea0bd in __scrt_common_main_seh d:\agent\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
    #23 0x77016358 in BaseThreadInitThunk+0x18 (C:\WINDOWS\System32\KERNEL32.DLL+0x6b816358)
    #24 0x77377b73 in RtlGetAppContainerNamedObjectPath+0xe3 (C:\WINDOWS\SYSTEM32
tdll.dll+0x4b2e7b73)
    #25 0x77377b43 in RtlGetAppContainerNamedObjectPath+0xb3 (C:\WINDOWS\SYSTEM32
tdll.dll+0x4b2e7b43)

SUMMARY: AddressSanitizer: new-delete-type-mismatch D:\agent\_work\6\s\src\vctools\crt\asan\llvm\compiler-rt\lib\asan\asan_new_delete.cc:172 in operator delete
==1556==HINT: if you don't care about these errors you may set ASAN_OPTIONS=new_delete_type_mismatch=0
==1556==ABORTING
再現手順- run psj
- go to "File Manager"
- go to "cdrom (cdrm)"
追加情報 
 
添付ファイル