http://bugs.winehq.org/show_bug.cgi?id=13462
Summary: Launchpad Enhanced crashes due to problem with Context_QueryInterface Product: Wine Version: CVS/GIT Platform: PC URL: http://launchpad.thewildclan.com/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole AssignedTo: wine-bugs@winehq.org ReportedBy: ehoover@mines.edu
Created an attachment (id=13379) --> (http://bugs.winehq.org/attachment.cgi?id=13379) Hack for keeping things from crashing
Context_QueryInterface fails on the UUID {000001da-0000-0000-c000-000000000046}, resulting in .NET immediately crashing even though nothing is seriously wrong. This UUID appears to be related to the error handling in .NET, with the attached hack the application spawns an error dialog that can be dismissed. How I <believe> this is supposed to work is that Context_QueryInterface should work for any IUnknown compatible interface (anything defined with DEFINE_OLEGUID). In order to do this I think the function should test that the UUID fits the mask {XXXXXXXX-XXXX-XXXX-c000-000000000046} instead of testing for specific IDs.
Steps to Reproduce: 1) Start with a fresh "~/.wine" if you want to be "safe", I've found that .NET can have issues with an old install 2) Install vcrun2005 using winetricks 3) Install .NET 2.0 (dotnet20) using winetricks (and 'corefonts' if you don't have them from your distro) 4) Install Launchpad Enhanced 5) Install or copy StarWars Galaxies into the Program Files folder 5) Run Launchpad Enhanced
Note: This MIGHT be a duplicate of Bug #11504.
http://bugs.winehq.org/show_bug.cgi?id=13462
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=13462
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikolaj.zalewski@gmail.com
--- Comment #1 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2008-06-30 11:49:02 --- The app is querying for IContextCallback. We should implement this interface.
The attached patch returns an IComThreadingInfo what, with a lot of luck, may work for some applications but, of course, is incorrect.
http://bugs.winehq.org/show_bug.cgi?id=13462
Rob Shearman robertshearman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ole |ole32
http://bugs.winehq.org/show_bug.cgi?id=13462
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nodisgod@yahoo.com
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2008-08-30 11:17:27 --- *** Bug 15067 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-09-01 16:05:46 --- Created an attachment (id=15775) --> (http://bugs.winehq.org/attachment.cgi?id=15775) minimalistic patch
Here's a rather minimalistic patch that lest XMlNotepad start fine, and i guess launchpad too. I just stubbed out the whole interface so it's really minimalistic but enough to make the apps happy. I don't have the time atm to improve /fix up this, so if anyone would like to improve this, feel free to pick it up.
http://bugs.winehq.org/show_bug.cgi?id=13462
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ToddAndMargo@verizon.net
--- Comment #4 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-09-08 16:12:34 --- *** Bug 15085 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #5 from Erich Hoover ehoover@mines.edu 2008-09-08 16:19:52 --- (In reply to comment #3)
I just stubbed out the whole interface so it's really minimalistic but enough to make the apps happy. I don't have the time atm to improve /fix up this, so if anyone would like to improve this, feel free to pick it up.
I don't have time to look at this problem at the moment, but it looks to me like IContext and IContextCallback are completely separate interfaces (though by GUID IContextCallback appears to be a child of IContext). Personally, I'm not very familiar with this portion of the Windows API though - you may try pinging wine-devel.
http://bugs.winehq.org/show_bug.cgi?id=13462
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |samuel@fermin.name
--- Comment #6 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-09-12 08:31:57 --- *** Bug 11672 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=13462
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #7 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-09-12 08:35:54 --- Could someone please pick this up, and try get this fixed (my patch didn't make it into git).
This affects _many_ .net applications , and i'm pretty sure lots of them are going to run just fine once this is fixed. This bug shouldn't be to hard to solve.
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #8 from Todd Chester ToddAndMargo@verizon.net 2008-09-13 21:33:12 --- Hi All,
I am the original poster from Bug 15085, where I could not get CD Burner XP to run under wine. (http://www.cdburnerxp.se/en/download). CD Burner XP uses Dot Net 2.x.
I was recommended to download a patch at http://bugs.winehq.org/attachment.cgi?id=15775.
Everyone else could get it to work but me (I am using the tar ball).
wine-1.1.4]$ patch -p1 < ../Bug15775Patch.txt wine-1.1.4]$ tools/wineinstall
No symptom change.
I second Louis' request.
Many thanks, -T
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #9 from Erich Hoover ehoover@mines.edu 2008-09-13 21:49:13 --- (In reply to comment #7)
Could someone please pick this up, and try get this fixed (my patch didn't make it into git).
This affects _many_ .net applications , and i'm pretty sure lots of them are going to run just fine once this is fixed. This bug shouldn't be to hard to solve.
Is it the patch you attached to this bug? I do not have any free time ATM or I'd try to help, I have some thoughts on what might need to be done. Have you started a discussion on wine-devel (if you have then I have not noticed it)? I believe that what this interface needs to do is allow you to call a function from the Vtable of ANY interface, so if it's the same patch you submitted here then they probably rejected it since it's in with the routines for the IContext interface.
(In reply to comment #8)
wine-1.1.4]$ patch -p1 < ../Bug15775Patch.txt wine-1.1.4]$ tools/wineinstall
Have you compiled your original wine yourself or used it from your distro? These days you don't need to run "wineinstall", you should just need to do the standard "./configure && make && sudo make install". Either way, if you installed a version of wine included in your distro then you likely have TWO wine installs now, one in /usr/bin/ and one in /usr/local/bin. If this is the case then you need to uninstall the one provided by your distro so that you're using the one you compiled yourself.
http://bugs.winehq.org/show_bug.cgi?id=13462
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #10 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-09-14 03:01:45 ---
I do not have any free time ATM or I'd try to help, I have some thoughts on what might need to be done. Have you started a discussion on wine-devel (if you have then I have not noticed it)?
I'll send a message to wine-devel, maybe one of the guys there knows how to properly fix this
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #11 from Todd Chester ToddAndMargo@verizon.net 2008-09-15 19:06:41 ---
wine-1.1.4]$ patch -p1 < ../Bug15775Patch.txt wine-1.1.4]$ tools/wineinstall
(In reply to comment #9) Have you compiled your original wine yourself or used it from your distro? These days you don't need to run "wineinstall", you should just need to do the standard "./configure && make && sudo make install". Either way, if you installed a version of wine included in your distro then you likely have TWO wine installs now, one in /usr/bin/ and one in /usr/local/bin.
You were correct. I had two version going at once. Now I only have one. Unfortunately, no symptom change. :-(
-T
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #12 from scguy318 nodisgod@yahoo.com 2008-09-16 01:18:59 --- *** Bug 13972 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #13 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-09-18 02:04:18 --- Erich, i asked on wine-devel, and Rob gave some directions for a possible fix:
http://www.winehq.org/pipermail/wine-devel/2008-September/069135.html
http://bugs.winehq.org/show_bug.cgi?id=13462
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nils.krabshuis@redwood.com
--- Comment #14 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-09-29 13:27:28 --- *** Bug 13507 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #15 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-10-01 13:35:49 --- Created an attachment (id=16397) --> (http://bugs.winehq.org/attachment.cgi?id=16397) patch
i got feedback from Rob from the wine-devel (thanks very much for that), and this patch must be the right way to fix it. I'll review it again tomorrow, and then send in, together with the test. I'll attach it here in case anyone wants to try the patch
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #16 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-10-01 13:37:58 --- Created an attachment (id=16398) --> (http://bugs.winehq.org/attachment.cgi?id=16398) test
and basic (still needs some cleanup, i'll do that tomorrow as well)
http://bugs.winehq.org/show_bug.cgi?id=13462
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #17 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-10-02 15:21:00 --- Created an attachment (id=16430) --> (http://bugs.winehq.org/attachment.cgi?id=16430) updated test
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #18 from Todd Chester ToddAndMargo@verizon.net 2008-10-10 21:32:30 --- CD Burner XP Pro: No symptom change under Wine 1.1.6
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #19 from Erich Hoover ehoover@mines.edu 2008-10-14 09:45:10 --- (In reply to comment #18)
CD Burner XP Pro: No symptom change under Wine 1.1.6
Launchpad Enhanced no-longer crashes under Wine 1.1.6. Is CD Burner XP Pro something that can be downloaded (free/trial/demo)?
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #20 from Todd Chester ToddAndMargo@verizon.net 2008-10-14 11:20:44 --- (In reply to comment #19)
Launchpad Enhanced no-longer crashes under Wine 1.1.6. Is CD Burner XP Pro something that can be downloaded (free/trial/demo)?
Yes. Free. And it is open source as well:
http://www.cdburnerxp.se/en/download
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #21 from Austin English austinenglish@gmail.com 2008-10-14 12:11:51 --- (In reply to comment #20)
(In reply to comment #19)
Launchpad Enhanced no-longer crashes under Wine 1.1.6. Is CD Burner XP Pro something that can be downloaded (free/trial/demo)?
Yes. Free. And it is open source as well:
http://www.cdburnerxp.se/en/download
Not quite: http://cdburnerxp.se/help/kb:4
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #22 from Todd Chester ToddAndMargo@verizon.net 2008-10-14 12:24:31 --- Opps. It is not OSS.
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #23 from Erich Hoover ehoover@mines.edu 2008-10-15 10:47:44 --- (In reply to comment #20)
(In reply to comment #19)
Launchpad Enhanced no-longer crashes under Wine 1.1.6. Is CD Burner XP Pro something that can be downloaded (free/trial/demo)?
Yes. Free. And it is open source as well:
http://www.cdburnerxp.se/en/download
So, it appears to me that it's failing on a font routine and the application is not trapping the exception - could you attach the output you're seeing?
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #24 from Todd Chester ToddAndMargo@verizon.net 2008-10-15 14:02:14 --- (In reply to comment #23)
So, it appears to me that it's failing on a font routine and the application is not trapping the exception - could you attach the output you're seeing?
I have tried to take a screen shot with GIMP, but it won't let me capture it. But, since you are reproducing the same thing I am seeing, I am wondering if that is sufficient?
What happens is that the dialog windows that pop up will freeze and within 30 seconds or so, the whole application dies (disappears).
If you still need a screen shot, I will try and force something.
-T
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #25 from Erich Hoover ehoover@mines.edu 2008-10-15 14:31:10 --- (In reply to comment #24)
...
I have tried to take a screen shot with GIMP, but it won't let me capture it. But, since you are reproducing the same thing I am seeing, I am wondering if that is sufficient?
What happens is that the dialog windows that pop up will freeze and within 30 seconds or so, the whole application dies (disappears).
If you still need a screen shot, I will try and force something.
-T
That's actually not what I'm seeing, I see the language selection dialog pop up and then everything dies immediately afterward. What I really mean is to take the command line output and send it as an attached text file. You can do this by opening a terminal, going to the directory with the program (likely "~/.wine/drive_c/Program Files/CDBurnerXP"), and running the command: wine cdbxpp.exe 2> ~/Desktop/cdbxpp.txt
Doing this should create a file on your desktop called "cdbxpp.txt" that includes information about why the problem occurred. This file can then be attached to the bug.
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #26 from Todd Chester ToddAndMargo@verizon.net 2008-10-15 14:37:18 --- (In reply to comment #25)
That's actually not what I'm seeing, I see the language selection dialog pop up and then everything dies immediately afterward.
You reproduces it.
What I really mean is to take the command line output and send it as an attached text file. You can do this by opening a terminal, going to the directory with the program (likely "~/.wine/drive_c/Program Files/CDBurnerXP"), and running the command: wine cdbxpp.exe 2> ~/Desktop/cdbxpp.txt
See the original bug that was tagged as a duplicate of this one:
http://bugs.winehq.org/show_bug.cgi?id=15085#c3
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #27 from Erich Hoover ehoover@mines.edu 2008-10-15 14:49:35 --- (In reply to comment #26)
(In reply to comment #25)
That's actually not what I'm seeing, I see the language selection dialog pop up and then everything dies immediately afterward.
You reproduces it.
What I really mean is to take the command line output and send it as an attached text file. You can do this by opening a terminal, going to the directory with the program (likely "~/.wine/drive_c/Program Files/CDBurnerXP"), and running the command: wine cdbxpp.exe 2> ~/Desktop/cdbxpp.txt
See the original bug that was tagged as a duplicate of this one:
Ok, then is that the same output you get now? I'm getting an unhandled .NET exception leading to a Wine exception at a completely different address (if you're getting a .NET exception then it would print out a lot of spew prior to the Wine exception). It's possible that you're running into a different bug now, but it's also possible that the fix included in 1.1.6 is "not good enough" for the application you're using.
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #28 from Todd Chester ToddAndMargo@verizon.net 2008-10-15 15:03:35 --- Created an attachment (id=16660) --> (http://bugs.winehq.org/attachment.cgi?id=16660) wine cdbxpp.exe 2> cdbxpp.txt
A fresh trace
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #29 from Todd Chester ToddAndMargo@verizon.net 2008-10-24 16:23:36 --- No symptom change under cdbxp_setup_4.2.2.984.exe and Wine 1.1.7.
A good way to test this is to start the program, select data cd, then select "Help, About". "About" will pop up, and that is the end of things. Nothing will work and CD Burner will eventual disappear from the screen.
-T
http://bugs.winehq.org/show_bug.cgi?id=13462
Mike Ellery mellery@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mellery@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=13462
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cngnome@gmail.com
--- Comment #30 from Jeff Zaroyko jeffz@jeffz.name 2008-12-16 05:14:31 --- *** Bug 11504 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=13462
--- Comment #31 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-12-16 16:54:37 --- Created an attachment (id=17993) --> (http://bugs.winehq.org/attachment.cgi?id=17993) patch + the headers
Here's the complete patch (+header included now) that fixes this bug. Adjusted as per Rob's comments from a few months ago. I'm won't resubmit ( as i didn't even get comment on header file i sent in) , if anyone wants to pick this up, please go ahead.
As stated already by A.F., this bug is major, and affects > 50% of .net 2.0 applications ( a rough guess...)
http://bugs.winehq.org/show_bug.cgi?id=13462
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #17993|0 |1 is patch| |
http://bugs.winehq.org/show_bug.cgi?id=13462
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #15775|0 |1 is patch| |
http://bugs.winehq.org/show_bug.cgi?id=13462
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16397|0 |1 is patch| |
http://bugs.winehq.org/show_bug.cgi?id=13462
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16430|0 |1 is patch| |
http://bugs.winehq.org/show_bug.cgi?id=13462
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arethusa26@gmail.com
--- Comment #32 from Andrew Nguyen arethusa26@gmail.com 2008-12-17 14:50:41 --- *** Bug 16507 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=13462
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |skyphyr@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=13462
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet
--- Comment #33 from Austin English austinenglish@gmail.com 2009-01-11 13:30:38 --- Andrey sent some patches: http://www.winehq.org/pipermail/wine-patches/2009-January/067509.html http://www.winehq.org/pipermail/wine-patches/2009-January/067510.html http://www.winehq.org/pipermail/wine-patches/2009-January/067511.html
http://bugs.winehq.org/show_bug.cgi?id=13462
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Target Milestone|--- |1.2.0
--- Comment #34 from Dan Kegel dank@kegel.com 2009-01-13 17:56:37 --- He resent: http://www.winehq.org/pipermail/wine-patches/2009-January/067665.html
Affects many apps, has patch -> nominating for 1.2
http://bugs.winehq.org/show_bug.cgi?id=13462
Andrey Turkin andrey.turkin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.turkin@gmail.com
--- Comment #35 from Andrey Turkin andrey.turkin@gmail.com 2009-01-15 09:03:40 --- The patches are in git now.
http://bugs.winehq.org/show_bug.cgi?id=13462
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #36 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-01-15 10:17:53 --- Yes, this bug is fixed, tested with NASA World Wind and current git.
Thanks Andrey for picking this up. This fix gets lots of .net 2.0 app further.
http://bugs.winehq.org/show_bug.cgi?id=13462
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #37 from Alexandre Julliard julliard@winehq.org 2009-01-16 10:38:22 --- Closing bugs fixed in 1.1.13.
http://bugs.winehq.org/show_bug.cgi?id=13462
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=13462
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |37d27c38ceffc8aa67eb7ac561f | |f83373bf7c194 CC| |focht@gmx.net Version|unspecified |1.0-rc2