Serif Craft Artist 2 Professional - Unhandled page fault on write access

Questions about Wine on Linux
Locked
khinch
Newbie
Newbie
Posts: 4
Joined: Sun Oct 27, 2019 9:41 am

Serif Craft Artist 2 Professional - Unhandled page fault on write access

Post by khinch »

Hi All,

I'm trying to get Serif Craft Artist 2 Professional working for my Mum. Here are the specs of my test system:
  • Linux version: Ubuntu 18.04
    wine --version: wine-3.0 (Ubuntu 3.0-1ubuntu1)
    winetricks --version: 20180217
    Specs: AMD A10-7890K, ATI Radeon HD7770, 2x4GiB DDR3 2133, 1TiB 7200RPM HDD encrypted with LUKS
I installed the default Ubuntu 18.04 wine and winetricks packages with apt. I also installed mfc42 with "winetricks mfc42". Next I ran the installer with "wine start ESDPK-FP02-CraftArtist2-Pro-GB.exe"

Here's the console log:

Code: Select all

kieren@menelaus:~/Downloads$ wine start ESDPK-FP02-CraftArtist2-Pro-GB.exe 
kieren@menelaus:~/Downloads$ 0039:err:mscoree:LoadLibraryShim error reading registry key for installroot
0039:err:mscoree:LoadLibraryShim error reading registry key for installroot
0039:err:mscoree:LoadLibraryShim error reading registry key for installroot
0039:err:mscoree:LoadLibraryShim error reading registry key for installroot
wine: Unhandled page fault on write access to 0x01040024 at address 0x7bc4dc0e (thread 0076), starting debugger...
0039:err:msi:execute_script Execution of script 1 halted; action L"[\"C:\\Program Files (x86)\\Serif\\CraftArtist\\2.0\\Program\\subinacl.exe\" /noverbose /keyreg HKEY_LOCAL_MACHINE\\SOFTWARE\\Serif\\Common\\Registration /GRANT=S-1-1-0=F<=>S-1-5-21-0-0-0-1000<=>{D0BE8477-6206-4588-8148-971EDAB6BBAD}]QtExecDefCommon" returned 1603
0039:err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1603
0039:err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603
And here's the install log from the crash report window:

Code: Select all

Unhandled exception: page fault on write access to 0x01040024 in 32-bit code (0x7bc4dc0e).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:7bc4dc0e ESP:0033cc0c EBP:0033cc24 EFLAGS:00010202(  R- --  I   - - - )
 EAX:00350014 EBX:00351838 ECX:00000020 EDX:00351818
 ESI:01040020 EDI:01040020
Stack dump:
0x0033cc0c:  00351828 00000002 00351838 00000040
0x0033cc1c:  003517f0 00000020 0033cc38 7bc4dd01
0x0033cc2c:  7bcdbcb4 00350000 003517f0 0033cc88
0x0033cc3c:  7bc4ef50 0033cde0 7faf173e 00000002
0x0033cc4c:  00000000 00000020 00350000 00000002
0x0033cc5c:  0000001c 0033cca4 00000000 00350014
Backtrace:
=>0 0x7bc4dc0e (0x0033cc24)
  1 0x7bc4dd01 (0x0033cc38)
  2 0x7bc4ef50 (0x0033cc88)
  3 0x7faac7b0 (0x0033ccb8)
  4 0x7faad1e7 (0x0033ccd8)
0x7bc4dc0e: movl	%edi,0x4(%esi)
Modules:
Module	Address			Debug info	Name (24 modules)
PE	 1000000- 1055000	Deferred        subinacl
PE	5f800000-5f8f2000	Export          mfc42u
PE	7b410000-7b5b6000	Deferred        kernel32
PE	7bc10000-7bc14000	Deferred        ntdll
PE	7eb40000-7eb44000	Deferred        winex11
PE	7ebd0000-7ebd4000	Deferred        imm32
PE	7ef90000-7ef98000	Deferred        shlwapi
PE	7f000000-7f162000	Deferred        shell32
PE	7f250000-7f253000	Deferred        samlib
PE	7f270000-7f274000	Deferred        rpcrt4
PE	7f300000-7f328000	Deferred        ole32
PE	7f450000-7f453000	Deferred        clusapi
PE	7f470000-7f47a000	Deferred        winspool
PE	7f4b0000-7f4ba000	Deferred        mpr
PE	7f4e0000-7f4e4000	Deferred        ws2_32
PE	7f520000-7f524000	Deferred        iphlpapi
PE	7f550000-7f553000	Deferred        netapi32
PE	7f5b0000-7f5b3000	Deferred        msvcp60
PE	7f6b0000-7f6b3000	Deferred        msvcirt
PE	7f6f0000-7f7b6000	Deferred        user32
PE	7f8d0000-7f8d4000	Deferred        advapi32
PE	7f950000-7f957000	Deferred        gdi32
PE	7fa80000-7fa84000	Deferred        msvcrt
PE	7ffd0000-7ffd4000	Deferred        version
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000058    0
	00000053    0
	00000022    0
	0000001d    0
	00000013    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	0000001c    0
	00000017    0
	00000016    0
	00000012    0
0000001a plugplay.exe
	0000001f    0
	0000001e    0
	0000001b    0
00000020 winedevice.exe
	00000029    0
	00000024    0
	00000023    0
	00000021    0
00000027 explorer.exe
	0000002c    0
	0000002b    0
	0000002a    0
	00000028    0
0000002d ESDPK-FP02-CraftArtist2-Pro-GB.exe
	0000002e    0
00000036 autorun.exe
	00000037    0
00000038 msiexec.exe
	00000074    0
	00000039    0
00000051 svchost.exe
	00000060    0
	00000055    0
	00000054    0
	00000052    0
00000056 rpcss.exe
	0000005c    0
	0000005b    0
	0000005a    0
	00000059    0
	00000057    0
00000065 winemenubuilder.exe
	00000066    0
00000067 winemenubuilder.exe
	00000068    0
00000069 winemenubuilder.exe
	0000006a    0
0000006b winemenubuilder.exe
	0000006c    0
00000075 (D) C:\Program Files (x86)\Serif\CraftArtist\2.0\Program\subinacl.exe
	00000076    0 <==
System information:
    Wine build: wine-3.0 (Ubuntu 3.0-1ubuntu1)
    Platform: i386 (WOW64)
    Version: Windows 7
    Host system: Linux
    Host version: 4.15.0-66-generic
This looks like some kind of permissions issue to me, but I've searched the net and found no obvious clues.

Any help is very much appreciated. My Mum's currently using an aging Win7 box, and support for Win7 ends in December I think. She is open to the idea of moving to Linux (probably ElementaryOS I think), and this is the only package she uses that she couldn't be without. If I can get this working for her then we can save ourselves a Win10 license.

Thanks.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Serif Craft Artist 2 Professional - Unhandled page fault on write access

Post by jkfloris »

I also installed mfc42 with "winetricks mfc42"
I got the application running with:
- wine 4.18
- winetricks 20190912
and a newer version of mfc42

Code: Select all

winetricks vcrun6sp6
khinch
Newbie
Newbie
Posts: 4
Joined: Sun Oct 27, 2019 9:41 am

Re: Serif Craft Artist 2 Professional - Unhandled page fault on write access

Post by khinch »

Thanks, that got it working!

I added the winehq repository to get wine 4.0.2 (seems to be the most recent stable for Ubuntu 18.04), although this didn't upgrade winetricks any which remains on 20180217. Neither of these changed the outcome.

After running "winetricks vcrun6sp6" it installed and ran fine!
khinch
Newbie
Newbie
Posts: 4
Joined: Sun Oct 27, 2019 9:41 am

Re: Serif Craft Artist 2 Professional - Unhandled page fault on write access

Post by khinch »

Actually, I think I may have spoken too soon. It runs fine the first time, but then after exiting it leaves some wine processes hanging around and fails to start unless they're killed.

Code: Select all

ps -ef | grep wine
kieren   27489  3519  7 21:04 ?        00:00:03 /opt/wine-stable/bin/wineserver
kieren   27498  3519  0 21:04 ?        00:00:00 C:\windows\system32\winedevice.exe
kieren   27511  3519  0 21:04 ?        00:00:00 C:\windows\system32\winedevice.exe
And if I try to start the application again without killing these processes...

Code: Select all

008c:fixme:exec:SHELL_execute flags ignored: 0x00000100
008c:fixme:exec:SHELL_execute flags ignored: 0x00004100
008e:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
008e:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x23e190, 0x23e1a0 0x23e110
008e:fixme:nls:get_dummy_preferred_ui_language (0x34 0x23e190 0x23e1a0 0x23e110) returning a dummy value (current locale)
008e:fixme:msvcrt:type_info_name_internal_method type_info_node parameter ignored
008e:fixme:shcore:SetCurrentProcessExplicitAppUserModelID L"": stub
008e:fixme:msg:ChangeWindowMessageFilter 323 00000001
008e:fixme:msg:ChangeWindowMessageFilter 326 00000001
008e:fixme:process:RegisterApplicationRestart (L"",0)
008e:fixme:msvcrt:__clean_type_info_names_internal (0x2c1f9d10) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x2d72caf0) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x22c65380) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x21e67a90) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0xa59d98) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0xb08828) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x32205eb8) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x968d00) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x2ea6feb0) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x2ed65b18) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x27236820) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x3029dc28) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x31aa0628) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x2630a270) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x242480c8) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x25b68d80) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x237566f8) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x2e512308) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x22151118) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x21431438) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x7ac218) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x206b3da8) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x7a16a490) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x2e50a0) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x2b5588) stub
008e:fixme:msvcrt:__clean_type_info_names_internal (0x1800055a0) stub
If I kill the processes with wineserver -k and then restart the app then it starts up fine again, but unless I can get that to run when the program exits it's no use because this machine's for my mum who won't know to run that command.

Any suggestions here please?
khinch
Newbie
Newbie
Posts: 4
Joined: Sun Oct 27, 2019 9:41 am

Re: Serif Craft Artist 2 Professional - Unhandled page fault on write access

Post by khinch »

I have temporarily worked around this by making a quick bash script and updating the .desktop file (below). This seems to work fine provided there are no other wine applications running so I'll go with it for the meantime.

/usr/bin/serif.sh

Code: Select all

#!/bin/bash
export WINEPREFIX="/home/christine/.wine"
wineserver -k
wine '/home/christine/.wine/drive_c/Program Files/Serif/CraftArtist/2.0/Program/CraftArtist.exe' &
/home/christine/.local/share/applications/Craft Artist Wine.desktop

Code: Select all

[Desktop Entry]
Name=CraftArtist 2 (Wine)
Exec=/usr/bin/serif.sh
Type=Application
Terminal=false
StartupNotify=true
Comment=Launch CraftArtist 2
Icon=AC25_CraftArtist.0
Categories=Graphics
StartupWMClass=craftartist.exe
Locked