Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05815 Misc. Minor Always Jan 2, 2015, 13:49 Apr 29, 2023, 14:38
Tester Firewave View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS
Status [?] Acknowledged Driver
Version 0.157 Fixed in Version Build Debug
Fixed in Git Commit Github Pull Request #
Summary 05815: all sega/chihiro.cpp sets: memory leak
==15853==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x1135940 in __interceptor_calloc /home/ben/development/llvm/3.5/final/llvm.src/projects/compiler-rt/lib/asan/
    #1 0x89920aa in osd_lock_alloc() /home/notroot/trunk/src/osd/sdl/sdlsync_tc.c:110:28
    #2 0x39a19de in nv2a_renderer::nv2a_renderer(running_machine&) /home/notroot/trunk/src/mame/includes/chihiro.h:164:19
    #3 0x39993d2 in chihiro_state::machine_start() /home/notroot/trunk/src/mame/drivers/chihiro.c:1751:16
    #4 0x80090c7 in driver_device::device_start() /home/notroot/trunk/src/emu/driver.c:221:3
    #5 0x7f7752c in device_t::start() /home/notroot/trunk/src/emu/device.c:392:2
    #6 0x8130b1a in running_machine::start_all_devices() /home/notroot/trunk/src/emu/machine.c:1099:6
    #7 0x812e273 in running_machine::start() /home/notroot/trunk/src/emu/machine.c:281:2
    #8 0x813135c in running_machine::run(bool) /home/notroot/trunk/src/emu/machine.c:345:3
    #9 0x81299ca in machine_manager::execute() /home/notroot/trunk/src/emu/mame.c:216:11
    #10 0x7f5b65e in cli_frontend::execute(int, char**) /home/notroot/trunk/src/emu/clifront.c:244:15
    #11 0x5776e59 in main /home/notroot/trunk/src/osd/sdl/sdlmain.c:343:9
    #12 0x7f246b54aec4 in __libc_start_main /build/buildd/eglibc-2.19/csu/libc-start.c:287

SUMMARY: AddressSanitizer: 40 byte(s) leaked in 1 allocation(s).
Steps To Reproduce
Additional Information
Github Commit
Regression Version
Affected Sets / Systems all sega/chihiro.cpp sets
Attached Files
There are no relationship linked to this issue.
There are no notes attached to this issue.