netconnection.c:300:create_netconn_socket: Assertion 'server->addr_len' failed.

何 文阳 vincent.163 at outlook.com
Wed Feb 26 02:24:53 CST 2020


When running Tencent QQ on Wine, I get this error which caused the program to crash:

netconnection.c:300:create_netconn_socket: Assertion 'server->addr_len' failed.

It appears that on line 300 of the source file, there was an assertion checking for `server->addr_len` which failed. I suspect this was because of the application misuing the API and filling the struct without setting the `addr_len` field. However, Windows is already full of legacy hacks and it might be sensible to just ignore that field and remove the assertion.

I'm just a regular user of Wine and does not really understand the source code yet, but it would be helpful if a Wine developer who has a better understanding of the source code to look at this line and make the modifications. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200226/faa6c556/attachment.htm>


More information about the wine-devel mailing list