http://bugs.winehq.org/show_bug.cgi?id=9723
Summary: Fileplanet Comrade installer fails to download a file Product: Wine Version: 0.9.45. Platform: PC URL: http://www.fileplanet.com/164906/160000/fileinfo/GameSpy -Comrade-Instant-Messenger OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: wine-net AssignedTo: wine-bugs@winehq.org ReportedBy: l_bratch@yahoo.co.uk
The installer tries to download this file but fails:
http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e...
Based on the terminal output I thought it was a dupe of bug 2781: http://bugs.winehq.org/show_bug.cgi?id=2781
However in that bug the wininet trace shows the download as going okay, but in this case it gives 404, even though attempting to download that file manually shows that it does exist.
http://bugs.winehq.org/show_bug.cgi?id=9723
--- Comment #1 from Luke Bratch l_bratch@yahoo.co.uk 2007-09-20 07:35:10 --- Created an attachment (id=8154) --> (http://bugs.winehq.org/attachment.cgi?id=8154) Terminal output of the installer
http://bugs.winehq.org/show_bug.cgi?id=9723
--- Comment #2 from Luke Bratch l_bratch@yahoo.co.uk 2007-09-20 07:35:43 --- Created an attachment (id=8155) --> (http://bugs.winehq.org/attachment.cgi?id=8155) +wininet trace of the installer trying to download the file
http://bugs.winehq.org/show_bug.cgi?id=9723
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk Status|UNCONFIRMED |NEW Component|wine-net |wine-shell32 Ever Confirmed|0 |1 Keywords| |download
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-09-20 10:19:29 --- Looks more like a bug in shlwapi; with native shlwapi.dll the download starts fine
http://bugs.winehq.org/show_bug.cgi?id=9723
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #4 from Anastasius Focht focht@gmx.net 2007-09-20 10:53:05 --- Hello,
--- quote --- Looks more like a bug in shlwapi; with native shlwapi.dll the download starts fine --- quote ---
Yes, UrlCanonicalizeA/W() is the problem, it encodes trailing whitespace to escape sequences. For reference see: http://msdn2.microsoft.com/en-us/library/aa384342.aspx Despite what MSDN says about ICU_BROWSER_MODE, trailing whitespaces get removed under windows - regardless if mode flags and/or special characters "?", "#" present/not present. Embedded whitespaces get correctly decoded and encoded if appropriate flags present.
--- snip wine --- trace:wininet:InternetCanonicalizeUrlA "http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e... " 0x57f3d8 0x7c9a9124 92000000 .. trace:wininet:InternetCrackUrlA ("http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e..." 0 0 0x7c9a90a0) --- snip wine ---
Resulting URI contains trailing "%20". This wont work.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9723
--- Comment #5 from Luke Bratch l_bratch@yahoo.co.uk 2007-09-22 16:48:02 --- Created an attachment (id=8180) --> (http://bugs.winehq.org/attachment.cgi?id=8180) Crash output with native shlwapi
Native shlwapi.dll causes a crash for me. The program keeps running and gives the same error dialogue, but you get the crash as attached in the terminal.
http://bugs.winehq.org/show_bug.cgi?id=9723
--- Comment #6 from Luke Bratch l_bratch@yahoo.co.uk 2008-01-12 06:23:51 --- Still present in 0.9.53. Native shlwapi still gives:
wine: Call from 0x7d466e1a to unimplemented function shlwapi.dll.UrlCanonicalizeA, aborting
http://bugs.winehq.org/show_bug.cgi?id=9723
--- Comment #7 from Lei Zhang thestig@google.com 2008-01-14 13:37:16 --- Created an attachment (id=10252) --> (http://bugs.winehq.org/attachment.cgi?id=10252) backtrace with wine-0.9.53 and native shlwapi.dll
You probably have a bad/older copy of shlwapi.dll. It works just fine here. After the download, I still get a crash. (attached)
With the built-in shlwapi.dll, it still fail to download with wine-0.9.53.
http://bugs.winehq.org/show_bug.cgi?id=9723
--- Comment #8 from Luke Bratch l_bratch@yahoo.co.uk 2008-04-20 17:56:34 --- Still present in wine-0.9.60.
http://bugs.winehq.org/show_bug.cgi?id=9723
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikolaj.zalewski@gmail.com
--- Comment #9 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2008-06-30 11:58:30 --- The commit 9c030d4660780363f5dcda9b33ee6bb4daeef822 (http://www.winehq.org/pipermail/wine-cvs/2008-June/044823.html) fixed the UrlCanonicalize bug. The patch will be included in Wine development releases starting from Wine 1.1.1.
Now the package downloads, but the setup fails. In the log one finds: "StopDarwinService() - Call to ControlService() failed!". Running the downloaded dotnetfx.exe manually gives "StopDarwinService(): Darwin Service was already stopped" and the setup claims to have completed successfully. I will try to look into it (unless this is a known .NET 1.1 problem, but I haven't found any bug report about it yet).
http://bugs.winehq.org/show_bug.cgi?id=9723
--- Comment #10 from Anastasius Focht focht@gmx.net 2008-07-01 14:49:31 --- Hello,
--- quote --- Now the package downloads, but the setup fails. In the log one finds: "StopDarwinService() - Call to ControlService() failed!". Running the downloaded dotnetfx.exe manually gives "StopDarwinService(): Darwin Service was already stopped" and the setup claims to have completed successfully. --- quote ---
The installer's .NET 1.1 package download and install works as expected. So the problem this bug is about is fixed.
The next installer bug is msxml failing in custom action (xpath query). Native msxml3 works around it.
I suggest to close this bug and open another one for the next (msxml) problem.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9723
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #11 from James Hawkins truiken@gmail.com 2008-07-01 14:51:01 --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=9723
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2008-07-11 11:08:57 --- Closing bugs fixed in 1.1.1.
http://bugs.winehq.org/show_bug.cgi?id=9723
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9c030d4660780363f5dcda9b33e | |e6bb4daeef822 Component|shell32 |shlwapi
http://bugs.winehq.org/show_bug.cgi?id=9723
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer
https://bugs.winehq.org/show_bug.cgi?id=9723
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.fileplanet.com/1 |https://web.archive.org/web |64906/160000/fileinfo/GameS |/20071002194529/http://www. |py-Comrade-Instant-Messenge |fileplanet.com/164906/downl |r |oad/GameSpy-Comrade-Instant | |-Messenger