https://bugs.winehq.org/show_bug.cgi?id=48672
Bug ID: 48672 Summary: netconnection.c:300: create_netconn_socket: Assertion 'server->addr_len' failed. Product: Wine Version: 2.18 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wininet Assignee: wine-bugs@winehq.org Reporter: vincent.163@outlook.com Distribution: ---
While running Tencent QQ from https://im.qq.com/, I get this error after 5 to 20 minutes and then Tencent QQ crashes (and prompts me whether to send a bug report).
The error was shown in the terminal (I ran wine in the terminal).
The error message was: netconnection.c:300:create_netconn_socket: Assertion 'server->addr_len' failed.
I know it's generally a bad idea to remove assertions directly, but I removed that line and recompiled Wine and replaced wininet.dll.so with the patched one, and the application seems to work fine. Maybe the library was not used as a critical part of the application, or the internal state was not corrupted enough to cause any visible bugs, or it was just the application not following the API contracts strictly but Windows allowed such invalid usage while Wine didn't. It would be helpful if someone who has a better understanding of the code to tell what's happening here.
https://bugs.winehq.org/show_bug.cgi?id=48672
vincent.163@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vincent.163@outlook.com
https://bugs.winehq.org/show_bug.cgi?id=48672
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- If you could please provide a +wininet log? if the log gets too large then the last 10000 lines should be enough.