Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==87998== Helgrind, a thread error detector
- ==87998== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al.
- ==87998== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
- ==87998== Command: ./ut-printer-driver-label --run_test=label/thread_ok
- ==87998==
- ==87998== ---Thread-Announcement------------------------------------------
- ==87998==
- ==87998== Thread #2 was created
- ==87998== at 0x37D78E899E: clone (in /lib64/libc-2.12.so)
- ==87998== by 0x37D80068BF: do_clone.clone.0 (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D8006DA1: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
- ==87998== by 0x4A0C7F8: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x4A0C907: pthread_create@* (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37E38B65A6: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4256CF: label::thread_ok::test_method() (thread:135)
- ==87998== by 0x425AD9: label::thread_ok_invoker() (unit-label.cpp:103)
- ==87998== by 0x433E36: boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke() (callback.hpp:56)
- ==87998== by 0x4C962C0: ??? (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998== by 0x4C7760D: boost::execution_monitor::catch_signals(boost::unit_test::callback0<int> const&) (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998== by 0x4C77E32: boost::execution_monitor::execute(boost::unit_test::callback0<int> const&) (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998==
- ==87998== ---Thread-Announcement------------------------------------------
- ==87998==
- ==87998== Thread #3 was created
- ==87998== at 0x37D78E899E: clone (in /lib64/libc-2.12.so)
- ==87998== by 0x37D80068BF: do_clone.clone.0 (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D8006DA1: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
- ==87998== by 0x4A0C7F8: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x4A0C907: pthread_create@* (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37E38B65A6: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4256CF: label::thread_ok::test_method() (thread:135)
- ==87998== by 0x425AD9: label::thread_ok_invoker() (unit-label.cpp:103)
- ==87998== by 0x433E36: boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke() (callback.hpp:56)
- ==87998== by 0x4C962C0: ??? (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998== by 0x4C7760D: boost::execution_monitor::catch_signals(boost::unit_test::callback0<int> const&) (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998== by 0x4C77E32: boost::execution_monitor::execute(boost::unit_test::callback0<int> const&) (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Lock at 0x625E5D0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Lock at 0x6148EB0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F5B8 by thread #2
- ==87998== Locks held: 1, at address 0x625E5D0
- ==87998== at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
- ==87998== by 0x474195: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (dispatchkit.hpp:1318)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: 1, at address 0x6148EB0
- ==87998== at 0x47431B: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (type_info.hpp:37)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Lock at 0x625E5D0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Lock at 0x6148EB0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F598 by thread #2
- ==87998== Locks held: 1, at address 0x625E5D0
- ==87998== at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
- ==87998== by 0x4741C8: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (dispatchkit.hpp:1332)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: 1, at address 0x6148EB0
- ==87998== at 0x4742B6: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (type_info.hpp:37)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Lock at 0x625E5D0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Lock at 0x6148EB0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F5B8 by thread #2
- ==87998== Locks held: 1, at address 0x625E5D0
- ==87998== at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
- ==87998== by 0x474195: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (dispatchkit.hpp:1318)
- ==87998== by 0x4DD341: void std::__insertion_sort<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) (predefined_ops.h:121)
- ==87998== by 0x446D03: void std::__merge_sort_with_buffer<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2518] (stl_algo.h:2708)
- ==87998== by 0x44735A: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2758)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: 1, at address 0x6148EB0
- ==87998== at 0x47431B: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (type_info.hpp:37)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Lock at 0x625E5D0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Lock at 0x6148EB0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F598 by thread #2
- ==87998== Locks held: 1, at address 0x625E5D0
- ==87998== at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
- ==87998== by 0x4741C8: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (dispatchkit.hpp:1332)
- ==87998== by 0x4DD341: void std::__insertion_sort<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) (predefined_ops.h:121)
- ==87998== by 0x446D03: void std::__merge_sort_with_buffer<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2518] (stl_algo.h:2708)
- ==87998== by 0x44735A: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2758)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: 1, at address 0x6148EB0
- ==87998== at 0x4742B6: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (type_info.hpp:37)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Lock at 0x625E5D0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Lock at 0x6148EB0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F598 by thread #2
- ==87998== Locks held: 1, at address 0x625E5D0
- ==87998== at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
- ==87998== by 0x4741C8: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (dispatchkit.hpp:1332)
- ==87998== by 0x4471F6: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: 1, at address 0x6148EB0
- ==87998== at 0x4742B6: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (type_info.hpp:37)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Lock at 0x625E5D0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Lock at 0x6148EB0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F5B8 by thread #2
- ==87998== Locks held: 1, at address 0x625E5D0
- ==87998== at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
- ==87998== by 0x474195: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (dispatchkit.hpp:1318)
- ==87998== by 0x4471F6: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: 1, at address 0x6148EB0
- ==87998== at 0x47431B: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (type_info.hpp:37)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Lock at 0x625E5D0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Lock at 0x6148EB0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F5B8 by thread #2
- ==87998== Locks held: 1, at address 0x625E5D0
- ==87998== at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
- ==87998== by 0x474195: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (dispatchkit.hpp:1318)
- ==87998== by 0x4A6360: void std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) (predefined_ops.h:166)
- ==87998== by 0x4DD350: void std::__insertion_sort<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) (stl_algo.h:1854)
- ==87998== by 0x446D03: void std::__merge_sort_with_buffer<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2518] (stl_algo.h:2708)
- ==87998== by 0x44736B: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2759)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: 1, at address 0x6148EB0
- ==87998== at 0x47431B: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (type_info.hpp:37)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Lock at 0x625E5D0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Lock at 0x6148EB0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F598 by thread #2
- ==87998== Locks held: 1, at address 0x625E5D0
- ==87998== at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
- ==87998== by 0x4741C8: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (dispatchkit.hpp:1332)
- ==87998== by 0x4A6360: void std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) (predefined_ops.h:166)
- ==87998== by 0x4DD350: void std::__insertion_sort<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) (stl_algo.h:1854)
- ==87998== by 0x446D03: void std::__merge_sort_with_buffer<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2518] (stl_algo.h:2708)
- ==87998== by 0x44736B: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2759)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: 1, at address 0x6148EB0
- ==87998== at 0x4742B6: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (type_info.hpp:37)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Possible data race during read of size 4 at 0x8BAB70 by thread #2
- ==87998== Locks held: none
- ==87998== at 0x5B7647: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x43E1A7: chaiscript::detail::threading::Thread_Storage<chaiscript::detail::Stack_Holder>::t() [clone .part.1382] (chaiscript_threading.hpp:116)
- ==87998== by 0x4D4E44: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (boxed_value.hpp:188)
- ==87998== by 0x4E0477: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (chaiscript_engine.hpp:888)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== This conflicts with a previous write of size 4 by thread #3
- ==87998== Locks held: none
- ==87998== at 0x37D800C63B: pthread_key_create (in /lib64/libpthread-2.12.so)
- ==87998== by 0x5B75DE: (anonymous namespace)::key_init() (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x37D800CD32: pthread_once (in /lib64/libpthread-2.12.so)
- ==87998== by 0x5B7646: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x43E1A7: chaiscript::detail::threading::Thread_Storage<chaiscript::detail::Stack_Holder>::t() [clone .part.1382] (chaiscript_threading.hpp:116)
- ==87998== by 0x4D4E44: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (boxed_value.hpp:188)
- ==87998== by 0x4E0477: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (chaiscript_engine.hpp:888)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F5D0 by thread #2
- ==87998== Locks held: none
- ==87998== at 0x471B9A: chaiscript::const_var(bool) (shared_ptr_base.h:912)
- ==87998== by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: none
- ==87998== at 0x46F357: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (shared_ptr_base.h:1090)
- ==87998== by 0x471C48: chaiscript::const_var(bool) (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F5D8 by thread #2
- ==87998== Locks held: none
- ==87998== at 0x471BA0: chaiscript::const_var(bool) (shared_ptr_base.h:670)
- ==87998== by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: none
- ==87998== at 0x46F35F: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (shared_ptr_base.h:610)
- ==87998== by 0x471C48: chaiscript::const_var(bool) (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Possible data race during read of size 4 at 0x61E2038 by thread #2
- ==87998== Locks held: none
- ==87998== at 0x47023A: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy() (atomicity.h:53)
- ==87998== by 0x471BB1: chaiscript::const_var(bool) (shared_ptr_base.h:673)
- ==87998== by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== Address 0x61E2038 is 8 bytes inside a block of size 80 alloc'd
- ==87998== at 0x4A078C3: operator new(unsigned long) (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x46F36C: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (new_allocator.h:104)
- ==87998== by 0x471C48: chaiscript::const_var(bool) (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F5E0 by thread #2
- ==87998== Locks held: none
- ==87998== at 0x471B9A: chaiscript::const_var(bool) (shared_ptr_base.h:912)
- ==87998== by 0x478FB4: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:173)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: none
- ==87998== at 0x46F357: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (shared_ptr_base.h:1090)
- ==87998== by 0x471BF4: chaiscript::const_var(bool) (boxed_value.hpp:414)
- ==87998== by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F5E8 by thread #2
- ==87998== Locks held: none
- ==87998== at 0x471BA0: chaiscript::const_var(bool) (shared_ptr_base.h:670)
- ==87998== by 0x478FB4: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:173)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: none
- ==87998== at 0x46F35F: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (shared_ptr_base.h:610)
- ==87998== by 0x471BF4: chaiscript::const_var(bool) (boxed_value.hpp:414)
- ==87998== by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Possible data race during read of size 4 at 0x61E1EE8 by thread #2
- ==87998== Locks held: none
- ==87998== at 0x47023A: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy() (atomicity.h:53)
- ==87998== by 0x471BB1: chaiscript::const_var(bool) (shared_ptr_base.h:673)
- ==87998== by 0x478FB4: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:173)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== Address 0x61E1EE8 is 8 bytes inside a block of size 80 alloc'd
- ==87998== at 0x4A078C3: operator new(unsigned long) (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x46F36C: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (new_allocator.h:104)
- ==87998== by 0x471BF4: chaiscript::const_var(bool) (boxed_value.hpp:414)
- ==87998== by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
- ==87998== by 0x4873FF: std::shared_ptr<chaiscript::AST_Node> chaiscript::parser::ChaiScript_Parser::make_node<chaiscript::eval::Id_AST_Node>(std::string, int, int) (chaiscript_eval.hpp:151)
- ==87998== by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
- ==87998== by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
- ==87998== by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998== by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Possible data race during read of size 4 at 0x8BAB70 by thread #2
- ==87998== Locks held: none
- ==87998== at 0x5B7647: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x4889D8: chaiscript::Type_Conversions::thread_cache() const (chaiscript_threading.hpp:116)
- ==87998== by 0x4D7F95: chaiscript::detail::Cast_Helper<std::function<void (int)> >::Result_Type chaiscript::boxed_cast<std::function<void (int)> >(chaiscript::Boxed_Value const&, chaiscript::Type_Conversions const*) (type_conversions.hpp:372)
- ==87998== by 0x44CF6E: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (dispatchkit.hpp:445)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== This conflicts with a previous write of size 4 by thread #3
- ==87998== Locks held: none
- ==87998== at 0x37D800C63B: pthread_key_create (in /lib64/libpthread-2.12.so)
- ==87998== by 0x5B75DE: (anonymous namespace)::key_init() (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x37D800CD32: pthread_once (in /lib64/libpthread-2.12.so)
- ==87998== by 0x5B7646: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x43E1A7: chaiscript::detail::threading::Thread_Storage<chaiscript::detail::Stack_Holder>::t() [clone .part.1382] (chaiscript_threading.hpp:116)
- ==87998== by 0x4D4E44: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (boxed_value.hpp:188)
- ==87998== by 0x4E0477: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (chaiscript_engine.hpp:888)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Possible data race during read of size 4 at 0x8BAB70 by thread #2
- ==87998== Locks held: none
- ==87998== at 0x5B7647: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x48A6F8: chaiscript::detail::threading::Thread_Storage<chaiscript::Type_Conversions::Conversion_Saves>::operator->() (chaiscript_threading.hpp:116)
- ==87998== by 0x446A93: chaiscript::detail::Dispatch_Engine::new_function_call(chaiscript::detail::Stack_Holder&) [clone .isra.1567] (type_conversions.hpp:423)
- ==87998== by 0x4D8FC6: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:585)
- ==87998== by 0x483441: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==87998== by 0x483589: chaiscript::eval::Block_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:771)
- ==87998== by 0x483441: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==87998== by 0x445A14: chaiscript::eval::detail::eval_function(chaiscript::detail::Dispatch_Engine&, std::shared_ptr<chaiscript::AST_Node> const&, std::vector<std::string, std::allocator<std::string> > const&, std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, std::map<std::string, chaiscript::Boxed_Value, std::less<std::string>, std::allocator<std::pair<std::string const, chaiscript::Boxed_Value> > > const&) (chaiscript_eval.hpp:60)
- ==87998== by 0x4A4567: chaiscript::dispatch::Dynamic_Proxy_Function_Impl<chaiscript::eval::Def_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const::{lambda(std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&)#2}>::do_call(std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions const&) const (chaiscript_eval.hpp:829)
- ==87998== by 0x465F6B: chaiscript::dispatch::Proxy_Function_Base::operator()(std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions const&) const (proxy_functions.hpp:153)
- ==87998== by 0x48942E: chaiscript::Boxed_Value chaiscript::dispatch::dispatch<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >(std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > const&, std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions const&) (proxy_functions.hpp:909)
- ==87998== by 0x4894CC: chaiscript::detail::Dispatch_Function::do_call(std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions const&) const (dispatchkit.hpp:331)
- ==87998==
- ==87998== This conflicts with a previous write of size 4 by thread #3
- ==87998== Locks held: none
- ==87998== at 0x37D800C63B: pthread_key_create (in /lib64/libpthread-2.12.so)
- ==87998== by 0x5B75DE: (anonymous namespace)::key_init() (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x37D800CD32: pthread_once (in /lib64/libpthread-2.12.so)
- ==87998== by 0x5B7646: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x43E1A7: chaiscript::detail::threading::Thread_Storage<chaiscript::detail::Stack_Holder>::t() [clone .part.1382] (chaiscript_threading.hpp:116)
- ==87998== by 0x4D4E44: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (boxed_value.hpp:188)
- ==87998== by 0x4E0477: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (chaiscript_engine.hpp:888)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998==
- ==87998== ---Thread-Announcement------------------------------------------
- ==87998==
- ==87998== Thread #4 was created
- ==87998== at 0x37D78E899E: clone (in /lib64/libc-2.12.so)
- ==87998== by 0x37D80068BF: do_clone.clone.0 (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D8006DA1: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
- ==87998== by 0x4A0C7F8: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x4A0C907: pthread_create@* (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37E38B65A6: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4256CF: label::thread_ok::test_method() (thread:135)
- ==87998== by 0x425AD9: label::thread_ok_invoker() (unit-label.cpp:103)
- ==87998== by 0x433E36: boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke() (callback.hpp:56)
- ==87998== by 0x4C962C0: ??? (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998== by 0x4C7760D: boost::execution_monitor::catch_signals(boost::unit_test::callback0<int> const&) (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998== by 0x4C77E32: boost::execution_monitor::execute(boost::unit_test::callback0<int> const&) (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Lock at 0x6408060 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Lock at 0x6148EB0 was first observed
- ==87998== at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
- ==87998== by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Possible data race during read of size 8 at 0x89F5B8 by thread #4
- ==87998== Locks held: 1, at address 0x6408060
- ==87998== at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
- ==87998== by 0x4741AC: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (dispatchkit.hpp:1323)
- ==87998== by 0x4A6360: void std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) (predefined_ops.h:166)
- ==87998== by 0x4DD350: void std::__insertion_sort<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) (stl_algo.h:1854)
- ==87998== by 0x446D03: void std::__merge_sort_with_buffer<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2518] (stl_algo.h:2708)
- ==87998== by 0x44735A: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2758)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x44CEA4: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998==
- ==87998== This conflicts with a previous write of size 8 by thread #3
- ==87998== Locks held: 1, at address 0x6148EB0
- ==87998== at 0x47431B: chaiscript::detail::Dispatch_Engine::function_less_than(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&) (type_info.hpp:37)
- ==87998== by 0x447112: void std::__merge_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, long, long, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2524] (predefined_ops.h:121)
- ==87998== by 0x447395: void std::__stable_sort_adaptive<__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)> >(__gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, __gnu_cxx::__normal_iterator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > >, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>*, long, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&)>) [clone .constprop.2517] (stl_algo.h:2761)
- ==87998== by 0x4DD54A: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&)::{lambda()#1}::operator()() const (stl_algo.h:4843)
- ==87998== by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998==
- Running 1 test case...
- unknown location(0): fatal error in "thread_ok": memory access violation at address: 0x04c11baa: non-existent physical address
- *** 1 failure detected in test suite "Master Test Suite"
- ==87998== ---Thread-Announcement------------------------------------------
- ==87998==
- ==87998== Thread #5 was created
- ==87998== at 0x37D78E899E: clone (in /lib64/libc-2.12.so)
- ==87998== by 0x37D80068BF: do_clone.clone.0 (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D8006DA1: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
- ==87998== by 0x4A0C7F8: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x4A0C907: pthread_create@* (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37E38B65A6: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4256CF: label::thread_ok::test_method() (thread:135)
- ==87998== by 0x425AD9: label::thread_ok_invoker() (unit-label.cpp:103)
- ==87998== by 0x433E36: boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke() (callback.hpp:56)
- ==87998== by 0x4C962C0: ??? (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998== by 0x4C7760D: boost::execution_monitor::catch_signals(boost::unit_test::callback0<int> const&) (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998== by 0x4C77E32: boost::execution_monitor::execute(boost::unit_test::callback0<int> const&) (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Lock at 0x8BAB80 was first observed
- ==87998== at 0x4A0C65F: pthread_mutex_init (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x5331F5: gdFontCacheSetup (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
- ==87998== by 0x442319: Label::Label() (label.cpp:277)
- ==87998== by 0x42662B: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:129)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== Possible data race during read of size 1 at 0x8A36C8 by thread #5
- ==87998== Locks held: 1, at address 0x8BAB80
- ==87998== at 0x4A07D4C: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x4A0B9D2: pthread_mutex_destroy (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x45E9FF: boost::mutex::~mutex() (mutex.hpp:53)
- ==87998== by 0x37D7835B21: exit (in /lib64/libc-2.12.so)
- ==87998== by 0x37D781ED63: (below main) (in /lib64/libc-2.12.so)
- ==87998==
- ==87998== This conflicts with a previous write of size 4 by thread #4
- ==87998== Locks held: none
- ==87998== at 0x37D800A7C5: pthread_mutex_unlock (in /lib64/libpthread-2.12.so)
- ==87998== by 0x4A0B3A7: pthread_mutex_unlock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x541627: Barcode::zintBarcode(std::string const&, int, int, int, int, Barcode::InputMode, BarcodeBitmap*) (mutex.hpp:71)
- ==87998== by 0x541E6F: Barcode::dataMatrix(std::string const&, Barcode::DataMatrixFormat, Barcode::InputMode, BarcodeBitmap*) (barcode.cpp:70)
- ==87998== by 0x43F3BC: Label::dataMatrix(std::string const&, Barcode::DataMatrixFormat, Barcode::InputMode, int, int, int) (label.cpp:551)
- ==87998== by 0x451D7A: _ZNSt17_Function_handlerIFN5Label4SizeERKSsN7Barcode16DataMatrixFormatENS4_9InputModeEiiiEZN10chaiscript6detail10bind_firstIRKPS0_S1_S0_IS3_S5_S6_iiiEEESt8functionIFT0_DpT2_EEMT1_FSF_SH_EOT_EUlS3_S5_S6_iiiE_E9_M_invokeERKSt9_Any_dataS3_S5_S6_iii (bind_first.hpp:44)
- ==87998== by 0x509482: chaiscript::dispatch::Proxy_Function_Callable_Impl<Label::Size (std::string const&, Barcode::DataMatrixFormat, Barcode::InputMode, int, int, int), std::function<Label::Size (std::string const&, Barcode::DataMatrixFormat, Barcode::InputMode, int, int, int)> >::do_call(std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions const&) const (functional:2439)
- ==87998== by 0x465F6B: chaiscript::dispatch::Proxy_Function_Base::operator()(std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions const&) const (proxy_functions.hpp:153)
- ==87998==
- ==87998== ---Thread-Announcement------------------------------------------
- ==87998==
- ==87998== Thread #6 was created
- ==87998== at 0x37D78E899E: clone (in /lib64/libc-2.12.so)
- ==87998== by 0x37D80068BF: do_clone.clone.0 (in /lib64/libpthread-2.12.so)
- ==87998== by 0x37D8006DA1: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
- ==87998== by 0x4A0C7F8: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x4A0C907: pthread_create@* (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998== by 0x37E38B65A6: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4256CF: label::thread_ok::test_method() (thread:135)
- ==87998== by 0x425AD9: label::thread_ok_invoker() (unit-label.cpp:103)
- ==87998== by 0x433E36: boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke() (callback.hpp:56)
- ==87998== by 0x4C962C0: ??? (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998== by 0x4C7760D: boost::execution_monitor::catch_signals(boost::unit_test::callback0<int> const&) (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998== by 0x4C77E32: boost::execution_monitor::execute(boost::unit_test::callback0<int> const&) (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Thread #6: Exiting thread still holds 1 lock
- ==87998== at 0x37E389C470: std::string::compare(std::string const&) const (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4821DA: std::_Rb_tree<std::string, std::pair<std::string const, chaiscript::Boxed_Value>, std::_Select1st<std::pair<std::string const, chaiscript::Boxed_Value> >, std::less<std::string>, std::allocator<std::pair<std::string const, chaiscript::Boxed_Value> > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::string const, chaiscript::Boxed_Value> >, std::string const&) (basic_string.h:2590)
- ==87998== by 0x4822F7: std::_Rb_tree_iterator<std::pair<std::string const, chaiscript::Boxed_Value> > std::_Rb_tree<std::string, std::pair<std::string const, chaiscript::Boxed_Value>, std::_Select1st<std::pair<std::string const, chaiscript::Boxed_Value> >, std::less<std::string>, std::allocator<std::pair<std::string const, chaiscript::Boxed_Value> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::string const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::string const, chaiscript::Boxed_Value> >, std::piecewise_construct_t const&, std::tuple<std::string const&>&&, std::tuple<>&&) (stl_tree.h:1794)
- ==87998== by 0x482470: std::map<std::string, chaiscript::Boxed_Value, std::less<std::string>, std::allocator<std::pair<std::string const, chaiscript::Boxed_Value> > >::operator[](std::string const&) (stl_map.h:500)
- ==87998== by 0x4DDAE5: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1407)
- ==87998== by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
- ==87998== by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
- ==87998== by 0x4E386C: chaiscript::ChaiScript::ChaiScript(std::shared_ptr<chaiscript::Module> const&, std::vector<std::string, std::allocator<std::string> >, std::vector<std::string, std::allocator<std::string> >) (chaiscript_engine.hpp:455)
- ==87998== by 0x4476E9: Label::open(int, int, int, int, LabelConfiguration const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) (label.cpp:319)
- ==87998== by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
- ==87998== by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
- ==87998== by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
- ==87998==
- ==87998== ----------------------------------------------------------------
- ==87998==
- ==87998== Thread #5: Exiting thread still holds 1 lock
- ==87998== at 0x37D78ACD88: _Exit (in /lib64/libc-2.12.so)
- ==87998== by 0x37D7835AD1: exit (in /lib64/libc-2.12.so)
- ==87998== by 0x37D781ED63: (below main) (in /lib64/libc-2.12.so)
- ==87998==
- ==87998==
- ==87998== For counts of detected and suppressed errors, rerun with: -v
- ==87998== Use --history-level=approx or =none to gain increased speed, at
- ==87998== the cost of reduced accuracy of conflicting-access information
- ==87998== ERROR SUMMARY: 941 errors from 21 contexts (suppressed: 316 from 89)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement