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!