Advertisement
bueddl

Untitled

Apr 26th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 38.83 KB | None | 0 0
  1. (gdb) bt f
  2. #0  0x400441e4 in write () from target:/lib/libpthread.so.0
  3. No symbol table info available.
  4. #1  0x001a8e7c in (anonymous namespace)::xwrite (__fd=3,
  5.     __s=__s@entry=0x22b358 "<7>[4617.670000] net.socket.buffer<0xbed96fbc>: expand() size = 1\n = 2 -> 16 (size = 1)\n connection_ref<0x40a9172c>\n..d ata:imag   \n10    65 2f 6a 70 65 67 3b 62  61 73 65 36 34 2c 0a      e/jpeg;b as"..., __n=__n@entry=66) at basic_file.cc:120
  6.         __ret = <optimized out>
  7.         __nleft = 66
  8. #2  0x001a9090 in std::__basic_file<char>::xsputn (this=this@entry=0x22d5f8,
  9.     __s=__s@entry=0x22b358 "<7>[4617.670000] net.socket.buffer<0xbed96fbc>: expand() size = 1\n = 2 -> 16 (size = 1)\n connection_ref<0x40a9172c>\n..d ata:imag   \n10    65 2f 6a 70 65 67 3b 62  61 73 65 36 34 2c 0a      e/jpeg;b as"..., __n=__n@entry=66) at basic_file.cc:299
  10. No locals.
  11. #3  0x001490d0 in std::basic_filebuf<char, std::char_traits<char> >::_M_convert_to_external (this=this@entry=0x22d5c0,
  12.     __ibuf=0x22b358 "<7>[4617.670000] net.socket.buffer<0xbed96fbc>: expand() size = 1\n = 2 -> 16 (size = 1)\n connection_ref<0x40a9172c>\n..d ata:imag   \n10    65 2f 6a 70 65 67 3b 62  61 73 65 36 34 2c 0a      e/jpeg;b as"..., __ilen=66) at /home/bueddl/Projects/toolchain-builder/usr/build/gcc-5.3.0/arm-none-linux-gnueabi/libstdc++-v3/include/bits/fstream.tcc:607
  13.         __buf = 0x22b358 "<7>[4617.670000] net.socket.buffer<0xbed96fbc>: expand() size = 1\n = 2 -> 16 (size = 1)\n connection_ref<0x40a9172c>\n..d ata:imag   \n10    65 2f 6a 70 65 67 3b 62  61 73 65 36 34 2c 0a      e/jpeg;b as"...
  14.         __iend = 0x42 <error: Cannot access memory at address 0x42>
  15.         __blen = 66
  16.         __bend = 0x22d5c0 ",\317!"
  17.         __r = <optimized out>
  18.         __elen = <optimized out>
  19.         __plen = <optimized out>
  20. #4  0x001494d4 in std::basic_filebuf<char, std::char_traits<char> >::overflow (this=0x22d5c0, __c=-1)
  21.     at /home/bueddl/Projects/toolchain-builder/usr/build/gcc-5.3.0/arm-none-linux-gnueabi/libstdc++-v3/include/bits/fstream.tcc:534
  22.         __ret = -1
  23. #5  0x00147658 in std::basic_filebuf<char, std::char_traits<char> >::sync (this=<optimized out>)
  24.     at /home/bueddl/Projects/toolchain-builder/usr/build/gcc-5.3.0/arm-none-linux-gnueabi/libstdc++-v3/include/bits/fstream.tcc:987
  25.         __tmp = <optimized out>
  26.         this = <optimized out>
  27. #6  0x0016c96c in std::basic_streambuf<char, std::char_traits<char> >::pubsync (this=<optimized out>)
  28.     at /home/bueddl/Projects/toolchain-builder/usr/build/gcc-5.3.0/arm-none-linux-gnueabi/libstdc++-v3/include/streambuf:271
  29. No locals.
  30. #7  std::ostream::flush (this=0x22d5bc) at /home/bueddl/Projects/toolchain-builder/usr/build/gcc-5.3.0/arm-none-linux-gnueabi/libstdc++-v3/include/bits/ostream.tcc:219
  31.         __err = std::_S_goodbit
  32. #8  0x0006977c in w3c::logging::log::write_to_stream (this=0x22d6d8, info=..., str=...) at source/helper/logging/log.cpp:147
  33. No locals.
  34. #9  0x00069678 in w3c::logging::log::write_to_stream (this=0x22d910, info=..., str=...) at source/helper/logging/log.cpp:131
  35. No locals.
  36. #10 0x00069678 in w3c::logging::log::write_to_stream (this=0x22d7e0, info=..., str=...) at source/helper/logging/log.cpp:131
  37. No locals.
  38. #11 0x00069678 in w3c::logging::log::write_to_stream (this=0x22d480, info=..., str=...) at source/helper/logging/log.cpp:131
  39. No locals.
  40. #12 0x00069678 in w3c::logging::log::write_to_stream (this=0x22d4d8, info=..., str=...) at source/helper/logging/log.cpp:131
  41. No locals.
  42. #13 0x00067f88 in w3c::logging::stream::write_out (this=0xbed96d70) at source/helper/logging/stream.cpp:51
  43.         lk = {_M_device = @0x220668}
  44. #14 0x00067dc8 in w3c::logging::stream::~stream (this=0xbed96d70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at source/helper/logging/stream.cpp:42
  45. No locals.
  46. #15 0x0009f8a8 in w3c::net::socket::buffer::expand (this=0xbed96fbc, size=1) at source/net/socket/buffer.cpp:81
  47. No locals.
  48. #16 0x000ac65c in w3c::service::ws::camera::camera_protocol::build_protocol_version_1_packet (this=0x236820,
  49.     op_code=w3c::service::ws::camera::camera_protocol::basic_packet::opcode::STAT_UPDATE, buffer=...) at source/service/ws/camera/camera_protocol.cpp:164
  50.         writer = {m_ptr = @0xbed96fc4, m_pos = 0}
  51.         header = {version = 0 '\000', op_code = 0 '\000'}
  52. #17 0x000acb70 in w3c::service::ws::camera::camera_protocol::send_stat_update (this=0x236820, id=4, value=6758890) at source/service/ws/camera/camera_protocol.cpp:221
  53.         buffer = {m_capacity = 0, m_size = 0, m_data = 0x0}
  54.         writer = {m_ptr = @0x0, m_pos = 3201922808}
  55.         packet = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
  56.             _M_p = 0x1240 <error: Cannot access memory at address 0x1240>}, _M_string_length = 3201921028, {_M_local_buf = "\210\n\030@\330oپ\330\324\"\000\004\000\000",
  57.             _M_allocated_capacity = 1075317384}}
  58. #18 0x000ab34c in w3c::service::ws::camera::service::on_stat_update (this=0x236820, id=4, value=6758890) at source/service/ws/camera/service.cpp:183
  59. No locals.
  60. #19 0x000abc94 in w3c::mem_func<w3c::service::ws::camera::service, void, unsigned int, double>::operator()(unsigned int&&, double&&) (this=0x2369a0,
  61.     method_args#0=<unknown type in target:/bin/w3cd, CU 0x3797ff, DIE 0x38e1d3>, method_args#1=<unknown type in target:/bin/w3cd, CU 0x3797ff, DIE 0x38e1d8>) at source/helper/event.h:81
  62. No locals.
  63. #20 0x000646cc in w3c::event<unsigned int, double>::signal(unsigned int&&, double&&) (this=0x236808, event_args#0=<unknown type in target:/bin/w3cd, CU 0x119b34, DIE 0x128f2e>,
  64.     event_args#1=<unknown type in target:/bin/w3cd, CU 0x119b34, DIE 0x128f33>) at source/helper/event.h:169
  65.         handler = 0x2369a0
  66.         __for_range = @0x236808: {<std::_Fwd_list_base<w3c::basic_func<void, unsigned int, double>*, std::allocator<w3c::basic_func<void, unsigned int, double>*> >> = {
  67.             _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, unsigned int, double>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, unsigned int, double>*> >> = {<No data fields>}, <No data fields>}, _M_head = {_M_next = 0x236810}}}, <No data fields>}
  68.         __for_begin = {_M_node = 0x236810}
  69.         __for_end = {_M_node = 0x0}
  70. #21 0x00064020 in w3c::event<unsigned int, double>::operator()(unsigned int&&, double&&) (this=0x236808, event_args#0=<unknown type in target:/bin/w3cd, CU 0x119b34, DIE 0x128a06>,
  71.     event_args#1=<unknown type in target:/bin/w3cd, CU 0x119b34, DIE 0x128a0b>) at source/helper/event.h:159
  72. No locals.
  73. #22 0x00063b08 in w3c::logging::statistics::stat::raise_update (this=0x2367e4, id=4) at source/helper/logging/stat.cpp:147
  74.         index = 4
  75. #23 0x0006395c in w3c::logging::statistics::stat::v_add (this=0x2367e4, id=@0x220640: 4, value=490) at source/helper/logging/stat.cpp:123
  76. No locals.
  77. #24 0x00063740 in w3c::logging::statistics::stat::add (id=@0x220640: 4, value=490) at source/helper/logging/stat.cpp:96
  78. No locals.
  79. #25 0x0005ae78 in w3c::camera::serial::read (this=0x236878, buffer=0xbed974e8 "v", buffer_size=522) at source/camera/serial.cpp:227
  80.         received_bytes = 490
  81.         tries = 0
  82.         s_rx_packet = 3
  83.         s_rx_byte = 4
  84.         total_bytes = 522
  85. #26 0x0005b8bc in w3c::camera::protocol::receive (this=0x2368d4, packet=...) at source/camera/protocol.cpp:61
  86.         buffer = "v\000\062\000\000\343%:{\231Os\224=i*Y\260RԀS\250\000\247\n\000\332ҵ\353\215\070m_\231}\353_\376\023I\177\347\202\322QEܫy\342˫\224(#T\254\333MZ\342\321ءݻ\250\065},fIw\256\334]G\345\341c_ju\216\273wd\270G\310\367\243\310h\273\377\000\t\205\377\000\375\063\374\252\215\356\277{yð\374\251\253 3\343\235\342p\310\304\021Zq\370\223PE\300\226\247\251W\022O\022jN0g\254\251\347\222w\335#\226\064\371\204E\264\236\200\232\327Д\254\222gҤ:\027\346\353\\\275\337\372\366\255^Ģ\275%`P\224\224\f))\f(\246\001IH\002\212\000)(\000\242\220\005\024\300P3W"...
  87. #27 0x0005c524 in w3c::camera::protocol::read_data (this=0x2368d4,
  88.     buffer=0xbed9795c "\220jw>S\262|\347\245WA}\241\221_\334Jؖga]\366\206s\246\307Rި\323\354\223\352\037\361\343\067Ҽ\252\377", length=512, offset=38912) at source/camera/protocol.cpp:191
  89.         req = {<w3c::camera::request::request> = {<w3c::camera::packet> = {_vptr.packet = 0x1bb780 <vtable for w3c::camera::request::read_data_request+8>,
  90.               m_type = w3c::camera::packet::type_t::request, m_device_id = 0 '\000', m_opcode = w3c::camera::packet::opcode_t::read_data}, <No data fields>}, m_offset = 38912, m_length = 512}
  91.         res = {
  92.           _M_t = {<std::_Tuple_impl<0u, w3c::camera::response::response*, std::default_delete<w3c::camera::response::response> >> = {<std::_Tuple_impl<1u, std::default_delete<w3c::camera::response::response> >> = {<std::_Head_base<1u, std::default_delete<w3c::camera::response::response>, true>> = {<std::default_delete<w3c::camera::response::response>> = {<No data fields>}, <No data fields>}, <No data fields>}, <std::_Head_base<0u, w3c::camera::response::response*, false>> = {_M_head_impl = 0x239d70}, <No data fields>}, <No data fields>}}
  93.         data_response = {
  94.           _M_t = {<std::_Tuple_impl<0u, w3c::camera::response::read_data_response*, std::default_delete<w3c::camera::response::read_data_response> >> = {<std::_Tuple_impl<1u, std::default_delete<w3c::camera::response::read_data_response> >> = {<std::_Head_base<1u, std::default_delete<w3c::camera::response::read_data_response>, true>> = {<std::default_delete<w3c::camera::response::read_data_response>> = {<No data fields>}, <No data fields>}, <No data fields>}, <std::_Head_base<0u, w3c::camera::response::read_data_response*, false>> = {
  95.                 _M_head_impl = 0x0}, <No data fields>}, <No data fields>}}
  96. #28 0x0005e6ec in w3c::camera::camera::take_picture (this=0x236878, data=...) at source/camera/camera.cpp:117
  97.         to_read = 512
  98.         bytes_read = 512
  99.         length = 56538
  100.         buffer = "\220jw>S\262|\347\245WA}\241\221_\334Jؖga]\366\206s\246\307Rި\323\354\223\352\037\361\343\067Ҽ\252\377\000\376>d\377\000z\264\373&?h\242i\264\213\f\324\377\000l\227\373\324l\004,\345\333,y5,W/\017ݦ!\322]\311\"\340\232\215$)҆\301 \363\016sV\206\243.1\362\376T\t\242\t\247i\233sS\340\272h\216G4\367\002s\251I\217\272\265P\261f\311\065W\320I\032\032A\305\332ץY\363\245\377\000\300Mc\366ѥO\340\263\314/\270\273\224\177\264j\245m=̣\260T\221\310P\344T\026t\332G\211\205\250\377\000H\334\303ҵύm?\347\213\322T\365\270O\336G-\256\352\377\000ڗ!"...
  101.         total_bytes_read = 38912
  102. #29 0x000aae08 in w3c::service::ws::camera::service::get_image (this=0x236820) at source/service/ws/camera/service.cpp:82
  103.         image = {<std::basic_iostream<char, std::char_traits<char> >> = {<std::basic_istream<char, std::char_traits<char> >> = {<std::basic_ios<char, std::char_traits<char> >> = {<std::ios_base> = {_vptr.ios_base = 0x21ea74 <vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >+52>, static boolalpha = std::_S_boolalpha,
  104.                   static dec = std::_S_dec, static fixed = std::_S_fixed, static hex = std::_S_hex, static internal = std::_S_internal, static left = std::_S_left, static oct = std::_S_oct,
  105.                   static right = std::_S_right, static scientific = std::_S_scientific, static showbase = std::_S_showbase, static showpoint = std::_S_showpoint,
  106.                   static showpos = std::_S_showpos, static skipws = std::_S_skipws, static unitbuf = std::_S_unitbuf, static uppercase = std::_S_uppercase,
  107.                   static adjustfield = std::_S_adjustfield, static basefield = std::_S_basefield, static floatfield = std::_S_floatfield, static badbit = std::_S_badbit,
  108.                   static eofbit = std::_S_eofbit, static failbit = std::_S_failbit, static goodbit = std::_S_goodbit, static app = std::_S_app, static ate = std::_S_ate,
  109.                   static binary = std::_S_bin, static in = std::_S_in, static out = std::_S_out, static trunc = std::_S_trunc, static beg = std::_S_beg, static cur = std::_S_cur,
  110.                   static end = std::_S_end, _M_precision = 6, _M_width = 0, _M_flags = 4098, _M_exception = std::_S_goodbit, _M_streambuf_state = std::_S_goodbit, _M_callbacks = 0x0,
  111.                   _M_word_zero = {_M_pword = 0x0, _M_iword = 0}, _M_local_word = {{_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword = 0}, {
  112.                       _M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword = 0}, {_M_pword = 0x0, _M_iword = 0}},
  113.                   _M_word_size = 8, _M_word = 0xbed97edc, _M_ios_locale = {static none = 0, static ctype = 1, static numeric = 2, static collate = 4, static time = 8, static monetary = 16,
  114.                     static messages = 32, static all = 63, _M_impl = 0x22514c <(anonymous namespace)::c_locale_impl>, static _S_classic = 0x22514c <(anonymous namespace)::c_locale_impl>,
  115.                     static _S_global = 0x22514c <(anonymous namespace)::c_locale_impl>, static _S_categories = 0x2092bc <__gnu_cxx::category_names>, static _S_once = 2,
  116.                     static _S_twinned_facets = 0x21c38c <std::locale::_S_twinned_facets>}}, _M_tie = 0x0, _M_fill = 0 '\000', _M_fill_init = false, _M_streambuf = 0xbed97e7c,
  117.                 _M_ctype = 0x224738 <(anonymous namespace)::ctype_c>, _M_num_put = 0x224534 <(anonymous namespace)::num_put_c>, _M_num_get = 0x225344 <(anonymous namespace)::num_get_c>},
  118.               _vptr.basic_istream = 0x21ea4c <vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >+12>,
  119.               _M_gcount = 0}, <std::basic_ostream<char, std::char_traits<char> >> = {
  120.               _vptr.basic_ostream = 0x21ea60 <vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >+32>}, <No data fields>},
  121.           _M_stringbuf = {<std::basic_streambuf<char, std::char_traits<char> >> = {
  122.               _vptr.basic_streambuf = 0x21e894 <vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >+8>,
  123.               _M_in_beg = 0x24a290 "\377\330\377", <incomplete sequence \340>, _M_in_cur = 0x24a290 "\377\330\377", <incomplete sequence \340>,
  124.               _M_in_end = 0x252291 "\374y=iO\342\061\250s\224\n\314Ա\003\354`k\321\064\035R)\355U\032A\220;\324\063E\261\257\346\307\377",
  125.               _M_out_beg = 0x24a290 "\377\330\377", <incomplete sequence \340>,
  126.               _M_out_cur = 0x253a90 "c 6a 35 4f 58 6d 35 2b  6a 70 36 76 48 79 38 2f   Lj5OXm5+ jp6vHy8/   \n0210    54 31 39 76 66 34 2b 66  72 2f 78 41 41 66 0a 41   T19vf4+f r/xAAf.A   \n0220    51 41 44 41 51 45 42 41  51 45 42 41 51 4"..., _M_out_end = 0x25a290 "7 37q\255\004", _M_buf_locale = {static none = 0, static ctype = 1, static numeric = 2, static collate = 4,
  127.                 static time = 8, static monetary = 16, static messages = 32, static all = 63, _M_impl = 0x22514c <(anonymous namespace)::c_locale_impl>,
  128.                 static _S_classic = 0x22514c <(anonymous namespace)::c_locale_impl>, static _S_global = 0x22514c <(anonymous namespace)::c_locale_impl>,
  129.                 static _S_categories = 0x2092bc <__gnu_cxx::category_names>, static _S_once = 2, static _S_twinned_facets = 0x21c38c <std::locale::_S_twinned_facets>}}, _M_mode = 24,
  130.             _M_string = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
  131.                 _M_p = 0x24a290 "\377\330\377", <incomplete sequence \340>}, _M_string_length = 32769, {_M_local_buf = "\000\000\001\000\035\000\000\000\035\000\000\000K\371H\024",
  132.                 _M_allocated_capacity = 65536}}}}
  133.         str = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x239390 "0x41\031"},
  134.           _M_string_length = 1076097612, {_M_local_buf = "\250\231#\000\000\000\000\000\000\000\000\000\000P\002@", _M_allocated_capacity = 2333096}}
  135. #30 0x000aad08 in w3c::service::ws::camera::service::loop (this=0x236820) at source/service/ws/camera/service.cpp:62
  136. No locals.
  137. #31 0x00083630 in w3c::protocol::ws::protocol_handler::main (this=0x236820) at source/protocol/ws/protocol_handler.cpp:175
  138. No locals.
  139. #32 0x0002abc4 in w3c::server::operator() (this=0xbed98654) at source/server.cpp:86
  140.         pool = {<w3c::net::socket_pool<w3c::net::socket::endpoint>> = {_vptr.socket_pool = 0x1b881c <vtable for w3c::net::connection_pool+8>,
  141.             m_sockets = {<std::_Vector_base<std::shared_ptr<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint> >, std::allocator<std::shared_ptr<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint> > > >> = {
  142.                 _M_impl = {<std::allocator<std::shared_ptr<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint> > >> = {<__gnu_cxx::new_allocator<std::shared_ptr<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x236bb0, _M_finish = 0x236bb8, _M_end_of_storage = 0x236bb8}}, <No data fields>},
  143.             m_connected_clients = {<std::_Vector_base<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>*, std::allocator<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>*> >> = {
  144.                 _M_impl = {<std::allocator<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>*>> = {<__gnu_cxx::new_allocator<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>*>> = {<No data fields>}, <No data fields>}, _M_start = 0x41b007f0, _M_finish = 0x41b00830, _M_end_of_storage = 0x41b00830}}, <No data fields>}, m_accept_listener = {m_ep = {
  145.                 static default_max_events = 100, static default_timeout = {__r = 1}, m_epollfd = 8, m_events = 8193, m_failbit = false}, m_th = {_M_id = {_M_thread = 0}}, m_sockets = {
  146.                 _M_t = {
  147.                   _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<int const, std::reference_wrapper<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, std::reference_wrapper<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint> > > > >> = {<No data fields>}, <No data fields>},
  148.                     _M_key_compare = {<std::binary_function<int, int, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x2369b8,
  149.                       _M_left = 0x2369b8, _M_right = 0x2369b8}, _M_node_count = 1}}}, m_on_ready = {m_collector = {
  150.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*> >> = {
  151.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  152.                           _M_next = 0x238768}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
  153.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*> >> = {
  154.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {_M_next = 0x0}}}, <No data fields>}}},
  155.               m_on_exception = {m_collector = {
  156.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*> >> = {
  157.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  158.                           _M_next = 0x0}}}, <No data fields>}}}}, m_receive_listener = {m_ep = {static default_max_events = 100, static default_timeout = {__r = 1}, m_epollfd = 9,
  159.                 m_events = 8193, m_failbit = false}, m_th = {_M_id = {_M_thread = 0}}, m_sockets = {_M_t = {
  160.                   _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<int const, std::reference_wrapper<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, std::reference_wrapper<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint> > > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<int, int, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x41b00ae8, _M_left = 0x41b00ae8,
  161.                       _M_right = 0x41b00be0}, _M_node_count = 2}}}, m_on_ready = {m_collector = {
  162.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {
  163.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  164.                           _M_next = 0x238868}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
  165.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {
  166.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  167.                           _M_next = 0x238890}}}, <No data fields>}}}, m_on_exception = {m_collector = {
  168.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {
  169.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  170.                           _M_next = 0x2388b8}}}, <No data fields>}}}}, m_on_connect = {m_collector = {
  171.                 m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {
  172.                     _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  173.                         _M_next = 0x236558}}}, <No data fields>}}}, m_on_receive = {m_collector = {
  174.                 m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&, w3c::net::socket::buffer>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&, w3c::net::socket::buffer>*> >> = {
  175.                     _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&, w3c::net::socket::buffer>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&, w3c::net::socket::buffer>*> >> = {<No data fields>}, <No data fields>}, _M_head = {_M_next = 0x236580}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
  176.                 m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {
  177.                     _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  178.                         _M_next = 0x2365a8}}}, <No data fields>}}}, m_on_exception = {m_collector = {
  179.                 m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {
  180.                     _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  181.                         _M_next = 0x0}}}, <No data fields>}}}}, <w3c::net::socket_pool<w3c::net::socket::endpoint6>> = {
  182.             _vptr.socket_pool = 0x1b882c <vtable for w3c::net::connection_pool+24>,
  183.             m_sockets = {<std::_Vector_base<std::shared_ptr<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6> >, std::allocator<std::shared_ptr<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6> > > >> = {
  184.                 _M_impl = {<std::allocator<std::shared_ptr<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6> > >> = {<__gnu_cxx::new_allocator<std::shared_ptr<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
  185.             m_connected_clients = {<std::_Vector_base<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>*, std::allocator<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>*> >> = {
  186.                 _M_impl = {<std::allocator<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>*>> = {<__gnu_cxx::new_allocator<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>*>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, m_accept_listener = {m_ep = {
  187.                 static default_max_events = 100, static default_timeout = {__r = 1}, m_epollfd = 10, m_events = 8193, m_failbit = false}, m_th = {_M_id = {_M_thread = 0}}, m_sockets = {
  188.                 _M_t = {
  189.                   _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<int const, std::reference_wrapper<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, std::reference_wrapper<w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6> > > > >> = {<No data fields>}, <No data fields>},
  190.                     _M_key_compare = {<std::binary_function<int, int, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0,
  191.                       _M_left = 0xbed98348, _M_right = 0xbed98348}, _M_node_count = 0}}}, m_on_ready = {m_collector = {
  192.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*> >> = {
  193.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  194.                           _M_next = 0x0}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
  195.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*> >> = {
  196.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  197.                           _M_next = 0x0}}}, <No data fields>}}}, m_on_exception = {m_collector = {
  198.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*> >> = {
  199.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::socket<w3c::net::socket::endpoint6>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  200.                           _M_next = 0x0}}}, <No data fields>}}}}, m_receive_listener = {m_ep = {static default_max_events = 100, static default_timeout = {__r = 1}, m_epollfd = 11,
  201.                 m_events = 8193, m_failbit = false}, m_th = {_M_id = {_M_thread = 0}}, m_sockets = {_M_t = {
  202.                   _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<int const, std::reference_wrapper<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, std::reference_wrapper<w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6> > > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<int, int, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbed9837c,
  203.                       _M_right = 0xbed9837c}, _M_node_count = 0}}}, m_on_ready = {m_collector = {
  204.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {
  205.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  206.                           _M_next = 0x0}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
  207.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {
  208.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  209.                           _M_next = 0x0}}}, <No data fields>}}}, m_on_exception = {m_collector = {
  210.                   m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {
  211.                       _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  212.                           _M_next = 0x0}}}, <No data fields>}}}}, m_on_connect = {m_collector = {
  213.                 m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {
  214.                     _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  215.                         _M_next = 0x0}}}, <No data fields>}}}, m_on_receive = {m_collector = {
  216.                 m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&, w3c::net::socket::buffer>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&, w3c::net::socket::buffer>*> >> = {
  217.                     _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&, w3c::net::socket::buffer>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&, w3c::net::socket::buffer>*> >> = {<No data fields>}, <No data fields>}, _M_head = {_M_next = 0x0}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
  218.                 m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {
  219.                     _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  220.                         _M_next = 0x0}}}, <No data fields>}}}, m_on_exception = {m_collector = {
  221.                 m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {
  222.                     _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::child_socket<w3c::net::socket::endpoint6>&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  223.                         _M_next = 0x0}}}, <No data fields>}}}}, m_on_connect = {m_collector = {
  224.               m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref&>*> >> = {
  225.                   _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {_M_next = 0x2365d0}}}, <No data fields>}}}, m_on_receive = {m_collector = {
  226.               m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref&, w3c::net::socket::buffer>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref&, w3c::net::socket::buffer>*> >> = {
  227.                   _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref&, w3c::net::socket::buffer>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref&, w3c::net::socket::buffer>*> >> = {<No data fields>}, <No data fields>}, _M_head = {
  228.                       _M_next = 0x2365f8}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
  229.               m_handlers_free_func = {<std::_Fwd_list_base<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref const&>*, std::allocator<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref const&>*> >> = {
  230.                   _M_impl = {<std::allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref const&>*> >> = {<__gnu_cxx::new_allocator<std::_Fwd_list_node<w3c::basic_func<void, w3c::net::socket::tcp::connection_ref const&>*> >> = {<No data fields>}, <No data fields>}, _M_head = {_M_next = 0x236620}}}, <No data fields>}}}, m_use_ipv6 = false}
  231.         echo_service = {<std::__shared_ptr<w3c::protocol::ws::protocol_handler, (__gnu_cxx::_Lock_policy)1>> = {_M_ptr = 0x236658, _M_refcount = {_M_pi = 0x236790}}, <No data fields>}
  232.         camera_service = {<std::__shared_ptr<w3c::protocol::ws::protocol_handler, (__gnu_cxx::_Lock_policy)1>> = {_M_ptr = 0x236820, _M_refcount = {_M_pi = 0x236908}}, <No data fields>}
  233. #33 0x0002a948 in w3c::server::_run (this=0xbed98654) at source/server.cpp:44
  234. No locals.
  235. #34 0x00059590 in w3c::app::application::run (this=0xbed98654) at source/app/application.cpp:48
  236. No locals.
  237. #35 0x0002772c in main (argc=2, argv=0xbed98894) at source/main.cpp:23
  238. No locals.
  239. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement