http://bugs.winehq.org/show_bug.cgi?id=29862
Bug #: 29862 Summary: BitComet v1.3x fails to start Product: Wine Version: 1.4-rc2 Platform: x86 URL: http://download.bitcomet.com/bitcomet/bitcomet_x86_set up.exe OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com Classification: Unclassified
Created attachment 38801 --> http://bugs.winehq.org/attachment.cgi?id=38801 terminal output
The latest versions of the application (v1.30, v1.31) are showing an error reporting dialog on startup. The dialog offers to send the error report to the developers or to restart BitComet (which results the same error message). Thus the application cannot be started. Previous versions of BitComet don't have this bug.
http://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #1 from GyB gyebro69@gmail.com 2012-02-11 12:52:44 CST --- Created attachment 38802 --> http://bugs.winehq.org/attachment.cgi?id=38802 terminal output (ie7 installed)
After 'winetricks ie7' I get the same error reporting dialog as before, but terminal output now ends with
wine: Call from 0x7b839992 to unimplemented function inetcomm.dll.MimeOleObjectFromMoniker, aborting
http://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #2 from GyB gyebro69@gmail.com 2012-02-11 14:58:31 CST --- Created attachment 38810 --> http://bugs.winehq.org/attachment.cgi?id=38810 winedbg --gdb backtrace
Not sure if this helps at all, but I get this backtrace when starting the application with winedbg --gdb. A segmentation fault occurs just before the error reporting dialog appears.
#0 0x7de834f9 in MSSTYLES_CloseThemeClass (tc=0xffffffff) at msstyles.c:1040 #1 0x7de867bf in CloseThemeData (hTheme=0xffffffff) at system.c:754
http://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #3 from Austin English austinenglish@gmail.com 2012-02-13 12:25:42 CST --- (In reply to comment #1)
Created attachment 38802 [details] terminal output (ie7 installed)
After 'winetricks ie7' I get the same error reporting dialog as before, but terminal output now ends with
wine: Call from 0x7b839992 to unimplemented function inetcomm.dll.MimeOleObjectFromMoniker, aborting
Try setting inetcomm to builtin in winecfg.
http://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #4 from GyB gyebro69@gmail.com 2012-02-13 12:43:43 CST --- (In reply to comment #3)
Try setting inetcomm to builtin in winecfg.
'winetricks ie7' doesn't install native inetcomm.dll so this override does nothing here.
http://bugs.winehq.org/show_bug.cgi?id=29862
cseba00 cseba00@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cseba00@yahoo.com
http://bugs.winehq.org/show_bug.cgi?id=29862
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |23057
http://bugs.winehq.org/show_bug.cgi?id=29862
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #5 from hanska2@luukku.com --- http://source.winehq.org/git/wine.git/blob/a20db48dae249fd76577f5147fa2f2bb6...
MimeOleObjectFromMoniker
Still stub.
1.7.22
http://bugs.winehq.org/show_bug.cgi?id=29862
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht@gmx.net Resolution|--- |FIXED
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
works fine here in clean WINEPREFIX with minor gui issues (toolbar icons background black). Resolving 'fixed'.
@hanska2
That has nothing to do with the bug.
OP polluted the WINEPREFIX with native recipes which causes call references to internal unimplemented API from native IE libs -> invalid.
$ sha1sum BitComet_1.37_x86_setup.exe 1bf87d0e194901cd0dbaa7f633dc83dc42c5dc3d BitComet_1.37_x86_setup.exe
$ du -sh BitComet_1.37_x86_setup.exe 8.4M BitComet_1.37_x86_setup.exe
$ wine --version wine-1.7.22-70-g509bdae
Regards
http://bugs.winehq.org/show_bug.cgi?id=29862
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |UPSTREAM Summary|BitComet v1.3x fails to |BitComet version<1.37 fails |start |to start
--- Comment #7 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Anastasius Focht from comment #6)
Hello folks,
works fine here in clean WINEPREFIX with minor gui issues (toolbar icons background black). Resolving 'fixed'.
Nothing has been fixed in Wine regarding to this bug, it's the latest version of Bitcomet that is free from the problem. Previous versions still have the bug.
Changing status to 'Upstream'.
http://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Béla Gyebrószki from comment #7)
Nothing has been fixed in Wine regarding to this bug, it's the latest version of Bitcomet that is free from the problem. Previous versions still have the bug.
Changing status to 'Upstream'.
'Upstream' is for libraries that wine depends on. In this case it should be 'abandoned' if the problem is no longer reproducible with new program versions and the old is no longer available. But since the old versions are still available for download IMO it should be left as NEW.
http://bugs.winehq.org/show_bug.cgi?id=29862
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED URL|http://download.bitcomet.co |http://download.bitcomet.co |m/bitcomet/bitcomet_x86_set |m/achive/BitComet_1.36_x86_ |up.exe |setup.exe Resolution|UPSTREAM |---
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- Changing status to 'NEW' and download link is now pointing to the 1.36 version.
https://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- Still in 1.7.34.
https://bugs.winehq.org/show_bug.cgi?id=29862
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #11 from super_man@post.com --- still fails 1.7.49
https://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #12 from super_man@post.com --- (In reply to super_man from comment #11)
still fails 1.7.49
Still fails 1.9.2 and wine-staging 1.9.2
https://bugs.winehq.org/show_bug.cgi?id=29862
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #13 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Created attachment 53506 --> https://bugs.winehq.org/attachment.cgi?id=53506 patch + test for CloseThemeData with invalid handle
Looks like troubles start here: 0009:Call uxtheme.CloseThemeData(ffffffff) ret=0077cb90 0009:trace:uxtheme:CloseThemeData (0xffffffff) 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7db997e9 ip=7db997e9 tid=0009
The attached patch also contains test that shows that wine should return E_HANDLE in case of calling CloseThemeData with INVALID_HANDLE_VALUE. I don't know why the program would call this function with an invalid handle, maybe it comes from another wine-bug? The following site seems to have some info on calling CloseThemeData with invalid handle, but unfortunately it's in Japanese :( : http://d.hatena.ne.jp/murank/20120617/1339938051
With the patch the crash is gone, and the app starts. Some buttons have a black background, but they also appear in v 1.37 according to previous comment. (btw i tested bitcomet v1.31).
https://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #14 from Nikolay Sivov bunglehead@gmail.com --- I think I tested something similar before, and the conclusion was that handles are actually validated, e.g. any invalid value is acceptable and gives appropriate error. Might be worth retesting again, but I don't have time for that currently.
https://bugs.winehq.org/show_bug.cgi?id=29862
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |STAGED CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/uxtheme-CloseT | |hemeData
https://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #15 from Sebastian Lackner sebastian@fds-team.de --- This should be fixed with http://source.winehq.org/git/wine.git/commit/997e2046df8368ab23f87bfa7fa3cb2..., please retest.
https://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #16 from super_man@post.com --- (In reply to Sebastian Lackner from comment #15)
This should be fixed with http://source.winehq.org/git/wine.git/commit/ 997e2046df8368ab23f87bfa7fa3cb2372a4e000, please retest.
Yes it's fixed. Works with wine-git and if you revert that commit it fails again.
https://bugs.winehq.org/show_bug.cgi?id=29862
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |997e2046df8368ab23f87bfa7fa | |3cb2372a4e000 Status|STAGED |RESOLVED Component|-unknown |uxtheme Resolution|--- |FIXED
--- Comment #17 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to super_man from comment #16)
(In reply to Sebastian Lackner from comment #15)
This should be fixed with http://source.winehq.org/git/wine.git/commit/ 997e2046df8368ab23f87bfa7fa3cb2372a4e000, please retest.
Yes it's fixed. Works with wine-git and if you revert that commit it fails again.
Fixed, thanks for testing.
https://bugs.winehq.org/show_bug.cgi?id=29862
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.4.