https://bugs.winehq.org/show_bug.cgi?id=38752
Bug ID: 38752 Summary: Foobar2000 UPnP/DLNA media server hangs on exit Product: Wine Version: 1.7.40 Hardware: x86 URL: http://www.foobar2000.org/download OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: dimesio@earthlink.net CC: 00cpxxx@gmail.com Regression SHA1: 10f7265270f1ad4e4e1bfec6fb5f06e494d5f579 Distribution: SUSE
Reported by a user on the forum, https://forum.winehq.org/viewtopic.php?f=8&t=24771&sid=5e3916fdef698....
Setting version based on the regression test; this is still present in 1.7.45.
Regression test results:
10f7265270f1ad4e4e1bfec6fb5f06e494d5f579 is the first bad commit commit 10f7265270f1ad4e4e1bfec6fb5f06e494d5f579 Author: Bruno Jesus 00cpxxx@gmail.com Date: Sun Mar 29 00:53:48 2015 -0300
ws2_32: Do not poll unbound descriptors.
:040000 040000 907503b73bae8c0caac8eb871aaa50fb92bbddde d4296816b35282b354acb47587f79b792e299ae7 M dlls
The patch can't be reverted cleanly.
To reproduce:
Download and install Foobar2000 from http://www.foobar2000.org/getfile/bd5fb1d8fd4d0b0d9d8510b394f8723a/foobar200.... Download the UPnP/DLNA component from http://www.foobar2000.org/getcomponent/a770ee30b100186fc8e2fe243a383808/75de.... Install the plugin in Foobar2000 through File, Preferences, Components. Restart Foobar2000, and check (under Library) that the UPnP media server is started. If it isn't, start it. Try to exit Foobar2000.
https://bugs.winehq.org/show_bug.cgi?id=38752
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Ok, thanks for the report. I'll take a look ASAP.
https://bugs.winehq.org/show_bug.cgi?id=38752
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|wine-bugs@winehq.org |00cpxxx@gmail.com
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Ok, I just found the issue. It seems like UDP sockets are allowed to send data even without binding. Maybe they are bound as soon as the first packet is sent. I'll add more tests and check.
https://bugs.winehq.org/show_bug.cgi?id=38752
tim@tim-passingham.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tim@tim-passingham.co.uk
https://bugs.winehq.org/show_bug.cgi?id=38752
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |45677e173d6efb64e6ab29689df | |118f2b15628fd Status|ASSIGNED |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- Fixed by http://source.winehq.org/git/wine.git/?a=commit;h=45677e173d6efb64e6ab29689d...
Thanks for the report.
https://bugs.winehq.org/show_bug.cgi?id=38752
--- Comment #4 from tim@tim-passingham.co.uk --- Good to hear it's been fixed.
I'm not very savvy about wine release control. When/how would I know that the fix is included in a linux binary?
I tried building from source but a 64 + 32 bit version was too hard for me on a single desktop. I think I'd probably need a virtual 32 bit system installed as well.
https://bugs.winehq.org/show_bug.cgi?id=38752
--- Comment #5 from Rosanne DiMesio dimesio@earthlink.net --- The fix will be in 1.7.46, which should come out this Friday. Whether your distro builds packages for it is up to the package maintainer.
https://bugs.winehq.org/show_bug.cgi?id=38752
--- Comment #6 from tim@tim-passingham.co.uk --- Thanks. I'll look out for it.
https://bugs.winehq.org/show_bug.cgi?id=38752
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.46.
https://bugs.winehq.org/show_bug.cgi?id=38752
--- Comment #8 from tim@tim-passingham.co.uk --- Just to say that since the ubuntu ppa hasn't yet updated, I added the wine-staging version from http://ppa.launchpad.net/pipelight/stable/ubuntu.
All fixed. Thanks.