Compare two instaltions of wine

Questions about Wine on Linux
Locked
Kodachrome
Newbie
Newbie
Posts: 4
Joined: Mon Oct 02, 2017 5:22 am

Compare two instaltions of wine

Post by Kodachrome »

Hi

I have installed wine (development version 2.17) in two computers and both are using the same Debian version and fully updated to the same point. I have also installed a program in each wine (Kano app) and in one it seems to be running flawlessly but in the other it gives an error before opening.
I probably have something installed in one computer that is allowing to run the program but, after hours of trying to compare logs, installation histories, etc I cannot figure out what is.

So, my question to the forum is: is there any simple way to compare two installations of wine or to see what is the program within wine using when running?

Thank you!
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Compare two instaltions of wine

Post by dimesio »

What exactly is the error?
Kodachrome
Newbie
Newbie
Posts: 4
Joined: Mon Oct 02, 2017 5:22 am

Re: Compare two instaltions of wine

Post by Kodachrome »

Ok the error is:

~/.wine/drive_c/Program Files (x86)/Kano App$ wine Kano\ App.exe

wine: Unhandled page fault on read access to 0x00000000 at address 0x14043257e (thread 0057), starting debugger...
Unhandled exception: page fault on read access to 0x27341230b19 in 64-bit code (0x0000027341230b19).
Register dump:
rip:0000027341230b19 rsp:000000000b4ec668 rbp:000000000b4ec709 eflags:00010202 ( R- -- I - - - )
rax:000000000260cc00 rbx:00000001440f3e30 rcx:000000000260cc00 rdx:000000000b4ee168
rsi:000000000b4ee150 rdi:0000000144899d00 r8:000000000b4ec788 r9:0000000000000001 r10:000000e37b21e98f
r11:0000000000000293 r12:0000000000000000 r13:000000000b4ee150 r14:0000000143af6220 r15:00000000026079d8
Stack dump:
0x000000000b4ec668: 0000000140448079 000000000b4ec6f8
0x000000000b4ec678: 0000000000000000 00000001440f3e30
0x000000000b4ec688: 0000000143af6220 0000000000000000
0x000000000b4ec698: 0000000000000000 0000000000000000
0x000000000b4ec6a8: 0000000000000000 0000000000000000
0x000000000b4ec6b8: 0000000000000000 0000000000000000
0x000000000b4ec6c8: 000000000260cc00 0000000000000000
0x000000000b4ec6d8: 0000000000000000 0000000000000000
0x000000000b4ec6e8: 0000000000000000 05d2d1c300000000
0x000000000b4ec6f8: 00000001429c879e 0000000005d2d1c3
0x000000000b4ec708: 000000000260bc70 0000000000000000
0x000000000b4ec718: 000000000b4ee460 0000000000000000
Backtrace:
=>0 0x0000027341230b19 (0x000000000b4ec709)
0x0000027341230b19: andl 0xffffffffffffffb1(%rax),%ebx
Modules:
Module Address Debug info Name (151 modules)
PE 240000- 60c000 Deferred ffmpeg
ELF 7a800000- 7a9d4000 Deferred opengl32<elf>
\-PE 7a850000- 7a9d4000 \ opengl32
ELF 7b400000- 7b812000 Deferred kernel32<elf>
\-PE 7b420000- 7b812000 \ kernel32
ELF 7bc00000- 7bd1a000 Deferred ntdll<elf>
\-PE 7bc20000- 7bd1a000 \ ntdll
ELF 7c000000- 7c004000 Deferred <wine-loader>
PE 140000000- 144dfd000 Deferred kano app
PE 180000000- 181261000 Deferred node
ELF 7f5e382dd000- 7f5e384f4000 Deferred powrprof<elf>
\-PE 7f5e382e0000- 7f5e384f4000 \ powrprof
ELF 7f5e384f4000- 7f5e38767000 Deferred libpcre.so.3
ELF 7f5e38767000- 7f5e3897c000 Deferred libgpg-error.so.0
ELF 7f5e3897c000- 7f5e38ba4000 Deferred libselinux.so.1
ELF 7f5e38ba4000- 7f5e38db6000 Deferred liblz4.so.1
ELF 7f5e38db6000- 7f5e38fdc000 Deferred liblzma.so.5
ELF 7f5e38fdc000- 7f5e392ea000 Deferred libgcrypt.so.20
ELF 7f5e392ea000- 7f5e39571000 Deferred libsystemd.so.0
ELF 7f5e39571000- 7f5e3977a000 Deferred libffi.so.6
ELF 7f5e3977a000- 7f5e399ca000 Deferred libdbus-1.so.3
ELF 7f5e399ca000- 7f5e39c4d000 Deferred libgmp.so.10
ELF 7f5e39c4d000- 7f5e39e81000 Deferred libhogweed.so.4
ELF 7f5e39e81000- 7f5e3a0b7000 Deferred libnettle.so.6
ELF 7f5e3a0b7000- 7f5e3a2ca000 Deferred libtasn1.so.6
ELF 7f5e3a2ca000- 7f5e3a63a000 Deferred libunistring.so.2
ELF 7f5e3a63a000- 7f5e3a857000 Deferred libidn2.so.0
ELF 7f5e3a857000- 7f5e3ab88000 Deferred libp11-kit.so.0
ELF 7f5e3ab88000- 7f5e3ad8c000 Deferred libkeyutils.so.1
ELF 7f5e3ad8c000- 7f5e3af98000 Deferred libkrb5support.so.0
ELF 7f5e3af98000- 7f5e3b19c000 Deferred libcom_err.so.2
ELF 7f5e3b19c000- 7f5e3b3cf000 Deferred libk5crypto.so.3
ELF 7f5e3b3cf000- 7f5e3b6a9000 Deferred libkrb5.so.3
ELF 7f5e3b6a9000- 7f5e3b8ba000 Deferred libavahi-client.so.3
ELF 7f5e3b8ba000- 7f5e3bac7000 Deferred libavahi-common.so.3
ELF 7f5e3bac7000- 7f5e3be32000 Deferred libgnutls.so.30
ELF 7f5e3be32000- 7f5e3c07d000 Deferred libgssapi_krb5.so.2
ELF 7f5e3c07d000- 7f5e3c30b000 Deferred libcups.so.2
ELF 7f5e3c30b000- 7f5e3c511000 Deferred libxfixes.so.3
ELF 7f5e3c511000- 7f5e3c71c000 Deferred libxcursor.so.1
ELF 7f5e3c71c000- 7f5e3c92c000 Deferred libxi.so.6
ELF 7f5e3c92c000- 7f5e3cb2f000 Deferred libxcomposite.so.1
ELF 7f5e3cb2f000- 7f5e3cd3a000 Deferred libxrandr.so.2
ELF 7f5e3cd3a000- 7f5e3cf44000 Deferred libxrender.so.1
ELF 7f5e3cf44000- 7f5e3d14a000 Deferred libxxf86vm.so.1
ELF 7f5e3d14a000- 7f5e3d34d000 Deferred libxinerama.so.1
ELF 7f5e3d34d000- 7f5e3d555000 Deferred librt.so.1
ELF 7f5e3d555000- 7f5e3d76a000 Deferred libbsd.so.0
ELF 7f5e3d76a000- 7f5e3d970000 Deferred libxdmcp.so.6
ELF 7f5e3d970000- 7f5e3db74000 Deferred libxau.so.6
ELF 7f5e3db74000- 7f5e3dd9c000 Deferred libxcb.so.1
ELF 7f5e3dd9c000- 7f5e3e0dc000 Deferred libx11.so.6
ELF 7f5e3e0dc000- 7f5e3e2ee000 Deferred libxext.so.6
ELF 7f5e3e2ee000- 7f5e3e58d000 Deferred winex11<elf>
\-PE 7f5e3e300000- 7f5e3e58d000 \ winex11
PE 7f5e3e58d000- 7f5e3e7a0000 Deferred api-ms-win-core-localization-obs
PE 7f5e3e590000- 7f5e3e7a0000 Deferred api-ms-win-core-localization-obsC:\windows\system32\api-ms-win-core-localization-obsolete-l1-2-0.dll
ELF 7f5e3e7a0000- 7f5e3e9b3000 Deferred api-ms-win-core-datetime-l1-1-1<
PE 7f5e3e7b0000- 7f5e3e9b3000 Deferred api-ms-win-core-datetime-l1-1-1
ELF 7f5e3e9b3000- 7f5e3ebc6000 Deferred api-ms-win-core-string-l1-1-0<el
PE 7f5e3e9c0000- 7f5e3ebc6000 Deferred api-ms-win-core-string-l1-1-0
PE 7f5e3ebc6000- 7f5e3edda000 Deferred api-ms-win-core-localization-l1-
PE 7f5e3ebd0000- 7f5e3edda000 Deferred api-ms-win-core-localization-l1-C:\windows\system32\api-ms-win-core-localization-l1-2-1.dll
ELF 7f5e3edda000- 7f5e3efed000 Deferred api-ms-win-core-fibers-l1-1-1<el
PE 7f5e3ede0000- 7f5e3efed000 Deferred api-ms-win-core-fibers-l1-1-1
ELF 7f5e3efed000- 7f5e3f201000 Deferred api-ms-win-core-synch-l1-2-0<elf
PE 7f5e3eff0000- 7f5e3f201000 Deferred api-ms-win-core-synch-l1-2-0
ELF 7f5e3f201000- 7f5e3f42c000 Deferred libexpat.so.1
ELF 7f5e3f42c000- 7f5e3f670000 Deferred libfontconfig.so.1
ELF 7f5e3f670000- 7f5e3f8a3000 Deferred libpng16.so.16
ELF 7f5e3f8a3000- 7f5e3fb58000 Deferred libfreetype.so.6
ELF 7f5e3fb58000- 7f5e3fdbe000 Deferred oleacc<elf>
\-PE 7f5e3fb60000- 7f5e3fdbe000 \ oleacc
ELF 7f5e3fdbe000- 7f5e3ffe5000 Deferred imm32<elf>
\-PE 7f5e3fdd0000- 7f5e3ffe5000 \ imm32
ELF 7f5e3ffe5000- 7f5e40221000 Deferred uxtheme<elf>
\-PE 7f5e3fff0000- 7f5e40221000 \ uxtheme
ELF 7f5e40221000- 7f5e40434000 Deferred msimg32<elf>
\-PE 7f5e40230000- 7f5e40434000 \ msimg32
ELF 7f5e40434000- 7f5e407b5000 Deferred oleaut32<elf>
\-PE 7f5e40460000- 7f5e407b5000 \ oleaut32
ELF 7f5e407b5000- 7f5e409c9000 Deferred fontsub<elf>
\-PE 7f5e407c0000- 7f5e409c9000 \ fontsub
ELF 7f5e409c9000- 7f5e40c45000 Deferred dwrite<elf>
\-PE 7f5e409d0000- 7f5e40c45000 \ dwrite
ELF 7f5e40c45000- 7f5e40e5e000 Deferred ncrypt<elf>
\-PE 7f5e40c50000- 7f5e40e5e000 \ ncrypt
ELF 7f5e40e5e000- 7f5e410ab000 Deferred usp10<elf>
\-PE 7f5e40e70000- 7f5e410ab000 \ usp10
ELF 7f5e410ab000- 7f5e412c1000 Deferred dwmapi<elf>
\-PE 7f5e410b0000- 7f5e412c1000 \ dwmapi
ELF 7f5e412c1000- 7f5e41627000 Deferred wined3d<elf>
\-PE 7f5e412e0000- 7f5e41627000 \ wined3d
ELF 7f5e41627000- 7f5e41854000 Deferred dxgi<elf>
\-PE 7f5e41630000- 7f5e41854000 \ dxgi
ELF 7f5e41854000- 7f5e41a6c000 Deferred uiautomationcore<elf>
\-PE 7f5e41860000- 7f5e41a6c000 \ uiautomationcore
ELF 7f5e41a6c000- 7f5e41c98000 Deferred mpr<elf>
\-PE 7f5e41a70000- 7f5e41c98000 \ mpr
ELF 7f5e41c98000- 7f5e41f1f000 Deferred wininet<elf>
\-PE 7f5e41ca0000- 7f5e41f1f000 \ wininet
ELF 7f5e41f1f000- 7f5e42167000 Deferred winspool<elf>
\-PE 7f5e41f30000- 7f5e42167000 \ winspool
ELF 7f5e42167000- 7f5e425f0000 Deferred shell32<elf>
\-PE 7f5e42180000- 7f5e425f0000 \ shell32
ELF 7f5e425f0000- 7f5e428e7000 Deferred comdlg32<elf>
\-PE 7f5e42600000- 7f5e428e7000 \ comdlg32
ELF 7f5e428e7000- 7f5e42c19000 Deferred comctl32<elf>
\-PE 7f5e428f0000- 7f5e42c19000 \ comctl32
ELF 7f5e42c19000- 7f5e42ea9000 Deferred shlwapi<elf>
\-PE 7f5e42c30000- 7f5e42ea9000 \ shlwapi
ELF 7f5e42ea9000- 7f5e430c3000 Deferred libz.so.1
ELF 7f5e430c3000- 7f5e43333000 Deferred dbghelp<elf>
\-PE 7f5e430d0000- 7f5e43333000 \ dbghelp
ELF 7f5e43333000- 7f5e43561000 Deferred msacm32<elf>
\-PE 7f5e43340000- 7f5e43561000 \ msacm32
ELF 7f5e43561000- 7f5e437f8000 Deferred rpcrt4<elf>
\-PE 7f5e43570000- 7f5e437f8000 \ rpcrt4
ELF 7f5e437f8000- 7f5e43b99000 Deferred ole32<elf>
\-PE 7f5e43820000- 7f5e43b99000 \ ole32
ELF 7f5e43b99000- 7f5e43e5d000 Deferred winmm<elf>
\-PE 7f5e43ba0000- 7f5e43e5d000 \ winmm
ELF 7f5e43e5d000- 7f5e44076000 Deferred userenv<elf>
\-PE 7f5e43e60000- 7f5e44076000 \ userenv
ELF 7f5e44076000- 7f5e4428d000 Deferred libresolv.so.2
ELF 7f5e4428d000- 7f5e444ba000 Deferred iphlpapi<elf>
\-PE 7f5e442a0000- 7f5e444ba000 \ iphlpapi
ELF 7f5e444ba000- 7f5e446d4000 Deferred version<elf>
\-PE 7f5e444c0000- 7f5e446d4000 \ version
ELF 7f5e446d4000- 7f5e44b0b000 Deferred user32<elf>
\-PE 7f5e446f0000- 7f5e44b0b000 \ user32
ELF 7f5e44b0b000- 7f5e44d9c000 Deferred advapi32<elf>
\-PE 7f5e44b20000- 7f5e44d9c000 \ advapi32
ELF 7f5e44d9c000- 7f5e4511a000 Deferred gdi32<elf>
\-PE 7f5e44db0000- 7f5e4511a000 \ gdi32
ELF 7f5e4511a000- 7f5e4532d000 Deferred psapi<elf>
\-PE 7f5e45120000- 7f5e4532d000 \ psapi
ELF 7f5e4542d000- 7f5e4566f000 Deferred ws2_32<elf>
\-PE 7f5e45440000- 7f5e4566f000 \ ws2_32
ELF 7f5e4576f000- 7f5e45981000 Deferred libnss_files.so.2
ELF 7f5e45981000- 7f5e45b8d000 Deferred libnss_nis.so.2
ELF 7f5e45b8d000- 7f5e45da4000 Deferred libnsl.so.1
ELF 7f5e45da4000- 7f5e45fac000 Deferred libnss_compat.so.2
ELF 7f5e46247000- 7f5e4645e000 Deferred libgcc_s.so.1
ELF 7f5e4645e000- 7f5e46762000 Deferred libm.so.6
ELF 7f5e46762000- 7f5e46966000 Deferred libdl.so.2
ELF 7f5e46966000- 7f5e46d03000 Deferred libc.so.6
ELF 7f5e46d03000- 7f5e46f20000 Deferred libpthread.so.0
ELF 7f5e46f20000- 7f5e472c5000 Dwarf libwine.so.1
ELF 7f5e472c5000- 7f5e474eb000 Deferred ld-linux-x86-64.so.2
ELF 7fff40fab000- 7fff40fad000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
00000023 0
0000001e 0
00000018 0
00000015 0
00000014 0
00000013 0
00000010 0
0000000f 0
00000011 winedevice.exe
0000001d 0
0000001a 0
00000019 0
00000017 0
00000016 0
00000012 0
0000001b plugplay.exe
00000020 0
0000001f 0
0000001c 0
00000021 winedevice.exe
0000002c 0
00000027 0
00000026 0
00000025 0
00000024 0
00000022 0
00000028 explorer.exe
00000030 0
0000002f 0
0000002e 0
0000002d 0
00000029 0
0000002a Kano App.exe
00000055 0
00000054 0
00000053 0
00000052 0
00000051 0
00000050 0
0000004f 0
0000004e 0
0000004d 0
0000004c 0
0000004b 0
0000004a 0
00000049 0
00000048 0
00000047 0
00000046 0
00000045 0
00000044 0
00000043 0
00000042 0
00000041 0
00000040 0
0000003f 0
00000039 0
00000038 0
00000037 0
00000036 0
00000035 0
00000034 0
00000033 0
00000032 0
00000031 0
0000002b 0
0000003a Kano App.exe
0000003e 0
0000003d 0
0000003c 0
0000003b 0
00000056 (D) C:\Program Files (x86)\Kano App\Kano App.exe
00000067 0 <==
00000064 0
00000063 0
00000062 0
00000061 0
00000060 -2
0000005f 0
0000005e 0
0000005d 0
0000005c 0
0000005b 0
0000005a 0
00000059 0
00000058 0
00000057 0
System information:
Wine build: wine-2.17 (Debian 2.17-1)
Platform: x86_64
Version: Windows 7
Host system: Linux
Host version: 4.12.0-2-amd64
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Compare two instaltions of wine

Post by jkfloris »

You can copy the WINEPREFIX directory (default ~/.wine) from the working computer to the other. This way you are sure both Wine prefixes are the same.

To compare the Debian installations run

Code: Select all

dpkg -l | awk '{print $2}' > package_list.txt
on both systems and compare the two package_list.txt files
Kodachrome
Newbie
Newbie
Posts: 4
Joined: Mon Oct 02, 2017 5:22 am

Re: Compare two instaltions of wine

Post by Kodachrome »

Hi

Thanks for the reply. I have already tried to copy the WINEPREFIX directory but it didn't work. I'll compare the system packages as you say. I don't have access to one of the computers right now, so I'll try later.

cheers
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Compare two instaltions of wine

Post by Bob Wya »

Kodachrome wrote:Ok the error is:

Code: Select all

~/.wine/drive_c/Program Files (x86)/Kano App$ wine Kano\ App.exe
 
wine: Unhandled page fault on read access to 0x00000000 at address 0x14043257e (thread 0057), starting debugger...
Unhandled exception: page fault on read access to 0x27341230b19 in 64-bit code (0x0000027341230b19).
Register dump:
 rip:0000027341230b19 rsp:000000000b4ec668 rbp:000000000b4ec709 eflags:00010202 (  R- --  I   - - - )
 rax:000000000260cc00 rbx:00000001440f3e30 rcx:000000000260cc00 rdx:000000000b4ee168
 rsi:000000000b4ee150 rdi:0000000144899d00  r8:000000000b4ec788  r9:0000000000000001 r10:000000e37b21e98f
 r11:0000000000000293 r12:0000000000000000 r13:000000000b4ee150 r14:0000000143af6220 r15:00000000026079d8
Stack dump:
...
Please use the supplied forum Code:

Code: Select all

Code
tags for blocks of terminal commands and output.

A backtrace is next to useless without the terminal output leading up to the backtrace.

If your application is exercising the graphics stack - I can see: dxgi, opengl32, wined3d are loaded - then differences between the graphics driver stack, on your 2 systems, will obviously be an issue.

Bob
Kodachrome
Newbie
Newbie
Posts: 4
Joined: Mon Oct 02, 2017 5:22 am

Re: Compare two instaltions of wine

Post by Kodachrome »

Hi

Sorry for not adding the Code tag...

By comparing the package listing as jkfloris suggested I found more than 1000 packages that were not available on the system where the application was not working. When scrolling through the list without much expectation, I decided to give a try to one of the packages: ttf-mscorefonts-installer. It was a good guess, because the application now works!!!

However I need to connect a usb device and that is not working. I thought linking the serial port would be enough but it is not because the device is not recognized within WINE. It seems that there is no solution to that problem.

Thanks for the help!
Locked