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

Zhiyi Zhang zzhang at codeweavers.com
Wed Feb 26 03:53:02 CST 2020


Hi

It means that there is a bug in Wine so it shouldn't be simply removed.
Please open a bug report for this.

Thanks,
Zhiyi

On 2/26/20 4:24 PM, 何 文阳 wrote:
> 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/5cf093e7/attachment.htm>


More information about the wine-devel mailing list