#include <hallo.h> * Stefano Rivera [Wed, Apr 27 2011, 10:27:08PM]: > Hi Eduard (2011.04.27_21:14:18_+0200) > > Could you please rebuild with DEB_BUILD_OPTIONS="noopt nostrip" after > > applying the attached patch, and then try again? > > Sure, disabling optimisation does seem to help a little:
Thanks. > at /build/apt-cacher-ng-Fo_IJ8/apt-cacher-ng-0.6.1/include/tcpconnect.h:26 > #1 0x0000000000452c6c in dlcon::WorkLoop (this=0x6e7210) > at /build/apt-cacher-ng-Fo_IJ8/apt-cacher-ng-0.6.1/source/dlcon.cc:276 Yeah, that's it. The attached patch should solve the problem. Looking forward to your feedback ;-). Regards, Eduard. -- <Rhonda> Im Amazon find ich nur englische Thesauren, das ist ja krank.... <Rhonda> ThesaurĂ¼sse? <Rhonda> Ah! Thesauri. <youam> Thesaurier?
Index: source/dlcon.cc =================================================================== --- source/dlcon.cc (Revision 3689) +++ source/dlcon.cc (Arbeitskopie) @@ -269,6 +269,9 @@ continue; } + if(!con.ptr) // failed above? will recheck the connection state + continue; + for(dljIter it=m_qToReceive.begin(); it!=m_qToReceive.end(); it++) { dbgline; @@ -284,9 +287,6 @@ break; } } - - if(!con.ptr) // failed above? will recheck the connection state - continue; } // (re)connect done