[PATCH 5/5] ws2_32: Handle SO_RCVTIMEO in the server.

Alexandre Julliard julliard at winehq.org
Mon Jun 28 12:48:30 CDT 2021


Zebediah Figura <z.figura12 at gmail.com> writes:

> Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
> ---
>  dlls/ws2_32/socket.c     | 10 +++++-----
>  dlls/ws2_32/tests/sock.c |  8 ++++----
>  include/wine/afd.h       |  2 ++
>  server/sock.c            | 40 +++++++++++++++++++++++++++++++++-------
>  4 files changed, 44 insertions(+), 16 deletions(-)

This is breaking tests:

tools/runtest -q -P wine -T . -M webservices.dll -p dlls/webservices/tests/webservices_test.exe proxy && touch dlls/webservices/tests/proxy.ok
proxy.c:298: Test failed: got 8007274c
proxy.c:327: Test failed: got 8007274c
proxy.c:350: Test failed: got 803d0000
proxy.c:351: Test failed: got -1
proxy.c:614: Test failed: got 8007274c
wine: Unhandled page fault on read access to 00000000 at address 6A2E848A (thread 0024), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x6a2e848a).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:6a2e848a ESP:0031f914 EBP:0031f918 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:00000000 EBX:8007274c ECX:00000000 EDX:0045d3e8
 ESI:0031fa8c EDI:0031fd1c
Stack dump:
0x0031f914:  8007274c 0031fbf8 0040f713 00000000
0x0031f924:  0045d3e8 8007274c 00f562b0 0031fa5c
0x0031f934:  00000002 00000000 00000000 00f565a0
0x0031f944:  00ef0000 00f54b50 00f562b0 0031f9a8
0x0031f954:  0031f9a0 0031f9a4 0040fa60 00000000
0x0031f964:  0040fd70 00000000 0031f9fc 0031fa3c
Backtrace:
=>0 0x6a2e848a _swprintf_p_l+0x3a(length=<is not available>, format=<is not available>, locale=<is not available>) [Z:\home\julliard\wine\wine\dlls\msvcrt\wcs.c:1845] in msvcrt (0x0031f918)
  1 0x0040f713 test_WsCall+0x912(port=<is not available>) [Z:\home\julliard\wine\wine\dlls\webservices\tests\proxy.c:615] in webservices_test (0x0031fbf8)
  2 0x0041164d func_proxy+0x125c() [Z:\home\julliard\wine\wine\dlls\webservices\tests\proxy.c:844] in webservices_test (0x0031fe08)
  3 0x0045994b main+0x26a(argv=<is not available>) [Z:\home\julliard\wine\wine\include\wine\test.h:612] in webservices_test (0x0031fee8)
  4 0x00458d3f mainCRTStartup+0x7e() [Z:\home\julliard\wine\wine\dlls\msvcrt\crt_main.c:58] in webservices_test (0x0031ff30)
  5 0x7b62e250 WriteTapemark+0xff(type=<is not available>, count=<is not available>, immediate=<is not available>) [Z:\home\julliard\wine\wine\dlls\kernel32\tape.c:317] in kernel32 (0x0031ff48)
  6 0x7bc555b7 RtlSleepConditionVariableSRW+0x226(lock=<is not available>, timeout=<is not available>, flags=<is not available>) [Z:\home\julliard\wine\wine\dlls\ntdll\sync.c:556] in ntdll (0x0031ff5c)
  7 0x7bc55c70 call_thread_func+0xaf(arg=0x7ffd1000) [Z:\home\julliard\wine\wine\dlls\ntdll\thread.c:225] in ntdll (0x0031ffec)
0x6a2e848a _swprintf_p_l+0x3a [Z:\home\julliard\wine\wine\dlls\msvcrt\wcs.c:1845] in msvcrt: movzwl	0x0(%ecx),%eax
1845	    while (*str1 && (*str1 == *str2))

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list