Slav
2012-08-06 23:01:46 UTC
Hello.
I have segmentation fault happening once per ~week server's work when he
process already several million players. GCC points to line with closing
round bracket of block
__asm__ __volatile__
(
"lock\n\t"
"xadd %1, %0":
"+m"( *pw ), "=r"( r ): // outputs (%0, %1)
"1"( dv ): // inputs (%2 == %1)
"memory", "cc" // clobbers
); <-------- GCC points here
at file /usr/include/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp:67
I didn't came to the problem deeper (it's first time I can examine the
stack) - it's 3 o`clock now, but I am curious why there is "x86" postfix if
I have x64 architecture:
Linux version 3.2.0-26-generic (***@batsu) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) )
Ubuntu 12.04 LTS \n \l
Intex Xeon CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 58
Stepping: 9
CPU MHz: 1600.000
BogoMIPS: 6584.73
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Boost version "1.46.1". I use Asio from CVS repository, updated couple of
weeks ago.
Is there a way just somehow to mute this problem at least, if it cannot be
resolved? This problem happens very rarely and I don't care if it even
killes/malfunctions/occupies thread/connection or something - it's need
just to keep server working.
Thank you.
Whole callstack is so:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffecb7fe700 (LWP 23732)]
0x000000000043a1a3 in boost::detail::atomic_count::atomic_exchange_and_add
(pw=0xf0, dv=1) at
/usr/include/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp:67
67 );
(gdb) backtrace
#0 0x000000000043a1a3 in
boost::detail::atomic_count::atomic_exchange_and_add (pw=0xf0, dv=1) at
/usr/include/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp:67
#1 0x000000000043a141 in boost::detail::atomic_count::operator++
(this=0xf0) at
/usr/include/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp:30
#2 0x000000000043b910 in asio::detail::task_io_service::work_started
(this=0x84) at
/home/slav/programs/asio/asio/include/asio/detail/task_io_service.hpp:75
#3 0x000000000043d692 in
asio::detail::task_io_service::post_immediate_completion (this=0x84,
op=0x7ffef40cb0a0)
at
/home/slav/programs/asio/asio/include/asio/detail/impl/task_io_service.ipp:204
#4 0x000000000043be69 in
asio::detail::epoll_reactor::post_immediate_completion
(this=0x7ffef46cfeb0, op=0x7ffef40cb0a0)
at
/home/slav/programs/asio/asio/include/asio/detail/epoll_reactor.hpp:82
#5 0x000000000043c683 in asio::detail::epoll_reactor::start_op
(this=0x7ffef46cfeb0, op_type=1, descriptor=-201324776,
descriptor_data=@0x7ffef518e570: 0x7ffef518e550,
op=0x7ffef40cb0a0, allow_speculative=true) at
/home/slav/programs/asio/asio/include/asio/detail/impl/epoll_reactor.ipp:132
#6 0x000000000043f6f1 in
asio::detail::reactive_socket_service_base::start_op (this=0x7ffef40000a0,
impl=..., op_type=1, op=0x7ffef40cb0a0, non_blocking=true, noop=false)
at
/home/slav/programs/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp:160
#7 0x000000000047e82c in
asio::detail::reactive_socket_service_base::async_send<asio::const_buffers_1,
asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp, asio::str
eam_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio, fos::ClientsH
andler_Asio::Client*, fos::SentData*, asio::error_code const&, unsigned
long>, boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHand
ler_Asio::Client*>, boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(),
boost::arg<2> (*)()> > > > (this=0x7ffef40000a0, impl=..., buffers=...,
flags=0, handler=...)
at
/home/slav/programs/asio/asio/include/asio/detail/reactive_socket_service_base.hpp:199
#8 0x000000000047a0ab in
asio::stream_socket_service<asio::ip::tcp>::async_send<asio::const_buffers_1,
asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp, asio::str
eam_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio, fos::ClientsH
andler_Asio::Client*, fos::SentData*, asio::error_code const&, unsigned
long>, boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHand
ler_Asio::Client*>, boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(),
boost::arg<2> (*)()> > > > (this=0x7ffef4000078, impl=..., buffers=...,
flags=0, handler=...)
at
/home/slav/programs/asio/asio/include/asio/stream_socket_service.hpp:283
#9 0x00000000004711e2 in asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp>
>::async_write_some<asio::const_buffers_1, asio::detail::write_op<a
sio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void, boost::_mfi::
mf4<void, fos::ClientsHandler_Asio, fos::ClientsHandler_Asio::Client*,
fos::SentData*, asio::error_code const&, unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsH
andler_Asio*>, boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > > > (this=0x7ffef518e560,
buffers=..., handler=...) at
/home/slav/programs/asio/asio/include/asio/basic_stream_socket.hpp:607
#10 0x0000000000460b0c in
asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::tran
sfer_all_t, boost::_bi::bind_t<void, boost::_mfi::mf4<void,
fos::ClientsHandler_Asio, fos::ClientsHandler_Asio::Client*,
fos::SentData*, asio::error_code const&, unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), bo
ost::arg<2> (*)()> > >::operator() (this=0x7ffecb7fd790, ec=...,
bytes_transferred=8760, start=0) at
/home/slav/programs/asio/asio/include/asio/impl/write.hpp:256
#11 0x0000000000486674 in
asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers
_1, asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code c
onst&, unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, b
oost::arg<1> (*)(), boost::arg<2> (*)()> > >, asio::error_code, unsigned
long>::operator() (this=0x7ffecb7fd790)
at /home/slav/programs/asio/asio/include/asio/detail/bind_handler.hpp:96
#12 0x00000000004865e4 in
asio::asio_handler_invoke<asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::t
cp> >, asio::const_buffers_1, asio::detail::transfer_all_t,
boost::_bi::bind_t<void, boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > >, asio::error_code, unsigned long> > (function=...)
at /home/slav/programs/asio/asio/include/asio/handler_invoke_hook.hpp:63
#13 0x000000000048611b in
asio_handler_invoke_helpers::invoke<asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > >, asio::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > > (function=..., context=...)
at
/home/slav/programs/asio/asio/include/asio/detail/handler_invoke_helpers.hpp:39
#14 0x00000000004856af in
asio::detail::asio_handler_invoke<asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > >, asio::error_code, unsigned long>,
asio::basic_stream_socket<asio::ip::tcp, asio::stream_socket_se---Type
<return> to continue, or q <return> to quit---
rvice<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > > (function=..., this_handler=0x7ffecb7fd880)
at /home/slav/programs/asio/asio/include/asio/impl/write.hpp:304
#15 0x0000000000484954 in
asio_handler_invoke_helpers::invoke<asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > >, asio::error_code, unsigned long>,
asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > > > (function=..., context=...)
at
/home/slav/programs/asio/asio/include/asio/detail/handler_invoke_helpers.hpp:39
#16 0x00000000004834bb in
asio::detail::reactive_socket_send_op<asio::const_buffers_1,
asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > > >::do_complete (owner=0xa71cb0, base=0x7ffef40cb0a0)
at
/home/slav/programs/asio/asio/include/asio/detail/reactive_socket_send_op.hpp:102
#17 0x000000000043b87b in asio::detail::task_io_service_operation::complete
(this=0x7ffef40cb0a0, owner=...)
at
/home/slav/programs/asio/asio/include/asio/detail/task_io_service_operation.hpp:34
#18 0x000000000043d9f9 in asio::detail::task_io_service::do_one
(this=0xa71cb0, lock=..., this_idle_thread=0x7ffecb7fda40)
at
/home/slav/programs/asio/asio/include/asio/detail/impl/task_io_service.ipp:277
#19 0x000000000043d554 in asio::detail::task_io_service::run
(this=0xa71cb0, ec=...) at
/home/slav/programs/asio/asio/include/asio/detail/impl/task_io_service.ipp:129
#20 0x000000000043dd91 in asio::io_service::run (this=0xa71be8) at
/home/slav/programs/asio/asio/include/asio/impl/io_service.ipp:56
#21 0x0000000000424062 in fos::ClientsHandler_Asio::Run (this=0xa71be0) at
../../fos/src/handlers/asio/clients_handler_asio.cpp:111
#22 0x0000000000481755 in boost::_mfi::mf0<void,
fos::ClientsHandler_Asio>::operator() (this=0xa746b8, p=0xa71be0) at
/usr/include/boost/bind/mem_fn_template.hpp:49
#23 0x000000000047ecd6 in
boost::_bi::list1<boost::_bi::value<fos::ClientsHandler_Asio*>
>::operator()<boost::_mfi::mf0<void, fos::ClientsHandler_Asio>,
boost::_bi::list0> (
this=0xa746c8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#24 0x000000000047a309 in boost::_bi::bind_t<void, boost::_mfi::mf0<void,
fos::ClientsHandler_Asio>,
boost::_bi::list1<boost::_bi::value<fos::ClientsHandler_Asio*> >
>::operator() (this=0xa746b8) at
/usr/include/boost/bind/bind_template.hpp:20
#25 0x0000000000487d74 in
boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void,
fos::ClientsHandler_Asio>,
boost::_bi::list1<boost::_bi::value<fos::ClientsHandler_Asio*> > > >::run
(this=0xa74530) at /usr/include/boost/thread/detail/thread.hpp:61
#26 0x00007ffff7bcdce9 in thread_proxy () from
/usr/lib/libboost_thread.so.1.46.1
#27 0x00007ffff5eabe9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#28 0x00007ffff61b34bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
I have segmentation fault happening once per ~week server's work when he
process already several million players. GCC points to line with closing
round bracket of block
__asm__ __volatile__
(
"lock\n\t"
"xadd %1, %0":
"+m"( *pw ), "=r"( r ): // outputs (%0, %1)
"1"( dv ): // inputs (%2 == %1)
"memory", "cc" // clobbers
); <-------- GCC points here
at file /usr/include/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp:67
I didn't came to the problem deeper (it's first time I can examine the
stack) - it's 3 o`clock now, but I am curious why there is "x86" postfix if
I have x64 architecture:
Linux version 3.2.0-26-generic (***@batsu) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) )
Ubuntu 12.04 LTS \n \l
Intex Xeon CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 58
Stepping: 9
CPU MHz: 1600.000
BogoMIPS: 6584.73
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Boost version "1.46.1". I use Asio from CVS repository, updated couple of
weeks ago.
Is there a way just somehow to mute this problem at least, if it cannot be
resolved? This problem happens very rarely and I don't care if it even
killes/malfunctions/occupies thread/connection or something - it's need
just to keep server working.
Thank you.
Whole callstack is so:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffecb7fe700 (LWP 23732)]
0x000000000043a1a3 in boost::detail::atomic_count::atomic_exchange_and_add
(pw=0xf0, dv=1) at
/usr/include/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp:67
67 );
(gdb) backtrace
#0 0x000000000043a1a3 in
boost::detail::atomic_count::atomic_exchange_and_add (pw=0xf0, dv=1) at
/usr/include/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp:67
#1 0x000000000043a141 in boost::detail::atomic_count::operator++
(this=0xf0) at
/usr/include/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp:30
#2 0x000000000043b910 in asio::detail::task_io_service::work_started
(this=0x84) at
/home/slav/programs/asio/asio/include/asio/detail/task_io_service.hpp:75
#3 0x000000000043d692 in
asio::detail::task_io_service::post_immediate_completion (this=0x84,
op=0x7ffef40cb0a0)
at
/home/slav/programs/asio/asio/include/asio/detail/impl/task_io_service.ipp:204
#4 0x000000000043be69 in
asio::detail::epoll_reactor::post_immediate_completion
(this=0x7ffef46cfeb0, op=0x7ffef40cb0a0)
at
/home/slav/programs/asio/asio/include/asio/detail/epoll_reactor.hpp:82
#5 0x000000000043c683 in asio::detail::epoll_reactor::start_op
(this=0x7ffef46cfeb0, op_type=1, descriptor=-201324776,
descriptor_data=@0x7ffef518e570: 0x7ffef518e550,
op=0x7ffef40cb0a0, allow_speculative=true) at
/home/slav/programs/asio/asio/include/asio/detail/impl/epoll_reactor.ipp:132
#6 0x000000000043f6f1 in
asio::detail::reactive_socket_service_base::start_op (this=0x7ffef40000a0,
impl=..., op_type=1, op=0x7ffef40cb0a0, non_blocking=true, noop=false)
at
/home/slav/programs/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp:160
#7 0x000000000047e82c in
asio::detail::reactive_socket_service_base::async_send<asio::const_buffers_1,
asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp, asio::str
eam_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio, fos::ClientsH
andler_Asio::Client*, fos::SentData*, asio::error_code const&, unsigned
long>, boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHand
ler_Asio::Client*>, boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(),
boost::arg<2> (*)()> > > > (this=0x7ffef40000a0, impl=..., buffers=...,
flags=0, handler=...)
at
/home/slav/programs/asio/asio/include/asio/detail/reactive_socket_service_base.hpp:199
#8 0x000000000047a0ab in
asio::stream_socket_service<asio::ip::tcp>::async_send<asio::const_buffers_1,
asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp, asio::str
eam_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio, fos::ClientsH
andler_Asio::Client*, fos::SentData*, asio::error_code const&, unsigned
long>, boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHand
ler_Asio::Client*>, boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(),
boost::arg<2> (*)()> > > > (this=0x7ffef4000078, impl=..., buffers=...,
flags=0, handler=...)
at
/home/slav/programs/asio/asio/include/asio/stream_socket_service.hpp:283
#9 0x00000000004711e2 in asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp>
>::async_write_some<asio::const_buffers_1, asio::detail::write_op<a
sio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void, boost::_mfi::
mf4<void, fos::ClientsHandler_Asio, fos::ClientsHandler_Asio::Client*,
fos::SentData*, asio::error_code const&, unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsH
andler_Asio*>, boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > > > (this=0x7ffef518e560,
buffers=..., handler=...) at
/home/slav/programs/asio/asio/include/asio/basic_stream_socket.hpp:607
#10 0x0000000000460b0c in
asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::tran
sfer_all_t, boost::_bi::bind_t<void, boost::_mfi::mf4<void,
fos::ClientsHandler_Asio, fos::ClientsHandler_Asio::Client*,
fos::SentData*, asio::error_code const&, unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), bo
ost::arg<2> (*)()> > >::operator() (this=0x7ffecb7fd790, ec=...,
bytes_transferred=8760, start=0) at
/home/slav/programs/asio/asio/include/asio/impl/write.hpp:256
#11 0x0000000000486674 in
asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers
_1, asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code c
onst&, unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, b
oost::arg<1> (*)(), boost::arg<2> (*)()> > >, asio::error_code, unsigned
long>::operator() (this=0x7ffecb7fd790)
at /home/slav/programs/asio/asio/include/asio/detail/bind_handler.hpp:96
#12 0x00000000004865e4 in
asio::asio_handler_invoke<asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::t
cp> >, asio::const_buffers_1, asio::detail::transfer_all_t,
boost::_bi::bind_t<void, boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > >, asio::error_code, unsigned long> > (function=...)
at /home/slav/programs/asio/asio/include/asio/handler_invoke_hook.hpp:63
#13 0x000000000048611b in
asio_handler_invoke_helpers::invoke<asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > >, asio::error_code, unsigned long>, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > > (function=..., context=...)
at
/home/slav/programs/asio/asio/include/asio/detail/handler_invoke_helpers.hpp:39
#14 0x00000000004856af in
asio::detail::asio_handler_invoke<asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > >, asio::error_code, unsigned long>,
asio::basic_stream_socket<asio::ip::tcp, asio::stream_socket_se---Type
<return> to continue, or q <return> to quit---
rvice<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > > (function=..., this_handler=0x7ffecb7fd880)
at /home/slav/programs/asio/asio/include/asio/impl/write.hpp:304
#15 0x0000000000484954 in
asio_handler_invoke_helpers::invoke<asio::detail::binder2<asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > >, asio::error_code, unsigned long>,
asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > > > (function=..., context=...)
at
/home/slav/programs/asio/asio/include/asio/detail/handler_invoke_helpers.hpp:39
#16 0x00000000004834bb in
asio::detail::reactive_socket_send_op<asio::const_buffers_1,
asio::detail::write_op<asio::basic_stream_socket<asio::ip::tcp,
asio::stream_socket_service<asio::ip::tcp> >, asio::const_buffers_1,
asio::detail::transfer_all_t, boost::_bi::bind_t<void,
boost::_mfi::mf4<void, fos::ClientsHandler_Asio,
fos::ClientsHandler_Asio::Client*, fos::SentData*, asio::error_code const&,
unsigned long>,
boost::_bi::list5<boost::_bi::value<fos::ClientsHandler_Asio*>,
boost::_bi::value<fos::ClientsHandler_Asio::Client*>,
boost::_bi::value<fos::SentData*>, boost::arg<1> (*)(), boost::arg<2>
(*)()> > > >::do_complete (owner=0xa71cb0, base=0x7ffef40cb0a0)
at
/home/slav/programs/asio/asio/include/asio/detail/reactive_socket_send_op.hpp:102
#17 0x000000000043b87b in asio::detail::task_io_service_operation::complete
(this=0x7ffef40cb0a0, owner=...)
at
/home/slav/programs/asio/asio/include/asio/detail/task_io_service_operation.hpp:34
#18 0x000000000043d9f9 in asio::detail::task_io_service::do_one
(this=0xa71cb0, lock=..., this_idle_thread=0x7ffecb7fda40)
at
/home/slav/programs/asio/asio/include/asio/detail/impl/task_io_service.ipp:277
#19 0x000000000043d554 in asio::detail::task_io_service::run
(this=0xa71cb0, ec=...) at
/home/slav/programs/asio/asio/include/asio/detail/impl/task_io_service.ipp:129
#20 0x000000000043dd91 in asio::io_service::run (this=0xa71be8) at
/home/slav/programs/asio/asio/include/asio/impl/io_service.ipp:56
#21 0x0000000000424062 in fos::ClientsHandler_Asio::Run (this=0xa71be0) at
../../fos/src/handlers/asio/clients_handler_asio.cpp:111
#22 0x0000000000481755 in boost::_mfi::mf0<void,
fos::ClientsHandler_Asio>::operator() (this=0xa746b8, p=0xa71be0) at
/usr/include/boost/bind/mem_fn_template.hpp:49
#23 0x000000000047ecd6 in
boost::_bi::list1<boost::_bi::value<fos::ClientsHandler_Asio*>
>::operator()<boost::_mfi::mf0<void, fos::ClientsHandler_Asio>,
boost::_bi::list0> (
this=0xa746c8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#24 0x000000000047a309 in boost::_bi::bind_t<void, boost::_mfi::mf0<void,
fos::ClientsHandler_Asio>,
boost::_bi::list1<boost::_bi::value<fos::ClientsHandler_Asio*> >
>::operator() (this=0xa746b8) at
/usr/include/boost/bind/bind_template.hpp:20
#25 0x0000000000487d74 in
boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void,
fos::ClientsHandler_Asio>,
boost::_bi::list1<boost::_bi::value<fos::ClientsHandler_Asio*> > > >::run
(this=0xa74530) at /usr/include/boost/thread/detail/thread.hpp:61
#26 0x00007ffff7bcdce9 in thread_proxy () from
/usr/lib/libboost_thread.so.1.46.1
#27 0x00007ffff5eabe9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#28 0x00007ffff61b34bd in clone () from /lib/x86_64-linux-gnu/libc.so.6