overlapped read problem.

Rein Klazes rklazes at xs4all.nl
Thu Apr 25 05:25:18 CDT 2002


The changes to the async/overlapped IO in the last week have caused a
problem in Girotel 2.1, Dutch online banking program. After
successfully calling the bank's computer:

| 0806cfe8:Call kernel32.ClearCommError(000000e8,405953a8,405953b0) ret=60052d0f
| trace:comm:ClearCommError handle 232 cbInQue = 8 cbOutQue = 0
| 0806cfe8:Ret  kernel32.ClearCommError() retval=00000001 ret=60052d0f

8 characters in the in-queue.

| 0806cfe8:Call kernel32.ReadFile(000000e8,405953f0,00000008,405953a4,409032e4) ret=60052d44
| trace:file:ReadFile 232 0x405953f0 8 0x405953a4 0x409032e4

request read of 8 characters.

| trace:file:FILE_ReadFileEx file 232 to buf 0x405953f0 num 8 0x409032e4 func (nil)
| trace:file:GetOverlappedResult (232 0x409032e4 0x405953a4 0)
| trace:file:GetOverlappedResult waiting on 0x409032e4
| trace:file:GetOverlappedResult wait on 0x409032e4 returned 258
| 0806cfe8:Ret  kernel32.ReadFile() retval=00000000 ret=60052d44
| 0806cfe8:Call kernel32.GetLastError() ret=60052d52
| 0806cfe8:Ret  kernel32.GetLastError() retval=000003e5 ret=60052d52

ReadFile() returns ERROR, with gle() set to ERROR_IO_PENDING

| 0806cfe8:Call kernel32.lstrlenA(40595270 "Problemen bij aansturen van modem\n(121-997)") ret=6c37396c

Start preparing the error message ("problems communicating with modem,
check your settings") for the alerting dialogbox. While clicking away
this dialogbox, and the 20 subsequent ones the communications proceeds

Any suggestions?

Rein Klazes
rklazes at xs4all.nl

More information about the wine-devel mailing list