http://bugs.winehq.org/show_bug.cgi?id=15545
Summary: .net app works in 32-bit wine, crashes in 64-bit wine Product: Wine Version: 1.1.5 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: rggjan@gmail.com
Created an attachment (id=16525) --> (http://bugs.winehq.org/attachment.cgi?id=16525) What I get when trying to start the Program...
When I start the application Photomatix 3, which depends on .net, it works fine on a normal Ubuntu 32-bit installation with the winehq - repository.
When starting the same application in a 64-bit Ubuntu, again using the winehq repository, the application crashes when I'm trying to start it. The log is attached.
Tell me if you need more informations...
http://bugs.winehq.org/show_bug.cgi?id=15545
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.hdrsoft.com/downl | |oad/win.html Component|-unknown |gdiplus Keywords| |download Summary|.net app works in 32-bit |Photomatix Pro works in 32- |wine, crashes in 64-bit wine|bit wine, crashes in 64-bit | |wine
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #1 from Lei Zhang thestig@google.com 2008-10-07 20:01:56 --- The app doesn't start for me on 32-bit Ubuntu. Did you have to do anything special when you installed it?
It looks like a gdiplus bug, can you compile your own copy of Wine on 64-bit Ubuntu, run the app with it - to get a crash log with debugging symbols.
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #2 from Jan Rüegg rggjan@gmail.com 2008-10-08 07:31:28 --- (In reply to comment #1)
The app doesn't start for me on 32-bit Ubuntu. Did you have to do anything special when you installed it?
It looks like a gdiplus bug, can you compile your own copy of Wine on 64-bit Ubuntu, run the app with it - to get a crash log with debugging symbols.
Thanks for the fast answer! To your questions:
Yes, I had to install dotnet first with winetricks (something like wget http://kegel.com/wine/winetricks && sh winetricks dotnet11 corefonts, but I'm not sure if I had to use dotnet20 instead, because dotnet11 did not work) After that, I installed and used Photomatix as usual...
I'll try recompiling wine to get debugging symbols, as soon as I've got the time. Maybe this weekend...
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #3 from Jan Rüegg rggjan@gmail.com 2008-10-10 11:33:50 --- OK, I tried (and succeeded) compiling wine (using apt-get --build source wine), but how exactly do I get debugging symbols?
Because running the program with my newly compiled wine yielded the exact same results as the one before...
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #4 from Jan Rüegg rggjan@gmail.com 2008-10-11 06:20:12 --- Two more hints: - Running wine in a 32-bit chroot makes Photomatix work to - To get it to work initially, one has to install dotnet20 (NOT dotnet11) with winetricks
Hope this helps..
http://bugs.winehq.org/show_bug.cgi?id=15545
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #5 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-10-13 06:33:00 --- maybe this is the same problem as reported here http://www.winehq.org/pipermail/wine-bugs/2008-October/137771.html
Quote: Running it causes a crash on my system before any GUI is put up: Unhandled Exception: System.TypeInitializationException: The type initializer for 'WindowsLive.Writer.Localization.Res' threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Drawing.SafeNativeMethods.Gdip.GdipCreateFontFamilyFromName(String name, HandleRef fontCollection, IntPtr& FontFamily) +relay shows that the crash happens shortly after it processes Z:\USR\SHARE\FONTS\TRUETYPE\ARPHIC\UKAI.TTF Ah, our old friend ukai.ttf. I thought winetricks dotnet20 had a workaround for that. (Maybe I only notice now because I'm on a relatively old Gutsy system.) sudo chmod 000 /usr/share/fonts/truetype/arphic works around it more effectively.
end Quote
Maybe you could try if the work-around above helps
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #6 from Jan Rüegg rggjan@gmail.com 2008-10-13 10:46:46 ---
... sudo chmod 000 /usr/share/fonts/truetype/arphic works around it more effectively.
end Quote
Maybe you could try if the work-around above helps
Thanks for the tip, but unfortunately the "chmod 000 /usr/share/fonts/truetype/arphic" did not help...
http://bugs.winehq.org/show_bug.cgi?id=15545
Jan Rüegg rggjan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.5 |1.1.8
http://bugs.winehq.org/show_bug.cgi?id=15545
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.8 |1.1.5
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2008-11-16 10:38:41 --- Please don't change original reported Wine version.
http://bugs.winehq.org/show_bug.cgi?id=15545
Tobias Vogel tobias.vogel@bluewin.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tobias.vogel@bluewin.ch
http://bugs.winehq.org/show_bug.cgi?id=15545
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|gdiplus |-unknown Summary|Photomatix Pro works in 32- |Photomatix Pro works in 32- |bit wine, crashes in 64-bit |bit but crashes in 64-bit |wine |Ubuntu
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2008-12-10 02:25:38 --- There is no such a thing as "64-bit Wine".
Remove Ukai/arphic font files completely, and try again.
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #9 from Jan Rüegg rggjan@gmail.com 2008-12-10 09:55:15 --- (In reply to comment #8)
There is no such a thing as "64-bit Wine".
Remove Ukai/arphic font files completely, and try again.
Still no success after removing /usr/share/fonts/truetype/arphic
But I discovered, that in this folder (arphic) there is a file "uming.ttc" and not, as written below, "ukai.ttf". Does this make any difference?
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2008-12-10 22:21:07 --- And? Have you tried to remove it?
In any case the very first thing you had to do is set gdiplus.dll to built-in instead of native. That's a bug in native gdiplus.dll.
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #11 from Jan Rüegg rggjan@gmail.com 2008-12-14 01:47:27 --- (In reply to comment #10)
And? Have you tried to remove it?
In any case the very first thing you had to do is set gdiplus.dll to built-in instead of native. That's a bug in native gdiplus.dll.
Yes, I removed it, as I said, with no success.
Then I tried using then built-in gdiplus, with some success: I was now able to start the program. But first of all, the interface does not look like it should (buttons are missing etc, see the attached screenshots).
And then, I can browse through the menus and things, but as soon as I try to open an image, the application crashes again, with other messages (see the attached output)
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #12 from Jan Rüegg rggjan@gmail.com 2008-12-14 01:48:34 --- Created an attachment (id=17908) --> (http://bugs.winehq.org/attachment.cgi?id=17908) Starting the program on 64-bit with builtin gdiplus
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #13 from Jan Rüegg rggjan@gmail.com 2008-12-14 01:49:01 --- Created an attachment (id=17909) --> (http://bugs.winehq.org/attachment.cgi?id=17909) Starting the program in 32-bit chroot with native gdiplus
http://bugs.winehq.org/show_bug.cgi?id=15545
--- Comment #14 from Jan Rüegg rggjan@gmail.com 2008-12-14 01:49:25 --- Created an attachment (id=17910) --> (http://bugs.winehq.org/attachment.cgi?id=17910) native gdiplus on 64-bit, new crashlog
http://bugs.winehq.org/show_bug.cgi?id=15545
Jan Rüegg rggjan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #15 from Jan Rüegg rggjan@gmail.com 2009-02-20 07:31:36 --- This seems to work now as of wine 1.5! Marking it as "FIXED"...
http://bugs.winehq.org/show_bug.cgi?id=15545
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2009-02-27 16:31:13 --- Closing bugs fixed in 1.1.16.