daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Jun 11th, 2018 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ==87998== Helgrind, a thread error detector
  2. ==87998== Copyright (C) 2007-2013, and GNU GPL'd, by OpenWorks LLP et al.
  3. ==87998== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
  4. ==87998== Command: ./ut-printer-driver-label --run_test=label/thread_ok
  5. ==87998==
  6. ==87998== ---Thread-Announcement------------------------------------------
  7. ==87998==
  8. ==87998== Thread #2 was created
  9. ==87998==    at 0x37D78E899E: clone (in /lib64/libc-2.12.so)
  10. ==87998==    by 0x37D80068BF: do_clone.clone.0 (in /lib64/libpthread-2.12.so)
  11. ==87998==    by 0x37D8006DA1: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
  12. ==87998==    by 0x4A0C7F8: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  13. ==87998==    by 0x4A0C907: pthread_create@* (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  14. ==87998==    by 0x37E38B65A6: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib64/libstdc++.so.6.0.13)
  15. ==87998==    by 0x4256CF: label::thread_ok::test_method() (thread:135)
  16. ==87998==    by 0x425AD9: label::thread_ok_invoker() (unit-label.cpp:103)
  17. ==87998==    by 0x433E36: boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke() (callback.hpp:56)
  18. ==87998==    by 0x4C962C0: ??? (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
  19. ==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)
  20. ==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)
  21. ==87998==
  22. ==87998== ---Thread-Announcement------------------------------------------
  23. ==87998==
  24. ==87998== Thread #3 was created
  25. ==87998==    at 0x37D78E899E: clone (in /lib64/libc-2.12.so)
  26. ==87998==    by 0x37D80068BF: do_clone.clone.0 (in /lib64/libpthread-2.12.so)
  27. ==87998==    by 0x37D8006DA1: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
  28. ==87998==    by 0x4A0C7F8: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  29. ==87998==    by 0x4A0C907: pthread_create@* (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  30. ==87998==    by 0x37E38B65A6: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib64/libstdc++.so.6.0.13)
  31. ==87998==    by 0x4256CF: label::thread_ok::test_method() (thread:135)
  32. ==87998==    by 0x425AD9: label::thread_ok_invoker() (unit-label.cpp:103)
  33. ==87998==    by 0x433E36: boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke() (callback.hpp:56)
  34. ==87998==    by 0x4C962C0: ??? (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
  35. ==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)
  36. ==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)
  37. ==87998==
  38. ==87998== ----------------------------------------------------------------
  39. ==87998==
  40. ==87998== Lock at 0x625E5D0 was first observed
  41. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  42. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  43. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  44. ==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)
  45. ==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)
  46. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  47. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  48. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  49. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  50. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  51. ==87998==
  52. ==87998== Lock at 0x6148EB0 was first observed
  53. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  54. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  55. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  56. ==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)
  57. ==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)
  58. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  59. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  60. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  61. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  62. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  63. ==87998==
  64. ==87998== Possible data race during read of size 8 at 0x89F5B8 by thread #2
  65. ==87998== Locks held: 1, at address 0x625E5D0
  66. ==87998==    at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
  67. ==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)
  68. ==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)
  69. ==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)
  70. ==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)
  71. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  72. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  73. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  74. ==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)
  75. ==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)
  76. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  77. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  78. ==87998==
  79. ==87998== This conflicts with a previous write of size 8 by thread #3
  80. ==87998== Locks held: 1, at address 0x6148EB0
  81. ==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)
  82. ==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)
  83. ==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)
  84. ==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)
  85. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  86. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  87. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  88. ==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)
  89. ==87998==
  90. ==87998== ----------------------------------------------------------------
  91. ==87998==
  92. ==87998== Lock at 0x625E5D0 was first observed
  93. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  94. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  95. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  96. ==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)
  97. ==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)
  98. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  99. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  100. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  101. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  102. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  103. ==87998==
  104. ==87998== Lock at 0x6148EB0 was first observed
  105. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  106. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  107. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  108. ==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)
  109. ==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)
  110. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  111. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  112. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  113. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  114. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  115. ==87998==
  116. ==87998== Possible data race during read of size 8 at 0x89F598 by thread #2
  117. ==87998== Locks held: 1, at address 0x625E5D0
  118. ==87998==    at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
  119. ==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)
  120. ==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)
  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)
  122. ==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)
  123. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  124. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  125. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  126. ==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)
  127. ==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)
  128. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  129. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  130. ==87998==
  131. ==87998== This conflicts with a previous write of size 8 by thread #3
  132. ==87998== Locks held: 1, at address 0x6148EB0
  133. ==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)
  134. ==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)
  135. ==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)
  136. ==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)
  137. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  138. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  139. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  140. ==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)
  141. ==87998==
  142. ==87998== ----------------------------------------------------------------
  143. ==87998==
  144. ==87998== Lock at 0x625E5D0 was first observed
  145. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  146. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  147. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  148. ==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)
  149. ==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)
  150. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  151. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  152. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  153. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  154. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  155. ==87998==
  156. ==87998== Lock at 0x6148EB0 was first observed
  157. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  158. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  159. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  160. ==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)
  161. ==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)
  162. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  163. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  164. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  165. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  166. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  167. ==87998==
  168. ==87998== Possible data race during read of size 8 at 0x89F5B8 by thread #2
  169. ==87998== Locks held: 1, at address 0x625E5D0
  170. ==87998==    at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
  171. ==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)
  172. ==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)
  173. ==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)
  174. ==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)
  175. ==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)
  176. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  177. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  178. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  179. ==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)
  180. ==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)
  181. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  182. ==87998==
  183. ==87998== This conflicts with a previous write of size 8 by thread #3
  184. ==87998== Locks held: 1, at address 0x6148EB0
  185. ==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)
  186. ==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)
  187. ==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)
  188. ==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)
  189. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  190. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  191. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  192. ==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)
  193. ==87998==
  194. ==87998== ----------------------------------------------------------------
  195. ==87998==
  196. ==87998== Lock at 0x625E5D0 was first observed
  197. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  198. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  199. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  200. ==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)
  201. ==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)
  202. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  203. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  204. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  205. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  206. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  207. ==87998==
  208. ==87998== Lock at 0x6148EB0 was first observed
  209. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  210. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  211. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  212. ==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)
  213. ==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)
  214. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  215. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  216. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  217. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  218. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  219. ==87998==
  220. ==87998== Possible data race during read of size 8 at 0x89F598 by thread #2
  221. ==87998== Locks held: 1, at address 0x625E5D0
  222. ==87998==    at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
  223. ==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)
  224. ==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)
  225. ==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)
  226. ==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)
  227. ==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)
  228. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  229. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  230. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  231. ==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)
  232. ==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)
  233. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  234. ==87998==
  235. ==87998== This conflicts with a previous write of size 8 by thread #3
  236. ==87998== Locks held: 1, at address 0x6148EB0
  237. ==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)
  238. ==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)
  239. ==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)
  240. ==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)
  241. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  242. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  243. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  244. ==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)
  245. ==87998==
  246. ==87998== ----------------------------------------------------------------
  247. ==87998==
  248. ==87998== Lock at 0x625E5D0 was first observed
  249. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  250. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  251. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  252. ==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)
  253. ==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)
  254. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  255. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  256. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  257. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  258. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  259. ==87998==
  260. ==87998== Lock at 0x6148EB0 was first observed
  261. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  262. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  263. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  264. ==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)
  265. ==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)
  266. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  267. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  268. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  269. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  270. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  271. ==87998==
  272. ==87998== Possible data race during read of size 8 at 0x89F598 by thread #2
  273. ==87998== Locks held: 1, at address 0x625E5D0
  274. ==87998==    at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
  275. ==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)
  276. ==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)
  277. ==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)
  278. ==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)
  279. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  280. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  281. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  282. ==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)
  283. ==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)
  284. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  285. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  286. ==87998==
  287. ==87998== This conflicts with a previous write of size 8 by thread #3
  288. ==87998== Locks held: 1, at address 0x6148EB0
  289. ==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)
  290. ==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)
  291. ==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)
  292. ==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)
  293. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  294. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  295. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  296. ==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)
  297. ==87998==
  298. ==87998== ----------------------------------------------------------------
  299. ==87998==
  300. ==87998== Lock at 0x625E5D0 was first observed
  301. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  302. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  303. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  304. ==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)
  305. ==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)
  306. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  307. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  308. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  309. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  310. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  311. ==87998==
  312. ==87998== Lock at 0x6148EB0 was first observed
  313. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  314. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  315. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  316. ==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)
  317. ==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)
  318. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  319. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  320. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  321. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  322. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  323. ==87998==
  324. ==87998== Possible data race during read of size 8 at 0x89F5B8 by thread #2
  325. ==87998== Locks held: 1, at address 0x625E5D0
  326. ==87998==    at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
  327. ==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)
  328. ==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)
  329. ==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)
  330. ==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)
  331. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  332. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  333. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  334. ==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)
  335. ==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)
  336. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  337. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  338. ==87998==
  339. ==87998== This conflicts with a previous write of size 8 by thread #3
  340. ==87998== Locks held: 1, at address 0x6148EB0
  341. ==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)
  342. ==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)
  343. ==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)
  344. ==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)
  345. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  346. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  347. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  348. ==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)
  349. ==87998==
  350. ==87998== ----------------------------------------------------------------
  351. ==87998==
  352. ==87998== Lock at 0x625E5D0 was first observed
  353. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  354. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  355. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  356. ==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)
  357. ==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)
  358. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  359. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  360. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  361. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  362. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  363. ==87998==
  364. ==87998== Lock at 0x6148EB0 was first observed
  365. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  366. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  367. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  368. ==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)
  369. ==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)
  370. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  371. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  372. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  373. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  374. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  375. ==87998==
  376. ==87998== Possible data race during read of size 8 at 0x89F5B8 by thread #2
  377. ==87998== Locks held: 1, at address 0x625E5D0
  378. ==87998==    at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
  379. ==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)
  380. ==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)
  381. ==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)
  382. ==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)
  383. ==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)
  384. ==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)
  385. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  386. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  387. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  388. ==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)
  389. ==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)
  390. ==87998==
  391. ==87998== This conflicts with a previous write of size 8 by thread #3
  392. ==87998== Locks held: 1, at address 0x6148EB0
  393. ==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)
  394. ==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)
  395. ==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)
  396. ==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)
  397. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  398. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  399. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  400. ==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)
  401. ==87998==
  402. ==87998== ----------------------------------------------------------------
  403. ==87998==
  404. ==87998== Lock at 0x625E5D0 was first observed
  405. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  406. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  407. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  408. ==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)
  409. ==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)
  410. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  411. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  412. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  413. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  414. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  415. ==87998==
  416. ==87998== Lock at 0x6148EB0 was first observed
  417. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  418. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  419. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  420. ==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)
  421. ==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)
  422. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  423. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  424. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  425. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  426. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  427. ==87998==
  428. ==87998== Possible data race during read of size 8 at 0x89F598 by thread #2
  429. ==87998== Locks held: 1, at address 0x625E5D0
  430. ==87998==    at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
  431. ==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)
  432. ==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)
  433. ==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)
  434. ==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)
  435. ==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)
  436. ==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)
  437. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  438. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  439. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  440. ==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)
  441. ==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)
  442. ==87998==
  443. ==87998== This conflicts with a previous write of size 8 by thread #3
  444. ==87998== Locks held: 1, at address 0x6148EB0
  445. ==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)
  446. ==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)
  447. ==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)
  448. ==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)
  449. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  450. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  451. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  452. ==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)
  453. ==87998==
  454. ==87998== ----------------------------------------------------------------
  455. ==87998==
  456. ==87998== Possible data race during read of size 4 at 0x8BAB70 by thread #2
  457. ==87998== Locks held: none
  458. ==87998==    at 0x5B7647: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  459. ==87998==    by 0x43E1A7: chaiscript::detail::threading::Thread_Storage<chaiscript::detail::Stack_Holder>::t() [clone .part.1382] (chaiscript_threading.hpp:116)
  460. ==87998==    by 0x4D4E44: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (boxed_value.hpp:188)
  461. ==87998==    by 0x4E0477: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (chaiscript_engine.hpp:888)
  462. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  463. ==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)
  464. ==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)
  465. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  466. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  467. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  468. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  469. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  470. ==87998==
  471. ==87998== This conflicts with a previous write of size 4 by thread #3
  472. ==87998== Locks held: none
  473. ==87998==    at 0x37D800C63B: pthread_key_create (in /lib64/libpthread-2.12.so)
  474. ==87998==    by 0x5B75DE: (anonymous namespace)::key_init() (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  475. ==87998==    by 0x37D800CD32: pthread_once (in /lib64/libpthread-2.12.so)
  476. ==87998==    by 0x5B7646: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  477. ==87998==    by 0x43E1A7: chaiscript::detail::threading::Thread_Storage<chaiscript::detail::Stack_Holder>::t() [clone .part.1382] (chaiscript_threading.hpp:116)
  478. ==87998==    by 0x4D4E44: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (boxed_value.hpp:188)
  479. ==87998==    by 0x4E0477: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (chaiscript_engine.hpp:888)
  480. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  481. ==87998==
  482. ==87998== ----------------------------------------------------------------
  483. ==87998==
  484. ==87998== Possible data race during read of size 8 at 0x89F5D0 by thread #2
  485. ==87998== Locks held: none
  486. ==87998==    at 0x471B9A: chaiscript::const_var(bool) (shared_ptr_base.h:912)
  487. ==87998==    by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
  488. ==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)
  489. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  490. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  491. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  492. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  493. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  494. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  495. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  496. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  497. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  498. ==87998==
  499. ==87998== This conflicts with a previous write of size 8 by thread #3
  500. ==87998== Locks held: none
  501. ==87998==    at 0x46F357: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (shared_ptr_base.h:1090)
  502. ==87998==    by 0x471C48: chaiscript::const_var(bool) (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  503. ==87998==    by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
  504. ==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)
  505. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  506. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  507. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  508. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  509. ==87998==
  510. ==87998== ----------------------------------------------------------------
  511. ==87998==
  512. ==87998== Possible data race during read of size 8 at 0x89F5D8 by thread #2
  513. ==87998== Locks held: none
  514. ==87998==    at 0x471BA0: chaiscript::const_var(bool) (shared_ptr_base.h:670)
  515. ==87998==    by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
  516. ==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)
  517. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  518. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  519. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  520. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  521. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  522. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  523. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  524. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  525. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  526. ==87998==
  527. ==87998== This conflicts with a previous write of size 8 by thread #3
  528. ==87998== Locks held: none
  529. ==87998==    at 0x46F35F: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (shared_ptr_base.h:610)
  530. ==87998==    by 0x471C48: chaiscript::const_var(bool) (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  531. ==87998==    by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
  532. ==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)
  533. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  534. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  535. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  536. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  537. ==87998==
  538. ==87998== ----------------------------------------------------------------
  539. ==87998==
  540. ==87998== Possible data race during read of size 4 at 0x61E2038 by thread #2
  541. ==87998== Locks held: none
  542. ==87998==    at 0x47023A: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy() (atomicity.h:53)
  543. ==87998==    by 0x471BB1: chaiscript::const_var(bool) (shared_ptr_base.h:673)
  544. ==87998==    by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
  545. ==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)
  546. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  547. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  548. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  549. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  550. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  551. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  552. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  553. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  554. ==87998==
  555. ==87998== Address 0x61E2038 is 8 bytes inside a block of size 80 alloc'd
  556. ==87998==    at 0x4A078C3: operator new(unsigned long) (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  557. ==87998==    by 0x46F36C: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (new_allocator.h:104)
  558. ==87998==    by 0x471C48: chaiscript::const_var(bool) (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  559. ==87998==    by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
  560. ==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)
  561. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  562. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  563. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  564. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  565. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  566. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  567. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  568. ==87998==
  569. ==87998== ----------------------------------------------------------------
  570. ==87998==
  571. ==87998== Possible data race during read of size 8 at 0x89F5E0 by thread #2
  572. ==87998== Locks held: none
  573. ==87998==    at 0x471B9A: chaiscript::const_var(bool) (shared_ptr_base.h:912)
  574. ==87998==    by 0x478FB4: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:173)
  575. ==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)
  576. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  577. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  578. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  579. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  580. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  581. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  582. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  583. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  584. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  585. ==87998==
  586. ==87998== This conflicts with a previous write of size 8 by thread #3
  587. ==87998== Locks held: none
  588. ==87998==    at 0x46F357: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (shared_ptr_base.h:1090)
  589. ==87998==    by 0x471BF4: chaiscript::const_var(bool) (boxed_value.hpp:414)
  590. ==87998==    by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
  591. ==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)
  592. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  593. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  594. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  595. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  596. ==87998==
  597. ==87998== ----------------------------------------------------------------
  598. ==87998==
  599. ==87998== Possible data race during read of size 8 at 0x89F5E8 by thread #2
  600. ==87998== Locks held: none
  601. ==87998==    at 0x471BA0: chaiscript::const_var(bool) (shared_ptr_base.h:670)
  602. ==87998==    by 0x478FB4: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:173)
  603. ==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)
  604. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  605. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  606. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  607. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  608. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  609. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  610. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  611. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  612. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  613. ==87998==
  614. ==87998== This conflicts with a previous write of size 8 by thread #3
  615. ==87998== Locks held: none
  616. ==87998==    at 0x46F35F: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (shared_ptr_base.h:610)
  617. ==87998==    by 0x471BF4: chaiscript::const_var(bool) (boxed_value.hpp:414)
  618. ==87998==    by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
  619. ==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)
  620. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  621. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  622. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  623. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  624. ==87998==
  625. ==87998== ----------------------------------------------------------------
  626. ==87998==
  627. ==87998== Possible data race during read of size 4 at 0x61E1EE8 by thread #2
  628. ==87998== Locks held: none
  629. ==87998==    at 0x47023A: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy() (atomicity.h:53)
  630. ==87998==    by 0x471BB1: chaiscript::const_var(bool) (shared_ptr_base.h:673)
  631. ==87998==    by 0x478FB4: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:173)
  632. ==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)
  633. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  634. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  635. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  636. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  637. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  638. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  639. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  640. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  641. ==87998==
  642. ==87998== Address 0x61E1EE8 is 8 bytes inside a block of size 80 alloc'd
  643. ==87998==    at 0x4A078C3: operator new(unsigned long) (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  644. ==87998==    by 0x46F36C: chaiscript::Boxed_Value chaiscript::detail::const_var_impl<bool>(bool const&) (new_allocator.h:104)
  645. ==87998==    by 0x471BF4: chaiscript::const_var(bool) (boxed_value.hpp:414)
  646. ==87998==    by 0x478F99: chaiscript::eval::Id_AST_Node::get_value(std::string const&) (chaiscript_eval.hpp:175)
  647. ==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)
  648. ==87998==    by 0x4A0FE4: chaiscript::parser::ChaiScript_Parser::Id() (chaiscript_parser.hpp:810)
  649. ==87998==    by 0x4D0FD4: chaiscript::parser::ChaiScript_Parser::Dot_Fun_Array() (chaiscript_parser.hpp:1878)
  650. ==87998==    by 0x4D14C7: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2067)
  651. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  652. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  653. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  654. ==87998==    by 0x4D1106: chaiscript::parser::ChaiScript_Parser::Operator(unsigned long) (chaiscript_parser.hpp:2084)
  655. ==87998==
  656. ==87998== ----------------------------------------------------------------
  657. ==87998==
  658. ==87998== Possible data race during read of size 4 at 0x8BAB70 by thread #2
  659. ==87998== Locks held: none
  660. ==87998==    at 0x5B7647: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  661. ==87998==    by 0x4889D8: chaiscript::Type_Conversions::thread_cache() const (chaiscript_threading.hpp:116)
  662. ==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)
  663. ==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)
  664. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  665. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  666. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  667. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  668. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  669. ==87998==
  670. ==87998== This conflicts with a previous write of size 4 by thread #3
  671. ==87998== Locks held: none
  672. ==87998==    at 0x37D800C63B: pthread_key_create (in /lib64/libpthread-2.12.so)
  673. ==87998==    by 0x5B75DE: (anonymous namespace)::key_init() (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  674. ==87998==    by 0x37D800CD32: pthread_once (in /lib64/libpthread-2.12.so)
  675. ==87998==    by 0x5B7646: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  676. ==87998==    by 0x43E1A7: chaiscript::detail::threading::Thread_Storage<chaiscript::detail::Stack_Holder>::t() [clone .part.1382] (chaiscript_threading.hpp:116)
  677. ==87998==    by 0x4D4E44: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (boxed_value.hpp:188)
  678. ==87998==    by 0x4E0477: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (chaiscript_engine.hpp:888)
  679. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  680. ==87998==
  681. ==87998== ----------------------------------------------------------------
  682. ==87998==
  683. ==87998== Possible data race during read of size 4 at 0x8BAB70 by thread #2
  684. ==87998== Locks held: none
  685. ==87998==    at 0x5B7647: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  686. ==87998==    by 0x48A6F8: chaiscript::detail::threading::Thread_Storage<chaiscript::Type_Conversions::Conversion_Saves>::operator->() (chaiscript_threading.hpp:116)
  687. ==87998==    by 0x446A93: chaiscript::detail::Dispatch_Engine::new_function_call(chaiscript::detail::Stack_Holder&) [clone .isra.1567] (type_conversions.hpp:423)
  688. ==87998==    by 0x4D8FC6: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:585)
  689. ==87998==    by 0x483441: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  690. ==87998==    by 0x483589: chaiscript::eval::Block_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:771)
  691. ==87998==    by 0x483441: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  692. ==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)
  693. ==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)
  694. ==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)
  695. ==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)
  696. ==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)
  697. ==87998==
  698. ==87998== This conflicts with a previous write of size 4 by thread #3
  699. ==87998== Locks held: none
  700. ==87998==    at 0x37D800C63B: pthread_key_create (in /lib64/libpthread-2.12.so)
  701. ==87998==    by 0x5B75DE: (anonymous namespace)::key_init() (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  702. ==87998==    by 0x37D800CD32: pthread_once (in /lib64/libpthread-2.12.so)
  703. ==87998==    by 0x5B7646: __cxa_thread_atexit (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  704. ==87998==    by 0x43E1A7: chaiscript::detail::threading::Thread_Storage<chaiscript::detail::Stack_Holder>::t() [clone .part.1382] (chaiscript_threading.hpp:116)
  705. ==87998==    by 0x4D4E44: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (boxed_value.hpp:188)
  706. ==87998==    by 0x4E0477: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (chaiscript_engine.hpp:888)
  707. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  708. ==87998==
  709. ==87998== ---Thread-Announcement------------------------------------------
  710. ==87998==
  711. ==87998== Thread #4 was created
  712. ==87998==    at 0x37D78E899E: clone (in /lib64/libc-2.12.so)
  713. ==87998==    by 0x37D80068BF: do_clone.clone.0 (in /lib64/libpthread-2.12.so)
  714. ==87998==    by 0x37D8006DA1: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
  715. ==87998==    by 0x4A0C7F8: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  716. ==87998==    by 0x4A0C907: pthread_create@* (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  717. ==87998==    by 0x37E38B65A6: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib64/libstdc++.so.6.0.13)
  718. ==87998==    by 0x4256CF: label::thread_ok::test_method() (thread:135)
  719. ==87998==    by 0x425AD9: label::thread_ok_invoker() (unit-label.cpp:103)
  720. ==87998==    by 0x433E36: boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke() (callback.hpp:56)
  721. ==87998==    by 0x4C962C0: ??? (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
  722. ==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)
  723. ==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)
  724. ==87998==
  725. ==87998== ----------------------------------------------------------------
  726. ==87998==
  727. ==87998== Lock at 0x6408060 was first observed
  728. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  729. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  730. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  731. ==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)
  732. ==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)
  733. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  734. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  735. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  736. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  737. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  738. ==87998==
  739. ==87998== Lock at 0x6148EB0 was first observed
  740. ==87998==    at 0x4A0B903: pthread_mutex_lock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  741. ==87998==    by 0x47804A: chaiscript::detail::Dispatch_Engine::add_reserved_word(std::string const&) (gthr-default.h:748)
  742. ==87998==    by 0x4E13C9: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:333)
  743. ==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)
  744. ==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)
  745. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  746. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  747. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  748. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  749. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  750. ==87998==
  751. ==87998== Possible data race during read of size 8 at 0x89F5B8 by thread #4
  752. ==87998== Locks held: 1, at address 0x6408060
  753. ==87998==    at 0x45EA10: chaiscript::Type_Info::bare_equal(chaiscript::Type_Info const&) const (type_info.hpp:76)
  754. ==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)
  755. ==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)
  756. ==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)
  757. ==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)
  758. ==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)
  759. ==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)
  760. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  761. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  762. ==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)
  763. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  764. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  765. ==87998==
  766. ==87998== This conflicts with a previous write of size 8 by thread #3
  767. ==87998== Locks held: 1, at address 0x6148EB0
  768. ==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)
  769. ==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)
  770. ==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)
  771. ==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)
  772. ==87998==    by 0x4DDACF: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1405)
  773. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  774. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  775. ==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)
  776. ==87998==
  777. Running 1 test case...
  778. unknown location(0): fatal error in "thread_ok": memory access violation at address: 0x04c11baa: non-existent physical address
  779.  
  780. *** 1 failure detected in test suite "Master Test Suite"
  781. ==87998== ---Thread-Announcement------------------------------------------
  782. ==87998==
  783. ==87998== Thread #5 was created
  784. ==87998==    at 0x37D78E899E: clone (in /lib64/libc-2.12.so)
  785. ==87998==    by 0x37D80068BF: do_clone.clone.0 (in /lib64/libpthread-2.12.so)
  786. ==87998==    by 0x37D8006DA1: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
  787. ==87998==    by 0x4A0C7F8: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  788. ==87998==    by 0x4A0C907: pthread_create@* (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  789. ==87998==    by 0x37E38B65A6: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib64/libstdc++.so.6.0.13)
  790. ==87998==    by 0x4256CF: label::thread_ok::test_method() (thread:135)
  791. ==87998==    by 0x425AD9: label::thread_ok_invoker() (unit-label.cpp:103)
  792. ==87998==    by 0x433E36: boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke() (callback.hpp:56)
  793. ==87998==    by 0x4C962C0: ??? (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
  794. ==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)
  795. ==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)
  796. ==87998==
  797. ==87998== ----------------------------------------------------------------
  798. ==87998==
  799. ==87998== Lock at 0x8BAB80 was first observed
  800. ==87998==    at 0x4A0C65F: pthread_mutex_init (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  801. ==87998==    by 0x5331F5: gdFontCacheSetup (in /home/pbpddev/Documents/dev/iss-framework/device/driver/printer/label/target/ut-printer-driver-label)
  802. ==87998==    by 0x442319: Label::Label() (label.cpp:277)
  803. ==87998==    by 0x42662B: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:129)
  804. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  805. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  806. ==87998==    by 0x37D80079D0: start_thread (in /lib64/libpthread-2.12.so)
  807. ==87998==    by 0x37D78E89DC: clone (in /lib64/libc-2.12.so)
  808. ==87998==
  809. ==87998== Possible data race during read of size 1 at 0x8A36C8 by thread #5
  810. ==87998== Locks held: 1, at address 0x8BAB80
  811. ==87998==    at 0x4A07D4C: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  812. ==87998==    by 0x4A0B9D2: pthread_mutex_destroy (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  813. ==87998==    by 0x45E9FF: boost::mutex::~mutex() (mutex.hpp:53)
  814. ==87998==    by 0x37D7835B21: exit (in /lib64/libc-2.12.so)
  815. ==87998==    by 0x37D781ED63: (below main) (in /lib64/libc-2.12.so)
  816. ==87998==
  817. ==87998== This conflicts with a previous write of size 4 by thread #4
  818. ==87998== Locks held: none
  819. ==87998==    at 0x37D800A7C5: pthread_mutex_unlock (in /lib64/libpthread-2.12.so)
  820. ==87998==    by 0x4A0B3A7: pthread_mutex_unlock (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  821. ==87998==    by 0x541627: Barcode::zintBarcode(std::string const&, int, int, int, int, Barcode::InputMode, BarcodeBitmap*) (mutex.hpp:71)
  822. ==87998==    by 0x541E6F: Barcode::dataMatrix(std::string const&, Barcode::DataMatrixFormat, Barcode::InputMode, BarcodeBitmap*) (barcode.cpp:70)
  823. ==87998==    by 0x43F3BC: Label::dataMatrix(std::string const&, Barcode::DataMatrixFormat, Barcode::InputMode, int, int, int) (label.cpp:551)
  824. ==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)
  825. ==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)
  826. ==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)
  827. ==87998==
  828. ==87998== ---Thread-Announcement------------------------------------------
  829. ==87998==
  830. ==87998== Thread #6 was created
  831. ==87998==    at 0x37D78E899E: clone (in /lib64/libc-2.12.so)
  832. ==87998==    by 0x37D80068BF: do_clone.clone.0 (in /lib64/libpthread-2.12.so)
  833. ==87998==    by 0x37D8006DA1: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.12.so)
  834. ==87998==    by 0x4A0C7F8: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  835. ==87998==    by 0x4A0C907: pthread_create@* (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  836. ==87998==    by 0x37E38B65A6: std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) (in /usr/lib64/libstdc++.so.6.0.13)
  837. ==87998==    by 0x4256CF: label::thread_ok::test_method() (thread:135)
  838. ==87998==    by 0x425AD9: label::thread_ok_invoker() (unit-label.cpp:103)
  839. ==87998==    by 0x433E36: boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke() (callback.hpp:56)
  840. ==87998==    by 0x4C962C0: ??? (in /usr/local/lib/libboost_unit_test_framework.so.1.58.0)
  841. ==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)
  842. ==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)
  843. ==87998==
  844. ==87998== ----------------------------------------------------------------
  845. ==87998==
  846. ==87998== Thread #6: Exiting thread still holds 1 lock
  847. ==87998==    at 0x37E389C470: std::string::compare(std::string const&) const (in /usr/lib64/libstdc++.so.6.0.13)
  848. ==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)
  849. ==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)
  850. ==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)
  851. ==87998==    by 0x4DDAE5: chaiscript::detail::Dispatch_Engine::add_function(std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> const&, std::string const&) (dispatchkit.hpp:1407)
  852. ==87998==    by 0x4E040C: void chaiscript::Module::apply<chaiscript::ChaiScript, chaiscript::detail::Dispatch_Engine>(chaiscript::ChaiScript&, chaiscript::detail::Dispatch_Engine&) const (dispatchkit.hpp:458)
  853. ==87998==    by 0x4E1746: chaiscript::ChaiScript::build_eval_system(std::shared_ptr<chaiscript::Module> const&) (chaiscript_engine.hpp:730)
  854. ==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)
  855. ==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)
  856. ==87998==    by 0x426682: label::thread_ok::test_method()::{lambda()#1}::operator()() const (unit-label.cpp:130)
  857. ==87998==    by 0x37E38B646F: ??? (in /usr/lib64/libstdc++.so.6.0.13)
  858. ==87998==    by 0x4A0C990: ??? (in /opt/rh/devtoolset-3/root/usr/lib64/valgrind/vgpreload_helgrind-amd64-linux.so)
  859. ==87998==
  860. ==87998== ----------------------------------------------------------------
  861. ==87998==
  862. ==87998== Thread #5: Exiting thread still holds 1 lock
  863. ==87998==    at 0x37D78ACD88: _Exit (in /lib64/libc-2.12.so)
  864. ==87998==    by 0x37D7835AD1: exit (in /lib64/libc-2.12.so)
  865. ==87998==    by 0x37D781ED63: (below main) (in /lib64/libc-2.12.so)
  866. ==87998==
  867. ==87998==
  868. ==87998== For counts of detected and suppressed errors, rerun with: -v
  869. ==87998== Use --history-level=approx or =none to gain increased speed, at
  870. ==87998== the cost of reduced accuracy of conflicting-access information
  871. ==87998== ERROR SUMMARY: 941 errors from 21 contexts (suppressed: 316 from 89)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top