Program works in Ubuntu but not in Pop!_OS

Questions about Wine on Linux
Locked
kenmac
Level 1
Level 1
Posts: 6
Joined: Fri May 07, 2021 2:47 pm

Program works in Ubuntu but not in Pop!_OS

Post by kenmac »

I have recently changed distro from Ubuntu 20.10 to Pop!_OS 20.10.
There is one program that I can't get working through Wine though it works fine in a Ubuntu virtual machine.
The installation seems to have worked OK but when I run it I get an exception as detailed below.
Can anyone give me ideas how to get the program working?
Unhandled exception: page fault on read access to 0x00000120 in 32-bit code (0x00000120).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:00000120 ESP:0031fd24 EBP:00000001 EFLAGS:00210206( R- -- I - -P- )
EAX:00000120 EBX:01346428 ECX:01359ae8 EDX:004b450c
ESI:01359f51 EDI:004afb91
Stack dump:
0x0031fd24: 004650c3 00000001 0031fd8c 004da220
0x0031fd34: 01348a90 01346428 0031fd00 004da201
0x0031fd44: 00468e1c 0031fd8c 01348a00 01348a90
0x0031fd54: 012ce71a 013466c0 012ce72a 00000000
0x0031fd64: 00469cac 0031fd8c 01348a90 461ac0f7
0x0031fd74: 012c9420 004dd56c 004ba88c 00000000
Backtrace:
=>0 0x00000120 (0x00000001)
0x00000120: -- no code accessible --
Modules:
Module Address Debug info Name (30 modules)
PE 400000- 4ed000 Deferred chadct
PE 4f0000- 749000 Deferred comdlg32
PE 750000- bd2000 Deferred comctl32
PE be0000- d51000 Deferred winmm
PE 16d0000- 1aa3000 Deferred windowscodecs
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 664c0000-66522000 Deferred oledlg
PE 68500000-6864b000 Deferred combase
PE 68700000-6878e000 Deferred uxtheme
PE 69940000-699b3000 Deferred propsys
PE 6a040000-6a0a3000 Deferred msacm32
PE 6a400000-6a884000 Deferred ole32
PE 6bb00000-6bb6b000 Deferred msvfw32
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 7b000000-7b30c000 Deferred kernelbase
PE 7b600000-7b928000 Deferred kernel32
PE 7bc00000-7bedf000 Deferred ntdll
PE 7dc60000-7dc64000 Deferred winex11
PE 7dfa0000-7dfab000 Deferred winspool
PE 7e000000-7e8d7000 Deferred shell32
Threads:
process tid prio (all id:s are in hex)
00000038 services.exe
0000003c 0
00000040 0
0000004c 0
00000070 0
00000088 0
000000b4 0
000000d0 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
000000b0 0
000000c0 0
00000080 winedevice.exe
00000084 0
0000008c 0
00000090 0
00000094 0
000000a0 0
000000a4 0
000000a8 svchost.exe
000000ac 0
000000b8 0
000000bc 0
000000c8 rpcss.exe
000000cc 0
000000d8 0
000000dc 0
000000e0 0
000000e4 0
000000e8 0
00000120 (D) C:\Program Files (x86)\Chambers\TCDT\chadct.exe
00000124 0 <==
00000128 0
0000012c 0
00000138 0
System information:
Wine build: wine-6.0
Platform: i386 (WOW64)
Version: Windows 7
Host system: Linux
Host version: 5.11.0-7614-generic
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Program works in Ubuntu but not in Pop!_OS

Post by jkfloris »

Run the program from the terminal and compare the terminal output between Ubuntu and Pop!Os.

A wild guess: On Ubuntu, the package ttf-mscorefonts-installer and/or winbind is installed.
kenmac
Level 1
Level 1
Posts: 6
Joined: Fri May 07, 2021 2:47 pm

Re: Program works in Ubuntu but not in Pop!_OS

Post by kenmac »

Hi,
Thanks for the reply. I did an apt list for both packages on both systems and they seem to match:

Code: Select all

VirtualBox (Ubuntu 21.04)
ken@ken-VirtualBox:~$ apt list ttf-mscorefonts-installer winbind
Listing... Done
ttf-mscorefonts-installer/hirsute,hirsute 3.8ubuntu2 all
winbind/hirsute-updates,hirsute-security 2:4.13.3+dfsg-1ubuntu2.1 amd64
winbind/hirsute-updates,hirsute-security 2:4.13.3+dfsg-1ubuntu2.1 i386

Code: Select all

Pop!_OS 20.10
ken@pop-os:~$ apt list ttf-mscorefonts-installer winbind
Listing... Done
ttf-mscorefonts-installer/groovy,groovy 3.8ubuntu2 all
winbind/groovy-security,groovy-updates 2:4.12.5+dfsg-3ubuntu4.3 amd64
winbind/groovy-security,groovy-updates 2:4.12.5+dfsg-3ubuntu4.3 i386
winbind in Pop!_OS seems to be a little newer. Would downgrading help, do you think? I'm not sure how to do that.
I'll try gathering the other information tomorrow.
kenmac
Level 1
Level 1
Posts: 6
Joined: Fri May 07, 2021 2:47 pm

Re: Program works in Ubuntu but not in Pop!_OS

Post by kenmac »

OK, I ran the program on both systems using "wine chadct.exe > cha.txt 2> chaerr.txt.
Here's the output from Ubuntu (the one that works):
(nothing in cha.txt)
chaerr.txt contains

Code: Select all

0034:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0068:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0068:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0068:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0068:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0068:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0068:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0060:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0060:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0060:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0060:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0060:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0060:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0070:err:ole:start_rpcss Failed to start RpcSs service
002c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
00d8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
00d8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
00d8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
00d8:fixme:font:get_name_record_codepage encoding 29 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00d8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00d8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:edit:EDIT_EM_FmtLines soft break enabled, not implemented
0024:fixme:wincodecs:jpeg_decoder_get_metadata_blocks stub
0024:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!
From Pop!_OS (doesn't work)
cha.txt

Code: Select all

Can't attach process 0020: error 5
chaerr.txt

Code: Select all

0024:fixme:wincodecs:jpeg_decoder_get_metadata_blocks stub
0024:fixme:wincodecs:jpeg_decoder_get_metadata_blocks stub
wine: Unhandled page fault on read access to 00000120 at address 00000120 (thread 0024), starting debugger...
0090:err:rpc:I_RpcReceive we got fault packet with status 0x1c010003
I have no idea what "process 0020: error 5" means.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Program works in Ubuntu but not in Pop!_OS

Post by jkfloris »

It may be obvious, but are the Wine versions the same?

Error 5 means "Access is denied"
kenmac
Level 1
Level 1
Posts: 6
Joined: Fri May 07, 2021 2:47 pm

Re: Program works in Ubuntu but not in Pop!_OS

Post by kenmac »

Wine-6.0 on both systems. That being one of the many things I tried before posting.

"Access is denied" to what, I wonder. I'll see if I can find anything in the logs.
kenmac
Level 1
Level 1
Posts: 6
Joined: Fri May 07, 2021 2:47 pm

Re: Program works in Ubuntu but not in Pop!_OS

Post by kenmac »

Both systems are showing wine-6.0.
Any idea how I can find what I was denied access to? I tried looking in syslog but couldn't find anything remotely interesting.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Program works in Ubuntu but not in Pop!_OS

Post by Bob Wya »

@kenmac

Can you post the output from:

Code: Select all

strace wine chadct.exe
- on the Pop!_OS system.

Ta
Bob
kenmac
Level 1
Level 1
Posts: 6
Joined: Fri May 07, 2021 2:47 pm

Re: Program works in Ubuntu but not in Pop!_OS

Post by kenmac »

Command: strace wine chadct.exe >strace.txt 2>strerr.txt
strace.txt

Code: Select all

Can't attach process 0020: error 5
sterr.txt
I've uploaded to Dropbox as I can't attach it here and it's too big to paste into the post.
https://www.dropbox.com/sh/htcmqzrlsuu9 ... ogefa?dl=0
Locked