[Bug 48672] New: netconnection.c:300: create_netconn_socket: Assertion 'server->addr_len' failed.

WineHQ Bugzilla wine-bugs at winehq.org
Wed Feb 26 04:20:48 CST 2020


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 at winehq.org
          Reporter: vincent.163 at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list