<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
</head>
<body>
<tt>Hi<br>
<br>
It means that there is a bug in Wine so it shouldn't be simply
removed.<br>
Please open a bug report for this.<br>
<br>
Thanks,<br>
Zhiyi<br>
</tt><br>
<div class="moz-cite-prefix">On 2/26/20 4:24 PM, ºÎ ÎÄÑô wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MN2PR11MB3632087A04C7F5FCE804B510ABEA0@MN2PR11MB3632.namprd11.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: monospace;">When running Tencent QQ on
Wine, I get this error which caused the program to crash:</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:monospace"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:monospace"><span style="color:#000000;
background-color:#ffffff"></span>netconnection.c:300£ºcreate_netconn_socket:
Assertion 'server->addr_len' failed.</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:monospace"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:monospace">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.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:monospace"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family:monospace">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!</span></div>
</blockquote>
<br>
</body>
</html>