Running into an error trying to run a particular application under wine

Questions about Wine on Linux
Locked
LeorFishman
Newbie
Newbie
Posts: 2
Joined: Mon Aug 21, 2023 10:05 am

Running into an error trying to run a particular application under wine

Post by LeorFishman »

I'm trying to run Schneider's Ecostruxure Power Operation Scada system (from [here][https://www.se.com/us/en/product-range/ ... d-firmware] under WINE, and after a bunch of debugging am now getting a failstate I'm not sure how to debug.

Specifically, with .net48 and directx9 installed, the MainSetup executable starts running, drops in the splash screen, then pagefaults trying to access pointer 0x0. Also, it's running into the following error right before it tries to access that pointer:
"Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer"
LeorFishman
Newbie
Newbie
Posts: 2
Joined: Mon Aug 21, 2023 10:05 am

Re: Running into an error trying to run a particular application under wine

Post by LeorFishman »

Here's the debugger output:

Code: Select all

First instance started
Unhandled exception: page fault on execute access to 0x00000000 in 32-bit code (0x00000000).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:00000000 ESP:08a7eebc EBP:08a7ef48 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:08aebb58 EBX:00aff718 ECX:00000000 EDX:08a7eee8
 ESI:00000000 EDI:00afe8d0
Stack dump:
0x08a7eebc:  6253ad99 08aebb58 08a7eee8 08a7ef08
0x08a7eecc:  6a2a6ae6 626a3260 00000007 00afaff0
0x08a7eedc:  00afe8d0 08a7efdc 08a7ef60 3b9f9493
0x08a7eeec:  00000000 00000000 00000000 00000000
0x08a7eefc:  00000000 00000000 00000001 00afb728
0x08a7ef0c:  626679ec 00afe8c0 00a8fd60 08a7ef68
Backtrace:
=>0 0x00000000 (0x08a7ef48)
  1 0x624d6aad in d3d9 (+0x96aac) (0x08a7efa8)
  2 0x62473485 in d3d9 (+0x33484) (0x08a7f048)
  3 0x624742fb in d3d9 (+0x342fa) (0x08a7f0c8)
  4 0x6245ffe6 in d3d9 (+0x1ffe5) (0x08a7f228)
  5 0x6246133b in d3d9 (+0x2133a) (0x08a7f988)
  6 0x0564baac EntryPoint+0x3591b() in wpfgfx_v0400 (0x08a7fb00)
  7 0x0564bd73 EntryPoint+0x35be2() in wpfgfx_v0400 (0x08a7fc24)
  8 0x0563fd16 EntryPoint+0x29b85() in wpfgfx_v0400 (0x08a7fcb0)
  9 0x0563fe68 EntryPoint+0x29cd7() in wpfgfx_v0400 (0x08a7fd14)
  10 0x05640047 EntryPoint+0x29eb6() in wpfgfx_v0400 (0x08a7fd4c)
  11 0x05640161 EntryPoint+0x29fd0() in wpfgfx_v0400 (0x08a7fd90)
  12 0x056401d5 EntryPoint+0x2a044() in wpfgfx_v0400 (0x08a7fdc0)
  13 0x0560c0e5 EntryPoint+0xffffffff() in wpfgfx_v0400 (0x08a7fe0c)
  14 0x0560c313 EntryPoint+0xffffffff() in wpfgfx_v0400 (0x08a7fe34)
  15 0x05603ea2 EntryPoint+0xffffffff() in wpfgfx_v0400 (0x08a7fe4c)
  16 0x05603236 EntryPoint+0xffffffff() in wpfgfx_v0400 (0x08a7feb8)
  17 0x056032ef EntryPoint+0xffffffff() in wpfgfx_v0400 (0x08a7fed4)
  18 0x05603340 EntryPoint+0xffffffff() in wpfgfx_v0400 (0x08a7fef0)
  19 0x05603d38 EntryPoint+0xffffffff() in wpfgfx_v0400 (0x08a7ff08)
  20 0x05640f55 EntryPoint+0x2adc4() in wpfgfx_v0400 (0x08a7ff30)
  21 0x7b62d990 EntryPoint+0xffffffff() in kernel32 (0x08a7ff48)
  22 0x7bc567f7 EntryPoint+0xffffffff() in ntdll (0x08a7ff5c)
  23 0x7bc56a50 EntryPoint+0xffffffff() in ntdll (0x08a7ffec)
0x00000000: -- no code accessible --
Modules:
Module  Address                 Debug info      Name (78 modules)
PE        3b0000-  3c4000       Deferred        vcruntime140_clr0400
PE        400000-  508000       Deferred        setup
PE        c90000- 10f6000       Deferred        ole32
PE       1100000- 18af000       Deferred        clr
PE       18b0000- 195b000       Deferred        ucrtbase_clr0400
PE       3ec0000- 4915000       Deferred        system.ni
PE       4920000- 49a9000       Deferred        clrjit
PE       49c0000- 55fc000       Deferred        presentationcore.ni
PE       5600000- 578d000       Export          wpfgfx_v0400
PE       5790000- 57fb000       Deferred        msvcp140_clr0400
PE       5800000- 58e3000       Deferred        presentationnative_v0400
PE       5900000- 5913000       Deferred        nlssorting
PE       59d0000- 5b73000       Deferred        system.drawing.ni
PE       5b80000- 69e6000       Deferred        system.windows.forms.ni
PE       69f0000- 7164000       Deferred        system.xml.ni
PE       7560000- 7a05000       Deferred        comctl32
PE       7d90000- 7df5000       Deferred        system.xml.linq.ni
PE       7ff0000- 8011000       Deferred        wminet_utils
PE       8020000- 804a000       Deferred        zlib1
PE       80f0000- 8220000       Deferred        system.management.ni
PE       8440000- 8621000       Deferred        wininet
PE      10000000-1008d000       Deferred        mscoreei
PE      56580000-565cf000       Deferred        presentationframework.classic.ni
PE      56610000-579f3000       Deferred        presentationframework.ni
PE      57a00000-57a07000       Deferred        presentationframework-systemxml.ni
PE      57a20000-57a26000       Deferred        presentationframework-systemxmllinq.ni
PE      580d0000-582d3000       Deferred        system.xaml.ni
PE      584e0000-588fc000       Deferred        windowsbase.ni
PE      5e430000-5e612000       Deferred        microsoft.visualbasic.ni
PE      60370000-60475000       Deferred        system.configuration.ni
PE      61740000-61832000       Deferred        advapi32
PE      61a00000-62218000       Deferred        system.core.ni
PE      62440000-627b9000       Export          d3d9
PE      62b80000-62b8d000       Deferred        api-ms-win-core-localization-l1-2-1
PE      62e80000-62fb1000       Deferred        wbemprox
PE      62fc0000-631d3000       Deferred        rpcrt4
PE      63440000-6347d000       Deferred        wmiutils
PE      63480000-6349b000       Deferred        version
PE      63bc0000-63c04000       Deferred        shcore
PE      64a40000-64b29000       Deferred        shlwapi
PE      64c20000-64cf0000       Deferred        system.runtime.remoting.ni
PE      64ec0000-652b9000       Deferred        oleaut32
PE      66240000-66288000       Deferred        bcrypt
PE      66e40000-66e4d000       Deferred        api-ms-win-appmodel-runtime-l1-1-2
PE      67800000-6780c000       Deferred        api-ms-win-core-string-l1-1-0
PE      679c0000-679cc000       Deferred        api-ms-win-core-xstate-l2-1-0
PE      68500000-68640000       Deferred        combase
PE      68700000-68788000       Deferred        uxtheme
PE      69940000-699a6000       Deferred        propsys
PE      69ac0000-69ada000       Deferred        vulkan-1
PE      6a280000-6a4cd000       Deferred        msvcrt
PE      6ac80000-6ac8c000       Deferred        api-ms-win-core-fibers-l1-1-1
PE      6b500000-6b50c000       Deferred        api-ms-win-core-localization-obsolete-l1-2-0
PE      6bc00000-6bc99000       Deferred        sechost
PE      6bcc0000-6be60000       Deferred        setupapi
PE      6c9c0000-6cf59000       Deferred        gdi32
PE      6dd00000-6dd0d000       Deferred        api-ms-win-core-quirks-l1-1-0
PE      6de80000-6de8d000       Deferred        api-ms-win-core-synch-l1-2-0
PE      6e400000-6e40d000       Deferred        api-ms-win-core-winrt-string-l1-1-0
PE      6e8c0000-6eb79000       Deferred        crypt32
PE      6ec40000-6ec5a000       Deferred        dwmapi
PE      6ed00000-6f389000       Deferred        user32
PE      6f400000-6f6a5000       Deferred        dxgi
PE      6fe40000-6fedb000       Deferred        rsaenh
PE      6ff80000-6ff8c000       Deferred        api-ms-win-core-datetime-l1-1-1
PE      70940000-70994000       Deferred        mpr
PE      70b40000-70df9000       Deferred        ucrtbase
PE      71200000-71251000       Deferred        imm32
PE      79000000-7904a000       Deferred        mscoree
PE      79720000-7ab1c000       Deferred        mscorlib.ni
PE      7b000000-7b348000       Deferred        kernelbase
PE      7b600000-7b929000       Dwarf           kernel32
PE      7bc00000-7bea9000       Dwarf           ntdll
PE      7d600000-7d604000       Deferred        winevulkan
PE      7e010000-7e8e2000       Deferred        shell32
PE      7ea70000-7ea7b000       Deferred        winspool
PE      7eb80000-7eb83000       Deferred        dwrite
PE      7f770000-7f774000       Deferred        winex11
Threads:
process  tid      prio (all id:s are in hex)
00000038 services.exe
        0000003c    0
        00000040    0
        00000054    0
        0000006c    0
        00000094    0
        000000ac    0
        000000d4    0
        00000814    0
00000044 svchost.exe
        00000048    0
        0000005c    0
        00000060    0
0000004c explorer.exe
        00000050    0
        00000080    0
        0000008c    0
00000064 winedevice.exe
        00000068    0
        00000070    0
        00000074    0
        0000007c    0
00000084 plugplay.exe
        00000088    0
        00000098    0
        0000009c    0
        000000a0    0
        000000bc    0
000000a4 winedevice.exe
        000000a8    0
        000000b0    0
        000000b4    0
        000000b8    0
        000000c4    0
000000cc rpcss.exe
        000000d0    0
        000000d8    0
        000000dc    0
        000000e0    0
        000000e4    0
        000000e8    0
000000f0 conhost.exe
        000000f4    0
0000080c svchost.exe
        00000810    0
        0000081c    0
        0000002c    0
        00000028    0
        000000c0    0
        00000058    0
00000100 mscorsvw.exe
        0000054c    0
00000668 mscorsvw.exe
        0000076c    0
00000020 mscorsvw.exe
        0000013c    0
000001c4 mscorsvw.exe
        00000404    0
000004c4 mscorsvw.exe
        00000178    0
00000574 mscorsvw.exe
        0000036c    0
000007f8 mscorsvw.exe
        00000558    0
0000043c (D) Z:\home\ubuntu\Desktop\Power Operation 2022_22336.02\setup\Setup.exe
        00000234    0
        000003d0    0
        00000328    2
        00000818    0
        00000398    0
        000001f0    0
        000007b0    0 <==
        00000374    0
        000003e8    0
        00000474    0
        00000498    0
        00000678    0
00000220 conhost.exe
        00000370    0
System information:
    Wine build: wine-6.0.3 (Ubuntu 6.0.3~repack-1)
    Platform: i386
    Version: Windows 7
    Host system: Linux
    Host version: 5.19.0-1027-aws
he process was terminated due to an unhandled exception.\nException Info: exception code c0000005, exception address 00000000\n"
wine: Unhandled page fault on execute access to 00000000 at address 00000000 (thread 07b0), starting debugger...
Locked