カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
その他重要 (本体)解決済み修正済み2013-07-29 21:242017-07-21 18:16
 
テスターFirewave担当者 ソースmaygay1bsw.cpp
バージョン0.149u1発生バージョン修正バージョン0.161
フラグ
セット m1itjob
セット詳細
m1itjob - Italian Job (Maygay) (M1A/B) (set 1)
 
概 要AddressSanitizer: heap-use-after-freeエラーが起こる。
詳 細
=================================================================
==52741==ERROR: AddressSanitizer: heap-use-after-free on address 0x7f7b599a8291 at pc 0x152292b9 bp 0x7ffff3e68ab0 sp 0x7ffff3e68aa8
READ of size 1 at 0x7f7b599a8291 thread T0
    #0 0x152292b8 in _ZN15okim6376_device14generate_adpcmEP10ADPCMVoicePsii /home/notroot/trunk/src/emu/sound/okim6376.c:319
    #1 0x1522e755 in _ZN15okim6376_device19sound_stream_updateER12sound_streamPPiS3_i /home/notroot/trunk/src/emu/sound/okim6376.c:573
    #2 0x1522efd0 in _ZThn1120_N15okim6376_device19sound_stream_updateER12sound_streamPPiS3_i /home/notroot/trunk/src/emu/sound/okim6376.c:580
    #3 0x17f6f9e8 in _ZN12sound_stream25device_stream_update_stubEP8device_tPS_PvPPiS5_i /home/notroot/trunk/src/emu/sound.c:467
    #4 0x17f762a4 in _ZN12sound_stream16generate_samplesEi /home/notroot/trunk/src/emu/sound.c:628
    #5 0x17f7551a in _ZN12sound_stream6updateEv /home/notroot/trunk/src/emu/sound.c:308
    #6 0x17f75b99 in _ZN12sound_stream16generate_samplesEi /home/notroot/trunk/src/emu/sound.c:613
    #7 0x17f7551a in _ZN12sound_stream6updateEv /home/notroot/trunk/src/emu/sound.c:308
    #8 0x17f76539 in _ZN12sound_stream24output_since_last_updateEiRi /home/notroot/trunk/src/emu/sound.c:325
    #9 0x17fa3534 in _ZN14speaker_device3mixEPiS0_Rib /home/notroot/trunk/src/emu/speaker.c:131
    #10 0x17f822f0 in _ZN13sound_manager6updateEPvi /home/notroot/trunk/src/emu/sound.c:1034
    #11 0x17efda17 in _ZNK13delegate_baseIvPvi8_noparamS1_S1_EclES0_i /home/notroot/trunk/src/emu/delegate.h:541
    #12 0x17eee2bc in _ZN16device_scheduler14execute_timersEv /home/notroot/trunk/src/emu/schedule.c:936
    #13 0x17ee1769 in _ZN16device_scheduler9timesliceEv /home/notroot/trunk/src/emu/schedule.c:454
    #14 0x17a8888b in _ZN15running_machine3runEb /home/notroot/trunk/src/emu/machine.c:412
    #15 0x17a74411 in _Z12mame_executeR11emu_optionsR13osd_interface /home/notroot/trunk/src/emu/mame.c:190
    #16 0x173eb8a6 in _ZN12cli_frontend7executeEiPPc /home/notroot/trunk/src/emu/clifront.c:255
    #17 0x10708f01 in main /home/notroot/trunk/src/osd/sdl/sdlmain.c:378
    #18 0x7f7b63e5cea4 in __libc_start_main /build/buildd/eglibc-2.17/csu/libc-start.c:260
    #19 0x1e7a7bc in _start ??:?
0x7f7b599a8291 is located 31377 bytes inside of 131072-byte region [0x7f7b599a0800,0x7f7b599c0800)
freed by thread T0 here:
    #0 0x1e6c644 in free ??:?
    #1 0x18df14e2 in _Z8SZipFreePvS_ /home/notroot/trunk/src/lib/util/un7z.c:63
    #2 0x19370f43 in SzArEx_Extract /home/notroot/trunk/src/lib/lib7z/7zIn.c:1356
    #3 0x18df9401 in _Z19_7z_file_decompressP8_7z_filePvj /home/notroot/trunk/src/lib/util/un7z.c:475
    #4 0x177694cf in _ZN8emu_file16load__7zped_fileEv /home/notroot/trunk/src/emu/fileio.c:908
    #5 0x17766b6a in _ZN8emu_file14attempt__7zpedEv /home/notroot/trunk/src/emu/fileio.c:885
    #6 0x1776298b in _ZN8emu_file9open_nextEv /home/notroot/trunk/src/emu/fileio.c:393
    #7 0x1776443f in _ZN8emu_file4openEPKcj /home/notroot/trunk/src/emu/fileio.c:343
    #8 0x17764f98 in _ZN8emu_file4openEPKcS1_S1_j /home/notroot/trunk/src/emu/fileio.c:357
    #9 0x17e97fba in _Z19common_process_fileR11emu_optionsPKcbjPK9rom_entryPP8emu_file /home/notroot/trunk/src/emu/romload.c:113
    #10 0x17eb3af1 in _ZL13open_rom_fileP15romload_privatePKcPK9rom_entryR7astringb /home/notroot/trunk/src/emu/romload.c:576
    #11 0x17ea501b in _ZL19process_rom_entriesP15romload_privatePKcPK9rom_entryS5_P8device_tb /home/notroot/trunk/src/emu/romload.c:906
    #12 0x17eaeaa2 in _ZL19process_region_listP15romload_private /home/notroot/trunk/src/emu/romload.c:1455
    #13 0x17eab476 in _Z8rom_initR15running_machine /home/notroot/trunk/src/emu/romload.c:1511
    #14 0x17a7fda4 in _ZN15running_machine5startEv /home/notroot/trunk/src/emu/machine.c:291
    #15 0x17a88439 in _ZN15running_machine3runEb /home/notroot/trunk/src/emu/machine.c:391
    #16 0x17a74411 in _Z12mame_executeR11emu_optionsR13osd_interface /home/notroot/trunk/src/emu/mame.c:190
    #17 0x173eb8a6 in _ZN12cli_frontend7executeEiPPc /home/notroot/trunk/src/emu/clifront.c:255
    #18 0x10708f01 in main /home/notroot/trunk/src/osd/sdl/sdlmain.c:378
    #19 0x7f7b63e5cea4 in __libc_start_main /build/buildd/eglibc-2.17/csu/libc-start.c:260
previously allocated by thread T0 here:
    #0 0x1e6c724 in __interceptor_malloc ??:?
    #1 0x18df1308 in _Z9SZipAllocPvm /home/notroot/trunk/src/lib/util/un7z.c:58
    #2 0x19371353 in SzArEx_Extract /home/notroot/trunk/src/lib/lib7z/7zIn.c:1366
    #3 0x18df9401 in _Z19_7z_file_decompressP8_7z_filePvj /home/notroot/trunk/src/lib/util/un7z.c:475
    #4 0x177694cf in _ZN8emu_file16load__7zped_fileEv /home/notroot/trunk/src/emu/fileio.c:908
    #5 0x17766b6a in _ZN8emu_file14attempt__7zpedEv /home/notroot/trunk/src/emu/fileio.c:885
    #6 0x1776298b in _ZN8emu_file9open_nextEv /home/notroot/trunk/src/emu/fileio.c:393
    #7 0x1776443f in _ZN8emu_file4openEPKcj /home/notroot/trunk/src/emu/fileio.c:343
    #8 0x17764f98 in _ZN8emu_file4openEPKcS1_S1_j /home/notroot/trunk/src/emu/fileio.c:357
    #9 0x17e97fba in _Z19common_process_fileR11emu_optionsPKcbjPK9rom_entryPP8emu_file /home/notroot/trunk/src/emu/romload.c:113
    #10 0x17eb3af1 in _ZL13open_rom_fileP15romload_privatePKcPK9rom_entryR7astringb /home/notroot/trunk/src/emu/romload.c:576
    #11 0x17ea501b in _ZL19process_rom_entriesP15romload_privatePKcPK9rom_entryS5_P8device_tb /home/notroot/trunk/src/emu/romload.c:906
    #12 0x17eaeaa2 in _ZL19process_region_listP15romload_private /home/notroot/trunk/src/emu/romload.c:1455
    #13 0x17eab476 in _Z8rom_initR15running_machine /home/notroot/trunk/src/emu/romload.c:1511
    #14 0x17a7fda4 in _ZN15running_machine5startEv /home/notroot/trunk/src/emu/machine.c:291
    #15 0x17a88439 in _ZN15running_machine3runEb /home/notroot/trunk/src/emu/machine.c:391
    #16 0x17a74411 in _Z12mame_executeR11emu_optionsR13osd_interface /home/notroot/trunk/src/emu/mame.c:190
    #17 0x173eb8a6 in _ZN12cli_frontend7executeEiPPc /home/notroot/trunk/src/emu/clifront.c:255
    #18 0x10708f01 in main /home/notroot/trunk/src/osd/sdl/sdlmain.c:378
    #19 0x7f7b63e5cea4 in __libc_start_main /build/buildd/eglibc-2.17/csu/libc-start.c:260
Shadow bytes around the buggy address:
  0x0fefeb32d000: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0fefeb32d010: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0fefeb32d020: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0fefeb32d030: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0fefeb32d040: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
=>0x0fefeb32d050: fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0fefeb32d060: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0fefeb32d070: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0fefeb32d080: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0fefeb32d090: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0fefeb32d0a0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:     fa
  Heap right redzone:    fb
  Freed heap region:     fd
  Stack left redzone:    f1
  Stack mid redzone:     f2
  Stack right redzone:   f3
  Stack partial redzone: f4
  Stack after return:    f5
  Stack use after scope: f8
  Global redzone:        f9
  Global init order:     f6
  Poisoned by user:      f7
  ASan internal:         fe
==52741==ABORTING
再現手順 
追加情報 
 
添付ファイル