http://bugs.winehq.org/show_bug.cgi?id=10437
Summary: Altium Designer crash Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-gui AssignedTo: wine-bugs@winehq.org ReportedBy: j.zolotarjov@gmail.com
I'll describe all my movements - step by step. 1. I installed latest (at the moment) wine-0.9.49 from sources on Fedora8. 2. I installed my application of interest - Altium Designer 6.7 3. Tried to run it wihtout luck. 4. Found in appDB some hints and installed using winetricks dcom98, fakeie6, mdac28, corefonts, tahoma, cc580. All installations went well. 5. I tried to run Altium Designer again and it started, but crashed when trying to open any file. 6. AppDB tells, that it was tested with wine-0.9.35. I decided to try it. 7. Uninstalled wine-0.9.49 and installed wine-0.9.35 from sources. 8. I did not change drive_c as it was installed previously with 0.9.49. Now tried to run Altium Designer. And oh wonder! I can use it wihout any visible problems. 9. I decided to find out - which version of wine caused the problem. I tried one by one all versions from 0.9.35 to 0.9.43. Works just fine, except some minor problems, which I can live with. The version, which causes problem is 0.9.44. All subsequent versions also have this problem.
Now to the description of behavior. 1. Starting the application like that wine "c:\Program Files\Altium Designer 6\DXP.exe" 2. I see splash screen and log of different components loading on it. 3. Application windows is opening and I can select to open or create new file. 4. On whatever type of file, this operation causes applcation to freese for 20 seconds, then I see in the wine log endless list of err:region:CombineRgn Invalid rgn=(nil) err:region:CombineRgn Invalid rgn=(nil) err:region:CombineRgn Invalid rgn=(nil) err:region:CombineRgn Invalid rgn=(nil) err:region:CombineRgn Invalid rgn=(nil) err:region:CombineRgn Invalid rgn=(nil) err:region:CombineRgn Invalid rgn=(nil) err:region:CombineRgn Invalid rgn=(nil)
This continues for 3-4 minutes. After that I see in the wine log following:
And this all ends with at this point. 5. I tried to look at the sources, but as I am very new to wine, I could only get to the source of this endless CombineRgn errors. It comes from /dlls/gdi32/region.c file. Particularly function CombineRgn makes it. I could not find a function, which calls this function. This behavior is with all versions of wine from 0.9.44 to 0.9.49. So at this point, I ask community to help solve this bug in wine.
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #1 from Jevgeni j.zolotarjov@gmail.com 2007-11-13 08:47:03 --- Created an attachment (id=9136) --> (http://bugs.winehq.org/attachment.cgi?id=9136) crash_log
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #2 from Austin English austinenglish@gmail.com 2007-11-13 11:01:44 --- Please run a regression test:
http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=10437
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Keywords| |regression OS/Version|other |Linux Version|unspecified |0.9.49.
http://bugs.winehq.org/show_bug.cgi?id=10437
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #9136|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #3 from Jevgeni j.zolotarjov@gmail.com 2007-11-26 07:32:49 --- Created an attachment (id=9351) --> (http://bugs.winehq.org/attachment.cgi?id=9351) patch for making Altium Designer 6.7 work under wine-0.9.49
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #4 from Jevgeni j.zolotarjov@gmail.com 2007-11-26 07:39:17 --- I've run a regression test and found the patch, which causes my problem. This is patch from Lei Zhang: riched20: Properly calculate control display height. last attached patch just reverts back patch from L Zhang.
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #5 from Austin English austinenglish@gmail.com 2007-11-26 11:47:06 --- Commit id: 0d4707c284808df6d87eeb5908df29693889eccc http://source.winehq.org/git/wine.git/?a=commit;h=0d4707c284808df6d87eeb5908...
In the future, please include the commit id, as that's the most important part.
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #6 from Lei Zhang thestig@google.com 2007-11-26 13:28:41 --- (In reply to comment #0)
Now to the description of behavior.
- Starting the application like that wine "c:\Program Files\Altium Designer
6\DXP.exe" 2. I see splash screen and log of different components loading on it. 3. Application windows is opening and I can select to open or create new file. 4. On whatever type of file, this operation causes applcation to freese for 20 seconds, then I see in the wine log endless list of err:region:CombineRgn Invalid rgn=(nil)
Can you elaborate on what exactly you did in step 4?
Hmm, I'm not sure why a change to when spinners get displayed would be causing this crash. FYI, my patch fixed bug 5504.
Also, it looks like you might be running Wine as root. Please don't do that.
http://bugs.winehq.org/show_bug.cgi?id=10437
Jevgeni j.zolotarjov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|problem_with_GDI |problem_w_riched20 URL| |http://www.abelectron.com/je | |vgeni/wineAltiumCrash.bz2 Severity|normal |blocker Component|wine-gui |wine-richedit
--- Comment #7 from Jevgeni j.zolotarjov@gmail.com 2007-11-30 06:29:39 --- I tried also all my steps under non-root account. Everything is the same. Here is crash log with WINEDEBUG=+relay. Be careful, it is 1.5 GB uncompressed.
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #8 from Jevgeni j.zolotarjov@gmail.com 2007-11-30 06:30:52 --- http://www.abelectron.com/jevgeni/wineAltiumCrash.bz2
http://bugs.winehq.org/show_bug.cgi?id=10437
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|problem_w_riched20 | Severity|blocker |normal
--- Comment #9 from Vitaliy Margolen vitaliy@kievinfo.com 2007-11-30 08:01:23 --- Don't change severity. Or at least read what each one means
Also please attach all logs to the bug, don't post external links, especially nonworking ones.
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #10 from Jevgeni j.zolotarjov@gmail.com 2007-11-30 08:06:47 --- sorry, if I broke some rules and sorry for non-working link. It works now.
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #11 from Jevgeni j.zolotarjov@gmail.com 2007-12-04 06:36:39 --- Created an attachment (id=9483) --> (http://bugs.winehq.org/attachment.cgi?id=9483) normal_log
I applied my patch (which reverts L. Zhang patch) to wine 0.9.50. And it work fine. Here is part of log for normal flow of application
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #12 from Jevgeni j.zolotarjov@gmail.com 2007-12-04 06:39:31 --- Created an attachment (id=9484) --> (http://bugs.winehq.org/attachment.cgi?id=9484) crash_log
And this is the part of log without any patches. The major difference starts at line 160180. Obviously this is where richedit control starts painting itself. I hope, this helps you to find the problem and solve it. If you need something else from me, just tell me.
http://bugs.winehq.org/show_bug.cgi?id=10437
Timo-Heikki Mäkelä imaxfun@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thestig@google.com
--- Comment #13 from Timo-Heikki Mäkelä imaxfun@gmail.com 2008-03-06 16:27:48 --- Adding Lei Chang to CC as the author of the breaking patch
http://bugs.winehq.org/show_bug.cgi?id=10437
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|thestig@google.com | Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #14 from Lei Zhang thestig@google.com 2008-03-06 16:33:10 --- I'm well aware of the problem, just haven't gotten around to it.
http://bugs.winehq.org/show_bug.cgi?id=10437
Hewus hewus.owns@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hewus.owns@gmail.com
--- Comment #15 from Hewus hewus.owns@gmail.com 2008-03-18 10:44:12 --- I'm having this same issue with wine-0.9.57. Won't run until I've installed winetricks. Used a fresh wineprefix to isolate issues. When I try and create a new project or open a file, it hangs for a bit then crashes with the same output as has been posted here. I appreciate any work being done to resolve this issue :-)
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #16 from Lei Zhang thestig@google.com 2008-05-04 23:57:19 --- Can you try again with Wine 0.9.61? I noticed bug 5504 is back, which means this might be working again?
As a temporary workaround, you can use a native riched20.dll.
http://bugs.winehq.org/show_bug.cgi?id=10437
--- Comment #17 from Jevgeni j.zolotarjov@gmail.com 2008-06-16 09:19:03 --- No. :( I've tried all clean install with wine-0.9.61 and also with wine-rc5. Still absolutely same result. With native riched20.dll works just fine.
http://bugs.winehq.org/show_bug.cgi?id=10437
Jevgeni j.zolotarjov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #18 from Jevgeni j.zolotarjov@gmail.com 2008-07-28 06:55:33 --- This bug is fixed with latest release of wine - 1.1.2. Thank you everybody for nice work!
http://bugs.winehq.org/show_bug.cgi?id=10437
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org 2008-08-22 10:45:44 --- Closing bugs fixed in 1.1.3.