https://bugs.winehq.org/show_bug.cgi?id=52224
Bug ID: 52224 Summary: inetmib1:main test times out in linux Product: Wine Version: 7.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: bernhardu@mailbox.org Distribution: ---
inetmib1 times out regularly in testbot.
https://test.winehq.org/data/patterns.html#inetmib1:main
https://bugs.winehq.org/show_bug.cgi?id=52224
--- Comment #1 from Bernhard Übelacker bernhardu@mailbox.org --- This seems to be caused by the last loop in testQuery is never left. https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/inetmib1/tests/main.c...
Unfortunately when submitting an no-change-patch with WINETEST_REPORT_SUCCESS active, it produces over 200 MB output until the timeout is reached.
The whole SNMP functionality seems to iterate over open UDP ports. But it iterates always over just the two first entries, therefore never finishes.
This open UDP ports are queried by GetUdpTable, which returns a sorted list. But the dwLocalPort is returned as big-endian.
Unfortunately the inetmib1 dll seems not to take the endianess into account, therefore, as sorting matters, it finds always the same two entries.
https://bugs.winehq.org/show_bug.cgi?id=52224
--- Comment #2 from Bernhard Übelacker bernhardu@mailbox.org --- Submitted fix considering endianess: https://source.winehq.org/patches/data/222215
Some changes to the test, which helped diagnosing: https://source.winehq.org/patches/data/222216 https://source.winehq.org/patches/data/222217 https://source.winehq.org/patches/data/222218
https://bugs.winehq.org/show_bug.cgi?id=52224
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9145b551b2ebe17c1e310790db5 | |c09da24a1beb5 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Bernhard Übelacker bernhardu@mailbox.org --- Patch got committed, latest testbot run looks good, marking as resolved fixed.
https://bugs.winehq.org/show_bug.cgi?id=52224
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc3.
https://bugs.winehq.org/show_bug.cgi?id=52224
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=52224
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.4.