https://bugs.winehq.org/show_bug.cgi?id=47233
Bug ID: 47233 Summary: Windbg: kd requires SIO_ENABLE_CIRCULAR_QUEUEING for net debugging Product: Wine Version: 4.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: dpierce1983@hotmail.com Distribution: ---
Created attachment 64506 --> https://bugs.winehq.org/attachment.cgi?id=64506 Default logging output for kd net repro command
kd requires the ioctl SIO_ENABLE_CIRCULAR_QUEUEING to be implemented for net debugging. From what I can tell looking into WINE source code, this ioctl is just not implemented. This occurs for version 6 of kd as well as the latest version 10 of kd, which can be installed with some other workarounds.
Repro steps:
Follow the install steps for windbg and kd on "Debugging Tools for Windows"
execute the following to open a net connection with kd:
$ wine "$WINEPREFIX/drive_c/Program Files/Debugging Tools for Windows (x64)/kd.exe" -k net:port=50000
among the output is
002a:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (SIO_ENABLE_CIRCULAR_QUEUEING)
and the program exits with an error. Full output logs are attached.