[PATCH 6/6] ws2_32: Use IOCTL_AFD_WINE_CONNECT in connect().

Alexandre Julliard julliard at winehq.org
Mon May 17 11:53: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     | 108 +++++++++++++++------------------------
>  dlls/ws2_32/tests/sock.c |  21 +-------
>  2 files changed, 44 insertions(+), 85 deletions(-)

This is causing a freeze in the ntoskrnl tests. The backtrace looks
something like this:

Backtracing for thread 0024 in process 0020 (Z:\home\julliard\wine\wine\dlls\ntoskrnl.exe\tests\ntoskrnl.exe_test.exe):
Backtrace:
=>0 0x7bc0bd0c end+0x7bc0bd0c() in ntdll (0x0031f218)
  1 0x004040b3 main_test+0xa2() [Z:\home\julliard\wine\wine\dlls\ntoskrnl.exe\tests\ntoskrnl.c:407] in ntoskrnl.exe_test (0x0031f278)
  2 0x0040b3a8 func_ntoskrnl+0x2157() [Z:\home\julliard\wine\wine\dlls\ntoskrnl.exe\tests\ntoskrnl.c:927] in ntoskrnl.exe_test (0x0031fdd8)
  3 0x0040d0a3 run_test+0xe2(name=<is not available>) [Z:\home\julliard\wine\wine\include\wine\test.h:612] in ntoskrnl.exe_test (0x0031fe38)
  4 0x0040ea2d main+0x17c(argv=<is not available>) [Z:\home\julliard\wine\wine\include\wine\test.h:702] in ntoskrnl.exe_test (0x0031fee8)
  5 0x0040df0f mainCRTStartup+0x7e() [Z:\home\julliard\wine\wine\dlls\msvcrt\crt_main.c:58] in ntoskrnl.exe_test (0x0031ff30)
  6 0x7b62dfb0 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)
  7 0x7bc55137 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)
  8 0x7bc55380 call_thread_func+0xaf(arg=0x7ffd1000) [Z:\home\julliard\wine\wine\dlls\ntdll\thread.c:121] in ntdll (0x0031ffec)

Backtracing for thread 01c4 in process 0020 (Z:\home\julliard\wine\wine\dlls\ntoskrnl.exe\tests\ntoskrnl.exe_test.exe):
01e0:fixme:dbghelp_dwarf:dwarf2_parse_const_type Unsupported children
Backtrace:
=>0 0x7bc0c6fc end+0x7bc0c6fc() in ntdll (0x00e0faf8)
  1 0x7b06fbee UnregisterWaitEx+0xb8(event=<is not available>) [Z:\home\julliard\wine\wine\dlls\kernelbase\sync.c:334] in kernelbase (0x00e0fb38)
  2 0x7eb92278 WS_connect+0x197(addr=<couldn't compute location>, len=<couldn't compute location>) [Z:\home\julliard\wine\wine\dlls\ws2_32\socket.c:3019] in ws2_32 (0x00e0fc18)
  3 0x00402be9 wsk_test_thread+0x278() [Z:\home\julliard\wine\wine\dlls\ntoskrnl.exe\tests\ntoskrnl.c:887] in ntoskrnl.exe_test (0x00e0ff28)
  4 0x7b62dfb0 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 (0x00e0ff48)
  5 0x7bc55137 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 (0x00e0ff5c)
  6 0x7bc55380 call_thread_func+0xaf(arg=0x0(nil)) [Z:\home\julliard\wine\wine\dlls\ntdll\thread.c:121] in ntdll (0x00e0ffec)
0x7bc51081 RtlDefaultNpAcl+0x181 [Z:\home\julliard\wine\wine\dlls\ntdll\sec.c:1731] in ntdll: ret
1731    }

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list