Bugs item #1398756, was opened at 2006-01-06 18:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1398756&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: win32
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Hazel (ghazel)
Assigned to: Nobody/Anonymous (nobody)
Summary: ReadFile returns trash when using overlapped io on namedpipe
Initial Comment:
This bug demonstration probably looks familiar if you
read svcbug.py - however it is a different bug.
win32file.ReadFile seems to be returning as much data
as is requested (only when using overlapped io) even
if that much data is not actually available. The extra
data is random trash. This same operation in C does
not act this way.
running "ovbug.py s" starts a correct server
and "ovbug.py s bug" starts a buggy server.
running "ovbug.py c" starts a client
You'll also notice that PeekNamedPipe seems to
indicate the correct situation.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1398756&group_id=78018
|