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

SIGSEGV Identity.cpp:132 #109

Closed
ic-kashey opened this issue Nov 10, 2014 · 1 comment
Closed

SIGSEGV Identity.cpp:132 #109

ic-kashey opened this issue Nov 10, 2014 · 1 comment

Comments

@ic-kashey
Copy link

....

22:57:22/info - DatabaseStore
22:57:22/info - RouterInfo
22:57:22/info - DatabaseStore
22:57:22/info - RouterInfo
22:57:22/info - RouterInfo updated
22:57:22/info - DatabaseStore
22:57:22/info - RouterInfo
22:57:22/info - RouterInfo updated
22:57:22/info - DatabaseStore
22:57:22/info - RouterInfo
22:57:22/info - RouterInfo updated
22:57:22/info - Phase 2 received: 304
22:57:22/info - Phase 3 sent: 448
22:57:22/info - Phase 4 received: 48
22:57:22/info - NTCP session connected
22:57:23/info - DatabaseStore
22:57:23/info - RouterInfo
22:57:23/info - RouterInfo updated
Bad header line: GET http://forum.rus.i2p/ HTTP/1.1
22:57:24/info - method is: GET
Request is: http://forum.rus.i2p/
22:57:24/info - server is: forum.rus.i2p port is: 80
path is: /
22:57:24/info - Requesting forum.rus.i2p:80 with path / and method GET

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe57fa700 (LWP 11740)]
__memcpy_sse2 () at ../sysdeps/x86_64/memcpy.S:272
272 rep
(gdb) bt
#0 __memcpy_sse2 () at ../sysdeps/x86_64/memcpy.S:272
#1 0x00000000004e1e49 in i2p::data::IdentityEx::FromBuffer (this=0x7fffe57f9100, buf=0x7fffe57f8ec0 "\020\217\177\345\377\177", len=18446744073709551615) at Identity.cpp:132
#2 0x00000000004e206d in i2p::data::IdentityEx::FromBase64 (this=0x7fffe57f9100,

s="CRayYfxrPBELUQ4tYi723g8atsyHwkR0--N8fXggNqJgHsnrKxle0ovH5qj6aqUGToay4ktJEz~opIV2lF605gdGE9rSrPONOU0v737~gzjmLpJoyW03yOhr6lGvTxTKWjgx5xRHctt11DEMlMufY4Q72~EZETE4k5E45V3YqSWGyYIzxdpzzw9zvMe9TaLZTs0ZYFgX"...) at Identity.cpp:159

#3 0x000000000052ee49 in i2p::client::AddressBook::LoadHosts (this=0x82a0e0 i2p::client::context+96) at AddressBook.cpp:122
#4 0x000000000052e85d in i2p::client::AddressBook::FindAddress (this=0x82a0e0 i2p::client::context+96, address="forum.rus.i2p") at AddressBook.cpp:48
#5 0x000000000052e7ee in i2p::client::AddressBook::GetIdentHash (this=0x82a0e0 i2p::client::context+96, address="forum.rus.i2p", ident=...) at AddressBook.cpp:34
#6 0x00000000004c6a4e in i2p::util::HTTPConnection::SendToAddress (this=0x7fffcc000960, address="forum.rus.i2p", port=80,

buf=0x7fffcc0009b8 "GET http://forum.rus.i2p/ HTTP/1.1\r\nHost: forum.rus.i2p\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9"..., len=387) at HTTPServer.cpp:854

#7 0x000000000052cf50 in i2p::proxy::HTTPProxyConnection::RunRequest (this=0x7fffcc000960) at HTTPProxy.cpp:82
#8 0x00000000004c46ca in i2p::util::HTTPConnection::HandleReceive (this=0x7fffcc000960, ecode=..., bytes_transferred=387) at HTTPServer.cpp:542
#9 0x00000000004ce178 in boost::_mfi::mf2<void, i2p::util::HTTPConnection, boost::system::error_code const&, unsigned long>::operator() (this=0x7fffe57f9a80, p=0x7fffcc000960, a1=..., a2=387)

at /usr/include/boost/bind/mem_fn_template.hpp:280

#10 0x00000000004d13b8 in boost::bi::list3boost::bi::value<i2p::util::HTTPConnection*, boost::arg<1> ()(), boost::arg<2> ()()>::operator()<boost::_mfi::mf2<void, i2p::util::HTTPConnection, boost::system::error_code const&, unsigned long>, boost::_bi::list2<boost::system::error_code const&, unsigned long const&> > (this=0x7fffe57f9a90, f=..., a=...) at /usr/include/boost/bind/bind.hpp:392
#11 0x00000000004d0e40 in boost::_bi::bind_t<void, boost::_mfi::mf2<void, i2p::util::HTTPConnection, boost::system::error_code const&, unsigned long>, boost::bi::list3boost::bi::value<i2p::util::HTTPConnection*, boost::arg<1> ()(), boost::arg<2> ()()> >::operator()<boost::system::error_code, unsigned long> (this=0x7fffe57f9a80, a1=..., a2=@0x7fffe57f9aa8: 387) at /usr/include/boost/bind/bind_template.hpp:102
#12 0x00000000004d07d1 in boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, i2p::util::HTTPConnection, boost::system::error_code const&, unsigned long>, boost::bi::list3boost::bi::value<i2p::util::HTTPConnection*, boost::arg<1> ()(), boost::arg<2> ()()> >, boost::system::error_code, unsigned long>::operator() (this=0x7fffe57f9a80)

at /usr/include/boost/asio/detail/bind_handler.hpp:118

#13 0x00000000004cfbd5 in boost::asio::asio_handler_invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, i2p::util::HTTPConnection, boost::system::error_code const&, unsigned long>, boost::bi::list3boost::bi::value<i2p::util::HTTPConnection*, boost::arg<1> ()(), boost::arg<2> ()()> >, boost::system::error_code, unsigned long> > (function=...)

at /usr/include/boost/asio/handler_invoke_hook.hpp:64

#14 0x00000000004cef98 in boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, i2p::util::HTTPConnection, boost::system::error_code const&, unsigned long>, boost::bi::list3boost::bi::value<i2p::util::HTTPConnection*, boost::arg<1> ()(), boost::arg<2> ()()> >, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, i2p::util::HTTPConnection, boost::system::error_code const&, unsigned long>, boost::bi::list3boost::bi::value<i2p::util::HTTPConnection*, boost::arg<1> ()(), boost::arg<2> ()()> > > (function=...,

context=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39

#15 0x00000000004cdd9b in boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, boost::_bi::bind_t<void, boost::_mfi::mf2<void, i2p::util::HTTPConnection, boost::system::error_code const&, unsigned long>, boost::bi::list3boost::bi::value<i2p::util::HTTPConnection*, boost::arg<1> ()(), boost::arg<2> ()()> > >::do_complete (owner=0x842030, base=0x844b40)

at /usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:110

#16 0x0000000000446160 in boost::asio::detail::task_io_service_operation::complete (this=0x844b40, owner=..., ec=..., bytes_transferred=0) at /usr/include/boost/asio/detail/task_io_service_operation.hpp:37
#17 0x0000000000447b15 in boost::asio::detail::epoll_reactor::descriptor_state::do_complete (owner=0x842030, base=0x7fffcc0008c0, ec=..., bytes_transferred=1)

at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:650

#18 0x0000000000446160 in boost::asio::detail::task_io_service_operation::complete (this=0x7fffcc0008c0, owner=..., ec=..., bytes_transferred=1)

at /usr/include/boost/asio/detail/task_io_service_operation.hpp:37

#19 0x0000000000474623 in boost::asio::detail::task_io_service::do_run_one (this=0x842030, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:412
#20 0x0000000000474379 in boost::asio::detail::task_io_service::run (this=0x842030, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153
#21 0x00000000004748e1 in boost::asio::io_service::run (this=0x8485e0) at /usr/include/boost/asio/impl/io_service.ipp:59
#22 0x00000000004c76e0 in i2p::util::HTTPServer::Run (this=0x8485d0) at HTTPServer.cpp:971
#23 0x00000000004d22f1 in std::_Mem_fn<void (i2p::util::HTTPServer::)()>::operator()<, void>(i2p::util::HTTPServer) const (this=0x846640, __object=0x8485d0) at /usr/include/c++/4.8.2/functional:601
#24 0x00000000004d2250 in std::_Bind<std::_Mem_fn<void (i2p::util::HTTPServer::)()> (i2p::util::HTTPServer)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x846640,

__args=<unknown type in /usr/local/sbin/i2p, CU 0x4354de, DIE 0x4b9722>) at /usr/include/c++/4.8.2/functional:1296

#25 0x00000000004d21c2 in std::_Bind<std::_Mem_fn<void (i2p::util::HTTPServer::)()> (i2p::util::HTTPServer)>::operator()<, void>() (this=0x846640) at /usr/include/c++/4.8.2/functional:1355
#26 0x00000000004d2154 in std::_Bind_simple<std::_Bind<std::_Mem_fn<void (i2p::util::HTTPServer::)()> (i2p::util::HTTPServer)> ()>::_M_invoke<>(std::_Index_tuple<>) (this=0x846640)

at /usr/include/c++/4.8.2/functional:1732

#27 0x00000000004d20a1 in std::_Bind_simple<std::_Bind<std::_Mem_fn<void (i2p::util::HTTPServer::)()> (i2p::util::HTTPServer)> ()>::operator()() (this=0x846640) at /usr/include/c++/4.8.2/functional:1720
#28 0x00000000004d203a in std::thread::_Impl<std::_Bind_simple<std::_Bind<std::_Mem_fn<void (i2p::util::HTTPServer::)()> (i2p::util::HTTPServer)> ()> >::_M_run() (this=0x846628)

at /usr/include/c++/4.8.2/thread:115

#29 0x00007ffff66afda0 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../libstdc++-v3/src/c++11/thread.cc:84
#30 0x00007ffff6909df3 in start_thread (arg=0x7fffe57fa700) at pthread_create.c:308
#31 0x00007ffff5e1801d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

(gdb)

@ic-kashey
Copy link
Author

P.S. ой, забыл: latest commit 692cde5, CentOS7.

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

2 participants