http://bugs.winehq.org/show_bug.cgi?id=35197
Bug ID: 35197 Summary: Torrents Downloader 0.1 fails to start Product: Wine Version: 1.7.8 Hardware: x86 URL: http://torrents.ms/download/installer.exe OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: t.artem@mailcity.com Classification: Unclassified
Created attachment 46949 --> http://bugs.winehq.org/attachment.cgi?id=46949 stderr.log
fixme:winsock:WS_setsockopt IPV6_PROTECTION_LEVEL is ignored! fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER: unimplemented TransmitFile fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32c194 1 C) semi-stub fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32c024 1 C) semi-stub fixme:atl:AtlAxWinInit version 0300 semi-stub fixme:ieframe:PersistStreamInit_InitNew (0x4525f50) fixme:atl:OleClientSite_ShowObject (0x45260c8) - stub fixme:urlmon:set_internet_feature Unsupported flags: 00000015
Its startup log contains this
wx._core.PyAssertionError: C++ assertion "(which == State_Normal) || bitmap.IsNull()" failed
http://bugs.winehq.org/show_bug.cgi?id=35197
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=35197
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |urlmon Ever confirmed|0 |1 Severity|normal |minor
--- Comment #1 from Austin English austinenglish@gmail.com --- winetricks ie7 works around it. Setting urlmon back to builtin restores the problem.
[austin@localhost ~]$ sha1sum torrents_downloader_installer.exe 4bc153622ff254cb64fa3e64a641d81ecc3c9b02 torrents_downloader_installer.exe [austin@localhost ~]$ du -h torrents_downloader_installer.exe 572K torrents_downloader_installer.exe [austin@localhost ~]$ wine --version wine-1.7.9-43-gbfb4f28
http://bugs.winehq.org/show_bug.cgi?id=35197
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 47488 --> http://bugs.winehq.org/attachment.cgi?id=47488 ignore unsupported features
The attached hack is enough to make the application happy.
https://bugs.winehq.org/show_bug.cgi?id=35197
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Torrents Downloader 0.1 |Torrents Downloader 0.1 |fails to start |fails to start (unsupported | |flags passed to | |CoInternetSetFeatureEnabled | |should be ignored, not | |returning error)
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Torrents Downloader
$ WINEDEBUG=+tid,+seh,+relay,+urlmon wine ./torrents_downloader.exe >>log.txt 2>&1 ... 0024:Call urlmon.CoInternetSetFeatureEnabled(00000002,00000015,00000001) ret=1d1adc9a 0024:trace:urlmon:CoInternetSetFeatureEnabled (2, 00000015, 1) 0024:fixme:urlmon:set_internet_feature Unsupported flags: 00000015 0024:Ret urlmon.CoInternetSetFeatureEnabled() retval=80004001 ret=1d1adc ... 0024:Call user32.MessageBoxW(00000000,02ae9448 L"We're so sorry, Torrents Downloader failed.\nStay tuned for updates.",02908540 L"Startup error",00002010) ret=1d1adc9a --- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/ie/ms537168%28v=vs.85%29.aspx
--- quote --- CoInternetSetFeatureEnabled function
Enables or disables a specified feature control. ...
FeatureEntry
A value from the INTERNETFEATURELIST enumeration that indicates the feature control to enable or disable.
... typedef enum _tagINTERNETFEATURELIST { FEATURE_OBJECT_CACHING = 0, FEATURE_ZONE_ELEVATION = 1, FEATURE_MIME_HANDLING = 2, ... dwFlags [in]
Specifies where to set the feature control value. Can be one of the following values:
dwFlags [in]
Specifies where to set the feature control value. Can be one of the following values:
SET_FEATURE_ON_THREAD (0x00000001)
The current thread.
SET_FEATURE_ON_PROCESS (0x00000002)
The current process.
SET_FEATURE_IN_REGISTRY (0x00000004)
Reserved. Do not use.
SET_FEATURE_ON_THREAD_LOCALMACHINE (0x00000008)
The local machine zone.
SET_FEATURE_ON_THREAD_INTRANET (0x00000010)
The intranet zone. ...
fEnable
A BOOL that indicates that the feature control specified by FeatureEntry is enabled when fEnable is TRUE.
... --- quote ---
I think what Bruno did - ignoring unsupported flag values - might be indeed the way to go. MSDN doesn't mention other return values than S_OK and E_FAIL (which only applied for invalid 'FeatureEntry' case).
$ sha1sum installer.exe 96b7fee0b6244c95db9d698c5d36bf8ac54f9a6a installer.exe
$ du -sh installer.exe 588K installer.exe
$ wine --version wine-1.7.12-141-gaa22a3c
Regards
https://bugs.winehq.org/show_bug.cgi?id=35197
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #4 from Sebastian Lackner sebastian@fds-team.de --- Patch from comment #2 should be fine in my opinion. Cleaned up version added to Wine Staging: https://github.com/wine-compholio/wine-staging/blob/master/patches/urlmon-Co...
https://bugs.winehq.org/show_bug.cgi?id=35197
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/urlmon-CoInter | |netSetFeatureEnabled
https://bugs.winehq.org/show_bug.cgi?id=35197
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=35197
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |49bdb815bf60a7ac40160da6083 | |6be69d9c4beaa Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- Staged patch commited as http://source.winehq.org/git/wine.git/?a=commit;h=49bdb815bf60a7ac40160da608...
https://bugs.winehq.org/show_bug.cgi?id=35197
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.53.