[PC Draft][Ubuntu 20.04][wine-stable] Installs correctly but page fault on write access when starting the application.

Questions about Wine on Linux
Locked
baconpackets
Newbie
Newbie
Posts: 3
Joined: Sun Feb 07, 2021 12:56 pm

[PC Draft][Ubuntu 20.04][wine-stable] Installs correctly but page fault on write access when starting the application.

Post by baconpackets »

Hiya,

I'm trying to make work a pretty old XP program called PC Draft. As far as I can see, it installs correctly but I cannot start it. A page fault is all I get.

PC Draft is not part of the AppDB so there isn't a whole lot I was able to find.

OS version

Code: Select all

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal
Wine version
sudo dpkg -l | grep wine
ii wine-stable 6.0.0~bionic-1 amd64 WINE Is Not An Emulator - runs MS Windows programs
ii wine-stable-amd64 6.0.0~bionic-1 amd64 WINE Is Not An Emulator - runs MS Windows programs
ii wine-stable-i386:i386 6.0.0~bionic-1 i386 WINE Is Not An Emulator - runs MS Windows programs
ii winehq-stable 6.0.0~bionic-1 amd64 WINE Is Not An Emulator - runs MS Windows programs
[/code]

Code: Select all

Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x7b645ca6).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b645ca6 ESP:0031fd98 EBP:0031fdd0 EFLAGS:00010202(  R- --  I   - - - )
 EAX:7b645cb7 EBX:ffffffff ECX:7b600000 EDX:0003c0b4
 ESI:00000000 EDI:6ce08f43
Stack dump:
0x0031fd98:  004b9ca4 008ced90 008efd28 008efd28
0x0031fda8:  ffffffff 00162030 7b600000 66434b6c
0x0031fdb8:  0031fe08 7b645cd3 7b645c9b 00000008
0x0031fdc8:  7b645cb7 7b039f79 0031ff30 004b8fda
0x0031fdd8:  00000000 00000014 00110000 00000008
0x0031fde8:  00000004 7ffc2000 00000000 0031fe48
Backtrace:
=>0 0x7b645ca6 EntryPoint+0x13936() in kernel32 (0x0031fdd0)
  1 0x004b8fda EntryPoint+0xffffffff() in pc draft (0x0031ff30)
  2 0x7b62d830 EntryPoint+0xffffffff() in kernel32 (0x0031ff48)
  3 0x7bc584d7 EntryPoint+0xffffffff() in ntdll (0x0031ff5c)
  4 0x7bc58730 EntryPoint+0xffffffff() in ntdll (0x0031ffec)
0x7b645ca6 EntryPoint+0x13936 in kernel32: xorl	%esi,0x0(%esi)
Modules:
Module	Address			Debug info	Name (29 modules)
PE	  400000-  9aa000	Export          pc draft
PE	  9b0000-  bc7000	Deferred        comdlg32
PE	  bd0000-  f99000	Deferred        comctl32
PE	  fa0000- 137f000	Deferred        ole32
PE	5f400000-5f4f2000	Deferred        mfc42
PE	61740000-61805000	Deferred        advapi32
PE	62fc0000-63193000	Deferred        rpcrt4
PE	63480000-63499000	Deferred        version
PE	63bc0000-63bf9000	Deferred        shcore
PE	64a40000-64b3e000	Deferred        shlwapi
PE	64ec0000-65225000	Deferred        oleaut32
PE	68500000-6861e000	Deferred        combase
PE	68700000-6877b000	Deferred        uxtheme
PE	6a280000-6a44c000	Deferred        msvcrt
PE	6bc00000-6bc8a000	Deferred        sechost
PE	6bcc0000-6be48000	Deferred        setupapi
PE	6c9c0000-6ce5c000	Deferred        gdi32
PE	6ed00000-6f2cc000	Deferred        user32
PE	70b40000-70d63000	Deferred        ucrtbase
PE	71200000-7123b000	Deferred        imm32
PE	780a0000-780b2000	Deferred        msvcirt
PE	780c0000-78121000	Deferred        msvcp60
PE	7b000000-7b295000	Deferred        kernelbase
PE	7b600000-7b8f8000	Dwarf           kernel32
PE	7bc00000-7be63000	Dwarf           ntdll
PE	7da80000-7da84000	Deferred        winex11
PE	7df10000-7e7e7000	Deferred        shell32
PE	7e920000-7e92b000	Deferred        winspool
PE	7e9d0000-7e9d4000	Deferred        ws2_32
Threads:
process  tid      prio (all id:s are in hex)
00000020 (D) C:\Program Files (x86)\Microspot\PC Draft\PC Draft.exe
	00000024    0 <==
	00000100    0
00000038 services.exe
	0000003c    0
	00000040    0
	0000004c    0
	00000070    0
	00000088    0
	000000b0    0
	000000d8    0
00000044 winedevice.exe
	00000048    0
	00000054    0
	00000058    0
	0000005c    0
00000060 plugplay.exe
	00000064    0
	00000074    0
	00000078    0
	0000007c    0
	00000098    0
00000068 explorer.exe
	0000006c    0
	000000bc    0
	000000c8    0
00000080 winedevice.exe
	00000084    0
	0000008c    0
	00000090    0
	00000094    0
	000000a0    0
	000000a4    0
000000a8 svchost.exe
	000000ac    0
	000000b4    0
	000000b8    0
000000c0 conhost.exe
	000000c4    0
000000d0 rpcss.exe
	000000d4    0
	000000e0    0
	000000e4    0
	000000e8    0
	000000ec    0
	000000f0    0
System information:
    Wine build: wine-6.0
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 5.4.0-65-generic
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: [PC Draft][Ubuntu 20.04][wine-stable] Installs correctly but page fault on write access when starting the applicatio

Post by jkfloris »

Code: Select all

...
Codename:	focal
...
wine-stable 6.0.0~bionic-1 amd64 WINE Is Not An Emulator - runs MS Windows programs
...
It looks like you have installed Wine from the wrong repository.
- Remove all four Wine packages
- Replace in /etc/apt/sources.list

Code: Select all

deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
with

Code: Select all

deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
- Install Wine again
baconpackets
Newbie
Newbie
Posts: 3
Joined: Sun Feb 07, 2021 12:56 pm

Re: [PC Draft][Ubuntu 20.04][wine-stable] Installs correctly but page fault on write access when starting the applicatio

Post by baconpackets »

Ooop!

Just upgraded to Focal for the release.

Code: Select all

sudo dpkg -l | grep wine 
ii  wine-stable                                                 6.0.0~focal-1                          amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-amd64                                           6.0.0~focal-1                          amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-i386:i386                                       6.0.0~focal-1                          i386         WINE Is Not An Emulator - runs MS Windows programs
ii  winehq-stable 

01c8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01c8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01c8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01c8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01d0:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01d0:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01d0:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01d0:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01c8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
01c8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
01d0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
01d0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
wine: Unhandled page fault on write access to 00000000 at address 7B646CA6 (thread 01c8), starting debugger...
01d8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01d8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01d8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01d8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
01d8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
01d8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x7b646ca6).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7b646ca6 ESP:0031fd98 EBP:0031fdd0 EFLAGS:00010202( R- -- I - - - )
EAX:7b646cb7 EBX:ffffffff ECX:7b600000 EDX:0003d0b4
ESI:00000000 EDI:6ce08f43
Stack dump:
0x0031fd98: 004b9ca4 008ced90 008efd28 008efd28
0x0031fda8: ffffffff 0015d910 7b600000 6643563c
0x0031fdb8: 0031fe08 7b646cd3 7b646c9b 00000008
0x0031fdc8: 7b646cb7 7b039a4c 0031ff30 004b8fda
0x0031fdd8: 00000000 00000014 00110000 00000008
0x0031fde8: 00000004 7ffc2000 0031fe5c 0031fe48
Backtrace:
=>0 0x7b646ca6 EntryPoint+0x13cc6() in kernel32 (0x0031fdd0)
1 0x004b8fda EntryPoint+0xffffffff() in pc draft (0x0031ff30)
2 0x7b62e280 EntryPoint+0xffffffff() in kernel32 (0x0031ff48)
3 0x7bc5bb87 EntryPoint+0xffffffff() in ntdll (0x0031ff5c)
4 0x7bc5bde0 EntryPoint+0xffffffff() in ntdll (0x0031ffec)
0x7b646ca6 EntryPoint+0x13cc6 in kernel32: xorl %esi,0x0(%esi)
Modules:
Module Address Debug info Name (29 modules)
PE 400000- 9aa000 Export pc draft
PE 9b0000- c09000 Deferred comdlg32
PE c10000- 1092000 Deferred comctl32
PE 10a0000- 1524000 Deferred ole32
PE 5f400000-5f4f2000 Deferred mfc42
PE 61740000-61828000 Deferred advapi32
PE 62fc0000-631f2000 Deferred rpcrt4
PE 63480000-6349c000 Deferred version
PE 63bc0000-63c02000 Deferred shcore
PE 64a40000-64b5e000 Deferred shlwapi
PE 64ec0000-652a7000 Deferred oleaut32
PE 68500000-6864b000 Deferred combase
PE 68700000-6878e000 Deferred uxtheme
PE 6a280000-6a4c8000 Deferred msvcrt
PE 6bc00000-6bca1000 Deferred sechost
PE 6bcc0000-6be9c000 Deferred setupapi
PE 6c9c0000-6cf41000 Deferred gdi32
PE 6ed00000-6f392000 Deferred user32
PE 70b40000-70df2000 Deferred ucrtbase
PE 71200000-71248000 Deferred imm32
PE 780a0000-780b2000 Deferred msvcirt
PE 780c0000-78121000 Deferred msvcp60
PE 7b000000-7b30c000 Deferred kernelbase
PE 7b600000-7b928000 Dwarf kernel32
PE 7bc00000-7bedf000 Dwarf ntdll
PE 7dba0000-7dba4000 Deferred winex11
PE 7df00000-7df0b000 Deferred winspool
PE 7df70000-7e847000 Deferred shell32
PE 7e9d0000-7e9d4000 Deferred ws2_32
Threads:
process tid prio (all id:s are in hex)
00000038 services.exe
0000003c 0
00000040 0
0000004c 0
00000074 0
0000008c 0
000000b4 0
000000dc 0
00000044 winedevice.exe
00000048 0
00000054 0
00000058 0
0000005c 0
00000064 plugplay.exe
00000068 0
00000078 0
0000007c 0
00000080 0
0000009c 0
0000006c explorer.exe
00000070 0
000000c8 0
000000cc 0
00000084 winedevice.exe
00000088 0
00000090 0
00000094 0
00000098 0
000000a4 0
000000a8 0
000000ac svchost.exe
000000b0 0
000000b8 0
000000bc 0
000000d4 rpcss.exe
000000d8 0
000000e0 0
000000e4 0
000000e8 0
000000ec 0
000000f0 0
000001ac PC Draft.exe
000001b0 0
000001bc 0
000001b4 winedbg.exe
000001b8 0
000001c0 0
000001c4 (D) C:\Program Files (x86)\Microspot\PC Draft\PC Draft.exe
000001c8 0 <==
000001dc 0
000001cc conhost.exe
000001d0 0
System information:
Wine build: wine-6.0
Platform: i386 (WOW64)
Version: Windows XP
Host system: Linux
Host version: 5.4.0-65-generic

[/code]

Other things to note, this is a 32bit exe installed on 64bit Ubuntu.

I've tried to following other OS without any success
  • Mint 18 32 bit - same segfault (pretty old so not surprised)
    Mint 19 64 bit - same segfault (still old so not spending too much time on either OS)
Currently just focused o 20.04 with Wine 6.0 to have some kind of recent OS + drivers.
baconpackets
Newbie
Newbie
Posts: 3
Joined: Sun Feb 07, 2021 12:56 pm

Re: [PC Draft][Ubuntu 20.04][wine-stable] Installs correctly but page fault on write access when starting the applicatio

Post by baconpackets »

Reading a little bit more, it looks there could be some issues running 32bit .exe on a 64wine/OS.

I'll see if I can create a 32 bit wine prefix and test that way.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: [PC Draft][Ubuntu 20.04][wine-stable] Installs correctly but page fault on write access when starting the applicatio

Post by Bob Wya »

baconpackets wrote: Mon Feb 08, 2021 6:33 pm Reading a little bit more, it looks there could be some issues running 32bit .exe on a 64wine/OS.

I'll see if I can create a 32 bit wine prefix and test that way.
Hmm, that sounds like a good first step! 8)

If this still doesn't work then feel free to post a further terminal log or go directly to file a WineHQ bug report ...
In the latter case it helps if you (cross-)link it to this forum thread.

Good luck!

Bob
Locked