Advertisement
Guest User

ChaiScript Valgrind test debug mode

a guest
Oct 6th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.98 KB | None | 0 0
  1. ==6215== Memcheck, a memory error detector
  2. ==6215== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  3. ==6215== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  4. ==6215== Command: ./chai
  5. ==6215==
  6. eval> var a=7
  7. ==6215== Conditional jump or move depends on uninitialised value(s)
  8. ==6215== at 0x5DA3F7: std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > >::const_iterator chaiscript::detail::Dispatch_Engine::find_keyed_value<std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > >, std::string>(std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > > const&, std::string const&, unsigned long) (dispatchkit.hpp:1447)
  9. ==6215== by 0x5A9BAA: chaiscript::detail::Dispatch_Engine::get_function(std::string const&, unsigned long) const (dispatchkit.hpp:754)
  10. ==6215== by 0x5AB970: chaiscript::detail::Dispatch_Engine::call_function(std::string const&, std::atomic<unsigned long>&, std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions_State const&) const (dispatchkit.hpp:1054)
  11. ==6215== by 0x5B40B3: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:437)
  12. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  13. ==6215== by 0x5BA7C9: chaiscript::eval::File_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:1090)
  14. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  15. ==6215== by 0x5CDA96: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (chaiscript_engine.hpp:277)
  16. ==6215== by 0x5D2416: chaiscript::ChaiScript::eval(std::string const&, std::shared_ptr<chaiscript::detail::Exception_Handler_Base> const&, std::string const&) (chaiscript_engine.hpp:946)
  17. ==6215== by 0x5A0F3D: interactive(chaiscript::ChaiScript&) (main.cpp:228)
  18. ==6215== by 0x5A1E6B: main (main.cpp:350)
  19. ==6215==
  20. ==6215== Use of uninitialised value of size 8
  21. ==6215== at 0x533B9D0: std::string::size() const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22)
  22. ==6215== by 0x5D807D: __gnu_cxx::__enable_if<std::__is_char<char>::__value, bool>::__type std::operator==<char>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:5060)
  23. ==6215== by 0x5DA41D: std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > >::const_iterator chaiscript::detail::Dispatch_Engine::find_keyed_value<std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > >, std::string>(std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > > const&, std::string const&, unsigned long) (dispatchkit.hpp:1447)
  24. ==6215== by 0x5A9BAA: chaiscript::detail::Dispatch_Engine::get_function(std::string const&, unsigned long) const (dispatchkit.hpp:754)
  25. ==6215== by 0x5AB970: chaiscript::detail::Dispatch_Engine::call_function(std::string const&, std::atomic<unsigned long>&, std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions_State const&) const (dispatchkit.hpp:1054)
  26. ==6215== by 0x5B40B3: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:437)
  27. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  28. ==6215== by 0x5BA7C9: chaiscript::eval::File_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:1090)
  29. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  30. ==6215== by 0x5CDA96: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (chaiscript_engine.hpp:277)
  31. ==6215== by 0x5D2416: chaiscript::ChaiScript::eval(std::string const&, std::shared_ptr<chaiscript::detail::Exception_Handler_Base> const&, std::string const&) (chaiscript_engine.hpp:946)
  32. ==6215== by 0x5A0F3D: interactive(chaiscript::ChaiScript&) (main.cpp:228)
  33. ==6215==
  34. ==6215== Conditional jump or move depends on uninitialised value(s)
  35. ==6215== at 0x5AB979: chaiscript::detail::Dispatch_Engine::call_function(std::string const&, std::atomic<unsigned long>&, std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions_State const&) const (dispatchkit.hpp:1055)
  36. ==6215== by 0x5B40B3: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:437)
  37. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  38. ==6215== by 0x5BA7C9: chaiscript::eval::File_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:1090)
  39. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  40. ==6215== by 0x5CDA96: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (chaiscript_engine.hpp:277)
  41. ==6215== by 0x5D2416: chaiscript::ChaiScript::eval(std::string const&, std::shared_ptr<chaiscript::detail::Exception_Handler_Base> const&, std::string const&) (chaiscript_engine.hpp:946)
  42. ==6215== by 0x5A0F3D: interactive(chaiscript::ChaiScript&) (main.cpp:228)
  43. ==6215== by 0x5A1E6B: main (main.cpp:350)
  44. ==6215==
  45. ==6215== Conditional jump or move depends on uninitialised value(s)
  46. ==6215== at 0x5DA3F7: std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > >::const_iterator chaiscript::detail::Dispatch_Engine::find_keyed_value<std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > >, std::string>(std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > > const&, std::string const&, unsigned long) (dispatchkit.hpp:1447)
  47. ==6215== by 0x5A9BAA: chaiscript::detail::Dispatch_Engine::get_function(std::string const&, unsigned long) const (dispatchkit.hpp:754)
  48. ==6215== by 0x5AB06B: chaiscript::detail::Dispatch_Engine::call_member(std::string const&, std::atomic<unsigned long>&, std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, bool, chaiscript::Type_Conversions_State const&) (dispatchkit.hpp:941)
  49. ==6215== by 0x5B5D81: chaiscript::eval::Dot_Access_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:600)
  50. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  51. ==6215== by 0x5B70E5: chaiscript::eval::Block_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:727)
  52. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  53. ==6215== by 0x5A03CE: 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:77)
  54. ==6215== by 0x5B73D6: _ZZNK10chaiscript4eval12Def_AST_Node13eval_internalERKNS_6detail14Dispatch_StateEENKUlRKSt6vectorINS_11Boxed_ValueESaIS7_EEE0_clESB_ (chaiscript_eval.hpp:783)
  55. ==6215== by 0x67DDF8: _ZNK10chaiscript8dispatch27Dynamic_Proxy_Function_ImplIZNKS_4eval12Def_AST_Node13eval_internalERKNS_6detail14Dispatch_StateEEUlRKSt6vectorINS_11Boxed_ValueESaIS9_EEE0_E7do_callESD_RKNS_22Type_Conversions_StateE (proxy_functions.hpp:426)
  56. ==6215== by 0x5A665C: chaiscript::dispatch::Proxy_Function_Base::operator()(std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions_State const&) const (proxy_functions.hpp:153)
  57. ==6215== by 0x5D92F8: 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_State const&) (proxy_functions.hpp:914)
  58. ==6215==
  59. ==6215== Conditional jump or move depends on uninitialised value(s)
  60. ==6215== at 0x5AB07A: chaiscript::detail::Dispatch_Engine::call_member(std::string const&, std::atomic<unsigned long>&, std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, bool, chaiscript::Type_Conversions_State const&) (dispatchkit.hpp:942)
  61. ==6215== by 0x5B5D81: chaiscript::eval::Dot_Access_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:600)
  62. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  63. ==6215== by 0x5B70E5: chaiscript::eval::Block_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:727)
  64. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  65. ==6215== by 0x5A03CE: 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:77)
  66. ==6215== by 0x5B73D6: _ZZNK10chaiscript4eval12Def_AST_Node13eval_internalERKNS_6detail14Dispatch_StateEENKUlRKSt6vectorINS_11Boxed_ValueESaIS7_EEE0_clESB_ (chaiscript_eval.hpp:783)
  67. ==6215== by 0x67DDF8: _ZNK10chaiscript8dispatch27Dynamic_Proxy_Function_ImplIZNKS_4eval12Def_AST_Node13eval_internalERKNS_6detail14Dispatch_StateEEUlRKSt6vectorINS_11Boxed_ValueESaIS9_EEE0_E7do_callESD_RKNS_22Type_Conversions_StateE (proxy_functions.hpp:426)
  68. ==6215== by 0x5A665C: chaiscript::dispatch::Proxy_Function_Base::operator()(std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions_State const&) const (proxy_functions.hpp:153)
  69. ==6215== by 0x5D92F8: 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_State const&) (proxy_functions.hpp:914)
  70. ==6215== by 0x5AB9B4: chaiscript::detail::Dispatch_Engine::call_function(std::string const&, std::atomic<unsigned long>&, std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions_State const&) const (dispatchkit.hpp:1056)
  71. ==6215== by 0x5B40B3: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:437)
  72. ==6215==
  73. ==6215== Conditional jump or move depends on uninitialised value(s)
  74. ==6215== at 0x5DA3F7: std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > >::const_iterator chaiscript::detail::Dispatch_Engine::find_keyed_value<std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > >, std::string>(std::vector<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > >, std::allocator<std::pair<std::string, std::shared_ptr<std::vector<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base>, std::allocator<std::shared_ptr<chaiscript::dispatch::Proxy_Function_Base> > > > > > > const&, std::string const&, unsigned long) (dispatchkit.hpp:1447)
  75. ==6215== by 0x5A9BAA: chaiscript::detail::Dispatch_Engine::get_function(std::string const&, unsigned long) const (dispatchkit.hpp:754)
  76. ==6215== by 0x5AB970: chaiscript::detail::Dispatch_Engine::call_function(std::string const&, std::atomic<unsigned long>&, std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions_State const&) const (dispatchkit.hpp:1054)
  77. ==6215== by 0x5B4236: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:444)
  78. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  79. ==6215== by 0x5BA7C9: chaiscript::eval::File_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:1090)
  80. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  81. ==6215== by 0x5CDA96: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (chaiscript_engine.hpp:277)
  82. ==6215== by 0x5D2416: chaiscript::ChaiScript::eval(std::string const&, std::shared_ptr<chaiscript::detail::Exception_Handler_Base> const&, std::string const&) (chaiscript_engine.hpp:946)
  83. ==6215== by 0x5A0F3D: interactive(chaiscript::ChaiScript&) (main.cpp:228)
  84. ==6215== by 0x5A1E6B: main (main.cpp:350)
  85. ==6215==
  86. ==6215== Conditional jump or move depends on uninitialised value(s)
  87. ==6215== at 0x5AB979: chaiscript::detail::Dispatch_Engine::call_function(std::string const&, std::atomic<unsigned long>&, std::vector<chaiscript::Boxed_Value, std::allocator<chaiscript::Boxed_Value> > const&, chaiscript::Type_Conversions_State const&) const (dispatchkit.hpp:1055)
  88. ==6215== by 0x5B4236: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:444)
  89. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  90. ==6215== by 0x5BA7C9: chaiscript::eval::File_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:1090)
  91. ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
  92. ==6215== by 0x5CDA96: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (chaiscript_engine.hpp:277)
  93. ==6215== by 0x5D2416: chaiscript::ChaiScript::eval(std::string const&, std::shared_ptr<chaiscript::detail::Exception_Handler_Base> const&, std::string const&) (chaiscript_engine.hpp:946)
  94. ==6215== by 0x5A0F3D: interactive(chaiscript::ChaiScript&) (main.cpp:228)
  95. ==6215== by 0x5A1E6B: main (main.cpp:350)
  96. ==6215==
  97. 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement