Wine installed and installed exe application but fails predictably in use

Questions about Wine on Linux
Locked
mchisolm0
Level 1
Level 1
Posts: 5
Joined: Mon Jul 27, 2020 7:41 pm

Wine installed and installed exe application but fails predictably in use

Post by mchisolm0 »

I had Dungeondraft running previously and wanted to test the new version (both with Manjaro Linux 20.0). On install, the application starts but can no long open old or make new map files. When I try, I get the following.

Code: Select all

Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x0000000141425ac9).
Register dump:
 rip:0000000141425ac9 rsp:00000000137efae0 rbp:0000000000000004 eflags:00010202 (  R- --  I   - - - )
 rax:0000000000000001 rbx:0000000005d74590 rcx:0000000000000007 rdx:0000000141d5d5f0
 rsi:0000000180489ad4 rdi:0000000004d26140  r8:0000000000000000  r9:00000000137efae8 r10:0000000005db0000
 r11:00000000137efad8 r12:0000000007830508 r13:00000000137ef5f0 r14:0000000008a5a060 r15:0000000000000000
Stack dump:
0x00000000137efae0:  0000000004d26140 0000000000000003
0x00000000137efaf0:  0000000100000003 0000000000000004
0x00000000137efb00:  0000000005d74590 00000001402b453f
0x00000000137efb10:  0000000005d74590 0000000100000000
0x00000000137efb20:  0000000004d26140 0000000007830508
0x00000000137efb30:  0000000000000000 000000018001374c
0x00000000137efb40:  0000000013093070 0000000005d757c0
0x00000000137efb50:  0000000005d74590 fffffffffffffffe
0x00000000137efb60:  0000000000000000 0000000180533338
0x00000000137efb70:  0000000000000000 000000018002198e
0x00000000137efb80:  0000000000000004 00000000137efcd9
0x00000000137efb90:  00000001805331d0 00000000137efc60
Backtrace:
=>0 0x0000000141425ac9 EntryPoint+0x100019479() in dungeondraft (0x0000000000000004)
  1 0x00000001402b453f EntryPoint+0xfeea7eee() in dungeondraft (0x0000000000000004)
  2 0x000000018002198e EntryPoint+0x10001b370() in mono-2.0-sgen (0x00000000137efcd9)
  3 0x0000000180013bb6 EntryPoint+0x10000d598() in mono-2.0-sgen (0x00000000137efcd9)
  4 0x00000001800139dc EntryPoint+0x10000d3be() in mono-2.0-sgen (0x00000000137efcd9)
  5 0x000000018015594e EntryPoint+0x10014f330() in mono-2.0-sgen (0x00000000137efcd9)
  6 0x00000001801586be EntryPoint+0x1001520a0() in mono-2.0-sgen (0x0000000007830508)
  7 0x000000018015152b EntryPoint+0x10014af0d() in mono-2.0-sgen (0x0000000007830508)
  8 0x00000001801512a6 EntryPoint+0x10014ac88() in mono-2.0-sgen (0x00000000137effd0)
0x0000000141425ac9 EntryPoint+0x100019479 in dungeondraft: int	$0x29
Modules:
Module	Address					Debug info	Name (56 modules)
PE	        7a850000-        7a854000	Deferred        opengl32
PE	        7b010000-        7b017000	Deferred        kernelbase
PE	        7b610000-        7b7cb000	Deferred        kernel32
PE	        7bc20000-        7bc24000	Deferred        ntdll
PE	       140000000-       141e45000	Export          dungeondraft
PE	       180000000-       18061c000	Export          mono-2.0-sgen
PE	    7f2f18190000-    7f2f18193000	Deferred        winepulse
PE	    7f2f181c0000-    7f2f181c4000	Deferred        mmdevapi
PE	    7f2f181f0000-    7f2f181f4000	Deferred        hid
PE	    7f2f18210000-    7f2f18214000	Deferred        xinput1_4
PE	    7f2f18390000-    7f2f18393000	Deferred        api-ms-win-core-sysinfo-l1-2-1
PE	    7f2f8ec90000-    7f2f8ec93000	Deferred        api-ms-win-core-localization-obsolete-l1-2-0
PE	    7f2f8eca0000-    7f2f8eca3000	Deferred        api-ms-win-core-datetime-l1-1-1
PE	    7f2f8ecc0000-    7f2f8ecc3000	Deferred        api-ms-win-core-string-l1-1-0
PE	    7f2f8ecd0000-    7f2f8ecd3000	Deferred        api-ms-win-core-localization-l1-2-1
PE	    7f2f8f300000-    7f2f8f303000	Deferred        api-ms-win-core-fibers-l1-1-1
PE	    7f2f8f320000-    7f2f8f323000	Deferred        api-ms-win-core-synch-l1-2-0
PE	    7f2f8f4d0000-    7f2f8f4d4000	Deferred        winex11
PE	    7f2f8f6a0000-    7f2f8f6a4000	Deferred        uxtheme
PE	    7f2f8fc50000-    7f2f8fc53000	Deferred        api-ms-win-crt-conio-l1-1-0
PE	    7f2f8fc70000-    7f2f8fc73000	Deferred        api-ms-win-crt-locale-l1-1-0
PE	    7f2f8fc80000-    7f2f8fc83000	Deferred        api-ms-win-crt-convert-l1-1-0
PE	    7f2f8fca0000-    7f2f8fca3000	Deferred        api-ms-win-crt-time-l1-1-0
PE	    7f2f8fcb0000-    7f2f8fcb3000	Deferred        api-ms-win-crt-filesystem-l1-1-0
PE	    7f2f8fcd0000-    7f2f8fcd3000	Deferred        api-ms-win-crt-utility-l1-1-0
PE	    7f2f8fce0000-    7f2f8fce3000	Deferred        api-ms-win-crt-string-l1-1-0
PE	    7f2f8fd00000-    7f2f8fd03000	Deferred        api-ms-win-crt-heap-l1-1-0
PE	    7f2f8fd10000-    7f2f8fd13000	Deferred        api-ms-win-crt-runtime-l1-1-0
PE	    7f2f8fd30000-    7f2f8fd33000	Deferred        api-ms-win-crt-math-l1-1-0
PE	    7f2f8fd50000-    7f2f8fd53000	Deferred        api-ms-win-crt-stdio-l1-1-0
PE	    7f2f8fd60000-    7f2f8fd77000	Deferred        vcruntime140
PE	    7f2f8fd90000-    7f2f8fd98000	Deferred        oleaut32
PE	    7f2f8fed0000-    7f2f8fed4000	Deferred        bcrypt
PE	    7f2f8ff00000-    7f2f8ff04000	Deferred        ws2_32
PE	    7f2f8ff50000-    7f2f8ff54000	Deferred        wsock32
PE	    7f2f8ff70000-    7f2f8ff74000	Deferred        iphlpapi
PE	    7f2f8ffa0000-    7f2f8ffa4000	Deferred        dwmapi
PE	    7f2f8ffc0000-    7f2f8ffc3000	Deferred        avrt
PE	    7f2f8ffe0000-    7f2f8ffe4000	Deferred        imm32
PE	    7f2f90000000-    7f2f90003000	Deferred        usp10
PE	    7f2f90050000-    7f2f900a3000	Deferred        comctl32
PE	    7f2f901b0000-    7f2f901bb000	Deferred        dinput8
PE	    7f2f90220000-    7f2f90223000	Deferred        shcore
PE	    7f2f90250000-    7f2f90258000	Deferred        shlwapi
PE	    7f2f902c0000-    7f2f90b96000	Deferred        shell32
PE	    7f2f90d00000-    7f2f90d28000	Deferred        ole32
PE	    7f2f90e60000-    7f2f90e67000	Deferred        gdi32
PE	    7f2f91010000-    7f2f91014000	Deferred        rpcrt4
PE	    7f2f910a0000-    7f2f910a3000	Deferred        sechost
PE	    7f2f910f0000-    7f2f910f4000	Deferred        advapi32
PE	    7f2f91180000-    7f2f91184000	Deferred        ucrtbase
PE	    7f2f912a0000-    7f2f912af000	Deferred        setupapi
PE	    7f2f91330000-    7f2f91418000	Deferred        user32
PE	    7f2f916a0000-    7f2f9171d000	Deferred        winmm
PE	    7f2f91f00000-    7f2f91f09000	Deferred        msacm32
PE	    7f2f91f30000-    7f2f91f34000	Deferred        version
Threads:
process  tid      prio (all id:s are in hex)
00000038 services.exe
	0000003c    0
	00000040    0
	0000004c    0
	0000007c    0
	000000b0    0
	000000d8    0
00000044 winedevice.exe
	00000048    0
	00000054    0
	00000058    0
	0000005c    0
00000068 plugplay.exe
	0000006c    0
	00000080    0
	00000084    0
	00000088    0
	000000c0    0
000000a4 winedevice.exe
	000000a8    0
	000000b4    0
	000000b8    0
	000000bc    0
	000000c8    0
	000000cc    0
000000d0 mDNSResponder.exe
	000000d4    0
	000000dc    0
	000000e0    0
000000ec explorer.exe
	000000f0    0
	000000f4    0
	000000f8    0
	000000fc    0
00000110 (D) C:\Program Files\Dungeondraft\Dungeondraft.exe
	00000114    0
	00000118    0
	0000011c    0
	00000120    0
	00000124    0
	00000128    0
	0000012c   15
	00000130    0
	00000134    0
	00000138    0
	0000013c    0
	00000140    0 <==
	0000014c    0
System information:
    Wine build: wine-5.12
    Platform: x86_64
    Version: Windows 7
    Host system: Linux
    Host version: 5.6.19-2-MANJARO
Due to this, I tried uninstalling Wine and Dungeondraft with the same results.

I also thought "access" might be referring to a mix-up in permissions, but I do have read, write, and execute permissions on the Dungeondraft folder. I also checked to make sure my dependencies for Wine were in tact, and they were. I have searched the forum and found viewtopic.php?f=8&t=34182&p=128854&hilit=access#p128854, but I do not know what jkfloris means by needing the bionic repository.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine installed and installed exe application but fails predictably in use

Post by jkfloris »

That topic is about using the wrong packages for Linux Mint. Manjaro is Arch based, so that doesn't apply to you.

Can you post the complete terminal output?
https://wiki.winehq.org/Wine_User's_Gui ... mmand_line

 
mchisolm0
Level 1
Level 1
Posts: 5
Joined: Mon Jul 27, 2020 7:41 pm

Re: Wine installed and installed exe application but fails predictably in use

Post by mchisolm0 »

Thanks for the specific feedback, jkfloris. That is what I expected, but I am glad to confirm it.

If I understood your request correctly, then you asked me to give output of running the startup command. I moved into the directory with the startup file and used command...

Code: Select all

wine Dungeondraft.desktop
And I see the output...

Code: Select all

0054:fixme:ntdll:EtwEventRegister ({1a3c3605-aa85-4b19-aa24-bb74bc365059}, 0000000180007FE4, 000000018000F120, 000000018000F720) stub.
0054:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0064:fixme:x11settings:X11DRV_ChangeDisplaySettingsEx Changing non-primary adapter L"\\\\.\\DISPLAY2" settings is currently unsupported.
0098:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\windows\\system32\\drivers\\ssdevfactory.sys") not found
0098:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\ssdevfactory": c0000142
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"ssdevfactory" failed to start: 1114
00b4:fixme:ntdll:EtwEventRegister ({1a3c3605-aa85-4b19-aa24-bb74bc365059}, 0000000180007FE4, 000000018000F120, 000000018000F720) stub.
00b4:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
00b4:fixme:ntdll:EtwEventRegister ({1a3c3605-aa85-4b19-aa24-bb74bc365059}, 0000000180007FE4, 000000018000F120, 000000018000F720) stub.
00b4:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
00b4:fixme:ntdll:EtwEventRegister ({1a3c3605-aa85-4b19-aa24-bb74bc365059}, 0000000180007FE4, 000000018000F120, 000000018000F720) stub.
00b4:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
00d4:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
00e0:fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub
00e0:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
00e0:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
00e0:fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000013
00e0:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
00a0:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
0050:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
00a0:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
0050:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
00e0:fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0xcffae8,(nil)): stub
00e0:fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x9a21f0,(nil)): stub
00e0:fixme:netapi32:NetGetJoinInformation Semi-stub (null) 0xcffb78 0xcffb80
00e0:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
00e0:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
00e0:fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000013
003c:fixme:ntdll:EtwEventRegister ({1a3c3605-aa85-4b19-aa24-bb74bc365059}, 0000000180007FE4, 000000018000F120, 000000018000F720) stub.
003c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0024:err:module:__wine_process_init failed to load L"Z:\\home\\mchisolm\\.local\\share\\applications\\wine\\Programs\\Dungeondraft\\Dungeondraft.desktop", error c000012f
Is that what you were meaning, or did I misunderstand?
mchisolm0
Level 1
Level 1
Posts: 5
Joined: Mon Jul 27, 2020 7:41 pm

Re: Wine installed and installed exe application but fails predictably in use

Post by mchisolm0 »

As I am looking at the output more, I am noticing in line 4 it looks like it fails when it tries importing WDFLDR.SYS. I still trying to figure out what that means or if it is even the root problem, but here is what I have learned so far.
mchisolm0
Level 1
Level 1
Posts: 5
Joined: Mon Jul 27, 2020 7:41 pm

Re: Wine installed and installed exe application but fails predictably in use

Post by mchisolm0 »

[*]WDFLDR.SYS is a driver framework loader file for Windows
[*]Following the method used in this post viewtopic.php?t=11400, I checked for WDFLDR.SYS in Wine's driver folder as follows.

Code: Select all

cd /home/mchisolm/.wine/dosdevices/c:/windows/system32
Which gave the output

Code: Select all

cd /home/mchisolm/.wine/dosdevices/c:/windows/system32
Also, I apologize for the dual post. I clicked submit when I meant to access the formatting options.
mchisolm0
Level 1
Level 1
Posts: 5
Joined: Mon Jul 27, 2020 7:41 pm

Re: Wine installed and installed exe application but fails predictably in use

Post by mchisolm0 »

That should actually read like this...

Moved into directory

Code: Select all

cd /home/mchisolm/.wine/dosdevices/c:/windows/system32
Then check for anything like the WDFLDR.SYS it is looking for with

Code: Select all

ls WD*
giving the output

Code: Select all

ls: cannot access 'WD*': No such file or directory
I also checked in the directory /home/mchisolm/.wine/drive_c/windows/system32/drivers with the same results.

I am really sorry for the sloppy reply yesterday. I hope this is better.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine installed and installed exe application but fails predictably in use

Post by Bob Wya »

mchisolm0 wrote: Wed Jul 29, 2020 8:11 pm ...

Code: Select all

wine Dungeondraft.desktop
...
@mchisolm0

That's not how you run applications using Wine. You cannot 'run' .desktop files, with Wine.

See: Wine User's Guide: 3 Using Wine

A .desktop file is a regular text file, which is part of the Freedesktop specifications. See: desktop-entry-spec-1.1.

Bob
Locked