http://bugs.winehq.org/show_bug.cgi?id=31303
Bug #: 31303 Summary: Netflix on Firefox hangs with loading bar at 0% Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: ehoover@mines.edu CC: bunglehead@gmail.com Classification: Unclassified Regression SHA1: 77ad893a7bb9797fb81a236cc3f915b5a86da4e4
I decided to test and see how far Silverlight support had gotten with a recent Wine and discovered a significant improvement (but also a regression). With Wine 1.5.9 Netflix successfully loads up to the point that it shows an error that there was a problem with the DRM, but with the latest git Netflix hangs at 0%.
Steps to reproduce: 0) Create a new Wine prefix and do not install Mono 1) Download the latest version of winetricks: wget http://winetricks.googlecode.com/svn/trunk/src/winetricks; chmod +x winetricks 2) Install .NET 2.0 with winetricks: ./winetricks dotnet20 3) Download and install the latest Windows version of Firefox: wget -O Firefox-14.0.1.exe http://download.mozilla.org/?product=firefox-14.0.1-funnelcake13&os=win&...; wine Firefox-14.0.1.exe 4) Launch Firefox and login to Netflix 5) Attempt to play a movie/show 6) Click the "Install Now" button to download the Firefox Silverlight plugin 7) Click "Save File" to save the Silverlight installer 8) Double click the "Silverlight.exe" file in the download window and click "Ok" 9) Click "Install now" 10) Uncheck "Enable Microsoft Update" and click "Next>" and then click "Close" 11) Exit and relaunch Firefox and then return to Netflix 12) Attempt to play a movie/show
http://bugs.winehq.org/show_bug.cgi?id=31303
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.5.9
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2012-07-24 13:32:34 CDT --- Did you try to revert this commit only and does it help you? Attach +relay,+tid when it doesn't work, I want to take a look at how it's called.
http://bugs.winehq.org/show_bug.cgi?id=31303
--- Comment #2 from Erich Hoover ehoover@mines.edu 2012-07-24 15:28:33 CDT --- (In reply to comment #1)
Did you try to revert this commit only and does it help you? Attach +relay,+tid when it doesn't work, I want to take a look at how it's called.
Yes, it works with latest git if I revert just that commit. The log is pretty big, so I had to upload it to my personal website (compressed it's 4.5 MB): http://www.compholio.com/misc/netflix.log.tar.bz2
http://bugs.winehq.org/show_bug.cgi?id=31303
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31303
--- Comment #3 from Erich Hoover ehoover@mines.edu 2012-07-24 20:10:50 CDT --- I've tried to narrow down the problem and it only occurs when the LCTYPE parameter is set to LOCALE_SNAME (0x5c)...
http://bugs.winehq.org/show_bug.cgi?id=31303
--- Comment #4 from Erich Hoover ehoover@mines.edu 2012-07-24 21:43:21 CDT --- Created attachment 41143 --> http://bugs.winehq.org/attachment.cgi?id=41143 Fix for GetLocaleInfoEx getting the correct language for the abbreviated form
(In reply to comment #3)
I've tried to narrow down the problem and it only occurs when the LCTYPE parameter is set to LOCALE_SNAME (0x5c)...
Ah-ha! In that case it's being called with the language "en" instead of "en-US"/"en-us". I've attached a patch (with tests) that fixes the problem.
http://bugs.winehq.org/show_bug.cgi?id=31303
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2012-07-25 03:54:48 CDT --- It's not a way to fix that obviously but I see what you mean, thanks, I'll try to do something about it.
http://bugs.winehq.org/show_bug.cgi?id=31303
nielsek nielskri@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nielskri@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31303
Adrian Kalla adrian.kalla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian.kalla@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31303
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2012-08-25 08:29:17 CDT --- Created attachment 41480 --> http://bugs.winehq.org/attachment.cgi?id=41480 patch
Please try this one and report results.
http://bugs.winehq.org/show_bug.cgi?id=31303
--- Comment #7 from Erich Hoover ehoover@mines.edu 2012-08-25 15:22:58 CDT --- (In reply to comment #6)
Created attachment 41480 [details] patch
Please try this one and report results.
It doesn't work as it stands, but it will work if you have it return "3" instead of "2". Apparently it's very particular about the NULL terminator ;)
http://bugs.winehq.org/show_bug.cgi?id=31303
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #41480|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=31303
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2012-08-26 00:08:14 CDT --- Created attachment 41490 --> http://bugs.winehq.org/attachment.cgi?id=41490 patch
Okay, thanks. That's a revised version with some additional tests.
http://bugs.winehq.org/show_bug.cgi?id=31303
--- Comment #9 from Erich Hoover ehoover@mines.edu 2012-08-26 13:51:49 CDT --- (In reply to comment #8)
Okay, thanks. That's a revised version with some additional tests.
This version works great, thanks! Looking forward to seeing it make into git :)
http://bugs.winehq.org/show_bug.cgi?id=31303
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2097c5ddb6bec24cf4bbd440a6f | |401cfa67007f0 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #10 from Erich Hoover ehoover@mines.edu 2012-08-27 15:21:29 CDT --- Awesome, this is now fixed by commit 2097c5ddb6bec24cf4bbd440a6f401cfa67007f0.
http://bugs.winehq.org/show_bug.cgi?id=31303
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2012-08-31 12:56:33 CDT --- Closing bugs fixed in 1.5.12.