Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==6215== Memcheck, a memory error detector
- ==6215== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
- ==6215== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
- ==6215== Command: ./chai
- ==6215==
- eval> var a=7
- ==6215== Conditional jump or move depends on uninitialised value(s)
- ==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)
- ==6215== by 0x5A9BAA: chaiscript::detail::Dispatch_Engine::get_function(std::string const&, unsigned long) const (dispatchkit.hpp:754)
- ==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)
- ==6215== by 0x5B40B3: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:437)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5BA7C9: chaiscript::eval::File_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:1090)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5CDA96: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (chaiscript_engine.hpp:277)
- ==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)
- ==6215== by 0x5A0F3D: interactive(chaiscript::ChaiScript&) (main.cpp:228)
- ==6215== by 0x5A1E6B: main (main.cpp:350)
- ==6215==
- ==6215== Use of uninitialised value of size 8
- ==6215== at 0x533B9D0: std::string::size() const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.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)
- ==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)
- ==6215== by 0x5A9BAA: chaiscript::detail::Dispatch_Engine::get_function(std::string const&, unsigned long) const (dispatchkit.hpp:754)
- ==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)
- ==6215== by 0x5B40B3: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:437)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5BA7C9: chaiscript::eval::File_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:1090)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5CDA96: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (chaiscript_engine.hpp:277)
- ==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)
- ==6215== by 0x5A0F3D: interactive(chaiscript::ChaiScript&) (main.cpp:228)
- ==6215==
- ==6215== Conditional jump or move depends on uninitialised value(s)
- ==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)
- ==6215== by 0x5B40B3: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:437)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5BA7C9: chaiscript::eval::File_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:1090)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5CDA96: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (chaiscript_engine.hpp:277)
- ==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)
- ==6215== by 0x5A0F3D: interactive(chaiscript::ChaiScript&) (main.cpp:228)
- ==6215== by 0x5A1E6B: main (main.cpp:350)
- ==6215==
- ==6215== Conditional jump or move depends on uninitialised value(s)
- ==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)
- ==6215== by 0x5A9BAA: chaiscript::detail::Dispatch_Engine::get_function(std::string const&, unsigned long) const (dispatchkit.hpp:754)
- ==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)
- ==6215== by 0x5B5D81: chaiscript::eval::Dot_Access_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:600)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5B70E5: chaiscript::eval::Block_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:727)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==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)
- ==6215== by 0x5B73D6: _ZZNK10chaiscript4eval12Def_AST_Node13eval_internalERKNS_6detail14Dispatch_StateEENKUlRKSt6vectorINS_11Boxed_ValueESaIS7_EEE0_clESB_ (chaiscript_eval.hpp:783)
- ==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)
- ==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)
- ==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)
- ==6215==
- ==6215== Conditional jump or move depends on uninitialised value(s)
- ==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)
- ==6215== by 0x5B5D81: chaiscript::eval::Dot_Access_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:600)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5B70E5: chaiscript::eval::Block_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:727)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==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)
- ==6215== by 0x5B73D6: _ZZNK10chaiscript4eval12Def_AST_Node13eval_internalERKNS_6detail14Dispatch_StateEENKUlRKSt6vectorINS_11Boxed_ValueESaIS7_EEE0_clESB_ (chaiscript_eval.hpp:783)
- ==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)
- ==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)
- ==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)
- ==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)
- ==6215== by 0x5B40B3: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:437)
- ==6215==
- ==6215== Conditional jump or move depends on uninitialised value(s)
- ==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)
- ==6215== by 0x5A9BAA: chaiscript::detail::Dispatch_Engine::get_function(std::string const&, unsigned long) const (dispatchkit.hpp:754)
- ==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)
- ==6215== by 0x5B4236: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:444)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5BA7C9: chaiscript::eval::File_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:1090)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5CDA96: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (chaiscript_engine.hpp:277)
- ==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)
- ==6215== by 0x5A0F3D: interactive(chaiscript::ChaiScript&) (main.cpp:228)
- ==6215== by 0x5A1E6B: main (main.cpp:350)
- ==6215==
- ==6215== Conditional jump or move depends on uninitialised value(s)
- ==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)
- ==6215== by 0x5B4236: chaiscript::eval::Equation_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:444)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5BA7C9: chaiscript::eval::File_AST_Node::eval_internal(chaiscript::detail::Dispatch_State const&) const (chaiscript_eval.hpp:1090)
- ==6215== by 0x5B081F: chaiscript::AST_Node::eval(chaiscript::detail::Dispatch_State const&) const (chaiscript_common.hpp:485)
- ==6215== by 0x5CDA96: chaiscript::ChaiScript::do_eval(std::string const&, std::string const&, bool) (chaiscript_engine.hpp:277)
- ==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)
- ==6215== by 0x5A0F3D: interactive(chaiscript::ChaiScript&) (main.cpp:228)
- ==6215== by 0x5A1E6B: main (main.cpp:350)
- ==6215==
- 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement