https://bugs.winehq.org/show_bug.cgi?id=54653
Bug ID: 54653 Summary: urlmon:protocol sometimes fails because of E_PENDING in Wine Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: urlmon Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
urlmon:protocol sometimes fails because of E_PENDING in Wine:
protocol.c:3576: Testing http protocol (direct read)... protocol.c:1083: Test failed: unexpected call ReportData2 protocol.c:1085: Test failed: grfBSCF = 00000001 protocol.c:1093: Test failed: Read returned: 8000000a, expected E_FALSE protocol.c:1094: Test failed: read = 4022 protocol.c:693: Test failed: expected ReportData protocol.c:732: Test failed: unexpected call Switch protocol.c:1083: Test failed: unexpected call ReportData2 protocol.c:1085: Test failed: grfBSCF = 00000002 protocol.c:1093: Test failed: Read returned: 8000000a, expected E_FALSE protocol.c:1094: Test failed: read = 5792 protocol.c:693: Test failed: expected ReportData protocol.c:732: Test failed: unexpected call Switch [... many repeats of the ReportData2 -> Switch lines...] protocol.c:1083: Test failed: unexpected call ReportData2 protocol.c:1085: Test failed: grfBSCF = 00000002 protocol.c:1041: Test failed: grcfBSCF = 00000006 protocol.c:1076: Test failed: unexpected ReportData2 protocol.c:1188: Test failed: unexpected call ReportResult protocol.c:1093: Test failed: Read returned: 00000000, expected E_FALSE protocol.c:1094: Test failed: read = 1323 protocol.c:3580: Testing http protocol (redirected)...
[...] protocol.c:4320: Testing http binding (mime verification, emulate prot, short read, direct read)... protocol.c:1083: Test failed: unexpected call ReportData2 protocol.c:1092: Test failed: expected Read2 protocol.c:1094: Test failed: read = 100 protocol.c:4155: Test failed: expected ReportData protocol.c:4322: Testing http binding (mime verification, redirect, emulate prot)...
[...] protocol.c:4332: Testing http binding (mime verification, emulate prot, direct read)... protocol.c:1083: Test failed: unexpected call ReportData2 protocol.c:1085: Test failed: grfBSCF = 00000001 protocol.c:2130: Test failed: unexpected call Read protocol.c:1092: Test failed: expected Read2 protocol.c:1093: Test failed: Read returned: 8000000a, expected E_FALSE protocol.c:1094: Test failed: read = 300 protocol.c:1083: Test failed: unexpected call ReportData2 protocol.c:1085: Test failed: grfBSCF = 00000002 protocol.c:2130: Test failed: unexpected call Read protocol.c:1092: Test failed: expected Read2 protocol.c:1093: Test failed: Read returned: 00000000, expected E_FALSE protocol.c:1094: Test failed: read = 100 protocol.c:4155: Test failed: expected ReportData protocol.c:4334: Testing http binding (mime verification, emulate prot, abort)...
See https://test.winehq.org/data/patterns.html#urlmon:protocol
Where: 8000000a == E_PENDING 00000001 == BSCF_FIRSTDATANOTIFICATION 00000002 == BSCF_INTERMEDIATEDATANOTIFICATION 00000006 == BSCF_INTERMEDIATEDATANOTIFICATION | BSCF_LASTDATANOTIFICATION
Race condition?