http://bugs.winehq.org/show_bug.cgi?id=22551
Summary: unsupported TIFF with an alpha channel. Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: windowscodecs AssignedTo: wine-bugs@winehq.org ReportedBy: jibanes@gmail.com
Folks,
I am trying to run Phase One's Capture One under wine 1.1.43 on x86-64, but TIFF with an alpha channel is currently unsupported in the windowscodecs component; as shown below:
$ wine CaptureOne.exe fixme:wincodecs:tiff_get_decode_info unhandled RGB sample count 4
Thank you, Jerome
http://bugs.winehq.org/show_bug.cgi?id=22551
jibanes@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jibanes@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=22551
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64 Version|unspecified |1.1.43
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2010-05-02 02:30:14 --- Is there an available free download of the application for testing? Does this fixme result in a visible failure in the application, and if there is any additional output, could you attach it as per http://wiki.winehq.org/FAQ#get_log to the bug report?
http://bugs.winehq.org/show_bug.cgi?id=22551
--- Comment #2 from jibanes@gmail.com 2010-05-02 02:38:49 --- Andrew,
Is there an available free download of the application for testing?
Yes, http://xchange.phaseone.com/Content/Downloads/CO5.aspx
Does this fixme result in a visible failure in the application
It prevents it from starting.
if there is any additional output
There isn't any additional output.
Thank you, Jerome
http://bugs.winehq.org/show_bug.cgi?id=22551
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download Status|UNCONFIRMED |NEW URL| |http://xchange.phaseone.com | |/Content/Downloads/CO5.aspx Component|windowscodecs |-unknown Summary|unsupported TIFF with an |Capture One aborts with |alpha channel. |"unknown error" with Mono | |2.6, requires .NET | |Framework 3.5 Ever Confirmed|0 |1
--- Comment #3 from Andrew Nguyen arethusa26@gmail.com 2010-05-02 04:06:52 --- I'm not convinced that this is a windowscodecs problem. When I did winetricks vcrun2008 mono26 and then installed the application, I saw the fixme you mention, but placing native windowscodecs does not change the outcome, which was a dialog box stating:
"An unknown error occurred. The application was unable to gather information about the error."
When I started again with a fresh prefix and installed dotnet20 instead of mono26, I get a barrage of output, with a key managed exception:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Exception from HRESULT: 0x80070002 File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' at System.ModuleHandle.ResolveMethod(Int32 methodToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount) ...
So, it seems that the application demands the .NET Framework 3.5, which Mono 2.6 hardly supports, and which unfortunately doesn't currently install in Wine.
http://bugs.winehq.org/show_bug.cgi?id=22551
--- Comment #4 from jibanes@gmail.com 2010-05-02 10:25:13 --- I've noticed that older versions of Capture One are available on Phase One's site for evaluation (notably 4.8.3 and 3.7.1). I'll try them (5.0.2 "fails" in the same way as 5.1.1 does).
Jerome
http://bugs.winehq.org/show_bug.cgi?id=22551
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mscoree
http://bugs.winehq.org/show_bug.cgi?id=22551
--- Comment #5 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-08-23 04:14:07 --- Created an attachment (id=30324) --> (http://bugs.winehq.org/attachment.cgi?id=30324) reg file faking .net 2.0 SP1 install
you can install at least some of the .net 3.5 needed stuff by doing on a clean .wine:
*'winetricks dotnet35'
After successful .net 2.0 and 3.0 install the 3.5 will crash. Then do:
*cd ~/.wine/drive_c/wcu/dotNetFramework/dotNetFX35/x86/
*cabextract netfx35_x86.exe
*Save the attached file as sp1.reg, and do
*regedit sp1.reg
*msiexec /i vs_setup.msi ADDEPLOY=1
This will install at least the missing System.Core. The app starts now for me, running into a gdiplus error already covered by other bugreport (winetricks gdiplus helps) and then another non-fatal error message box. No clue where that comes from. The GUI at least seems to work fine, but i don't know how to use the program.
http://bugs.winehq.org/show_bug.cgi?id=22551
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #6 from Dan Kegel dank@kegel.com 2010-12-09 14:06:26 CST --- FWIW, I think I implemented this recipe in 'winetricks dotnet35' a while ago.
http://bugs.winehq.org/show_bug.cgi?id=22551
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://xchange.phaseone.com |http://www.phaseone.com/en/ |/Content/Downloads/CO5.aspx |downloads/softwarearchive/c | |aptureonearchivewin.aspx CC| |focht@gmx.net Component|mscoree |richedit Summary|Capture One aborts with |Capture One 5.x fails on |"unknown error" with Mono |startup due to riched20.dll |2.6, requires .NET |module load address too |Framework 3.5 |high (.NET | |Framework/Windows Forms | |wants riched20.dll loaded | |into lower 2GiB address | |space range)
--- Comment #7 from Anastasius Focht focht@gmx.net 2012-02-19 12:41:16 CST --- Hello,
Capture One v5.x demands .NET 3.5 Capture One v6.x demands .NET 4.0
Prerequisite: .NET Framework 3.5 in clean WINEPREFIX.
After installation the app dies on startup, putting up exception dialog:
--- snip --- <?xml version="1.0" encoding="utf-8"?> <crashreport version="1.1" time="2012-02-19 17:34:36Z"> <exception type="System.ComponentModel.Win32Exception"> <message>Cannot load the "RichEd20.DLL" DLL into memory.</message> <stacktrace> at System.Windows.Forms.RichTextBox.get_CreateParams() at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext) at System.Windows.Forms.TextBoxBase..ctor() at System.Windows.Forms.RichTextBox..ctor() at P1.C1.License.LicenseDialog.InitializeComponent() at P1.C1.License.LicenseDialog..ctor(g9 licenseManager) at g9.h() at g9.l() at P1.C1.Program.InitializeLicensing() at P1.C1.Program.Main()</stacktrace> </exception> <application version="5.2.41190.41120" variant="Capture One" uptime="00:00:03.5855580" /> <user> <name /> <email /> <description /> </user> <system> --- snip ---
Relevant part of trace log:
--- snip --- 003a:Call KERNEL32.LoadLibraryW(011fc59c L"RichEd20.DLL") ret=033d15a2 003a:Call PE DLL (proc=0xf63c2ed0,module=0xf6380000 L"riched20.dll",reason=PROCESS_ATTACH,res=(nil)) 003a:trace:richedit:DllMain ... 003a:Ret PE DLL (proc=0xf63c2ed0,module=0xf6380000 L"riched20.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 003a:Ret KERNEL32.LoadLibraryW() retval=f6380000 ret=033d15a2 ... 003a:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b83924f ip=7b83924f tid=003a 003a:trace:seh:raise_exception info[0]=80004005 003a:trace:seh:raise_exception eax=7b826289 ebx=7b8a96a8 ecx=80004005 edx=0032e874 esi=0032e950 edi=0032e8d0 003a:trace:seh:raise_exception ebp=0032e8b8 esp=0032e854 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000287 003a:trace:seh:call_stack_handlers calling handler at 0x79f908a2 code=e0434f4d flags=1 003a:trace:seh:call_stack_handlers handler at 0x79f908a2 returned 1 003a:trace:seh:call_stack_handlers calling handler at 0x79fb4869 code=e0434f4d flags=1 ... --- snip ---
Not much to see ... Debugging reveals that although the module load succeeds, the managed code is not happy about the load address -> 0xf6380000
There is a comparison of module load address against lower 2 GiB range?
Searching MSDN didn't reveal much. Maybe some kind of backwards compatibility check for Win9X systems?
I assigned "riched20.dll" a dedicated load address in lower 2 GiB address space and it helps. Wine already does this for some core dlls. The error goes away and a license dialog is shown.
After selecting "trial" the main gui shows half up when the app runs into next bug ;-)
$ sha1sum CaptureOne5.2.exe ba7692ea8cb96071277fc3b0d77473385fc4143c CaptureOne5.2.exe
$ wine --version wine-1.4-rc4
Regards
http://bugs.winehq.org/show_bug.cgi?id=22551
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Capture One 5.x fails on |Multiple .NET apps fail to |startup due to riched20.dll |load riched20.dll into |module load address too |memory (.NET |high (.NET |Framework/Windows Forms |Framework/Windows Forms |wants riched20.dll loaded |wants riched20.dll loaded |into lower 2GiB address |into lower 2GiB address |space range) |space range) |
--- Comment #8 from Anastasius Focht focht@gmx.net 2012-07-02 14:09:11 CDT --- Hello,
this also affects "SongSmith 1.0.2" installer (at least on my system).
Managed exception dump:
--- snip --- Exception object: 00ffe1dc Exception type: System.ComponentModel.Win32Exception Message: Cannot load the "RichEd20.DLL" DLL into memory. InnerException: <none> StackTrace (generated): <none> StackTraceString: <none> HResult: 80004005 --- snip ---
CLR stack:
--- snip --- OS Thread Id: 0x3b (1) ESP EIP 006ee0bc 7b83953f [HelperMethodFrame: 006ee0bc] 006ee160 037d9838 System.Windows.Forms.RichTextBox.get_CreateParams() 006ee1ac 03421bde System.Windows.Forms.Control..ctor(Boolean) 006ee220 0342aa49 System.Windows.Forms.TextBoxBase..ctor() 006ee234 036476ac System.Windows.Forms.RichTextBox..ctor() 006ee23c 04035b96 SSCustomInstaller.SSReq.InitializeComponent() 006ee2a0 04035b51 SSCustomInstaller.SSReq..ctor() 006ee2a8 04035500 SSCustomInstaller.SSInstaller.SSInstaller_BeforeInstall(System.Object, System.Configuration.Install.InstallEventArgs) 006ee2c8 649e44f8 System.Configuration.Install.Installer.OnBeforeInstall(System.Collections.IDictionary) 006ee2d4 649e3d60 System.Configuration.Install.Installer.Install(System.Collections.IDictionary) 006ee31c 04034c2a SSCustomInstaller.SSInstaller.Install(System.Collections.IDictionary) 006ee350 649e3fc6 System.Configuration.Install.Installer.Install(System.Collections.IDictionary) 006ee398 649e5d38 System.Configuration.Install.AssemblyInstaller.Install(System.Collections.IDictionary) 006ee3d0 649e7f6e System.Configuration.Install.ManagedInstallerClass.InstallHelper(System.String[]) 006ee494 649e7734 System.Configuration.Install.ManagedInstallerClass.System.Configuration.Install.IManagedInstaller.ManagedInstall(System.String, Int32) --- snip ---
Add explicit load address < 2 GiB address range using EXTRADLLFLAGS to:
http://source.winehq.org/git/wine.git/blob/81b8ee863e1d22e7e169c98e660ad5a6e...
Make sure to not overlap existing explicit image base from core dlls. Rebuild. This fixes the affected apps.
Another download: http://research.microsoft.com/en-us/um/redmond/projects/songsmith/download.h... ("SongSmith 1.0.2")
$ wine --version wine-1.5.7-309-gb4da889
Regards
http://bugs.winehq.org/show_bug.cgi?id=22551
--- Comment #9 from Austin English austinenglish@gmail.com 2013-02-14 21:56:16 CST --- Created attachment 43570 --> http://bugs.winehq.org/attachment.cgi?id=43570 patch
Here you go.
http://bugs.winehq.org/show_bug.cgi?id=22551
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=22551
--- Comment #10 from Anastasius Focht focht@gmx.net 2013-02-16 05:25:22 CST --- Hello Austin,
--- quote --- Created attachment 43570 [details] patch
Here you go. --- quote ---
Thanks but I have that patch in my development branch since I reported the bug ;-) Please send your patch to wine-patches for possible merge in wine's master branch. Thanks.
Regards
http://bugs.winehq.org/show_bug.cgi?id=22551
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d50baaa1df6dd56b4e84b828785 | |b54cae558d3d0 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #11 from Austin English austinenglish@gmail.com 2013-02-19 13:38:53 CST --- (In reply to comment #10)
Hello Austin,
--- quote --- Created attachment 43570 [details] patch
Here you go. --- quote ---
Thanks but I have that patch in my development branch since I reported the bug ;-) Please send your patch to wine-patches for possible merge in wine's master branch. Thanks.
Regards
http://source.winehq.org/git/wine.git/commitdiff/d50baaa1df6dd56b4e84b828785...
http://bugs.winehq.org/show_bug.cgi?id=22551
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2013-03-01 14:50:52 CST --- Closing bugs fixed in 1.5.25.
http://bugs.winehq.org/show_bug.cgi?id=22551
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2013-03-01 15:10:22 CST --- Really closing bugs fixed in 1.5.25.