==29827== Memcheck, a memory error detector ==29827== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==29827== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info ==29827== Command: ./mame -rp /mnt/s/_roms/mame;/mnt/s/_roms/mame_chd;/mnt/s/_roms/mess_software -window -nofilter -video none -str 2 victor9k ==29827== ==29827== error calling PR_SET_PTRACER, vgdb might block ==29895== Warning: invalid file descriptor 1024 in syscall close() ==29895== Warning: invalid file descriptor 1025 in syscall close() ==29895== Warning: invalid file descriptor 1026 in syscall close() ==29895== Warning: invalid file descriptor 1027 in syscall close() ==29895== Use --log-fd= to select an alternative log fd. ==29895== Warning: invalid file descriptor 1028 in syscall close() ==29895== Warning: invalid file descriptor 1029 in syscall close() shared memfd open() failed: Function not implemented ALSA lib confmisc.c:855:(parse_card) cannot find card '0' ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory ==29827== Conditional jump or move depends on uninitialised value(s) ==29827== at 0xA44A5E0: victor_9000_fdc_device::wrsync_w(int) (../../../../../src/mame/act/victor9k_fdc.cpp:779) ==29827== by 0xA307019: util::detail::delegate_base::operator()(int) const (delegate.h:765) ==29827== by 0xBBB2AA1: std::enable_if >::value, void>::type devcb_write_base::invoke_write >(emu::device_delegate const&, unsigned int&, int, std::make_unsigned::type) (devcb.h:299) ==29827== by 0x16917470: devcb_write::delegate_builder >::build()::{lambda(unsigned int, int, unsigned int)#1}::operator()(unsigned int, int, unsigned int) const (devcb.h:1355) ==29827== by 0x16917436: devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}::operator()(unsigned int, int, unsigned int) const (devcb.h:954) ==29827== by 0x169173EA: void std::__invoke_impl::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int, int, unsigned int>(std::__invoke_other, devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int&&, int&&, unsigned int&&) (invoke.h:61) ==29827== by 0x1691735B: std::enable_if::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int, int, unsigned int>, void>::type std::__invoke_r::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int, int, unsigned int>(devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int&&, int&&, unsigned int&&) (invoke.h:111) ==29827== by 0x1691714B: std::_Function_handler::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}>::_M_invoke(std::_Any_data const&, unsigned int&&, int&&, unsigned int&&) (std_function.h:290) ==29827== by 0x1682D1EB: std::function::operator()(unsigned int, int, unsigned int) const (std_function.h:591) ==29827== by 0x1682D080: devcb_write::operator()(unsigned int, int, unsigned int) (devcb.h:2370) ==29827== by 0x1682D2C1: devcb_write::operator()(int) (devcb.h:2378) ==29827== by 0x148110FC: via6522_device::device_reset() (../../../../../src/devices/machine/6522via.cpp:348) ==29827== by 0x16925A6F: device_t::reset() (../../../../../src/emu/device.cpp:348) ==29827== by 0xA44BD09: victor_9000_fdc_device::device_reset() (../../../../../src/mame/act/victor9k_fdc.cpp:329) ==29827== by 0x16925A6F: device_t::reset() (../../../../../src/emu/device.cpp:348) ==29827== by 0x16925AC6: device_t::reset() (../../../../../src/emu/device.cpp:352) ==29827== by 0x183F92CC: running_machine::reset_all_devices() (../../../../../src/emu/machine.cpp:1040) ==29827== by 0xAED06E8: util::detail::delegate_base::operator()() const (delegate.h:765) ==29827== by 0x183FB1A8: running_machine::call_notifiers(machine_notification) (../../../../../src/emu/machine.cpp:849) ==29827== by 0x183F90BA: running_machine::soft_reset(int) (../../../../../src/emu/machine.cpp:956) ==29827== by 0x183F9F82: running_machine::run(bool) (../../../../../src/emu/machine.cpp:309) ==29827== by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== Uninitialised value was created by a heap allocation ==29827== at 0x1C480F01: operator new(unsigned long) (vg_replace_malloc.c:434) ==29827== by 0xA4483A3: std::__detail::_MakeUniq::__single_object std::make_unique(machine_config&, char const*&, device_t*&, int&&) (unique_ptr.h:1065) ==29827== by 0xA448253: std::unique_ptr > emu::detail::device_type_impl::create(machine_config&, char const*, device_t*, int&&) const (device.h:302) ==29827== by 0xA44814A: auto machine_config::device_add const&, int>(char const*, emu::detail::device_type_impl const&, int&&) (mconfig.h:193) ==29827== by 0xA4435ED: victor_9000_fdc_device& emu::detail::device_type_impl::operator()(machine_config&, device_finder&, int&&) const (device.ipp:44) ==29827== by 0xA43DD22: (anonymous namespace)::victor9k_state::victor9k(machine_config&) (../../../../../src/mame/act/victor9k.cpp:817) ==29827== by 0xA43BDF8: $_0::operator()(machine_config&, device_t&) const (../../../../../src/mame/act/victor9k.cpp:856) ==29827== by 0xA43BDBC: $_0::__invoke(machine_config&, device_t&) (../../../../../src/mame/act/victor9k.cpp:856) ==29827== by 0x169B7704: driver_device::device_add_mconfig(machine_config&) (../../../../../src/emu/driver.cpp:180) ==29827== by 0x169253C5: device_t::add_machine_configuration(machine_config&) (../../../../../src/emu/device.cpp:226) ==29827== by 0x1840BDC9: machine_config::add_device(std::unique_ptr >&&, device_t*) (../../../../../src/emu/mconfig.cpp:324) ==29827== by 0x15E9D5BA: auto machine_config::device_add(char const*, emu::detail::device_type_impl_base const&, int&&) (mconfig.h:196) ==29827== by 0x1840ACA4: machine_config::machine_config(game_driver const&, emu_options&) (../../../../../src/emu/mconfig.cpp:51) ==29827== by 0x158A3BEE: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:282) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== ==29827== Conditional jump or move depends on uninitialised value(s) ==29827== at 0xA44A82E: victor_9000_fdc_device::via5_pb_w(unsigned char) (../../../../../src/mame/act/victor9k_fdc.cpp:838) ==29827== by 0xA504C3D: util::detail::delegate_base::operator()(unsigned char) const (delegate.h:765) ==29827== by 0xA504BF6: std::enable_if >::value, void>::type devcb_write_base::invoke_write >(emu::device_delegate const&, unsigned int&, unsigned char, std::make_unsigned::type) (devcb.h:299) ==29827== by 0x168F7EE7: devcb_write::delegate_builder >::build()::{lambda(unsigned int, unsigned char, unsigned char)#1}::operator()(unsigned int, unsigned char, unsigned char) const (devcb.h:1355) ==29827== by 0x168F7E8E: devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, unsigned char, unsigned char)#1}::operator()(unsigned int, unsigned char, unsigned char) const (devcb.h:954) ==29827== by 0x168F7E3E: void std::__invoke_impl::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, unsigned char, unsigned char)#1}&, unsigned int, unsigned char, unsigned char>(std::__invoke_other, devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, unsigned char, unsigned char)#1}&, unsigned int&&, unsigned char&&, unsigned char&&) (invoke.h:61) ==29827== by 0x168F7DAB: std::enable_if::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, unsigned char, unsigned char)#1}&, unsigned int, unsigned char, unsigned char>, void>::type std::__invoke_r::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, unsigned char, unsigned char)#1}&, unsigned int, unsigned char, unsigned char>(devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, unsigned char, unsigned char)#1}&, unsigned int&&, unsigned char&&, unsigned char&&) (invoke.h:111) ==29827== by 0x168F7B9B: std::_Function_handler::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, unsigned char, unsigned char)#1}>::_M_invoke(std::_Any_data const&, unsigned int&&, unsigned char&&, unsigned char&&) (std_function.h:290) ==29827== by 0x1681D81F: std::function::operator()(unsigned int, unsigned char, unsigned char) const (std_function.h:591) ==29827== by 0x1681D6A8: devcb_write::operator()(unsigned int, unsigned char, unsigned char) (devcb.h:2370) ==29827== by 0x1681D8F5: devcb_write::operator()(unsigned char) (devcb.h:2378) ==29827== by 0x14811354: via6522_device::output_pb() (../../../../../src/devices/machine/6522via.cpp:607) ==29827== by 0x148110E3: via6522_device::device_reset() (../../../../../src/devices/machine/6522via.cpp:347) ==29827== by 0x16925A6F: device_t::reset() (../../../../../src/emu/device.cpp:348) ==29827== by 0xA44BD24: victor_9000_fdc_device::device_reset() (../../../../../src/mame/act/victor9k_fdc.cpp:330) ==29827== by 0x16925A6F: device_t::reset() (../../../../../src/emu/device.cpp:348) ==29827== by 0x16925AC6: device_t::reset() (../../../../../src/emu/device.cpp:352) ==29827== by 0x183F92CC: running_machine::reset_all_devices() (../../../../../src/emu/machine.cpp:1040) ==29827== by 0xAED06E8: util::detail::delegate_base::operator()() const (delegate.h:765) ==29827== by 0x183FB1A8: running_machine::call_notifiers(machine_notification) (../../../../../src/emu/machine.cpp:849) ==29827== by 0x183F90BA: running_machine::soft_reset(int) (../../../../../src/emu/machine.cpp:956) ==29827== by 0x183F9F82: running_machine::run(bool) (../../../../../src/emu/machine.cpp:309) ==29827== by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== Uninitialised value was created by a heap allocation ==29827== at 0x1C480F01: operator new(unsigned long) (vg_replace_malloc.c:434) ==29827== by 0xA4483A3: std::__detail::_MakeUniq::__single_object std::make_unique(machine_config&, char const*&, device_t*&, int&&) (unique_ptr.h:1065) ==29827== by 0xA448253: std::unique_ptr > emu::detail::device_type_impl::create(machine_config&, char const*, device_t*, int&&) const (device.h:302) ==29827== by 0xA44814A: auto machine_config::device_add const&, int>(char const*, emu::detail::device_type_impl const&, int&&) (mconfig.h:193) ==29827== by 0xA4435ED: victor_9000_fdc_device& emu::detail::device_type_impl::operator()(machine_config&, device_finder&, int&&) const (device.ipp:44) ==29827== by 0xA43DD22: (anonymous namespace)::victor9k_state::victor9k(machine_config&) (../../../../../src/mame/act/victor9k.cpp:817) ==29827== by 0xA43BDF8: $_0::operator()(machine_config&, device_t&) const (../../../../../src/mame/act/victor9k.cpp:856) ==29827== by 0xA43BDBC: $_0::__invoke(machine_config&, device_t&) (../../../../../src/mame/act/victor9k.cpp:856) ==29827== by 0x169B7704: driver_device::device_add_mconfig(machine_config&) (../../../../../src/emu/driver.cpp:180) ==29827== by 0x169253C5: device_t::add_machine_configuration(machine_config&) (../../../../../src/emu/device.cpp:226) ==29827== by 0x1840BDC9: machine_config::add_device(std::unique_ptr >&&, device_t*) (../../../../../src/emu/mconfig.cpp:324) ==29827== by 0x15E9D5BA: auto machine_config::device_add(char const*, emu::detail::device_type_impl_base const&, int&&) (mconfig.h:196) ==29827== by 0x1840ACA4: machine_config::machine_config(game_driver const&, emu_options&) (../../../../../src/emu/mconfig.cpp:51) ==29827== by 0x158A3BEE: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:282) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== ==29827== Conditional jump or move depends on uninitialised value(s) ==29827== at 0xA44B010: victor_9000_fdc_device::drw_w(int) (../../../../../src/mame/act/victor9k_fdc.cpp:1043) ==29827== by 0xA307019: util::detail::delegate_base::operator()(int) const (delegate.h:765) ==29827== by 0xBBB2AA1: std::enable_if >::value, void>::type devcb_write_base::invoke_write >(emu::device_delegate const&, unsigned int&, int, std::make_unsigned::type) (devcb.h:299) ==29827== by 0x16917470: devcb_write::delegate_builder >::build()::{lambda(unsigned int, int, unsigned int)#1}::operator()(unsigned int, int, unsigned int) const (devcb.h:1355) ==29827== by 0x16917436: devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}::operator()(unsigned int, int, unsigned int) const (devcb.h:954) ==29827== by 0x169173EA: void std::__invoke_impl::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int, int, unsigned int>(std::__invoke_other, devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int&&, int&&, unsigned int&&) (invoke.h:61) ==29827== by 0x1691735B: std::enable_if::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int, int, unsigned int>, void>::type std::__invoke_r::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int, int, unsigned int>(devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int&&, int&&, unsigned int&&) (invoke.h:111) ==29827== by 0x1691714B: std::_Function_handler::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}>::_M_invoke(std::_Any_data const&, unsigned int&&, int&&, unsigned int&&) (std_function.h:290) ==29827== by 0x1682D1EB: std::function::operator()(unsigned int, int, unsigned int) const (std_function.h:591) ==29827== by 0x1682D080: devcb_write::operator()(unsigned int, int, unsigned int) (devcb.h:2370) ==29827== by 0x1682D2C1: devcb_write::operator()(int) (devcb.h:2378) ==29827== by 0x148110FC: via6522_device::device_reset() (../../../../../src/devices/machine/6522via.cpp:348) ==29827== by 0x16925A6F: device_t::reset() (../../../../../src/emu/device.cpp:348) ==29827== by 0xA44BD3F: victor_9000_fdc_device::device_reset() (../../../../../src/mame/act/victor9k_fdc.cpp:331) ==29827== by 0x16925A6F: device_t::reset() (../../../../../src/emu/device.cpp:348) ==29827== by 0x16925AC6: device_t::reset() (../../../../../src/emu/device.cpp:352) ==29827== by 0x183F92CC: running_machine::reset_all_devices() (../../../../../src/emu/machine.cpp:1040) ==29827== by 0xAED06E8: util::detail::delegate_base::operator()() const (delegate.h:765) ==29827== by 0x183FB1A8: running_machine::call_notifiers(machine_notification) (../../../../../src/emu/machine.cpp:849) ==29827== by 0x183F90BA: running_machine::soft_reset(int) (../../../../../src/emu/machine.cpp:956) ==29827== by 0x183F9F82: running_machine::run(bool) (../../../../../src/emu/machine.cpp:309) ==29827== by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== Uninitialised value was created by a heap allocation ==29827== at 0x1C480F01: operator new(unsigned long) (vg_replace_malloc.c:434) ==29827== by 0xA4483A3: std::__detail::_MakeUniq::__single_object std::make_unique(machine_config&, char const*&, device_t*&, int&&) (unique_ptr.h:1065) ==29827== by 0xA448253: std::unique_ptr > emu::detail::device_type_impl::create(machine_config&, char const*, device_t*, int&&) const (device.h:302) ==29827== by 0xA44814A: auto machine_config::device_add const&, int>(char const*, emu::detail::device_type_impl const&, int&&) (mconfig.h:193) ==29827== by 0xA4435ED: victor_9000_fdc_device& emu::detail::device_type_impl::operator()(machine_config&, device_finder&, int&&) const (device.ipp:44) ==29827== by 0xA43DD22: (anonymous namespace)::victor9k_state::victor9k(machine_config&) (../../../../../src/mame/act/victor9k.cpp:817) ==29827== by 0xA43BDF8: $_0::operator()(machine_config&, device_t&) const (../../../../../src/mame/act/victor9k.cpp:856) ==29827== by 0xA43BDBC: $_0::__invoke(machine_config&, device_t&) (../../../../../src/mame/act/victor9k.cpp:856) ==29827== by 0x169B7704: driver_device::device_add_mconfig(machine_config&) (../../../../../src/emu/driver.cpp:180) ==29827== by 0x169253C5: device_t::add_machine_configuration(machine_config&) (../../../../../src/emu/device.cpp:226) ==29827== by 0x1840BDC9: machine_config::add_device(std::unique_ptr >&&, device_t*) (../../../../../src/emu/mconfig.cpp:324) ==29827== by 0x15E9D5BA: auto machine_config::device_add(char const*, emu::detail::device_type_impl_base const&, int&&) (mconfig.h:196) ==29827== by 0x1840ACA4: machine_config::machine_config(game_driver const&, emu_options&) (../../../../../src/emu/mconfig.cpp:51) ==29827== by 0x158A3BEE: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:282) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== ==29827== Conditional jump or move depends on uninitialised value(s) ==29827== at 0xA44B0E0: victor_9000_fdc_device::erase_w(int) (../../../../../src/mame/act/victor9k_fdc.cpp:1063) ==29827== by 0xA307019: util::detail::delegate_base::operator()(int) const (delegate.h:765) ==29827== by 0xBBB2AA1: std::enable_if >::value, void>::type devcb_write_base::invoke_write >(emu::device_delegate const&, unsigned int&, int, std::make_unsigned::type) (devcb.h:299) ==29827== by 0x16917470: devcb_write::delegate_builder >::build()::{lambda(unsigned int, int, unsigned int)#1}::operator()(unsigned int, int, unsigned int) const (devcb.h:1355) ==29827== by 0x16917436: devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}::operator()(unsigned int, int, unsigned int) const (devcb.h:954) ==29827== by 0x169173EA: void std::__invoke_impl::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int, int, unsigned int>(std::__invoke_other, devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int&&, int&&, unsigned int&&) (invoke.h:61) ==29827== by 0x1691735B: std::enable_if::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int, int, unsigned int>, void>::type std::__invoke_r::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int, int, unsigned int>(devcb_write::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}&, unsigned int&&, int&&, unsigned int&&) (invoke.h:111) ==29827== by 0x1691714B: std::_Function_handler::creator_impl::delegate_builder > >::create()::{lambda(unsigned int, int, unsigned int)#1}>::_M_invoke(std::_Any_data const&, unsigned int&&, int&&, unsigned int&&) (std_function.h:290) ==29827== by 0x1682D1EB: std::function::operator()(unsigned int, int, unsigned int) const (std_function.h:591) ==29827== by 0x1682D080: devcb_write::operator()(unsigned int, int, unsigned int) (devcb.h:2370) ==29827== by 0x1682D2C1: devcb_write::operator()(int) (devcb.h:2378) ==29827== by 0x1481112E: via6522_device::device_reset() (../../../../../src/devices/machine/6522via.cpp:350) ==29827== by 0x16925A6F: device_t::reset() (../../../../../src/emu/device.cpp:348) ==29827== by 0xA44BD3F: victor_9000_fdc_device::device_reset() (../../../../../src/mame/act/victor9k_fdc.cpp:331) ==29827== by 0x16925A6F: device_t::reset() (../../../../../src/emu/device.cpp:348) ==29827== by 0x16925AC6: device_t::reset() (../../../../../src/emu/device.cpp:352) ==29827== by 0x183F92CC: running_machine::reset_all_devices() (../../../../../src/emu/machine.cpp:1040) ==29827== by 0xAED06E8: util::detail::delegate_base::operator()() const (delegate.h:765) ==29827== by 0x183FB1A8: running_machine::call_notifiers(machine_notification) (../../../../../src/emu/machine.cpp:849) ==29827== by 0x183F90BA: running_machine::soft_reset(int) (../../../../../src/emu/machine.cpp:956) ==29827== by 0x183F9F82: running_machine::run(bool) (../../../../../src/emu/machine.cpp:309) ==29827== by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== Uninitialised value was created by a heap allocation ==29827== at 0x1C480F01: operator new(unsigned long) (vg_replace_malloc.c:434) ==29827== by 0xA4483A3: std::__detail::_MakeUniq::__single_object std::make_unique(machine_config&, char const*&, device_t*&, int&&) (unique_ptr.h:1065) ==29827== by 0xA448253: std::unique_ptr > emu::detail::device_type_impl::create(machine_config&, char const*, device_t*, int&&) const (device.h:302) ==29827== by 0xA44814A: auto machine_config::device_add const&, int>(char const*, emu::detail::device_type_impl const&, int&&) (mconfig.h:193) ==29827== by 0xA4435ED: victor_9000_fdc_device& emu::detail::device_type_impl::operator()(machine_config&, device_finder&, int&&) const (device.ipp:44) ==29827== by 0xA43DD22: (anonymous namespace)::victor9k_state::victor9k(machine_config&) (../../../../../src/mame/act/victor9k.cpp:817) ==29827== by 0xA43BDF8: $_0::operator()(machine_config&, device_t&) const (../../../../../src/mame/act/victor9k.cpp:856) ==29827== by 0xA43BDBC: $_0::__invoke(machine_config&, device_t&) (../../../../../src/mame/act/victor9k.cpp:856) ==29827== by 0x169B7704: driver_device::device_add_mconfig(machine_config&) (../../../../../src/emu/driver.cpp:180) ==29827== by 0x169253C5: device_t::add_machine_configuration(machine_config&) (../../../../../src/emu/device.cpp:226) ==29827== by 0x1840BDC9: machine_config::add_device(std::unique_ptr >&&, device_t*) (../../../../../src/emu/mconfig.cpp:324) ==29827== by 0x15E9D5BA: auto machine_config::device_add(char const*, emu::detail::device_type_impl_base const&, int&&) (mconfig.h:196) ==29827== by 0x1840ACA4: machine_config::machine_config(game_driver const&, emu_options&) (../../../../../src/emu/mconfig.cpp:51) ==29827== by 0x158A3BEE: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:282) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== ==29827== Conditional jump or move depends on uninitialised value(s) ==29827== at 0xA43F0BB: (anonymous namespace)::victor9k_state::crtc_begin_update(bitmap_rgb32&, rectangle const&) (../../../../../src/mame/act/victor9k.cpp:335) ==29827== by 0xC8CFC6D: util::detail::delegate_base::operator()(bitmap_rgb32&, rectangle const&) const (delegate.h:765) ==29827== by 0x1539095F: mc6845_device::screen_update(screen_device&, bitmap_rgb32&, rectangle const&) (../../../../../src/devices/video/mc6845.cpp:1181) ==29827== by 0x14B632B2: util::detail::delegate_base::operator()(screen_device&, bitmap_rgb32&, rectangle const&) const (delegate.h:765) ==29827== by 0x184C5435: screen_device::update_partial(int) (../../../../../src/emu/screen.cpp:1216) ==29827== by 0x1853491A: video_manager::finish_screen_updates() (../../../../../src/emu/video.cpp:622) ==29827== by 0x185344F6: video_manager::frame_update(bool) (../../../../../src/emu/video.cpp:215) ==29827== by 0x184C37E4: screen_device::vblank_begin(int) (../../../../../src/emu/screen.cpp:1646) ==29827== by 0xA307019: util::detail::delegate_base::operator()(int) const (delegate.h:765) ==29827== by 0x184BD123: device_scheduler::execute_timers() (../../../../../src/emu/schedule.cpp:951) ==29827== by 0x184BBB18: device_scheduler::timeslice() (../../../../../src/emu/schedule.cpp:505) ==29827== by 0x183FA05E: running_machine::run(bool) (../../../../../src/emu/machine.cpp:329) ==29827== by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== Uninitialised value was created by a heap allocation ==29827== at 0x1C480F01: operator new(unsigned long) (vg_replace_malloc.c:434) ==29827== by 0xA4414EC: std::__detail::_MakeUniq<(anonymous namespace)::victor9k_state>::__single_object std::make_unique<(anonymous namespace)::victor9k_state, machine_config const&, emu::detail::device_type_impl_base const&, char const*&>(machine_config const&, emu::detail::device_type_impl_base const&, char const*&) (unique_ptr.h:1065) ==29827== by 0xA44149F: std::unique_ptr > emu::detail::device_type_impl_base::create_driver<(anonymous namespace)::victor9k_state>(emu::detail::device_type_impl_base const&, machine_config const&, char const*, device_t*, unsigned int) (device.h:213) ==29827== by 0x15E9D6A2: emu::detail::device_type_impl_base::create(machine_config const&, char const*, device_t*, unsigned int) const (device.h:281) ==29827== by 0x15E9D594: auto machine_config::device_add(char const*, emu::detail::device_type_impl_base const&, int&&) (mconfig.h:193) ==29827== by 0x1840ACA4: machine_config::machine_config(game_driver const&, emu_options&) (../../../../../src/emu/mconfig.cpp:51) ==29827== by 0x158A3BEE: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:282) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== ==29827== Invalid write of size 1 ==29827== at 0x1805891B: handler_entry_write_memory<0, 0>::write(unsigned int, unsigned char, unsigned char) const (../../../../../src/emu/emumem_hem.cpp:54) ==29827== by 0x1188A893: void dispatch_write<0, 0, 0>(unsigned int, unsigned int, emu::detail::handler_entry_size<0>::uX, emu::detail::handler_entry_size<0>::uX, handler_entry_write<0, 0> const* const*) (emumem.h:1577) ==29827== by 0x17A0A4D9: handler_entry_write_dispatch<14, 0, 0>::write(unsigned int, unsigned char, unsigned char) const (emumem_hedw.ipp:131) ==29827== by 0xBFFFE33: void dispatch_write<1, 0, 0>(unsigned int, unsigned int, emu::detail::handler_entry_size<0>::uX, emu::detail::handler_entry_size<0>::uX, handler_entry_write<0, 0> const* const*) (emumem.h:1577) ==29827== by 0x16A7A3AF: address_space_specific<1, 0, 0, (util::endianness)0>::write_native(unsigned int, unsigned char, unsigned char) (../../../../../src/emu/emumem_aspace.cpp:445) ==29827== by 0x16A7B491: address_space_specific<1, 0, 0, (util::endianness)0>::wop()::{lambda(unsigned int, unsigned char, unsigned char)#1}::operator()(unsigned int, unsigned char, unsigned char) const (../../../../../src/emu/emumem_aspace.cpp:455) ==29827== by 0x16A7B53E: void memory_write_generic<0, 0, (util::endianness)0, 1, false, address_space_specific<1, 0, 0, (util::endianness)0>::wop()::{lambda(unsigned int, unsigned char, unsigned char)#1}>(address_space_specific<1, 0, 0, (util::endianness)0>::wop()::{lambda(unsigned int, unsigned char, unsigned char)#1}, unsigned int, emu::detail::handler_entry_size<1>::uX, emu::detail::handler_entry_size<1>::uX) (emumem.h:983) ==29827== by 0x16A6ED2A: address_space_specific<1, 0, 0, (util::endianness)0>::write_word_unaligned(unsigned int, unsigned short) (../../../../../src/emu/emumem_aspace.cpp:475) ==29827== by 0x13B74BCA: i8086_cpu_device::write_word(unsigned int, unsigned short) (../../../../../src/devices/cpu/i86/i86.cpp:176) ==29827== by 0x13B7F01B: i8086_common_cpu_device::PutMemW(int, unsigned short, unsigned short) (i86inline.h:406) ==29827== by 0x13B7F38E: i8086_common_cpu_device::i_stosw() (i86inline.h:595) ==29827== by 0x13B7B961: i8086_common_cpu_device::common_op(unsigned char) (../../../../../src/devices/cpu/i86/i86.cpp:2215) ==29827== by 0x13B752CB: i8086_cpu_device::execute_run() (../../../../../src/devices/cpu/i86/i86.cpp:329) ==29827== by 0x13B7537B: non-virtual thunk to i8086_cpu_device::execute_run() (../../../../../src/devices/cpu/i86/i86.cpp:0) ==29827== by 0x1376F128: device_execute_interface::run() (diexec.h:190) ==29827== by 0x184BB8FA: device_scheduler::timeslice() (../../../../../src/emu/schedule.cpp:456) ==29827== by 0x183FA05E: running_machine::run(bool) (../../../../../src/emu/machine.cpp:329) ==29827== by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== Address 0x3ad8ab60 is 0 bytes after a block of size 131,072 alloc'd ==29827== at 0x1C4820F3: operator new[](unsigned long) (vg_replace_malloc.c:652) ==29827== by 0xA341C57: std::__detail::_MakeUniq::__array std::make_unique(unsigned long) (unique_ptr.h:1080) ==29827== by 0x14D1FB1C: ram_device::device_start() (../../../../../src/devices/machine/ram.cpp:174) ==29827== by 0x169261EF: device_t::start() (../../../../../src/emu/device.cpp:562) ==29827== by 0x183F95C8: running_machine::start_all_devices() (../../../../../src/emu/machine.cpp:1013) ==29827== by 0x183F8C62: running_machine::start() (../../../../../src/emu/machine.cpp:211) ==29827== by 0x183F9E1E: running_machine::run(bool) (../../../../../src/emu/machine.cpp:281) ==29827== by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== ==29827== Invalid read of size 1 ==29827== at 0x18058D06: handler_entry_read_memory<0, 0>::read(unsigned int, unsigned char) const (../../../../../src/emu/emumem_hem.cpp:10) ==29827== by 0x1188A718: emu::detail::handler_entry_size<0>::uX dispatch_read<0, 0, 0>(unsigned int, unsigned int, emu::detail::handler_entry_size<0>::uX, handler_entry_read<0, 0> const* const*) (emumem.h:1570) ==29827== by 0x1716D2EE: handler_entry_read_dispatch<14, 0, 0>::read(unsigned int, unsigned char) const (emumem_hedr.ipp:132) ==29827== by 0xD11F1F8: emu::detail::handler_entry_size<0>::uX dispatch_read<1, 0, 0>(unsigned int, unsigned int, emu::detail::handler_entry_size<0>::uX, handler_entry_read<0, 0> const* const*) (emumem.h:1570) ==29827== by 0x16A79B04: address_space_specific<1, 0, 0, (util::endianness)0>::read_native(unsigned int, unsigned char) (../../../../../src/emu/emumem_aspace.cpp:433) ==29827== by 0x16A7AC76: address_space_specific<1, 0, 0, (util::endianness)0>::rop()::{lambda(unsigned int, unsigned char)#1}::operator()(unsigned int, unsigned char) const (../../../../../src/emu/emumem_aspace.cpp:454) ==29827== by 0x16A7AD11: emu::detail::handler_entry_size<1>::uX memory_read_generic<0, 0, (util::endianness)0, 1, false, address_space_specific<1, 0, 0, (util::endianness)0>::rop()::{lambda(unsigned int, unsigned char)#1}>(address_space_specific<1, 0, 0, (util::endianness)0>::rop()::{lambda(unsigned int, unsigned char)#1}, unsigned int, emu::detail::handler_entry_size<1>::uX) (emumem.h:858) ==29827== by 0x16A6E9CC: address_space_specific<1, 0, 0, (util::endianness)0>::read_word_unaligned(unsigned int) (../../../../../src/emu/emumem_aspace.cpp:461) ==29827== by 0x13B74B3C: i8086_cpu_device::read_word(unsigned int) (../../../../../src/devices/cpu/i86/i86.cpp:166) ==29827== by 0x13B6143D: i8086_common_cpu_device::GetMemW(int, unsigned short) (i86inline.h:418) ==29827== by 0x13B7F564: i8086_common_cpu_device::i_scasw() (i86inline.h:625) ==29827== by 0x13B7BBF1: i8086_common_cpu_device::common_op(unsigned char) (../../../../../src/devices/cpu/i86/i86.cpp:2219) ==29827== by 0x13B752CB: i8086_cpu_device::execute_run() (../../../../../src/devices/cpu/i86/i86.cpp:329) ==29827== by 0x13B7537B: non-virtual thunk to i8086_cpu_device::execute_run() (../../../../../src/devices/cpu/i86/i86.cpp:0) ==29827== by 0x1376F128: device_execute_interface::run() (diexec.h:190) ==29827== by 0x184BB8FA: device_scheduler::timeslice() (../../../../../src/emu/schedule.cpp:456) ==29827== by 0x183FA05E: running_machine::run(bool) (../../../../../src/emu/machine.cpp:329) ==29827== by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== Address 0x3ad8ab60 is 0 bytes after a block of size 131,072 alloc'd ==29827== at 0x1C4820F3: operator new[](unsigned long) (vg_replace_malloc.c:652) ==29827== by 0xA341C57: std::__detail::_MakeUniq::__array std::make_unique(unsigned long) (unique_ptr.h:1080) ==29827== by 0x14D1FB1C: ram_device::device_start() (../../../../../src/devices/machine/ram.cpp:174) ==29827== by 0x169261EF: device_t::start() (../../../../../src/emu/device.cpp:562) ==29827== by 0x183F95C8: running_machine::start_all_devices() (../../../../../src/emu/machine.cpp:1013) ==29827== by 0x183F8C62: running_machine::start() (../../../../../src/emu/machine.cpp:211) ==29827== by 0x183F9E1E: running_machine::run(bool) (../../../../../src/emu/machine.cpp:281) ==29827== by 0x158A3C3B: mame_machine_manager::execute() (../../../../../src/frontend/mame/mame.cpp:290) ==29827== by 0x16778542: cli_frontend::start_execution(mame_machine_manager*, std::vector, std::allocator >, std::allocator, std::allocator > > > const&) (../../../../../src/frontend/mame/clifront.cpp:275) ==29827== by 0x16779538: cli_frontend::execute(std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/clifront.cpp:291) ==29827== by 0x158A4D65: emulator_info::start_frontend(emu_options&, osd_interface&, std::vector, std::allocator >, std::allocator, std::allocator > > >&) (../../../../../src/frontend/mame/mame.cpp:454) ==29827== by 0x18558061: main (../../../../../src/osd/sdl/sdlmain.cpp:191) ==29827== Average speed: 0.56% (1 seconds) ==29827== ==29827== HEAP SUMMARY: ==29827== in use at exit: 17,306,559 bytes in 13,807 blocks ==29827== total heap usage: 4,323,065 allocs, 4,309,258 frees, 1,132,407,136 bytes allocated ==29827== ==29827== For a detailed leak analysis, rerun with: --leak-check=full ==29827== ==29827== For lists of detected and suppressed errors, rerun with: -s ==29827== ERROR SUMMARY: 11 errors from 7 contexts (suppressed: 0 from 0)