Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08479 Misc. Critical (emulator) Always Nov 4, 2022, 13:06 Nov 23, 2022, 00:13
Tester Firewave View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS Linux (64-bit)
Status [?] Acknowledged Driver
Version 0.249 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 08479: abc806: AddressSanitizer: heap-buffer-overflow
Description
=================================================================
==4789==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x629000612200 at pc 0x7fe7ca716947 bp 0x7fffc779aa60 sp 0x7fffc779aa58
READ of size 1 at 0x629000612200 thread T0
    #0 0x7fe7ca716946 in abc806_state::hr_update(bitmap_rgb32&, rectangle const&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/luxor/abc80x.cpp:1028:19
    #1 0x7fe7ca717bce in abc806_state::screen_update(screen_device&, bitmap_rgb32&, rectangle const&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/luxor/abc80x.cpp:1093:2
    #2 0x7fe7db68b7bd in util::detail::delegate_base<delegate_late_bind, unsigned int, screen_device&, bitmap_rgb32&, rectangle const&>::operator()(screen_device&, bitmap_rgb32&, rectangle const&) const /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11
    #3 0x7fe7e6412201 in screen_device::update_partial(int) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1216:41
    #4 0x7fe7e650fbc9 in video_manager::finish_screen_updates() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:622:10
    #5 0x7fe7e650e9cb in video_manager::frame_update(bool) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:215:44
    #6 0x7fe7e64087c8 in screen_device::vblank_begin(int) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1646:21
    #7 0x7fe7e63f1304 in operator() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11
    #8 0x7fe7e63f1304 in device_scheduler::execute_timers() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5
    #9 0x7fe7e63ec858 in device_scheduler::timeslice() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:505:2
    #10 0x7fe7e62844a7 in running_machine::run(bool) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:329:17
    #11 0x7fe7e93eaf7f in mame_machine_manager::execute() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:290:19
    #12 0x7fe7e95df8d6 in cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:275:22
    #13 0x7fe7e95e341f in cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:291:3
    #14 0x7fe7e93efd5f in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:454:18
    #15 0x7fe7e65c658b in main /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:191:9
    #16 0x7fe7a4ac9209 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #17 0x7fe7a4ac92bb in __libc_start_main csu/../csu/libc-start.c:389:3
    #18 0x7fe7c3d50260 in _start (/mnt/s/GitHub/mame/mame+0x1d397260) (BuildId: 603d3d1c300651feb2a8e3ac6e9cb58d3f85e77b)

0x629000612200 is located 0 bytes to the right of 16384-byte region [0x62900060e200,0x629000612200)
allocated by thread T0 here:
    #0 0x7fe7c3dd30ae in __interceptor_malloc (/mnt/s/GitHub/mame/mame+0x1d41a0ae) (BuildId: 603d3d1c300651feb2a8e3ac6e9cb58d3f85e77b)
    #1 0x7fe7dfc1a3f9 in memory_manager::allocate_memory(device_t&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned char, unsigned long) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/emumem.cpp:312:46
    #2 0x7fe7dfc1b255 in memory_manager::share_alloc(device_t&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned char, unsigned long, util::endianness) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/emumem.cpp:378:14
    #3 0x7fe7dfa4c5cd in memory_share_creator<unsigned char>::findit(validity_checker*) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/devfind.cpp:406:22
    #4 0x7fe7dfa5f881 in device_t::findit(validity_checker*) const /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/device.cpp:500:24
    #5 0x7fe7dfa5fd7d in device_t::resolve_post_map() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/device.cpp:526:7
    #6 0x7fe7e6280fa6 in running_machine::start() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:205:10
    #7 0x7fe7e62840dc in running_machine::run(bool) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:281:3
    #8 0x7fe7e93eaf7f in mame_machine_manager::execute() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:290:19
    #9 0x7fe7e95df8d6 in cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:275:22
    #10 0x7fe7e95e341f in cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:291:3
    #11 0x7fe7e93efd5f in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:454:18
    #12 0x7fe7e65c658b in main /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:191:9
    #13 0x7fe7a4ac9209 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16

SUMMARY: AddressSanitizer: heap-buffer-overflow /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/luxor/abc80x.cpp:1028:19 in abc806_state::hr_update(bitmap_rgb32&, rectangle const&)
Shadow bytes around the buggy address:
  0x0c52800ba3f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c52800ba400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c52800ba410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c52800ba420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c52800ba430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0c52800ba440:[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c52800ba450: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c52800ba460: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c52800ba470: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c52800ba480: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c52800ba490: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==4789==ABORTING
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems abc806
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.20858
Firewave
Senior Tester
Nov 23, 2022, 00:13
edited on: Nov 23, 2022, 00:14
Running 0.249 in valgrind reports the following:
==29999== Invalid read of size 1
==29999==    at 0xDC1C824: abc806_state::hr_update(bitmap_rgb32&, rectangle const&) (../../../../../src/mame/luxor/abc80x.cpp:1028)
==29999==    by 0xDC1CBDD: abc806_state::screen_update(screen_device&, bitmap_rgb32&, rectangle const&) (../../../../../src/mame/luxor/abc80x.cpp:1093)
==29999==    by 0x14B632B2: util::detail::delegate_base<delegate_late_bind, unsigned int, screen_device&, bitmap_rgb32&, rectangle const&>::operator()(screen_device&, bitmap_rgb32&, rectangle const&) const (delegate.h:765)
==29999==    by 0x184C5435: screen_device::update_partial(int) (../../../../../src/emu/screen.cpp:1216)
==29999==    by 0x1853491A: video_manager::finish_screen_updates() (../../../../../src/emu/video.cpp:622)
==29999==    by 0x185344F6: video_manager::frame_update(bool) (../../../../../src/emu/video.cpp:215)
==29999==    by 0x184C37E4: screen_device::vblank_begin(int) (../../../../../src/emu/screen.cpp:1646)
==29999==    by 0xA307019: util::detail::delegate_base<delegate_late_bind, void, int>::operator()(int) const (delegate.h:765)
==29999==    by 0x184BD123: device_scheduler::execute_timers() (../../../../../src/emu/schedule.cpp:951)
==29999==    by 0x184BBB18: device_scheduler::timeslice() (../../../../../src/emu/schedule.cpp:505)
==29999==    by 0x183FA05E: running_machine::run(bool) (../../../../../src/emu/machine.cpp:329)
==29999==    by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290)
==29999==    by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275)
==29999==    by 0x16779538: cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) (../../../../../src/frontend/mame/clifront.cpp:291)
==29999==    by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) (../../../../../src/frontend/mame/mame.cpp:454)
==29999==    by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191)
==29999==  Address 0x3a365640 is 0 bytes after a block of size 16,384 alloc'd
==29999==    at 0x1C48079B: malloc (vg_replace_malloc.c:393)
==29999==    by 0x169BB1BD: memory_manager::allocate_memory(device_t&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned char, unsigned long) (../../../../../src/emu/emumem.cpp:312)
==29999==    by 0x169BB68E: memory_manager::share_alloc(device_t&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned char, unsigned long, util::endianness) (../../../../../src/emu/emumem.cpp:378)
==29999==    by 0x1691F90C: memory_share_creator<unsigned char>::findit(validity_checker*) (../../../../../src/emu/devfind.cpp:406)
==29999==    by 0x16925FB2: device_t::findit(validity_checker*) const (../../../../../src/emu/device.cpp:500)
==29999==    by 0x1692605C: device_t::resolve_post_map() (../../../../../src/emu/device.cpp:526)
==29999==    by 0x183F8AEE: running_machine::start() (../../../../../src/emu/machine.cpp:205)
==29999==    by 0x183F9E1E: running_machine::run(bool) (../../../../../src/emu/machine.cpp:281)
==29999==    by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290)
==29999==    by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275)
==29999==    by 0x16779538: cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) (../../../../../src/frontend/mame/clifront.cpp:291)
==29999==    by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) (../../../../../src/frontend/mame/mame.cpp:454)
==29999==    by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191)
==29999== Use of uninitialised value of size 8
==29999==    at 0xDC1C832: abc806_state::hr_update(bitmap_rgb32&, rectangle const&) (../../../../../src/mame/luxor/abc80x.cpp:1029)
==29999==    by 0xDC1CBDD: abc806_state::screen_update(screen_device&, bitmap_rgb32&, rectangle const&) (../../../../../src/mame/luxor/abc80x.cpp:1093)
==29999==    by 0x14B632B2: util::detail::delegate_base<delegate_late_bind, unsigned int, screen_device&, bitmap_rgb32&, rectangle const&>::operator()(screen_device&, bitmap_rgb32&, rectangle const&) const (delegate.h:765)
==29999==    by 0x184C5435: screen_device::update_partial(int) (../../../../../src/emu/screen.cpp:1216)
==29999==    by 0x1853491A: video_manager::finish_screen_updates() (../../../../../src/emu/video.cpp:622)
==29999==    by 0x185344F6: video_manager::frame_update(bool) (../../../../../src/emu/video.cpp:215)
==29999==    by 0x184C37E4: screen_device::vblank_begin(int) (../../../../../src/emu/screen.cpp:1646)
==29999==    by 0xA307019: util::detail::delegate_base<delegate_late_bind, void, int>::operator()(int) const (delegate.h:765)
==29999==    by 0x184BD123: device_scheduler::execute_timers() (../../../../../src/emu/schedule.cpp:951)
==29999==    by 0x184BBB18: device_scheduler::timeslice() (../../../../../src/emu/schedule.cpp:505)
==29999==    by 0x183FA05E: running_machine::run(bool) (../../../../../src/emu/machine.cpp:329)
==29999==    by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290)
==29999==    by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275)
==29999==    by 0x16779538: cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) (../../../../../src/frontend/mame/clifront.cpp:291)
==29999==    by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) (../../../../../src/frontend/mame/mame.cpp:454)
==29999==    by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191)
==29999==  Uninitialised value was created by a heap allocation
==29999==    at 0x1C480F01: operator new(unsigned long) (vg_replace_malloc.c:434)
==29999==    by 0x169B57BF: std::__new_allocator<char32_t>::allocate(unsigned long, void const*) (new_allocator.h:137)
==29999==    by 0x169B5750: std::allocator_traits<std::allocator<char32_t> >::allocate(std::allocator<char32_t>&, unsigned long) (alloc_traits.h:464)
==29999==    by 0x169B5727: std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::_M_create(unsigned long&, unsigned long) (basic_string.tcc:155)
==29999==    by 0x169B5402: std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::_M_mutate(unsigned long, unsigned long, char32_t const*, unsigned long) (basic_string.tcc:328)
==29999==    by 0x169B523B: std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char32_t) (basic_string.tcc:464)
==29999==    by 0x169B5137: std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::append(unsigned long, char32_t) (basic_string.h:1451)
==29999==    by 0x192ACF8B: ustr_from_utf8[abi:cxx11](std::basic_string_view<char, std::char_traits<char> >) (../../../../../src/lib/util/unicode.cpp:294)
==29999==    by 0x15DCF2CE: ui::system_list::do_cache_data(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (../../../../../src/frontend/mame/ui/systemlist.cpp:217)
==29999==    by 0x15DD0FB2: ui::system_list::cache_data(ui_options const&)::$_0::operator()() const (../../../../../src/frontend/mame/ui/systemlist.cpp:44)
==29999==    by 0x15DD0F7C: void std::__invoke_impl<void, ui::system_list::cache_data(ui_options const&)::$_0>(std::__invoke_other, ui::system_list::cache_data(ui_options const&)::$_0&&) (invoke.h:61)
==29999==    by 0x15DD0F0C: std::__invoke_result<ui::system_list::cache_data(ui_options const&)::$_0>::type std::__invoke<ui::system_list::cache_data(ui_options const&)::$_0>(ui::system_list::cache_data(ui_options const&)::$_0&&) (invoke.h:96)
==29999==    by 0x15DD0EE4: void std::thread::_Invoker<std::tuple<ui::system_list::cache_data(ui_options const&)::$_0> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (std_thread.h:252)
==29999==    by 0x15DD0EB4: std::thread::_Invoker<std::tuple<ui::system_list::cache_data(ui_options const&)::$_0> >::operator()() (std_thread.h:259)
==29999==    by 0x15DD0D48: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ui::system_list::cache_data(ui_options const&)::$_0> > >::_M_run() (std_thread.h:210)
==29999==    by 0x1DF654A2: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
==29999==    by 0x1E155FD3: start_thread (pthread_create.c:442)
==29999==    by 0x1E1D580F: clone (clone.S:100)
==29999== Use of uninitialised value of size 8
==29999==    at 0xDC1C847: abc806_state::hr_update(bitmap_rgb32&, rectangle const&) (../../../../../src/mame/luxor/abc80x.cpp:1029)
==29999==    by 0xDC1CBDD: abc806_state::screen_update(screen_device&, bitmap_rgb32&, rectangle const&) (../../../../../src/mame/luxor/abc80x.cpp:1093)
==29999==    by 0x14B632B2: util::detail::delegate_base<delegate_late_bind, unsigned int, screen_device&, bitmap_rgb32&, rectangle const&>::operator()(screen_device&, bitmap_rgb32&, rectangle const&) const (delegate.h:765)
==29999==    by 0x184C5435: screen_device::update_partial(int) (../../../../../src/emu/screen.cpp:1216)
==29999==    by 0x1853491A: video_manager::finish_screen_updates() (../../../../../src/emu/video.cpp:622)
==29999==    by 0x185344F6: video_manager::frame_update(bool) (../../../../../src/emu/video.cpp:215)
==29999==    by 0x184C37E4: screen_device::vblank_begin(int) (../../../../../src/emu/screen.cpp:1646)
==29999==    by 0xA307019: util::detail::delegate_base<delegate_late_bind, void, int>::operator()(int) const (delegate.h:765)
==29999==    by 0x184BD123: device_scheduler::execute_timers() (../../../../../src/emu/schedule.cpp:951)
==29999==    by 0x184BBB18: device_scheduler::timeslice() (../../../../../src/emu/schedule.cpp:505)
==29999==    by 0x183FA05E: running_machine::run(bool) (../../../../../src/emu/machine.cpp:329)
==29999==    by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290)
==29999==    by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275)
==29999==    by 0x16779538: cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) (../../../../../src/frontend/mame/clifront.cpp:291)
==29999==    by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) (../../../../../src/frontend/mame/mame.cpp:454)
==29999==    by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191)
==29999==  Uninitialised value was created by a heap allocation
==29999==    at 0x1C480F01: operator new(unsigned long) (vg_replace_malloc.c:434)
==29999==    by 0x169B57BF: std::__new_allocator<char32_t>::allocate(unsigned long, void const*) (new_allocator.h:137)
==29999==    by 0x169B5750: std::allocator_traits<std::allocator<char32_t> >::allocate(std::allocator<char32_t>&, unsigned long) (alloc_traits.h:464)
==29999==    by 0x169B5727: std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::_M_create(unsigned long&, unsigned long) (basic_string.tcc:155)
==29999==    by 0x169B5402: std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::_M_mutate(unsigned long, unsigned long, char32_t const*, unsigned long) (basic_string.tcc:328)
==29999==    by 0x169B523B: std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char32_t) (basic_string.tcc:464)
==29999==    by 0x169B5137: std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::append(unsigned long, char32_t) (basic_string.h:1451)
==29999==    by 0x192ACF8B: ustr_from_utf8[abi:cxx11](std::basic_string_view<char, std::char_traits<char> >) (../../../../../src/lib/util/unicode.cpp:294)
==29999==    by 0x15DCF2CE: ui::system_list::do_cache_data(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (../../../../../src/frontend/mame/ui/systemlist.cpp:217)
==29999==    by 0x15DD0FB2: ui::system_list::cache_data(ui_options const&)::$_0::operator()() const (../../../../../src/frontend/mame/ui/systemlist.cpp:44)
==29999==    by 0x15DD0F7C: void std::__invoke_impl<void, ui::system_list::cache_data(ui_options const&)::$_0>(std::__invoke_other, ui::system_list::cache_data(ui_options const&)::$_0&&) (invoke.h:61)
==29999==    by 0x15DD0F0C: std::__invoke_result<ui::system_list::cache_data(ui_options const&)::$_0>::type std::__invoke<ui::system_list::cache_data(ui_options const&)::$_0>(ui::system_list::cache_data(ui_options const&)::$_0&&) (invoke.h:96)
==29999==    by 0x15DD0EE4: void std::thread::_Invoker<std::tuple<ui::system_list::cache_data(ui_options const&)::$_0> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (std_thread.h:252)
==29999==    by 0x15DD0EB4: std::thread::_Invoker<std::tuple<ui::system_list::cache_data(ui_options const&)::$_0> >::operator()() (std_thread.h:259)
==29999==    by 0x15DD0D48: std::thread::_State_impl<std::thread::_Invoker<std::tuple<ui::system_list::cache_data(ui_options const&)::$_0> > >::_M_run() (std_thread.h:210)
==29999==    by 0x1DF654A2: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
==29999==    by 0x1E155FD3: start_thread (pthread_create.c:442)
==29999==    by 0x1E1D580F: clone (clone.S:100)