================================================================= ==159012==ERROR: LeakSanitizer: detected memory leaks Direct leak of 2688 byte(s) in 1 object(s) allocated from: #0 0x5782c9add109 in calloc (/home/user/CLionProjects/mame/mame+0x10954109) (BuildId: a76848f9c1b76b9e) #1 0x7ca28804ad2f () #2 0x7ca28804b1cc () #3 0x7ca28e2468f4 () Direct leak of 128 byte(s) in 1 object(s) allocated from: #0 0x5782c9adbf5a in realloc.part.0 (/home/user/CLionProjects/mame/mame+0x10952f5a) (BuildId: a76848f9c1b76b9e) #1 0x7ca28761aedc () #2 0x7ca28761b49d () #3 0x7ca2950a88fa in __pthread_once_slow /usr/src/debug/glibc/glibc/nptl/pthread_once.c:116:7 #4 0x7ca2950a8978 in __pthread_once /usr/src/debug/glibc/glibc/nptl/pthread_once.c:143:12 #5 0x7ca287619709 () #6 0x7ca28764145c () #7 0x5782c9a1927d in asan_thread_start(void*) (/home/user/CLionProjects/mame/mame+0x1089027d) (BuildId: a76848f9c1b76b9e) Direct leak of 128 byte(s) in 1 object(s) allocated from: #0 0x5782c9adbf5a in realloc.part.0 (/home/user/CLionProjects/mame/mame+0x10952f5a) (BuildId: a76848f9c1b76b9e) #1 0x7ca27b61aedc () #2 0x7ca27b61b49d () #3 0x7ca2950a88fa in __pthread_once_slow /usr/src/debug/glibc/glibc/nptl/pthread_once.c:116:7 #4 0x7ca2950a8978 in __pthread_once /usr/src/debug/glibc/glibc/nptl/pthread_once.c:143:12 #5 0x7ca27b619709 () #6 0x7ca27b64145c () #7 0x5782c9a1927d in asan_thread_start(void*) (/home/user/CLionProjects/mame/mame+0x1089027d) (BuildId: a76848f9c1b76b9e) Direct leak of 128 byte(s) in 1 object(s) allocated from: #0 0x5782c9adbf5a in realloc.part.0 (/home/user/CLionProjects/mame/mame+0x10952f5a) (BuildId: a76848f9c1b76b9e) #1 0x7ca27c0adb7c () #2 0x7ca27c0ae13d () #3 0x7ca2950a88fa in __pthread_once_slow /usr/src/debug/glibc/glibc/nptl/pthread_once.c:116:7 #4 0x7ca2950a8978 in __pthread_once /usr/src/debug/glibc/glibc/nptl/pthread_once.c:143:12 #5 0x7ca27cb5aac9 () #6 0x7ca27cb5bd7d () #7 0x7ca27c77e58c () #8 0x7ca27c77e4bf () #9 0x7ca27c05d4d2 () #10 0x7ca27c06233f () #11 0x7ca288050fad () #12 0x7ca288055d0e () #13 0x7ca288051988 () #14 0x7ca288040456 () #15 0x5782e940e776 in bgfx::gl::GlContext::create(unsigned int, unsigned int, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/glcontext_egl.cpp:215:25 #16 0x5782e940a892 in bgfx::gl::RendererContextGL::setRenderContextSize(unsigned int, unsigned int, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:4138:14 #17 0x5782e93f68af in bgfx::gl::RendererContextGL::init(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:2278:4 #18 0x5782e93dcfaa in bgfx::gl::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:4823:20 #19 0x5782e92cfd33 in bgfx::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2761:16 #20 0x5782e92d431c in bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2812:20 #21 0x5782e92c5bf0 in bgfx::Context::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2448:5 #22 0x5782e92c58a8 in bgfx::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:1489:38 #23 0x5782e92fd6f9 in bgfx::Context::renderThread(bx::Thread*, void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:3148:35 #24 0x5782e954b9eb in entry /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/src/thread.cpp:328:20 #25 0x5782e954b9eb in bx::ThreadInternal::threadFunc(void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/src/thread.cpp:95:20 #26 0x5782c9a1927d in asan_thread_start(void*) (/home/user/CLionProjects/mame/mame+0x1089027d) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 6 object(s) allocated from: #0 0x5782c9adcdc9 in malloc (/home/user/CLionProjects/mame/mame+0x10953dc9) (BuildId: a76848f9c1b76b9e) #1 0x5782e93238c1 in bgfx::AllocatorStub::realloc(void*, unsigned long, unsigned long, char const*, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:220:13 #2 0x5782e9406af1 in alloc /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/include/bx/inline/allocator.inl:37:22 #3 0x5782e9406af1 in bgfx::gl::RendererContextGL::createUniform(bgfx::UniformHandle, bgfx::UniformType::Enum, unsigned short, char const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:3537:17 #4 0x5782e92d0d37 in bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:3301:19 #5 0x5782e92c5bf0 in bgfx::Context::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2448:5 #6 0x5782e92c58a8 in bgfx::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:1489:38 #7 0x5782e92fd6f9 in bgfx::Context::renderThread(bx::Thread*, void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:3148:35 #8 0x5782e954b9eb in entry /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/src/thread.cpp:328:20 #9 0x5782e954b9eb in bx::ThreadInternal::threadFunc(void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/src/thread.cpp:95:20 #10 0x5782c9a1927d in asan_thread_start(void*) (/home/user/CLionProjects/mame/mame+0x1089027d) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e7237a1f in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:171:44 #2 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #3 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #4 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #5 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #6 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #7 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #8 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #9 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #10 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #11 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #12 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #13 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #14 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #15 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #16 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #17 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #19 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e7238000 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:177:44 #2 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #3 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #4 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #5 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #6 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #7 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #8 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #9 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #10 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #11 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #12 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #13 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #14 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #15 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #16 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #17 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #19 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e7238312 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:180:44 #2 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #3 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #4 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #5 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #6 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #7 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #8 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #9 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #10 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #11 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #12 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #13 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #14 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #15 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #16 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #17 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #19 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e7237b0b in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:172:44 #2 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #3 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #4 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #5 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #6 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #7 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #8 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #9 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #10 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #11 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #12 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #13 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #14 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #15 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #16 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #17 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #19 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e7237f21 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:176:44 #2 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #3 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #4 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #5 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #6 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #7 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #8 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #9 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #10 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #11 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #12 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #13 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #14 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #15 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #16 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #17 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #19 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e7237c2d in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:173:44 #2 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #3 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #4 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #5 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #6 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #7 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #8 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #9 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #10 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #11 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #12 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #13 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #14 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #15 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #16 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #17 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #19 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e72380df in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:178:44 #2 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #3 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #4 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #5 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #6 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #7 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #8 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #9 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #10 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #11 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #12 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #13 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #14 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #15 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #16 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #17 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #19 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e72381bd in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:179:44 #2 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #3 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #4 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #5 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #6 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #7 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #8 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #9 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #10 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #11 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #12 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #13 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #14 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #15 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #16 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #17 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #19 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e7237d3b in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:174:44 #2 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #3 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #4 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #5 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #6 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #7 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #8 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #9 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #10 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #11 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #12 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #13 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #14 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #15 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #16 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #17 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #19 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 72 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e7237e13 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:175:44 #2 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #3 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #4 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #5 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #6 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #7 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #8 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #9 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #10 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #11 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #12 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #13 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #14 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #15 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #16 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #17 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #19 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 40 byte(s) in 1 object(s) allocated from: #0 0x5782c9add109 in calloc (/home/user/CLionProjects/mame/mame+0x10954109) (BuildId: a76848f9c1b76b9e) #1 0x7ca28804a7bf () #2 0x7ca28803f840 () #3 0x5782e940e776 in bgfx::gl::GlContext::create(unsigned int, unsigned int, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/glcontext_egl.cpp:215:25 #4 0x5782e940a892 in bgfx::gl::RendererContextGL::setRenderContextSize(unsigned int, unsigned int, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:4138:14 #5 0x5782e93f68af in bgfx::gl::RendererContextGL::init(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:2278:4 #6 0x5782e93dcfaa in bgfx::gl::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:4823:20 #7 0x5782e92cfd33 in bgfx::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2761:16 #8 0x5782e92d431c in bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2812:20 #9 0x5782e92c5bf0 in bgfx::Context::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2448:5 #10 0x5782e92c58a8 in bgfx::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:1489:38 #11 0x5782e92fd6f9 in bgfx::Context::renderThread(bx::Thread*, void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:3148:35 #12 0x5782e954b9eb in entry /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/src/thread.cpp:328:20 #13 0x5782e954b9eb in bx::ThreadInternal::threadFunc(void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/src/thread.cpp:95:20 #14 0x5782c9a1927d in asan_thread_start(void*) (/home/user/CLionProjects/mame/mame+0x1089027d) (BuildId: a76848f9c1b76b9e) Direct leak of 20 byte(s) in 1 object(s) allocated from: #0 0x5782c9adcdc9 in malloc (/home/user/CLionProjects/mame/mame+0x10953dc9) (BuildId: a76848f9c1b76b9e) #1 0x5782e90d0288 in pm_alloc /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/portmidi/pm_linux/pmlinux.c:72:35 #2 0x5782e90d2c45 in pm_strdup /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/portmidi/pm_linux/pmlinuxalsa.c:715:26 #3 0x5782e90d2c45 in pm_linuxalsa_init /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/portmidi/pm_linux/pmlinuxalsa.c:769:31 #4 0x5782e90d01b8 in pm_init /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/portmidi/pm_linux/pmlinux.c:39:2 #5 0x5782e90cba72 in Pm_Initialize /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/portmidi/pm_common/portmidi.c:330:9 #6 0x5782e73abf48 in osd::(anonymous namespace)::pm_module::init(osd_interface&, osd_options const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/midi/portmidi.cpp:87:2 #7 0x5782e95534f2 in osd_module_manager::select_module(osd_interface&, osd_options const&, char const*, char const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/osdmodule.cpp:74:11 #8 0x5782e71b61fe in select_module /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/osdmodule.h:83:28 #9 0x5782e71b61fe in midi_module& osd_common_t::select_module_options(std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/lib/osdobj_common.h:312:20 #10 0x5782e71b0354 in osd_common_t::init_subsystems() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/lib/osdobj_common.cpp:702:12 #11 0x5782e71a6275 in sdl_osd_interface::init(running_machine&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/osdsdl.cpp:308:16 #12 0x5782e6f621a6 in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:154:18 #13 0x5782e6f65046 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3 #14 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #15 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #16 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #17 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #18 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #19 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #20 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #21 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 20 byte(s) in 1 object(s) allocated from: #0 0x5782c9adcdc9 in malloc (/home/user/CLionProjects/mame/mame+0x10953dc9) (BuildId: a76848f9c1b76b9e) #1 0x5782e90d0288 in pm_alloc /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/portmidi/pm_linux/pmlinux.c:72:35 #2 0x5782e90d2d52 in pm_strdup /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/portmidi/pm_linux/pmlinuxalsa.c:715:26 #3 0x5782e90d2d52 in pm_linuxalsa_init /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/portmidi/pm_linux/pmlinuxalsa.c:758:31 #4 0x5782e90d01b8 in pm_init /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/portmidi/pm_linux/pmlinux.c:39:2 #5 0x5782e90cba72 in Pm_Initialize /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/portmidi/pm_common/portmidi.c:330:9 #6 0x5782e73abf48 in osd::(anonymous namespace)::pm_module::init(osd_interface&, osd_options const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/midi/portmidi.cpp:87:2 #7 0x5782e95534f2 in osd_module_manager::select_module(osd_interface&, osd_options const&, char const*, char const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/osdmodule.cpp:74:11 #8 0x5782e71b61fe in select_module /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/osdmodule.h:83:28 #9 0x5782e71b61fe in midi_module& osd_common_t::select_module_options(std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/lib/osdobj_common.h:312:20 #10 0x5782e71b0354 in osd_common_t::init_subsystems() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/lib/osdobj_common.cpp:702:12 #11 0x5782e71a6275 in sdl_osd_interface::init(running_machine&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/osdsdl.cpp:308:16 #12 0x5782e6f621a6 in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:154:18 #13 0x5782e6f65046 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3 #14 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #15 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #16 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #17 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #18 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #19 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #20 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #21 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 10 byte(s) in 1 object(s) allocated from: #0 0x5782c9adcdc9 in malloc (/home/user/CLionProjects/mame/mame+0x10953dc9) (BuildId: a76848f9c1b76b9e) #1 0x5782e93238c1 in bgfx::AllocatorStub::realloc(void*, unsigned long, unsigned long, char const*, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:220:13 #2 0x5782e9310ab8 in alloc /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/include/bx/inline/allocator.inl:37:22 #3 0x5782e9310ab8 in bgfx::Context::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:4210:37 #4 0x5782e92bbe02 in bgfx::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:4354:17 #5 0x5782e72271fa in shader_manager::load_shader(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/shadermanager.cpp:56:10 #6 0x5782e7223429 in get_shader_data /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:144:20 #7 0x5782e7223429 in effect_reader::read_from_value(std::__cxx11::basic_string, std::allocator> const&, rapidjson::GenericValue, rapidjson::MemoryPoolAllocator> const&, std::__cxx11::basic_string, std::allocator> const&, osd_options const&, shader_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:43:7 #8 0x5782e7220280 in effect_manager::load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:107:40 #9 0x5782e721fe9e in effect_manager::get_or_load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:96:9 #10 0x5782e7200a16 in chain_manager::init_texture_converters() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:100:35 #11 0x5782e71ff222 in chain_manager::chain_manager(running_machine&, osd_options const&, texture_manager&, target_manager&, effect_manager&, unsigned int, slider_dirty_notifier&, unsigned short, unsigned short) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:89:2 #12 0x5782e71e8b0b in make_unique /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/unique_ptr.h:1076:34 #13 0x5782e71e8b0b in renderer_bgfx::create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:697:13 #14 0x5782e7406539 in sdl_window_info::complete_create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:984:17 #15 0x5782e7409f22 in sdl_window_info::window_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:609:15 #16 0x5782e74035a1 in sdl_osd_interface::video_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:69:12 #17 0x5782e71afda9 in osd_common_t::init_subsystems() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/lib/osdobj_common.cpp:681:7 #18 0x5782e71a6275 in sdl_osd_interface::init(running_machine&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/osdsdl.cpp:308:16 #19 0x5782e6f621a6 in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:154:18 #20 0x5782e6f65046 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3 #21 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #22 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #23 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #24 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #25 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #26 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #27 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #28 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 6 byte(s) in 1 object(s) allocated from: #0 0x5782c9adcdc9 in malloc (/home/user/CLionProjects/mame/mame+0x10953dc9) (BuildId: a76848f9c1b76b9e) #1 0x5782e93238c1 in bgfx::AllocatorStub::realloc(void*, unsigned long, unsigned long, char const*, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:220:13 #2 0x5782e9310ab8 in alloc /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/include/bx/inline/allocator.inl:37:22 #3 0x5782e9310ab8 in bgfx::Context::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:4210:37 #4 0x5782e92bbe02 in bgfx::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:4354:17 #5 0x5782e72271fa in shader_manager::load_shader(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/shadermanager.cpp:56:10 #6 0x5782e7223429 in get_shader_data /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:144:20 #7 0x5782e7223429 in effect_reader::read_from_value(std::__cxx11::basic_string, std::allocator> const&, rapidjson::GenericValue, rapidjson::MemoryPoolAllocator> const&, std::__cxx11::basic_string, std::allocator> const&, osd_options const&, shader_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:43:7 #8 0x5782e7220280 in effect_manager::load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:107:40 #9 0x5782e721fe9e in effect_manager::get_or_load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:96:9 #10 0x5782e72012cd in chain_manager::init_texture_converters() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:104:25 #11 0x5782e71ff222 in chain_manager::chain_manager(running_machine&, osd_options const&, texture_manager&, target_manager&, effect_manager&, unsigned int, slider_dirty_notifier&, unsigned short, unsigned short) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:89:2 #12 0x5782e71e8b0b in make_unique /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/unique_ptr.h:1076:34 #13 0x5782e71e8b0b in renderer_bgfx::create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:697:13 #14 0x5782e7406539 in sdl_window_info::complete_create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:984:17 #15 0x5782e7409f22 in sdl_window_info::window_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:609:15 #16 0x5782e74035a1 in sdl_osd_interface::video_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:69:12 #17 0x5782e71afda9 in osd_common_t::init_subsystems() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/lib/osdobj_common.cpp:681:7 #18 0x5782e71a6275 in sdl_osd_interface::init(running_machine&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/osdsdl.cpp:308:16 #19 0x5782e6f621a6 in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:154:18 #20 0x5782e6f65046 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3 #21 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #22 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #23 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #24 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #25 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #26 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #27 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #28 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 6 byte(s) in 1 object(s) allocated from: #0 0x5782c9adcdc9 in malloc (/home/user/CLionProjects/mame/mame+0x10953dc9) (BuildId: a76848f9c1b76b9e) #1 0x5782e93238c1 in bgfx::AllocatorStub::realloc(void*, unsigned long, unsigned long, char const*, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:220:13 #2 0x5782e9310ab8 in alloc /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/include/bx/inline/allocator.inl:37:22 #3 0x5782e9310ab8 in bgfx::Context::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:4210:37 #4 0x5782e92bbe02 in bgfx::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:4354:17 #5 0x5782e72271fa in shader_manager::load_shader(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/shadermanager.cpp:56:10 #6 0x5782e7223429 in get_shader_data /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:144:20 #7 0x5782e7223429 in effect_reader::read_from_value(std::__cxx11::basic_string, std::allocator> const&, rapidjson::GenericValue, rapidjson::MemoryPoolAllocator> const&, std::__cxx11::basic_string, std::allocator> const&, osd_options const&, shader_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:43:7 #8 0x5782e7220280 in effect_manager::load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:107:40 #9 0x5782e721fe9e in effect_manager::get_or_load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:96:9 #10 0x5782e7201098 in chain_manager::init_texture_converters() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:103:35 #11 0x5782e71ff222 in chain_manager::chain_manager(running_machine&, osd_options const&, texture_manager&, target_manager&, effect_manager&, unsigned int, slider_dirty_notifier&, unsigned short, unsigned short) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:89:2 #12 0x5782e71e8b0b in make_unique /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/unique_ptr.h:1076:34 #13 0x5782e71e8b0b in renderer_bgfx::create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:697:13 #14 0x5782e7406539 in sdl_window_info::complete_create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:984:17 #15 0x5782e7409f22 in sdl_window_info::window_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:609:15 #16 0x5782e74035a1 in sdl_osd_interface::video_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:69:12 #17 0x5782e71afda9 in osd_common_t::init_subsystems() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/lib/osdobj_common.cpp:681:7 #18 0x5782e71a6275 in sdl_osd_interface::init(running_machine&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/osdsdl.cpp:308:16 #19 0x5782e6f621a6 in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:154:18 #20 0x5782e6f65046 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3 #21 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #22 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #23 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #24 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #25 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #26 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #27 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #28 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 4 byte(s) in 1 object(s) allocated from: #0 0x5782c9adcdc9 in malloc (/home/user/CLionProjects/mame/mame+0x10953dc9) (BuildId: a76848f9c1b76b9e) #1 0x7ca2880d76ad () #2 0x7ca2880d11b4 () #3 0x5782e942bb9f in bgfx::vk::SwapChainVK::createSurface() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_vk.cpp:6809:16 #4 0x5782e942b477 in bgfx::vk::SwapChainVK::create(VkCommandBuffer_T*, void*, bgfx::Resolution const&, bgfx::TextureFormat::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_vk.cpp:6531:12 #5 0x5782e9431ded in bgfx::vk::FrameBufferVK::create(unsigned short, void*, unsigned int, unsigned int, bgfx::TextureFormat::Enum, bgfx::TextureFormat::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_vk.cpp:7518:24 #6 0x5782e9445d83 in bgfx::vk::RendererContextVK::init(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_vk.cpp:1923:28 #7 0x5782e941bcca in bgfx::vk::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_vk.cpp:4499:20 #8 0x5782e92cfd33 in bgfx::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2761:16 #9 0x5782e92d431c in bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2812:20 #10 0x5782e92c5bf0 in bgfx::Context::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2448:5 #11 0x5782e92c58a8 in bgfx::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:1489:38 #12 0x5782e92fd6f9 in bgfx::Context::renderThread(bx::Thread*, void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:3148:35 #13 0x5782e954b9eb in entry /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/src/thread.cpp:328:20 #14 0x5782e954b9eb in bx::ThreadInternal::threadFunc(void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/src/thread.cpp:95:20 #15 0x5782c9a1927d in asan_thread_start(void*) (/home/user/CLionProjects/mame/mame+0x1089027d) (BuildId: a76848f9c1b76b9e) Direct leak of 2 byte(s) in 1 object(s) allocated from: #0 0x5782c9adcdc9 in malloc (/home/user/CLionProjects/mame/mame+0x10953dc9) (BuildId: a76848f9c1b76b9e) #1 0x5782e93238c1 in bgfx::AllocatorStub::realloc(void*, unsigned long, unsigned long, char const*, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:220:13 #2 0x5782e9310ab8 in alloc /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/include/bx/inline/allocator.inl:37:22 #3 0x5782e9310ab8 in bgfx::Context::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:4210:37 #4 0x5782e92bbe02 in bgfx::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:4354:17 #5 0x5782e72271fa in shader_manager::load_shader(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/shadermanager.cpp:56:10 #6 0x5782e7223410 in get_shader_data /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:138:18 #7 0x5782e7223410 in effect_reader::read_from_value(std::__cxx11::basic_string, std::allocator> const&, rapidjson::GenericValue, rapidjson::MemoryPoolAllocator> const&, std::__cxx11::basic_string, std::allocator> const&, osd_options const&, shader_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:43:7 #8 0x5782e7220280 in effect_manager::load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:107:40 #9 0x5782e721fe9e in effect_manager::get_or_load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:96:9 #10 0x5782e7200a16 in chain_manager::init_texture_converters() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:100:35 #11 0x5782e71ff222 in chain_manager::chain_manager(running_machine&, osd_options const&, texture_manager&, target_manager&, effect_manager&, unsigned int, slider_dirty_notifier&, unsigned short, unsigned short) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:89:2 #12 0x5782e71e8b0b in make_unique /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/unique_ptr.h:1076:34 #13 0x5782e71e8b0b in renderer_bgfx::create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:697:13 #14 0x5782e7406539 in sdl_window_info::complete_create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:984:17 #15 0x5782e7409f22 in sdl_window_info::window_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:609:15 #16 0x5782e74035a1 in sdl_osd_interface::video_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:69:12 #17 0x5782e71afda9 in osd_common_t::init_subsystems() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/lib/osdobj_common.cpp:681:7 #18 0x5782e71a6275 in sdl_osd_interface::init(running_machine&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/osdsdl.cpp:308:16 #19 0x5782e6f621a6 in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:154:18 #20 0x5782e6f65046 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3 #21 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #22 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #23 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #24 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #25 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #26 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #27 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #28 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 2 byte(s) in 1 object(s) allocated from: #0 0x5782c9adcdc9 in malloc (/home/user/CLionProjects/mame/mame+0x10953dc9) (BuildId: a76848f9c1b76b9e) #1 0x5782e93238c1 in bgfx::AllocatorStub::realloc(void*, unsigned long, unsigned long, char const*, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:220:13 #2 0x5782e9310ab8 in alloc /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/include/bx/inline/allocator.inl:37:22 #3 0x5782e9310ab8 in bgfx::Context::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:4210:37 #4 0x5782e92bbe02 in bgfx::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:4354:17 #5 0x5782e72271fa in shader_manager::load_shader(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/shadermanager.cpp:56:10 #6 0x5782e7223429 in get_shader_data /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:144:20 #7 0x5782e7223429 in effect_reader::read_from_value(std::__cxx11::basic_string, std::allocator> const&, rapidjson::GenericValue, rapidjson::MemoryPoolAllocator> const&, std::__cxx11::basic_string, std::allocator> const&, osd_options const&, shader_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:43:7 #8 0x5782e7220280 in effect_manager::load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:107:40 #9 0x5782e721fe9e in effect_manager::get_or_load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:96:9 #10 0x5782e71e82e4 in renderer_bgfx::create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:686:31 #11 0x5782e7406539 in sdl_window_info::complete_create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:984:17 #12 0x5782e7409f22 in sdl_window_info::window_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:609:15 #13 0x5782e74035a1 in sdl_osd_interface::video_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:69:12 #14 0x5782e71afda9 in osd_common_t::init_subsystems() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/lib/osdobj_common.cpp:681:7 #15 0x5782e71a6275 in sdl_osd_interface::init(running_machine&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/osdsdl.cpp:308:16 #16 0x5782e6f621a6 in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:154:18 #17 0x5782e6f65046 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3 #18 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #19 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #20 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #21 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #22 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #23 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #24 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #25 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Direct leak of 2 byte(s) in 1 object(s) allocated from: #0 0x5782c9adcdc9 in malloc (/home/user/CLionProjects/mame/mame+0x10953dc9) (BuildId: a76848f9c1b76b9e) #1 0x5782e93238c1 in bgfx::AllocatorStub::realloc(void*, unsigned long, unsigned long, char const*, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:220:13 #2 0x5782e9310ab8 in alloc /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/include/bx/inline/allocator.inl:37:22 #3 0x5782e9310ab8 in bgfx::Context::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:4210:37 #4 0x5782e92bbe02 in bgfx::createShader(bgfx::Memory const*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:4354:17 #5 0x5782e72271fa in shader_manager::load_shader(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/shadermanager.cpp:56:10 #6 0x5782e7223429 in get_shader_data /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:144:20 #7 0x5782e7223429 in effect_reader::read_from_value(std::__cxx11::basic_string, std::allocator> const&, rapidjson::GenericValue, rapidjson::MemoryPoolAllocator> const&, std::__cxx11::basic_string, std::allocator> const&, osd_options const&, shader_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectreader.cpp:43:7 #8 0x5782e7220280 in effect_manager::load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:107:40 #9 0x5782e721fe9e in effect_manager::get_or_load_effect(osd_options const&, std::__cxx11::basic_string, std::allocator> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/effectmanager.cpp:96:9 #10 0x5782e7200c94 in chain_manager::init_texture_converters() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:101:35 #11 0x5782e71ff222 in chain_manager::chain_manager(running_machine&, osd_options const&, texture_manager&, target_manager&, effect_manager&, unsigned int, slider_dirty_notifier&, unsigned short, unsigned short) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:89:2 #12 0x5782e71e8b0b in make_unique /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/unique_ptr.h:1076:34 #13 0x5782e71e8b0b in renderer_bgfx::create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:697:13 #14 0x5782e7406539 in sdl_window_info::complete_create() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:984:17 #15 0x5782e7409f22 in sdl_window_info::window_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:609:15 #16 0x5782e74035a1 in sdl_osd_interface::video_init() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:69:12 #17 0x5782e71afda9 in osd_common_t::init_subsystems() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/lib/osdobj_common.cpp:681:7 #18 0x5782e71a6275 in sdl_osd_interface::init(running_machine&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/osdsdl.cpp:308:16 #19 0x5782e6f621a6 in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:154:18 #20 0x5782e6f65046 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3 #21 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #22 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #23 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #24 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #25 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #26 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #27 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #28 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 144 byte(s) in 1 object(s) allocated from: #0 0x5782c9add109 in calloc (/home/user/CLionProjects/mame/mame+0x10954109) (BuildId: a76848f9c1b76b9e) #1 0x7ca287fb88c7 () #2 0x7ca287fb8c53 () #3 0x7ca287fbd921 () #4 0x7ca28804a74b () #5 0x7ca28803f840 () #6 0x5782e940e776 in bgfx::gl::GlContext::create(unsigned int, unsigned int, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/glcontext_egl.cpp:215:25 #7 0x5782e940a892 in bgfx::gl::RendererContextGL::setRenderContextSize(unsigned int, unsigned int, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:4138:14 #8 0x5782e93f68af in bgfx::gl::RendererContextGL::init(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:2278:4 #9 0x5782e93dcfaa in bgfx::gl::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:4823:20 #10 0x5782e92cfd33 in bgfx::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2761:16 #11 0x5782e92d431c in bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2812:20 #12 0x5782e92c5bf0 in bgfx::Context::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2448:5 #13 0x5782e92c58a8 in bgfx::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:1489:38 #14 0x5782e92fd6f9 in bgfx::Context::renderThread(bx::Thread*, void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx_p.h:3148:35 #15 0x5782e954b9eb in entry /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/src/thread.cpp:328:20 #16 0x5782e954b9eb in bx::ThreadInternal::threadFunc(void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bx/src/thread.cpp:95:20 #17 0x5782c9a1927d in asan_thread_start(void*) (/home/user/CLionProjects/mame/mame+0x1089027d) (BuildId: a76848f9c1b76b9e) Indirect leak of 56 byte(s) in 1 object(s) allocated from: #0 0x5782c9add109 in calloc (/home/user/CLionProjects/mame/mame+0x10954109) (BuildId: a76848f9c1b76b9e) #1 0x7ca27cd041de () #2 0x7ca27c77e0b4 () #3 0x7ca27c7665d1 () #4 0x7ca27c7667b7 () #5 0x7ca27c711626 () #6 0x7ca27c7144e1 () #7 0x7ca27c70eeb5 () #8 0x7ca27c6b0280 () #9 0x7ca27c6f7979 () #10 0x7ca27c6f3268 () #11 0x7ca27c67d882 () #12 0x7ca27c6762a9 () #13 0x7ca27c676727 () #14 0x7ca27c676bec () #15 0x7ca27c7a6317 () #16 0x7ca27cd7988d () #17 0x7ca27cd79b29 () #18 0x7ca27cd7a05f () #19 0x7ca27cd7cfbc () #20 0x7ca27cd7e209 () #21 0x7ca27c7e05be () #22 0x7ca27c6b2eb8 () #23 0x7ca27c13e36c () #24 0x7ca27c33a0b6 () #25 0x5782e93f8223 in isTextureFormatValid /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:1878:5 #26 0x5782e93f8223 in bgfx::gl::RendererContextGL::init(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:2743:20 #27 0x5782e93dcfaa in bgfx::gl::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:4823:20 #28 0x5782e92cfd33 in bgfx::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2761:16 #29 0x5782e92d431c in bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2812:20 #30 0x5782e92c5bf0 in bgfx::Context::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2448:5 Indirect leak of 56 byte(s) in 1 object(s) allocated from: #0 0x5782c9add109 in calloc (/home/user/CLionProjects/mame/mame+0x10954109) (BuildId: a76848f9c1b76b9e) #1 0x7ca27cd04203 () #2 0x7ca27c77e0b4 () #3 0x7ca27c7665d1 () #4 0x7ca27c7667b7 () #5 0x7ca27c711626 () #6 0x7ca27c7144e1 () #7 0x7ca27c70eeb5 () #8 0x7ca27c6b0280 () #9 0x7ca27c6f7979 () #10 0x7ca27c6f3268 () #11 0x7ca27c67d882 () #12 0x7ca27c6762a9 () #13 0x7ca27c676727 () #14 0x7ca27c676bec () #15 0x7ca27c7a6317 () #16 0x7ca27cd7988d () #17 0x7ca27cd79b29 () #18 0x7ca27cd7a05f () #19 0x7ca27cd7cfbc () #20 0x7ca27cd7e209 () #21 0x7ca27c7e05be () #22 0x7ca27c6b2eb8 () #23 0x7ca27c13e36c () #24 0x7ca27c33a0b6 () #25 0x5782e93f8223 in isTextureFormatValid /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:1878:5 #26 0x5782e93f8223 in bgfx::gl::RendererContextGL::init(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:2743:20 #27 0x5782e93dcfaa in bgfx::gl::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/renderer_gl.cpp:4823:20 #28 0x5782e92cfd33 in bgfx::rendererCreate(bgfx::Init const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2761:16 #29 0x5782e92d431c in bgfx::Context::rendererExecCommands(bgfx::CommandBuffer&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2812:20 #30 0x5782e92c5bf0 in bgfx::Context::renderFrame(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../3rdparty/bgfx/src/bgfx.cpp:2448:5 Indirect leak of 18 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e7238213 in _M_construct /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/basic_string.tcc:229:14 #2 0x5782e7238213 in basic_string > /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/basic_string.h:654:2 #3 0x5782e7238213 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:179:61 #4 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #5 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #6 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #7 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #8 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #9 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #10 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #11 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #12 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #13 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #14 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #15 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #16 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #17 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #18 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #19 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #20 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #21 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 18 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25822 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c822) (BuildId: a76848f9c1b76b9e) #1 0x5782e7238368 in _M_construct /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/basic_string.tcc:229:14 #2 0x5782e7238368 in basic_string > /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/basic_string.h:654:2 #3 0x5782e7238368 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:180:61 #4 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #5 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #6 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #7 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #8 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #9 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #10 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #11 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #12 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #13 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #14 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #15 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #16 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #17 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #18 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #19 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #20 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #21 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25992 in operator new[](unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c992) (BuildId: a76848f9c1b76b9e) #1 0x5782e722c30f in bgfx_uniform::bgfx_uniform(std::__cxx11::basic_string, std::allocator>&&, bgfx::UniformType::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/uniform.cpp:22:12 #2 0x5782e7237f90 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:176:48 #3 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #4 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #5 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #6 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #15 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #16 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #17 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #20 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25992 in operator new[](unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c992) (BuildId: a76848f9c1b76b9e) #1 0x5782e722c30f in bgfx_uniform::bgfx_uniform(std::__cxx11::basic_string, std::allocator>&&, bgfx::UniformType::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/uniform.cpp:22:12 #2 0x5782e723814e in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:178:48 #3 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #4 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #5 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #6 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #15 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #16 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #17 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #20 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25992 in operator new[](unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c992) (BuildId: a76848f9c1b76b9e) #1 0x5782e722c30f in bgfx_uniform::bgfx_uniform(std::__cxx11::basic_string, std::allocator>&&, bgfx::UniformType::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/uniform.cpp:22:12 #2 0x5782e7238275 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:179:48 #3 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #4 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #5 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #6 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #15 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #16 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #17 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #20 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25992 in operator new[](unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c992) (BuildId: a76848f9c1b76b9e) #1 0x5782e722c30f in bgfx_uniform::bgfx_uniform(std::__cxx11::basic_string, std::allocator>&&, bgfx::UniformType::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/uniform.cpp:22:12 #2 0x5782e7237da7 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:174:48 #3 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #4 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #5 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #6 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #15 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #16 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #17 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #20 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25992 in operator new[](unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c992) (BuildId: a76848f9c1b76b9e) #1 0x5782e722c30f in bgfx_uniform::bgfx_uniform(std::__cxx11::basic_string, std::allocator>&&, bgfx::UniformType::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/uniform.cpp:22:12 #2 0x5782e723806f in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:177:48 #3 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #4 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #5 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #6 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #15 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #16 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #17 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #20 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25992 in operator new[](unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c992) (BuildId: a76848f9c1b76b9e) #1 0x5782e722c30f in bgfx_uniform::bgfx_uniform(std::__cxx11::basic_string, std::allocator>&&, bgfx::UniformType::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/uniform.cpp:22:12 #2 0x5782e7237e84 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:175:48 #3 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #4 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #5 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #6 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #15 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #16 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #17 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #20 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25992 in operator new[](unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c992) (BuildId: a76848f9c1b76b9e) #1 0x5782e722c30f in bgfx_uniform::bgfx_uniform(std::__cxx11::basic_string, std::allocator>&&, bgfx::UniformType::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/uniform.cpp:22:12 #2 0x5782e7237c9e in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:173:48 #3 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #4 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #5 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #6 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #15 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #16 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #17 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #20 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25992 in operator new[](unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c992) (BuildId: a76848f9c1b76b9e) #1 0x5782e722c30f in bgfx_uniform::bgfx_uniform(std::__cxx11::basic_string, std::allocator>&&, bgfx::UniformType::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/uniform.cpp:22:12 #2 0x5782e72383c8 in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:180:48 #3 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #4 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #5 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #6 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #15 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #16 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #17 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #20 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 4 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25992 in operator new[](unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c992) (BuildId: a76848f9c1b76b9e) #1 0x5782e722c30f in bgfx_uniform::bgfx_uniform(std::__cxx11::basic_string, std::allocator>&&, bgfx::UniformType::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/uniform.cpp:22:12 #2 0x5782e7237b7b in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:172:48 #3 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #4 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #5 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #6 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #15 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #16 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #17 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #20 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) Indirect leak of 4 byte(s) in 1 object(s) allocated from: #0 0x5782c9b25992 in operator new[](unsigned long) (/home/user/CLionProjects/mame/mame+0x1099c992) (BuildId: a76848f9c1b76b9e) #1 0x5782e722c30f in bgfx_uniform::bgfx_uniform(std::__cxx11::basic_string, std::allocator>&&, bgfx::UniformType::Enum) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/uniform.cpp:22:12 #2 0x5782e7237a8e in bgfx_chain::insert_effect(unsigned int, bgfx_effect*, bool, std::__cxx11::basic_string, std::allocator>, std::__cxx11::basic_string, std::allocator>, chain_manager&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chain.cpp:171:48 #3 0x5782e720a6a2 in chain_manager::update_screen_textures(unsigned int, render_primitive*, osd_window&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/bgfx/chainmanager.cpp:640:11 #4 0x5782e71f04be in renderer_bgfx::draw(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawbgfx.cpp:1204:35 #5 0x5782e740afbc in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:791:17 #6 0x5782e740431f in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x5782e7135327 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x5782e709a21f in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x5782e708cd8d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x5782e708cd8d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x5782e7087bc8 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x5782e6f656bb in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x5782e28ac8b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x5782e35f2057 in cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator>, std::allocator, std::allocator>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:277:22 #15 0x5782e35f4a34 in cli_frontend::execute(std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:293:3 #16 0x5782e28af43d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator>, std::allocator, std::allocator>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18 #17 0x5782e71a2195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ca295034e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7ca295034ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #20 0x5782c99f0ce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) SUMMARY: AddressSanitizer: 4404 byte(s) leaked in 45 allocation(s).