Advertisement
bueddl

backtrace w3c, uneq socket sharing fd

May 19th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 7.35 KB | None | 0 0
  1. (gdb) c
  2. Continuing.
  3.  
  4. Thread 3 hit Breakpoint 6, w3c::net::socket::basic_socket::operator< (this=0x232930, rhs=...) at source/net/socket/tcp/../socket.h:85
  5. 85                              log::alert(subsystem::net_socket_basic, this)
  6. (gdb) bt
  7. #0  w3c::net::socket::basic_socket::operator< (this=0x232930, rhs=...) at source/net/socket/tcp/../socket.h:85
  8. #1  0x00060530 in w3c::net::socket::tcp::connection_ref::operator< (this=0x2329b8, rhs=...) at source/net/socket/tcp/connection.h:119
  9. #2  0x000614a0 in std::less<w3c::net::socket::tcp::connection_ref>::operator() (this=0xbedb96cc, __x=..., __y=...)
  10.     at /opt/cross/arm-none-linux-gnueabi/include/c++/5.3.0/bits/stl_function.h:387
  11. #3  0x000628a8 in std::_Rb_tree<w3c::net::socket::tcp::connection_ref, std::pair<w3c::net::socket::tcp::connection_ref const, w3c::net::protocol_handler*>, std::_Select1st<std::pair<w3c::net::socket::tcp::connection_ref const, w3c::net::protocol_handler*> >, std::less<w3c::net::socket::tcp::connection_ref>, std::allocator<std::pair<w3c::net::socket::tcp::connection_ref const, w3c::net::protocol_handler*> > >::_M_lower_bound (this=0xbedb96cc, __x=0x2329a8, __y=0xbedb96d0, __k=...) at /opt/cross/arm-none-linux-gnueabi/include/c++/5.3.0/bits/stl_tree.h:1628
  12. #4  0x000614ec in std::_Rb_tree<w3c::net::socket::tcp::connection_ref, std::pair<w3c::net::socket::tcp::connection_ref const, w3c::net::protocol_handler*>, std::_Select1st<std::pair<w3c::net::socket::tcp::connection_ref const, w3c::net::protocol_handler*> >, std::less<w3c::net::socket::tcp::connection_ref>, std::allocator<std::pair<w3c::net::socket::tcp::connection_ref const, w3c::net::protocol_handler*> > >::find (this=0xbedb96cc, __k=...) at /opt/cross/arm-none-linux-gnueabi/include/c++/5.3.0/bits/stl_tree.h:2295
  13. #5  0x00060b00 in std::map<w3c::net::socket::tcp::connection_ref, w3c::net::protocol_handler*, std::less<w3c::net::socket::tcp::connection_ref>, std::allocator<std::pair<w3c::net::socket::tcp::connection_ref const, w3c::net::protocol_handler*> > >::find (this=0xbedb96cc, __x=...) at /opt/cross/arm-none-linux-gnueabi/include/c++/5.3.0/bits/stl_map.h:846
  14. #6  0x0005ff04 in w3c::net::protocol_dispatcher::find (this=0xbedb96b0, sock=...) at source/net/protocol_dispatcher.cpp:81
  15. #7  0x0005fcf0 in w3c::net::protocol_dispatcher::on_receive (this=0xbedb96b0, sock=..., buffer=...) at source/net/protocol_dispatcher.cpp:60
  16. #8  0x00053bc8 in w3c::mem_func<w3c::net::protocol_dispatcher, void, w3c::net::socket::tcp::connection_ref&, w3c::net::socket::buffer>::operator()(w3c::net::socket::tcp::connection_ref&, w3c::net::socket::buffer&&) (this=0x230530, method_args#0=..., method_args#1=<unknown type in target:/bin/w3cd, CU 0x2f780, DIE 0xb18cc>) at source/helper/event.h:81
  17. #9  0x0003a920 in w3c::event<w3c::net::socket::tcp::connection_ref&, w3c::net::socket::buffer>::signal(w3c::net::socket::tcp::connection_ref&, w3c::net::socket::buffer&&) (this=0xbedb9398,
  18.     event_args#0=..., event_args#1=<unknown type in target:/bin/w3cd, CU 0x2f780, DIE 0x980a7>) at source/helper/event.h:169
  19. #10 0x00035860 in w3c::event<w3c::net::socket::tcp::connection_ref&, w3c::net::socket::buffer>::operator()(w3c::net::socket::tcp::connection_ref&, w3c::net::socket::buffer&&) (
  20.     this=0xbedb9398, event_args#0=..., event_args#1=<unknown type in target:/bin/w3cd, CU 0x2f780, DIE 0x93dfe>) at source/helper/event.h:159
  21. #11 0x00031c00 in w3c::net::connection_pool::on_receive_proxy<w3c::net::socket::endpoint> (this=0xbedb926c, sock=..., buffer=...) at source/net/connection_pool.h:343
  22. #12 0x000538c0 in w3c::mem_func<w3c::net::connection_pool, void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&, w3c::net::socket::buffer>::operator()(w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&, w3c::net::socket::buffer&&) (this=0x2304c8, method_args#0=..., method_args#1=<unknown type in target:/bin/w3cd, CU 0x2f780, DIE 0xb1792>)
  23.     at source/helper/event.h:81
  24. #13 0x0003be84 in w3c::event<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&, w3c::net::socket::buffer>::signal(w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&, w3c::net::socket::buffer&&) (this=0xbedb92f4, event_args#0=..., event_args#1=<unknown type in target:/bin/w3cd, CU 0x2f780, DIE 0x994b0>) at source/helper/event.h:169
  25. #14 0x00036ab0 in w3c::event<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&, w3c::net::socket::buffer>::operator()(w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&, w3c::net::socket::buffer&&) (this=0xbedb92f4, event_args#0=..., event_args#1=<unknown type in target:/bin/w3cd, CU 0x2f780, DIE 0x94b08>) at source/helper/event.h:159
  26. #15 0x0003275c in w3c::net::socket_pool<w3c::net::socket::endpoint>::handle_receive (this=0xbedb926c, sock=...) at source/net/connection_pool.h:240
  27. #16 0x00053408 in w3c::mem_func<w3c::net::socket_pool<w3c::net::socket::endpoint>, void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>::operator() (this=0x232a00,
  28.     method_args#0=...) at source/helper/event.h:81
  29. #17 0x0003b070 in w3c::event<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>::signal (this=0xbedb92e4, event_args#0=...) at source/helper/event.h:169
  30. #18 0x00036118 in w3c::event<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>::operator() (this=0xbedb92e4, event_args#0=...) at source/helper/event.h:159
  31. #19 0x00036f7c in w3c::net::socket_listener<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> >::listen (this=0xbedb92bc) at source/net/connection_pool.h:128
  32. #20 0x00054970 in std::_Mem_fn_base<void (w3c::net::socket_listener<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> >::*)(), true>::operator()<, void>(w3c::net::socket_listener<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> >*) const (this=0x232aac, __object=0xbedb92bc) at /opt/cross/arm-none-linux-gnueabi/include/c++/5.3.0/functional:600
  33. #21 0x00054590 in std::_Bind_simple<std::_Mem_fn<void (w3c::net::socket_listener<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> >::*)()> (w3c::net::socket_listener<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> >*)>::_M_invoke<0u>(std::_Index_tuple<0u>) (this=0x232aa8) at /opt/cross/arm-none-linux-gnueabi/include/c++/5.3.0/functional:1531
  34. #22 0x00053fec in std::_Bind_simple<std::_Mem_fn<void (w3c::net::socket_listener<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> >::*)()> (w3c::net::socket_listener<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> >*)>::operator()() (this=0x232aa8) at /opt/cross/arm-none-linux-gnueabi/include/c++/5.3.0/functional:1520
  35. #23 0x00052f90 in std::thread::_Impl<std::_Bind_simple<std::_Mem_fn<void (w3c::net::socket_listener<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> >::*)()> (w3c::net::socket_listener<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> >*)> >::_M_run() (this=0x232a9c) at /opt/cross/arm-none-linux-gnueabi/include/c++/5.3.0/thread:115
  36. #24 0x001a1f98 in std::(anonymous namespace)::execute_native_thread_routine (__p=<optimized out>)
  37.     at /home/bueddl/Projects/toolchain-builder/usr/src/gcc-5.3.0/libstdc++-v3/src/c++11/thread.cc:84
  38. ---Type <return> to continue, or q <return> to quit---
  39. #25 0x4003a910 in start_thread () from target:/lib/libpthread.so.0
  40. #26 0x401d98dc in clone () from target:/lib/libc.so.6
  41. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  42. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement