Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program received signal SIGSEGV, Segmentation fault. #58

Open
arpu opened this issue May 8, 2017 · 0 comments
Open

Program received signal SIGSEGV, Segmentation fault. #58

arpu opened this issue May 8, 2017 · 0 comments

Comments

@arpu
Copy link

arpu commented May 8, 2017

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff54e5700 (LWP 38961)]
0x00007ffff5fc8e34 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#0 0x00007ffff5fc8e34 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007ffff7b8011c in Mona::BinaryWriter::write (this=0x7ffff54e4980, value=0x7ffff54e4734, size=1) at sources/BinaryWriter.cpp:44
buffer = @0x7ffff54e4990: {Mona::Binary = {Mona::Object = {_vptr.Object = 0x4cd650 <vtable for Mona::Buffer+40>}, }, Mona::NullableObject = {}, static Null =
{Mona::Binary = {Mona::Object = , }, Mona::NullableObject = , static Null = , _offset = 0, _data = 0x0, _size = 0, _capacity = 0, _buffer = 0x0}, _offset = 0,
_data = 0x7fff002d1180 <error: Cannot access memory at address 0x7fff002d1180>, _size = 15, _capacity = 1192, _buffer = 0x0}
oldSize = 14
#2 0x00000000004b7a71 in Mona::BinaryWriter::write8 (this=0x7ffff54e4980, value=16 '\020') at ./../MonaBase/include/Mona/BinaryWriter.h:40
No locals.
#3 0x00007ffff7b803f6 in Mona::BinaryWriter::write7BitValue (this=0x7ffff54e4980, value=16) at sources/BinaryWriter.cpp:109
shift = 0 '\000'
max = false
#4 0x00007ffff7749025 in Mona::RTMFPHandshake::handshakeHandler (this=0x7ffff0001af0, id=48 '0', address=..., request=..., response=...) at sources/RTMFP/RTMFPHandshake.cpp:148
epdLen = 32
type = 15 '\017'
epd = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7ffff0999340 "\355U4\256\267p\376\030l\241\333GO> \254\201\335E~8\252\211\304\022\341\354\333M6U;"},
_M_string_length = 32, {_M_local_buf = " \000\000\000\000\000\000\000\020\212\360\360\377\177\000", _M_allocated_capacity = 32}}
tag = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7ffff0185680 "\027^y|\331\f\277g\211uZ+=\311\352\035"}, _M_string_length = 16, {
_M_local_buf = "\036\000\000\000\000\000\000\000\020\212\360\360\377\177\000", _M_allocated_capacity = 30}}
#5 0x00007ffff7748a97 in Mona::RTMFPHandshake::receive (this=0x7ffff0001af0, address=..., request=...) at sources/RTMFP/RTMFPHandshake.cpp:100
marker = 11 '\v'
time = 46068
id = 48 '0'
response = {Mona::Binary = {Mona::Object = {_vptr.Object = 0x4d7a00 <vtable for Mona::BinaryWriter+32>}, }, _flipBytes = true, _buffer = {Mona::Binary = {Mona::Object = {
_vptr.Object = 0x4cd650 <vtable for Mona::Buffer+40>}, }, Mona::NullableObject = {}, static Null = {Mona::Binary = {Mona::Object = , }, Mona::NullableObject = ,
static Null = , _offset = 0, _data = 0x0, _size = 0, _capacity = 0, _buffer = 0x0}, _offset = 0, _data = 0x7fff002d1180 <error: Cannot access memory at address 0x7fff002d1180>, _size = 15, _capacity = 1192,
_buffer = 0x0}}
idResponse = 0 '\000'
#6 0x00007ffff7727aa3 in Mona::RTMFPSession::<lambda(Mona::BinaryReader&, const Mona::SocketAddress&)>::operator()(Mona::BinaryReader &, const Mona::SocketAddress &) const (__closure=0x7ffff0001be8, packet=..., address=...) at sources/RTMFP/RTMFPSession.cpp:61
this = 0x7ffff0001af0
#7 0x00007ffff772bd29 in std::_Function_handler<void(Mona::BinaryReader&, const Mona::SocketAddress&), Mona::RTMFPSession::RTMFPSession(Mona::RTMFProtocol&, Mona::Invoker&, Mona::UInt32, const UInt8*, const UInt8*, char const*)::<lambda(Mona::BinaryReader&, const Mona::SocketAddress&)> >::_M_invoke(const std::_Any_data &, Mona::BinaryReader &, const Mona::SocketAddress &) (__functor=..., __args#0=..., __args#1=...) at /usr/include/c++/5/functional:1871
No locals.
#8 0x00007ffff773ddd5 in std::function<void (Mona::BinaryReader&, Mona::SocketAddress const&)>::operator()(Mona::BinaryReader&, Mona::SocketAddress const&) const (this=0x7ffff0001be8, __args#0=..., __args#1=...) at /usr/include/c++/5/functional:2267
No locals.
#9 0x00007ffff773dc4d in Mona::Event<void, Mona::BinaryReader&, Mona::SocketAddress const&>::Function::operator()<Mona::BinaryReader&, Mona::SocketAddress&> (this=0x7ffff0001be8) at ./../MonaBase/include/Mona/Event.h:46
No locals.
#10 0x00007ffff773d81d in Mona::Event<void (Mona::BinaryReader&, Mona::SocketAddress const&)>::raise<Mona::BinaryReader&, Mona::SocketAddress&>(Mona::BinaryReader&, Mona::SocketAddress&) (this=0x7ffff0001c38) at ./../MonaBase/include/Mona/Event.h:136
pMutex = {<std::__shared_ptr<std::recursive_mutex, (__gnu_cxx::_Lock_policy)2>> = {_M_ptr = 0x7ffff00025b0, _M_refcount = {_M_pi = 0x7ffff0002530}}, }
lock = {_M_device = @0x7ffff00025b0}
#11 0x00007ffff773d7f3 in Mona::Event<void (Mona::BinaryReader&, Mona::SocketAddress const&)>::raise<Mona::BinaryReader&, Mona::SocketAddress&>(Mona::BinaryReader&, Mona::SocketAddress&) (this=0x7ffff0002680) at ./../MonaBase/include/Mona/Event.h:134
pMutex = {<std::__shared_ptr<std::recursive_mutex, (__gnu_cxx::_Lock_policy)2>> = {_M_ptr = 0x7ffff0002930, _M_refcount = {_M_pi = 0x7ffff0002960}}, }
lock = {_M_device = @0x7ffff0002930}
#12 0x00007ffff773d2ab in Mona::DecoderMona::BinaryReader::Decoding::handle (this=0x7ffff0002630, ex=...) at ./include/Mona/Decoder.h:198
pOut = 0x7fffe0026150
address = {Mona::NullableObject = {Mona::Object = {_vptr.Object = 0x4d0430 <vtable for Mona::SocketAddress+48>}, }, _pAddress = {<std::__shared_ptr<Mona::SocketAddressCommon, (__gnu_cxx::_Lock_policy)2>> = {_M_ptr = 0x7ffff070c770, _M_refcount = {
_M_pi = 0x7ffff0106330}}, }, _toString = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7ffff54e4c58 ""}, _M_string_length = 0, {
_M_local_buf = "\000\305\377\377\000\000\000\000\200LN\365\377\177\000", _M_allocated_capacity = 4294952192}}}
#13 0x00007ffff7b40f3f in Mona::TaskHandler::giveHandle (this=0x7fffffffc528, ex=...) at sources/TaskHandler.cpp:56
lock = {_M_device = @0x7fffffffc530}
#14 0x00007ffff76928c4 in Mona::Server::run (this=0x7fffffffc500, exc=...) at sources/Server.cpp:94
ex = {Mona::Object = {_vptr.Object = 0x4d0500 <vtable for Mona::Exception+32>}, _code = Mona::Exception::NIL, _error = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, },
_M_p = 0x7ffff54e4d30 ""}, _M_string_length = 0, {_M_local_buf = "\000MN\365\377\177\000\000pMN\365\377\177\000", _M_allocated_capacity = 140737308937472}}, static _CodeMessages = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<Mona::Exception::Code const, char const*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<Mona::Exception::Code const, char const*> > >> = {}, },
_M_key_compare = {<std::binary_function<Mona::Exception::Code, Mona::Exception::Code, bool>> = {}, }, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x0, _M_right = 0x0}, _M_node_count = 0}}}}
exWarn = {Mona::Object = {_vptr.Object = 0x4d0500 <vtable for Mona::Exception+32>}, _code = Mona::Exception::NIL, _error = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7ffff54e4d60 ""}, _M_string_length = 0, {_M_local_buf = "\000\317\377\377\377\177\000\000\000WN\365\377\177\000",
_M_allocated_capacity = 140737488342784}}, static _CodeMessages = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<Mona::Exception::Code const, char const*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<Mona::Exception::Code const, char const*> > >> = {}, },
_M_key_compare = {<std::binary_function<Mona::Exception::Code, Mona::Exception::Code, bool>> = {}, }, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x0, _M_right = 0x0}, _M_node_count = 0}}}}
#15 0x00007ffff7b7c7fa in Mona::Startable::process (this=0x7fffffffcf38) at sources/Startable.cpp:75
Min = 0
ex = {Mona::Object = {_vptr.Object = 0x4d0500 <vtable for Mona::Exception+32>}, _code = Mona::Exception::NIL, _error = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, },
_M_p = 0x7ffff54e4e10 ""}, _M_string_length = 0, {_M_local_buf = "\000\000\000\000\000\000\000\000\070\317\377\377\377\177\000", _M_allocated_capacity = 0}}, static _CodeMessages = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<Mona::Exception::Code const, char const*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<Mona::Exception::Code const, char const*> > >> = {}, },
_M_key_compare = {<std::binary_function<Mona::Exception::Code, Mona::Exception::Code, bool>> = {}, }, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x0, _M_right = 0x0}, _M_node_count = 0}}}}
lock = {_M_device = @0x0}
#16 0x00007ffff7b7f2af in std::_Mem_fn_base<void (Mona::Startable::)(), true>::operator()<, void>(Mona::Startable) const (this=0x7373c0, __object=0x7fffffffcf38) at /usr/include/c++/5/functional:600
No locals.
#17 0x00007ffff7b7f243 in std::_Bind_simple<std::_Mem_fn<void (Mona::Startable::)()> (Mona::Startable)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x7373b8) at /usr/include/c++/5/functional:1531
No locals.
#18 0x00007ffff7b7f14a in std::_Bind_simple<std::_Mem_fn<void (Mona::Startable::)()> (Mona::Startable)>::operator()() (this=0x7373b8) at /usr/include/c++/5/functional:1520
No locals.
---Type to continue, or q to quit---
#19 0x00007ffff7b7f0da in std::thread::_Impl<std::_Bind_simple<std::_Mem_fn<void (Mona::Startable::)()> (Mona::Startable)> >::_M_run() (this=0x7373a0) at /usr/include/c++/5/thread:115
No locals.
#20 0x00007ffff6ae7c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#21 0x00007ffff62fa6ba in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#22 0x00007ffff603082d in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
version from git today c2397e3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant