Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (gdb) bt f
- #0 0x400441e4 in write () from target:/lib/libpthread.so.0
- No symbol table info available.
- #1 0x001a8e7c in (anonymous namespace)::xwrite (__fd=3,
- __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
- __ret = <optimized out>
- __nleft = 66
- #2 0x001a9090 in std::__basic_file<char>::xsputn (this=this@entry=0x22d5f8,
- __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
- No locals.
- #3 0x001490d0 in std::basic_filebuf<char, std::char_traits<char> >::_M_convert_to_external (this=this@entry=0x22d5c0,
- __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
- __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"...
- __iend = 0x42 <error: Cannot access memory at address 0x42>
- __blen = 66
- __bend = 0x22d5c0 ",\317!"
- __r = <optimized out>
- __elen = <optimized out>
- __plen = <optimized out>
- #4 0x001494d4 in std::basic_filebuf<char, std::char_traits<char> >::overflow (this=0x22d5c0, __c=-1)
- at /home/bueddl/Projects/toolchain-builder/usr/build/gcc-5.3.0/arm-none-linux-gnueabi/libstdc++-v3/include/bits/fstream.tcc:534
- __ret = -1
- #5 0x00147658 in std::basic_filebuf<char, std::char_traits<char> >::sync (this=<optimized out>)
- at /home/bueddl/Projects/toolchain-builder/usr/build/gcc-5.3.0/arm-none-linux-gnueabi/libstdc++-v3/include/bits/fstream.tcc:987
- __tmp = <optimized out>
- this = <optimized out>
- #6 0x0016c96c in std::basic_streambuf<char, std::char_traits<char> >::pubsync (this=<optimized out>)
- at /home/bueddl/Projects/toolchain-builder/usr/build/gcc-5.3.0/arm-none-linux-gnueabi/libstdc++-v3/include/streambuf:271
- No locals.
- #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
- __err = std::_S_goodbit
- #8 0x0006977c in w3c::logging::log::write_to_stream (this=0x22d6d8, info=..., str=...) at source/helper/logging/log.cpp:147
- No locals.
- #9 0x00069678 in w3c::logging::log::write_to_stream (this=0x22d910, info=..., str=...) at source/helper/logging/log.cpp:131
- No locals.
- #10 0x00069678 in w3c::logging::log::write_to_stream (this=0x22d7e0, info=..., str=...) at source/helper/logging/log.cpp:131
- No locals.
- #11 0x00069678 in w3c::logging::log::write_to_stream (this=0x22d480, info=..., str=...) at source/helper/logging/log.cpp:131
- No locals.
- #12 0x00069678 in w3c::logging::log::write_to_stream (this=0x22d4d8, info=..., str=...) at source/helper/logging/log.cpp:131
- No locals.
- #13 0x00067f88 in w3c::logging::stream::write_out (this=0xbed96d70) at source/helper/logging/stream.cpp:51
- lk = {_M_device = @0x220668}
- #14 0x00067dc8 in w3c::logging::stream::~stream (this=0xbed96d70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at source/helper/logging/stream.cpp:42
- No locals.
- #15 0x0009f8a8 in w3c::net::socket::buffer::expand (this=0xbed96fbc, size=1) at source/net/socket/buffer.cpp:81
- No locals.
- #16 0x000ac65c in w3c::service::ws::camera::camera_protocol::build_protocol_version_1_packet (this=0x236820,
- op_code=w3c::service::ws::camera::camera_protocol::basic_packet::opcode::STAT_UPDATE, buffer=...) at source/service/ws/camera/camera_protocol.cpp:164
- writer = {m_ptr = @0xbed96fc4, m_pos = 0}
- header = {version = 0 '\000', op_code = 0 '\000'}
- #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
- buffer = {m_capacity = 0, m_size = 0, m_data = 0x0}
- writer = {m_ptr = @0x0, m_pos = 3201922808}
- packet = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
- _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",
- _M_allocated_capacity = 1075317384}}
- #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
- No locals.
- #19 0x000abc94 in w3c::mem_func<w3c::service::ws::camera::service, void, unsigned int, double>::operator()(unsigned int&&, double&&) (this=0x2369a0,
- 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
- No locals.
- #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>,
- event_args#1=<unknown type in target:/bin/w3cd, CU 0x119b34, DIE 0x128f33>) at source/helper/event.h:169
- handler = 0x2369a0
- __for_range = @0x236808: {<std::_Fwd_list_base<w3c::basic_func<void, unsigned int, double>*, std::allocator<w3c::basic_func<void, unsigned int, double>*> >> = {
- _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>}
- __for_begin = {_M_node = 0x236810}
- __for_end = {_M_node = 0x0}
- #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>,
- event_args#1=<unknown type in target:/bin/w3cd, CU 0x119b34, DIE 0x128a0b>) at source/helper/event.h:159
- No locals.
- #22 0x00063b08 in w3c::logging::statistics::stat::raise_update (this=0x2367e4, id=4) at source/helper/logging/stat.cpp:147
- index = 4
- #23 0x0006395c in w3c::logging::statistics::stat::v_add (this=0x2367e4, id=@0x220640: 4, value=490) at source/helper/logging/stat.cpp:123
- No locals.
- #24 0x00063740 in w3c::logging::statistics::stat::add (id=@0x220640: 4, value=490) at source/helper/logging/stat.cpp:96
- No locals.
- #25 0x0005ae78 in w3c::camera::serial::read (this=0x236878, buffer=0xbed974e8 "v", buffer_size=522) at source/camera/serial.cpp:227
- received_bytes = 490
- tries = 0
- s_rx_packet = 3
- s_rx_byte = 4
- total_bytes = 522
- #26 0x0005b8bc in w3c::camera::protocol::receive (this=0x2368d4, packet=...) at source/camera/protocol.cpp:61
- 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"...
- #27 0x0005c524 in w3c::camera::protocol::read_data (this=0x2368d4,
- 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
- req = {<w3c::camera::request::request> = {<w3c::camera::packet> = {_vptr.packet = 0x1bb780 <vtable for w3c::camera::request::read_data_request+8>,
- 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}
- res = {
- _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>}}
- data_response = {
- _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>> = {
- _M_head_impl = 0x0}, <No data fields>}, <No data fields>}}
- #28 0x0005e6ec in w3c::camera::camera::take_picture (this=0x236878, data=...) at source/camera/camera.cpp:117
- to_read = 512
- bytes_read = 512
- length = 56538
- 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ڗ!"...
- total_bytes_read = 38912
- #29 0x000aae08 in w3c::service::ws::camera::service::get_image (this=0x236820) at source/service/ws/camera/service.cpp:82
- 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,
- 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,
- static right = std::_S_right, static scientific = std::_S_scientific, static showbase = std::_S_showbase, static showpoint = std::_S_showpoint,
- static showpos = std::_S_showpos, static skipws = std::_S_skipws, static unitbuf = std::_S_unitbuf, static uppercase = std::_S_uppercase,
- static adjustfield = std::_S_adjustfield, static basefield = std::_S_basefield, static floatfield = std::_S_floatfield, static badbit = std::_S_badbit,
- 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,
- 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,
- 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,
- _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}, {
- _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}},
- _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,
- static messages = 32, static all = 63, _M_impl = 0x22514c <(anonymous namespace)::c_locale_impl>, static _S_classic = 0x22514c <(anonymous namespace)::c_locale_impl>,
- static _S_global = 0x22514c <(anonymous namespace)::c_locale_impl>, static _S_categories = 0x2092bc <__gnu_cxx::category_names>, static _S_once = 2,
- static _S_twinned_facets = 0x21c38c <std::locale::_S_twinned_facets>}}, _M_tie = 0x0, _M_fill = 0 '\000', _M_fill_init = false, _M_streambuf = 0xbed97e7c,
- _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>},
- _vptr.basic_istream = 0x21ea4c <vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >+12>,
- _M_gcount = 0}, <std::basic_ostream<char, std::char_traits<char> >> = {
- _vptr.basic_ostream = 0x21ea60 <vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >+32>}, <No data fields>},
- _M_stringbuf = {<std::basic_streambuf<char, std::char_traits<char> >> = {
- _vptr.basic_streambuf = 0x21e894 <vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >+8>,
- _M_in_beg = 0x24a290 "\377\330\377", <incomplete sequence \340>, _M_in_cur = 0x24a290 "\377\330\377", <incomplete sequence \340>,
- _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",
- _M_out_beg = 0x24a290 "\377\330\377", <incomplete sequence \340>,
- _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,
- static time = 8, static monetary = 16, static messages = 32, static all = 63, _M_impl = 0x22514c <(anonymous namespace)::c_locale_impl>,
- static _S_classic = 0x22514c <(anonymous namespace)::c_locale_impl>, static _S_global = 0x22514c <(anonymous namespace)::c_locale_impl>,
- 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,
- _M_string = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
- _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",
- _M_allocated_capacity = 65536}}}}
- 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"},
- _M_string_length = 1076097612, {_M_local_buf = "\250\231#\000\000\000\000\000\000\000\000\000\000P\002@", _M_allocated_capacity = 2333096}}
- #30 0x000aad08 in w3c::service::ws::camera::service::loop (this=0x236820) at source/service/ws/camera/service.cpp:62
- No locals.
- #31 0x00083630 in w3c::protocol::ws::protocol_handler::main (this=0x236820) at source/protocol/ws/protocol_handler.cpp:175
- No locals.
- #32 0x0002abc4 in w3c::server::operator() (this=0xbed98654) at source/server.cpp:86
- pool = {<w3c::net::socket_pool<w3c::net::socket::endpoint>> = {_vptr.socket_pool = 0x1b881c <vtable for w3c::net::connection_pool+8>,
- 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> > > >> = {
- _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>},
- 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>*> >> = {
- _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 = {
- 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 = {
- _M_t = {
- _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>},
- _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,
- _M_left = 0x2369b8, _M_right = 0x2369b8}, _M_node_count = 1}}}, m_on_ready = {m_collector = {
- 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>&>*> >> = {
- _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 = 0x238768}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
- 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>&>*> >> = {
- _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>}}},
- m_on_exception = {m_collector = {
- 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>&>*> >> = {
- _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>}}}}, m_receive_listener = {m_ep = {static default_max_events = 100, static default_timeout = {__r = 1}, m_epollfd = 9,
- m_events = 8193, m_failbit = false}, m_th = {_M_id = {_M_thread = 0}}, m_sockets = {_M_t = {
- _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,
- _M_right = 0x41b00be0}, _M_node_count = 2}}}, m_on_ready = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x238868}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x238890}}}, <No data fields>}}}, m_on_exception = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x2388b8}}}, <No data fields>}}}}, m_on_connect = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x236558}}}, <No data fields>}}}, m_on_receive = {m_collector = {
- 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>*> >> = {
- _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 = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x2365a8}}}, <No data fields>}}}, m_on_exception = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x0}}}, <No data fields>}}}}, <w3c::net::socket_pool<w3c::net::socket::endpoint6>> = {
- _vptr.socket_pool = 0x1b882c <vtable for w3c::net::connection_pool+24>,
- 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> > > >> = {
- _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>},
- 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>*> >> = {
- _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 = {
- 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 = {
- _M_t = {
- _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>},
- _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 = 0xbed98348, _M_right = 0xbed98348}, _M_node_count = 0}}}, m_on_ready = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x0}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x0}}}, <No data fields>}}}, m_on_exception = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x0}}}, <No data fields>}}}}, m_receive_listener = {m_ep = {static default_max_events = 100, static default_timeout = {__r = 1}, m_epollfd = 11,
- m_events = 8193, m_failbit = false}, m_th = {_M_id = {_M_thread = 0}}, m_sockets = {_M_t = {
- _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,
- _M_right = 0xbed9837c}, _M_node_count = 0}}}, m_on_ready = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x0}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x0}}}, <No data fields>}}}, m_on_exception = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x0}}}, <No data fields>}}}}, m_on_connect = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x0}}}, <No data fields>}}}, m_on_receive = {m_collector = {
- 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>*> >> = {
- _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 = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x0}}}, <No data fields>}}}, m_on_exception = {m_collector = {
- 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>&>*> >> = {
- _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 = {
- _M_next = 0x0}}}, <No data fields>}}}}, m_on_connect = {m_collector = {
- 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&>*> >> = {
- _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 = {
- 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>*> >> = {
- _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 = {
- _M_next = 0x2365f8}}}, <No data fields>}}}, m_on_disconnect = {m_collector = {
- 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&>*> >> = {
- _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}
- 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>}
- 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>}
- #33 0x0002a948 in w3c::server::_run (this=0xbed98654) at source/server.cpp:44
- No locals.
- #34 0x00059590 in w3c::app::application::run (this=0xbed98654) at source/app/application.cpp:48
- No locals.
- #35 0x0002772c in main (argc=2, argv=0xbed98894) at source/main.cpp:23
- No locals.
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement