Skip to content

Instantly share code, notes, and snippets.

@kcburge
Created August 4, 2014 17:33
Show Gist options
  • Save kcburge/98af26477888e06a3c4f to your computer and use it in GitHub Desktop.
Save kcburge/98af26477888e06a3c4f to your computer and use it in GitHub Desktop.
rtags coredump
#0 0x0000003eafc35c39 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x0000003eafc37348 in __GI_abort () at abort.c:89
#2 0x0000003eafc2eb96 in __assert_fail_base (fmt=0x3eafd7bd88 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f4c79e260c6 "!(flags & Complete)",
file=file@entry=0x7f4c79e26078 "/home/kevin/Source/System/rtags/src/IndexerJob.cpp", line=line@entry=64,
function=function@entry=0x7f4c79e26280 <IndexerJob::update(std::shared_ptr<IndexerJob> const&)::__PRETTY_FUNCTION__> "bool IndexerJob::update(const std::shared_ptr<IndexerJob>&)") at assert.c:92
#3 0x0000003eafc2ec42 in __GI___assert_fail (assertion=0x7f4c79e260c6 "!(flags & Complete)", file=0x7f4c79e26078 "/home/kevin/Source/System/rtags/src/IndexerJob.cpp", line=64,
function=0x7f4c79e26280 <IndexerJob::update(std::shared_ptr<IndexerJob> const&)::__PRETTY_FUNCTION__> "bool IndexerJob::update(const std::shared_ptr<IndexerJob>&)") at assert.c:101
#4 0x00007f4c79c1b380 in IndexerJob::update (this=0x1ee683e0, job=std::shared_ptr (count 1, weak 0) 0x2ac2e080) at /home/kevin/Source/System/rtags/src/IndexerJob.cpp:64
#5 0x00007f4c79c30a19 in Project::index (this=0x14e07a0, job=std::shared_ptr (count 1, weak 0) 0x2ac2e080) at /home/kevin/Source/System/rtags/src/Project.cpp:652
#6 0x00007f4c79c31c17 in Project::startDirtyJobs (this=0x14e07a0, dirty=0x7fffe3514860, unsavedFiles=...) at /home/kevin/Source/System/rtags/src/Project.cpp:804
#7 0x00007f4c79c31778 in Project::reindex (this=0x14e07a0, match=..., query=...) at /home/kevin/Source/System/rtags/src/Project.cpp:768
#8 0x00007f4c79c7eb15 in Server::reindex (this=0x1455c50, query=..., conn=0x28941800) at /home/kevin/Source/System/rtags/src/Server.cpp:1000
#9 0x00007f4c79c7b8f7 in Server::handleQueryMessage (this=0x1455c50, message=..., conn=0x28941800) at /home/kevin/Source/System/rtags/src/Server.cpp:561
#10 0x00007f4c79c79f83 in Server::onNewMessage (this=0x1455c50, message=0x1f69b740, connection=0x28941800) at /home/kevin/Source/System/rtags/src/Server.cpp:338
#11 0x00007f4c79ca16a1 in std::_Mem_fn<void (Server::*)(Message*, Connection*)>::operator()<Message*, Connection*, void>(Server*, Message*&&, Connection*&&) const (this=0xfb257a0, __object=0x1455c50)
at /usr/include/c++/4.8.3/functional:601
#12 0x00007f4c79c9f188 in std::_Bind<std::_Mem_fn<void (Server::*)(Message*, Connection*)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)>::__call<void, Message*&&, Connection*&&, 0ul, 1ul, 2ul>(std::t uple<Message*&&, Connection*&&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (this=0xfb257a0, __args=<unknown type in /usr/local/lib/librtags.so, CU 0x76a6db, DIE 0x830351>) at /usr/include/c++/4.8.3/functional:1296
#13 0x00007f4c79c9ab29 in std::_Bind<std::_Mem_fn<void (Server::*)(Message*, Connection*)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)>::operator()<Message*, Connection*, void>(Message*&&, Connectio n*&&) (this=0xfb257a0) at /usr/include/c++/4.8.3/functional:1355
#14 0x00007f4c79c96948 in std::_Function_handler<void (Message*, Connection*), std::_Bind<std::_Mem_fn<void (Server::*)(Message*, Connection*)> (Server*, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_inv oke(std::_Any_data const&, Message*, Connection*) (__functor=..., __args#0=0x1f69b740, __args#1=0x28941800) at /usr/include/c++/4.8.3/functional:2071
#15 0x00007f4c794361a2 in std::function<void (Message*, Connection*)>::operator()(Message*, Connection*) const (this=0x282bee28, __args#0=0x1f69b740, __args#1=0x28941800)
at /usr/include/c++/4.8.3/functional:2471
#16 0x00007f4c7943328e in Signal<std::function<void (Message*, Connection*)> >::operator()<Message*&, Connection* const>(Message*&, Connection* const&&) (this=0x28941838)
at /home/kevin/Source/System/rtags/src/rct/rct/SignalSlot.h:69
#17 0x00007f4c7942edaa in Connection::onDataAvailable(std::shared_ptr<SocketClient> const&, Buffer&&) (this=0x28941800, buffer=<unknown type in /usr/local/lib/librct.so, CU 0x2a015, DIE 0x59961>)
at /home/kevin/Source/System/rtags/src/rct/rct/Connection.cpp:191
#18 0x00007f4c7943dfd0 in std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)>::operator()<std::shared_ptr<SocketClient> const&, Buffer, void>(Connection*, std::shared_ptr<Socket Client> const&, Buffer&&) const (this=0xaf398d0, __object=0x28941800) at /usr/include/c++/4.8.3/functional:601
#19 0x00007f4c7943c22e in std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)>::__call<void, std::shared_ptr <SocketClient> const&, Buffer&&, 0ul, 1ul, 2ul>(std::tuple<std::shared_ptr<SocketClient> const&, Buffer&&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (this=0xaf398d0,
__args=<unknown type in /usr/local/lib/librct.so, CU 0x2a015, DIE 0x63f60>) at /usr/include/c++/4.8.3/functional:1296
#20 0x00007f4c794392fd in std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (Connection*, std::_Placeholder<1>, std::_Placeholder<2>)>::operator()<std::shared_ptr<S ocketClient> const&, Buffer, void>(std::shared_ptr<SocketClient> const&, Buffer&&) (this=0xaf398d0) at /usr/include/c++/4.8.3/functional:1355
#21 0x00007f4c79436f92 in std::_Function_handler<void (std::shared_ptr<SocketClient> const&, Buffer&&), std::_Bind<std::_Mem_fn<void (Connection::*)(std::shared_ptr<SocketClient> const&, Buffer&&)> (Connectio n*, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_invoke(std::_Any_data const&, std::shared_ptr<SocketClient> const&, Buffer&&) (__functor=..., __args#0=std::shared_ptr (count 2, weak 1) 0x28931dc0,
__args#1=<unknown type in /usr/local/lib/librct.so, CU 0x2a015, DIE 0x59961>) at /usr/include/c++/4.8.3/functional:2071
---Type <return> to continue, or q <return> to quit---
#22 0x00007f4c7947c9b6 in std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)>::operator()(std::shared_ptr<SocketClient> const&, Buffer&&) const (this=0x23789778,
__args#0=std::shared_ptr (count 2, weak 1) 0x28931dc0, __args#1=<unknown type in /usr/local/lib/librct.so, CU 0x1639b6, DIE 0x186648>) at /usr/include/c++/4.8.3/functional:2471
#23 0x00007f4c7947b643 in Signal<std::function<void (std::shared_ptr<SocketClient> const&, Buffer&&)> >::operator()<std::shared_ptr<SocketClient>&, Buffer>(std::shared_ptr<SocketClient>&, Buffer&&) (
this=0x28931df8) at /home/kevin/Source/System/rtags/src/rct/rct/SignalSlot.h:69
#24 0x00007f4c79479b66 in SocketClient::socketCallback (this=0x28931dc0, f=9, mode=1) at /home/kevin/Source/System/rtags/src/rct/rct/SocketClient.cpp:613
#25 0x00007f4c794801fb in std::_Mem_fn<void (SocketClient::*)(int, int)>::operator()<int, unsigned int, void>(SocketClient*, int&&, unsigned int&&) const (this=0x14bc4f30, __object=0x28931dc0)
at /usr/include/c++/4.8.3/functional:601
#26 0x00007f4c7947e4b0 in std::_Bind<std::_Mem_fn<void (SocketClient::*)(int, int)> (SocketClient*, std::_Placeholder<1>, std::_Placeholder<2>)>::__call<void, int&&, unsigned int&&, 0ul, 1ul, 2ul>(std::tuple< int&&, unsigned int&&>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (this=0x14bc4f30, __args=<unknown type in /usr/local/lib/librct.so, CU 0x1639b6, DIE 0x189658>) at /usr/include/c++/4.8.3/functional:1296
#27 0x00007f4c7947d345 in std::_Bind<std::_Mem_fn<void (SocketClient::*)(int, int)> (SocketClient*, std::_Placeholder<1>, std::_Placeholder<2>)>::operator()<int, unsigned int, void>(int&&, unsigned int&&) (
this=0x14bc4f30) at /usr/include/c++/4.8.3/functional:1355
#28 0x00007f4c7947c04f in std::_Function_handler<void (int, unsigned int), std::_Bind<std::_Mem_fn<void (SocketClient::*)(int, int)> (SocketClient*, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_invoke(s td::_Any_data const&, int, unsigned int) (__functor=..., __args#0=9, __args#1=1) at /usr/include/c++/4.8.3/functional:2071
#29 0x00007f4c79446d84 in std::function<void (int, unsigned int)>::operator()(int, unsigned int) const (this=0x7fffe3515770, __args#0=9, __args#1=1) at /usr/include/c++/4.8.3/functional:2471
#30 0x00007f4c79442859 in EventLoop::fireSocket (this=0x1454ce0, fd=9, mode=1) at /home/kevin/Source/System/rtags/src/rct/rct/EventLoop.cpp:655
#31 0x00007f4c79442cdb in EventLoop::processSocketEvents (this=0x1454ce0, events=0x7fffe3515930, eventCount=1) at /home/kevin/Source/System/rtags/src/rct/rct/EventLoop.cpp:794
#32 0x00007f4c7944303e in EventLoop::exec (this=0x1454ce0, timeoutTime=-1) at /home/kevin/Source/System/rtags/src/rct/rct/EventLoop.cpp:899
#33 0x00000000004132dc in main (argc=1, argv=0x7fffe3516958) at /home/kevin/Source/System/rtags/src/rdm.cpp:570
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment