https://bugs.winehq.org/show_bug.cgi?id=37871
Bug ID: 37871 Summary: GOG.com downloader (.NET 3.5 app) wants wininet.GetUrlCacheConfigInfoA/W implementation Product: Wine Version: 1.7.33 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wininet Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as the summary says.
It's rather harmless as the failure is catched and handled in managed code.
So the issue is rather about an improvement and the app can be used as test case.
--- snip --- fixme:wininet:GetUrlCacheConfigInfoW (0x1440e8, 0x33df24, 104) Message: Value does not fall within the expected range. Stack trace: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at MS.Win32.WinInet.get_InternetCacheFolder() at System.Windows.Media.Imaging.BitmapDownload.BeginDownload(BitmapDecoder decoder, Uri uri, RequestCachePolicy uriCachePolicy, Stream stream) at System.Windows.Media.Imaging.LateBoundBitmapDecoder..ctor(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy requestCachePolicy) at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache) at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation() at System.Windows.Media.Imaging.BitmapImage.EndInit() at GOGCompanionApp.AppWindow.LoginUser() --- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/cc817578%28v=vs.85%2...
Source: http://source.winehq.org/git/wine.git/blob/2aaff6e19f9ef97a241d7ca36497d47d5...
--- snip --- 3764 BOOL WINAPI GetUrlCacheConfigInfoW(LPINTERNET_CACHE_CONFIG_INFOW CacheInfo, LPDWORD size, DWORD bitmask) 3765 { 3766 FIXME("(%p, %p, %x)\n", CacheInfo, size, bitmask); 3767 INTERNET_SetLastError(ERROR_INVALID_PARAMETER); 3768 return FALSE; 3769 } --- snip ---
$ wine --version wine-1.7.33-191-ge899bd8
Regards
https://bugs.winehq.org/show_bug.cgi?id=37871
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |http://www.gog.com/download | |er
https://bugs.winehq.org/show_bug.cgi?id=37871
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
https://bugs.winehq.org/show_bug.cgi?id=37871
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #1 from super_man@post.com --- Not fixed 1.7.52
https://bugs.winehq.org/show_bug.cgi?id=37871
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #2 from winetest@luukku.com --- (In reply to super_man from comment #1)
Not fixed 1.7.52
No change wine 1.9.19
https://bugs.winehq.org/show_bug.cgi?id=37871
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED URL|http://www.gog.com/download |https://web.archive.org/web |er |/20150610141146/http://stat | |ic.gog.com/download/d3/stab | |le/Setup_Downloader_3.6.0_s | |table.exe Resolution|--- |FIXED Fixed by SHA1| |0cdca521e9bdf9838cd789cf3ef | |225a95cdaf6d5
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commits:
* https://source.winehq.org/git/wine.git/commitdiff/ca29ac4650f7f9a96cfaa75a79... ("wininet: Make GetUrlCacheConfigInfo() return actual dwQuota and dwCacheSize.") * https://source.winehq.org/git/wine.git/commitdiff/0cdca521e9bdf9838cd789cf3e... ("wininet: Return proper cache path from GetUrlCacheConfigInfo.")
Thanks Dmitry
$ sha1sum Setup_Downloader_3.6.0_stable.exe d9eb67eb64e6461fbb72398fabe9aa2da7518f2d Setup_Downloader_3.6.0_stable.exe
$ du -sh Setup_Downloader_3.6.0_stable.exe 3.6M Setup_Downloader_3.6.0_stable.exe
$ wine --version wine-4.3-229-g6d82b2f1ad
Regards
https://bugs.winehq.org/show_bug.cgi?id=37871
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.4.
https://bugs.winehq.org/show_bug.cgi?id=37871
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=37871
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.2.