[Quickfix-developers] Blocking in connect()?
Brought to you by:
orenmnero
From: Hei C. <str...@ya...> - 2011-02-25 10:29:34
|
Hi, I am using the latest QF C++. It is kind of odd that the connection thread in QF is stuck at connect() (which is Utility.cpp:165) [Switching to thread 2 (Thread 0x4833e940 (LWP 10595))]#0 0x00000035bd20dbbb in connect () from /lib64/libpthread.so.0 (gdb) bt #0 0x00000035bd20dbbb in connect () from /lib64/libpthread.so.0 #1 0x00002b263308567b in FIX::socket_connect (socket=111, address=<value optimized out>, port=<value optimized out>) at Utility.cpp:165 #2 0x00002b263302ab4f in FIX::SocketConnector::connect (this=0x1ecd8c0, address=..., port=8091, noDelay=false, sendBufSize=0, rcvBufSize=0) at SocketConnector.cpp:115 #3 0x00002b263303829a in FIX::SocketInitiator::doConnect (this=0x1ecd610, s=..., d=<value optimized out>) at SocketInitiator.cpp:154 #4 0x00002b263302ebca in FIX::Initiator::connect (this=0x1ecd610) at Initiator.cpp:156 #5 0x00002b2633035872 in FIX::SocketInitiator::onStart (this=0x6f) at SocketInitiator.cpp:93 #6 0x00002b263302e4ba in FIX::Initiator::startThread (p=0x6f) at Initiator.cpp:336 #7 0x00000035bd20673d in start_thread () from /lib64/libpthread.so.0 #8 0x00000035bc6d3f6d in clone () from /lib64/libc.so.6 I thought that it wouldn't block. Any hint? Thanks in advance. Cheers, Hei |