bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TCPStream problem


From: Alex Pavloff
Subject: TCPStream problem
Date: Thu, 6 Feb 2003 18:59:50 -0800

Would someone please explain how this backtrace can be?  This is from using
cc++ 1.0.7 compiled with the g++ 3.2 shipped with RedHat.

#0  0x420d224b in poll () from /lib/i686/libc.so.6
#1  0x4004836f in ost::Socket::isPending(ost::Socket::Pending, unsigned
long) (this=0xfffffffc, pending=257,
    timeout=1079697996) at socket.cpp:502
#2  0x4004a6bc in ost::TCPStream::isPending(ost::Socket::Pending, unsigned
long) (this=0x80b0778,
    pending=pendingInput, timeout=500) at socket.cpp:1158

Could the fact that TCPStream has a badly-named member called "timeout"
that's being hidden by the "timeout" that's being passed to
TCPStream::isPending be an issue?  (I doubt it, even though that seems to be
something that needs to be fixed).

The this pointer is being clobbered, but how?  

If I slow down the socket communications, the problem doesn't occur.

Any ideas?

Alex Pavloff - address@hidden
Eason Technology -- www.eason.com
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]