cocaine/cocaine-core

Cocaine-runtime v0.11 crash

vitalyisaev2 opened this issue · 2 comments

We're experiencing crash of cocaine-runtime, possibly at the time of creating/restarting cocaine applications with cocaine-tool. We were not able to collect core dumps though.

Stack trace (most recent call last) in thread 67:
#19   Object "", at 0xffffffffffffffff, in 
#18   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7ff03d85acfc, in clone
#17   Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7ff03d3320a4, in start_thread
#16   Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7ff03ddf6dcf, in std::this_thread::__sleep_for(std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)
#15   Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e2d245e, in 
#14   Object "/usr/lib/x86_64-linux-gnu/libev.so.4", at 0x7ff03e051fe6, in ev_run
#13   Object "/usr/lib/x86_64-linux-gnu/libev.so.4", at 0x7ff03e04ee44, in ev_invoke_pending
#12   Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e2e14ac, in cocaine::io::readable_stream<cocaine::io::socket<cocaine::io::tcp> >::on_event(ev::io&, int)
#11   Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e2d7a36, in cocaine::io::decoder<cocaine::io::readable_stream<cocaine::io::socket<cocaine::io::tcp> > >::on_event(char const*, unsigned long)
#10   Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e2d31af, in cocaine::actor_t::on_message(int, cocaine::io::message_t const&)
#9    Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e2fbc3a, in cocaine::dispatch_t::invoke(cocaine::io::message_t const&, std::shared_ptr<cocaine::api::stream_t> const&) const
#8    Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e344752, in cocaine::io::blocking_slot<Json::Value, boost::mpl::list<std::vector<std::string, std::allocator<std::string> >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >::operator()(msgpack::object const&, std::shared_ptr<cocaine::api::stream_t> const&)
#7    Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e344334, in cocaine::io::detail::result_of<std::function<Json::Value (std::vector<std::string, std::allocator<std::string> >)>, void>::type cocaine::io::detail::invoke<boost::mpl::list<std::vector<std::string, std::allocator<std::string> >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >::apply<std::function<Json::Value (std::vector<std::string, std::allocator<std::string> >)> >(std::function<Json::Value (std::vector<std::string, std::allocator<std::string> >)> const&, msgpack::object const&)
#6    Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e341373, in std::_Function_handler<Json::Value (std::vector<std::string, std::allocator<std::string> >), std::_Bind<std::_Mem_fn<Json::Value (cocaine::service::node_t::*)(std::vector<std::string, std::allocator<std::string> > const&)> (cocaine::service::node_t*, std::_Placeholder<1>)> >::_M_invoke(std::_Any_data const&, std::vector<std::string, std::allocator<std::string> >)
#5    Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e3402de, in cocaine::service::node_t::on_pause_app(std::vector<std::string, std::allocator<std::string> > const&)
#4    Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e2e3eef, in cocaine::app_t::stop()
#3    Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e2f1305, in cocaine::context_t::detach(std::string const&)
#2    Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e31d142, in cocaine::locator_t::detach(std::string const&)
#1    Object "/usr/lib/libcocaine-core.so.2", at 0x7ff03e2d326a, in cocaine::actor_t::location() const

Versions:

dpkg -l | grep cocaine
ii  cocaine-framework-native             0.11.1.4                         amd64        Cocaine - Native Framework
ii  cocaine-framework-python             0.11.1.12                        amd64        Cocaine - Python Framework
ii  cocaine-runtime                      0.11.3.2                         amd64        Cocaine - Runtime
ii  cocaine-tools                        0.11.7.5                         amd64        Cocaine - Toolset
ii  libcocaine-core2                     0.11.3.2                         amd64        Cocaine - Core Libraries
ii  libcocaine-plugin-cache2             0.11.4.2                         amd64        Cocaine - Cache Service
ii  libcocaine-plugin-chrono2            0.11.4.2                         amd64        Cocaine - Chrono Service
ii  libcocaine-plugin-docker2            0.11.4.2                         amd64        Cocaine - Docker Isolation
ii  libcocaine-plugin-elasticsearch2     0.11.4.2                         amd64        Cocaine - Elasticsearch Client Service
ii  libcocaine-plugin-elliptics          2.26.9.3                         amd64        Distributed hash table storage (cocaine plugin)
ii  libcocaine-plugin-ipvs2              0.11.4.2                         amd64        Cocaine - IPVS Gateway
ii  libcocaine-plugin-logstash2          0.11.4.2                         amd64        Cocaine - Logstash Logger
ii  libcocaine-plugin-urlfetch2          0.11.4.2                         amd64        Cocaine - URLFetch Service

Well, 0.11 is not really supported anymore. Is this the issue we've been talking about in Slack?

Ok, let's close it