Help Determine Crash Issue

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
reefland
Level 1
Level 1
Posts: 5
Joined: Thu Jan 15, 2015 10:33 pm

Help Determine Crash Issue

Post by reefland »

I'm working on Quicken 2015 Home & Business application which has no known working installation in AppDB. I've been working this for a while and have gotten passed the installation & automated patch download, and even the patching appears to complete.

Upon startup, it loads, showing the Intuit 2015 logo, goes full screen, shows some background colors, a few flashes and then it all goes away and I'm left with the debug messages below. I can't quite figure out what's wrong now.

This is a work in progress, but this is what I'm using so far:

WINE 1.7.34 - Using Windows 7 for Version (Installer rejects Windows XP).

winetricks msxml3
winetricks corefonts
winetricks vcrun2010
winetricks gdiplus

Just did a new 32-bit prefix before posting this.

WINE Debug Output:
http://pastebin.com/ZaTjxsZ6
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Help Determine Crash Issue

Post by dimesio »

There's no crash in that log. There is a .NET 4.0 error; try winetricks dotnet40.
reefland
Level 1
Level 1
Posts: 5
Joined: Thu Jan 15, 2015 10:33 pm

Re: Help Determine Crash Issue

Post by reefland »

dimesio wrote:There's no crash in that log. There is a .NET 4.0 error; try winetricks dotnet40.
My Bad - I should have included that I already do a "winetricks dotnet45". That should have been included in my initial post. Problem with that is at the end it resets the windows version to Server 2003 - which I have to correct and put back to Windows 7. I can try 4.0 instead of 4.5.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Help Determine Crash Issue

Post by dimesio »

The error message specified .NET 4.0, so yes, try that version. You will need to start with a fresh wineprefix--.NET is very touchy about unclean wineprefixes.
reefland
Level 1
Level 1
Posts: 5
Joined: Thu Jan 15, 2015 10:33 pm

Re: Help Determine Crash Issue

Post by reefland »

Created new prefix, using:

Windows 7
winetricks msxml3
winetricks corefonts
winetricks dotnet40

Quicken installer immediately has messages related to .NET40 such as:

Code: Select all

err:module:import_dll Library mscoree.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe" failed, status c0000135
err:service:service_send_start_message service L"clr_optimization_v4.0.30319_32" failed to start
fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v4.0.30319_32" failed to start: 1053
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:thread:GetThreadPreferredUILanguages 52, 0x32f4b8, 0x32f528 0x32f4c0
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:module:import_dll Library mscoree.dll (which is needed by L"Z:\\home\\rich\\Downloads\\Quicken_Home_Business_2015\\DISK1\\Prerequisites\\Netfx40TestApplication.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\rich\\Downloads\\Quicken_Home_Business_2015\\DISK1\\Prerequisites\\Netfx40TestApplication.exe" failed, status c0000135
.

The installer brings up a dialog box detecting an issue with .NET40 and says its trying to fix issue (this is not shown when using .NET45).

The installer exists out saying its unable to fix .NET40 installation as its internal testing app fails.

Code: Select all

fixme:msi:ACTION_CustomAction msidbCustomActionTypeTSAware not handled
fixme:msi:ACTION_CustomAction msidbCustomActionTypeTSAware not handled
fixme:msi:ACTION_CustomAction msidbCustomActionTypeTSAware not handled
fixme:msi:ACTION_CustomAction msidbCustomActionTypeTSAware not handled
fixme:msi:ACTION_CustomAction msidbCustomActionTypeTSAware not handled
fixme:msi:ACTION_CustomAction msidbCustomActionTypeTSAware not handled
fixme:loadperf:LoadPerfCounterTextStringsW (L"C:\\windows\\system32\\lodctr.exe C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\_DataOracleClientPerfCounters_shared12_neutral.ini", 0): stub
fixme:rpc:handle_bind_error unexpected status value 1765
err:service:service_send_command service protocol error - failed to read pipe r = 0  count = 0!
fixme:advapi:LsaOpenPolicy ((null),0x33f264,0x00000001,0x33f250) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:advapi:LsaOpenPolicy ((null),0x33f264,0x00000001,0x33f250) stub
fixme:advapi:LsaClose (0xcafe) stub
err:module:import_dll Library mscoree.dll (which is needed by L"Z:\\home\\rich\\Downloads\\Quicken_Home_Business_2015\\DISK1\\Prerequisites\\Netfx40TestApplication.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\rich\\Downloads\\Quicken_Home_Business_2015\\DISK1\\Prerequisites\\Netfx40TestApplication.exe" failed, status c0000135
Full output if you need it: http://pastebin.com/CHQg8UAM

At this point the only Libraries with overrides are:
*mscoree (native)
*msxml3 (native)

I also noticed, just running "winecfg" on this prefix shows this:

Code: Select all

err:module:import_dll Library mscoree.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe" failed, status c0000135
err:service:service_send_start_message service L"clr_optimization_v4.0.30319_32" failed to start
fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v4.0.30319_32" failed to start: 1053

Suggestions?

Using the "winetricks dotnet45" instead allows for full installation, downloads patches, applies the patches, etc. and ends up with my original post when you try to run the installed product. I'm not sure which .NET I should be focused on.
reefland
Level 1
Level 1
Posts: 5
Joined: Thu Jan 15, 2015 10:33 pm

Re: Help Determine Crash Issue

Post by reefland »

I did a lot more testing, the only way I could get "dotnet40" to work is if I:
1) Installed "dotnet35" prior to "dotnet40" which added some supporting "mscor*.dll" files. However, "mscoree.dll" was still not found in "system32". I tried this because the "winetricks" script for "dotnet45" appears to install "dotnet35" and "dotnet40" prior to installing "dotnet45". Made sense to try it and it did help.

2) The mscore.dll is still missing at this point. I Download mscore.dll file from: http://www.dll-files.com/dllindex/dll-f ... ml?mscoree and put that into System32.

Details:

Created New 32-bit Prefix, Apply .NET35 before .NET40:

winetricks win7
winetricks msxml3
winetricks corefonts
winetricks dotnet35
winetricks win7
winetricks dotnet40
winetricks win7

Downloaded mscoree.dll from http://www.dll-files.com/dllindex/dll-f ... ml?mscoree

[codeunzip ~/Downloads/mscoree.zip mscoree.dll -d ~/.winequicken2015/drive_c/windows/system32[/code]

Confirmed the files are present, I know the version is not a perfect match, but I haven't located a perfect match.

Code: Select all

ls -l ~/.winequicken2015/drive_c/windows/system32/mscor*
-rw-r--r-- 1 rich users 297808 Feb  4  2014 /home/rich/.winequicken2015/drive_c/windows/system32/mscoree.dll
-rw-r--r-- 1 rich users 158720 Oct 24  2007 /home/rich/.winequicken2015/drive_c/windows/system32/mscorier.dll
-rw-r--r-- 1 rich users  84480 Oct 24  2007 /home/rich/.winequicken2015/drive_c/windows/system32/mscories.dll
The Quicken 2015 Installer completed installation and upgrading without issue.
Full WINE Installation Message Set: http://pastebin.com/JHGJmkYR

Ran Quicken 2015 - Visually, appears to be the same original problem. Get the logo, goes full screen, see title bar, fills in background colors, screen flashes a bit and it exits out.

Full WINE Installation Message Set: http://pastebin.com/68f90f0E

Questions:

Is this anything to be concerned with:

Code: Select all

err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Quicken\\QWUTIL.tlb" failed with error 2
I'm not using gdiplus or d3d, any indication from the screen messages these would be helpful?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Help Determine Crash Issue

Post by dimesio »

Leave the Windows version set to XP to install winetricks dotnet40, and install that before anything else. You shouldn't need to install dotnet35 at all if you're using winetricks, as winetricks should take care of all prerequisites. Change the Windows version to 7 before running the Quicken installer.

I see a lot of dwrite fixmes; you could try disabling dwrite.dll.

There are a lot of open bugs related to .NET 4.x, so it may not be possible to get this to work in current Wine. There's already a bug filed for Quicken 2015. https://bugs.winehq.org/show_bug.cgi?id=37666
reefland
Level 1
Level 1
Posts: 5
Joined: Thu Jan 15, 2015 10:33 pm

Re: Help Determine Crash Issue

Post by reefland »

dimesio wrote:Leave the Windows version set to XP to install winetricks dotnet40, and install that before anything else. You shouldn't need to install dotnet35 at all if you're using winetricks, as winetricks should take care of all prerequisites. Change the Windows version to 7 before running the Quicken installer.
Very helpful, thank you. That simplified the steps, but unfortunately the same results. I reduced it down to this:

winetricks winxp
winetricks dotnet40
winetricks msxml3
winetricks corefonts
winetricks win7
dimesio wrote:I see a lot of dwrite fixmes; you could try disabling dwrite.dll.
Tried to disable "dwrite.dll" via winecfg - Quicken dies immediately, doesn't try to open:

Code: Select all

Unhandled Exception: System.TypeInitializationException: The type initializer for '<Module>' threw an exception. ---> <CrtImplementationDetails>.ModuleLoadException: The C++ module failed to load during appdomain initialization.
 ---> System.DllNotFoundException: dwrite.dll or wpftxt_v0400.dll ---> System.ComponentModel.Win32Exception: Module not found
dimesio wrote:There are a lot of open bugs related to .NET 4.x, so it may not be possible to get this to work in current Wine.
Understood. I'll keep trying with new releases. Quicken 2012 works great under wine. Hate to have to go back to having a Windows installation for 2015 version (In April 2015 Intuit will cripple the 2012 version and stop it from downloading transactions, etc.)
dimesio wrote:There's already a bug filed for Quicken 2015. https://bugs.winehq.org/show_bug.cgi?id=37666
Actually that is my bug report which was specific to an embedded PDF print driver that the Quicken MSI file will try to install. I've been working out the steps to alter the MSI file to skip right over the step for the PDF print driver - and it appears to be successful.
Locked