Trying to run Image Composite Editor in Wine Staging

Questions about Wine on Linux
Locked
msdobrescu
Newbie
Newbie
Posts: 3
Joined: Fri Jan 07, 2022 4:45 am

Trying to run Image Composite Editor in Wine Staging

Post by msdobrescu »

Hello,

I am trying to run Image Composite Editor in Wine staging 6.23 built from Gentoo repos (+ winetricks and protontricks).

First of all, I am not sure wine-gecko and wine-mono are accessible to any prefix I've created.
My Wine install should be a shared one, wine-gecko and wine-mono are under /usr/share/wine as described in the docs, but I've got messages here and there saying mono is not installed, when installing .net with Winetricks. Running 'winboot -u' under the prefixes did not seem to install the necessary packages.

Image Composite Editor crashes like this:

Code: Select all

0124:err:eventlog:ReportEventW L"Application: ICE.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.ComponentModel.Win32Exception\n   at System.Diagnostics.Process.StartWithShellExecuteEx(System.Diagnostics.ProcessStartInfo)\n   at System.Di"...
0124:fixme:advapi:DeregisterEventSource (00000000CAFE4242) stub

Unhandled Exception: System.ComponentModel.Win32Exception: Invalid handle
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Microsoft.Research.ICE.UserInterface.App.SuggestReinstall(String title, String message)
   at Microsoft.Research.ICE.UserInterface.App.CheckForValidSettings()
   at Microsoft.Research.ICE.UserInterface.App..ctor()
   at Microsoft.Research.ICE.UserInterface.App.Main()
wine: Unhandled exception 0xe0434352 in thread 124 at address 000000007B039017 (thread 0124), starting debugger...
013c:fixme:imm:ImeSetActiveContext (0x1548c0, 1): stub
013c:fixme:imm:ImmReleaseContext (00000000000100DC, 00000000001548C0): stub
0148:fixme:imm:ImeSetActiveContext (0x156730, 0): stub
0148:fixme:imm:ImmReleaseContext (00000000000300B4, 0000000000156730): stub
Unhandled exception: 0xe0434352 in 64-bit code (0x000000007b039017).
Register dump:
 rip:000000007b039017 rsp:000000000041c8b0 rbp:000000000041c970 eflags:00000202 (   - --  I   - - - )
 rax:000000000041c8f0 rbx:00000000e0434352 rcx:000000000041c8d0 rdx:000000000041ca60
 rsi:0000000000000001 rdi:0000000000000005  r8:0000000000000000  r9:000000000041c918 r10:000000000041c8f0
 r11:000000000041ca38 r12:0000000000004000 r13:000000000047ae00 r14:000000000041ca38 r15:000000000041eb78
Stack dump:
0x000000000041c8b0:  000000000041c8d0 000000000041c7d8
0x000000000041c8c0:  fffffffffffffffe 00000000004d9f00
0x000000000041c8d0:  00000001e0434352 0000000000000000
0x000000000041c8e0:  000000007b039017 0000000000000005
0x000000000041c8f0:  ffffffff80004005 0000000000000000
0x000000000041c900:  0000000000000000 0000000000000000
0x000000000041c910:  0000000000f20000 0000064474d2391c
0x000000000041c920:  0000064474d23920 000000000047ceb8
0x000000000041c930:  000000000170b700 000000000170b720
0x000000000041c940:  00000000004d9c00 00000000010c3f70
0x000000000041c950:  0000000000000000 000000000047ceb0
0x000000000041c960:  000000000041cb68 0000000000000001
Backtrace:
=>0 0x000000007b039017 (0x000000000041c970)
0x000000007b039017: leave
Modules:
Module  Address                                 Debug info      Name (63 modules)
PE      0000000000f20000-00000000019e7000       Deferred        clr
PE      00000000019f0000-0000000001a06000       Deferred        vcruntime140_clr0400
PE      0000000001a10000-0000000001acd000       Deferred        ucrtbase_clr0400
PE      000000001ad10000-000000001bb69000       Deferred        presentationcore.ni
PE      000000001bb70000-000000001bd67000       Deferred        wpfgfx_v0400
PE      000000001bd70000-000000001be0a000       Deferred        msvcp140_clr0400
PE      000000001be10000-000000001bf2f000       Deferred        presentationnative_v0400
PE      000000001bf30000-000000001c07e000       Deferred        clrjit
PE      000000001c1f0000-000000001c226000       Deferred        microsoft.applicationinsights
PE      000000001c2b0000-000000001c41a000       Deferred        diasymreader
PE      000000001c520000-000000001c89c000       Deferred        microsoft.research.visiontools.toolkit.desktop
PE      000000007b020000-000000007b027000       Deferred        kernelbase
PE      000000007b610000-000000007b7ce000       Deferred        kernel32
PE      0000000140000000-0000000140216000       Deferred        ice
PE      0000000170020000-0000000170024000       Deferred        ntdll
PE      0000000180000000-00000001800a9000       Deferred        mscoreei
PE      000006427ee50000-000006427eebf000       Deferred        mscoree
PE      000006442cc20000-000006442e32d000       Deferred        presentationframework.ni
PE      00000644301a0000-0000064430417000       Deferred        system.xaml.ni
PE      00000644309c0000-0000064430ecf000       Deferred        windowsbase.ni
PE      00000644406e0000-0000064440813000       Deferred        system.configuration.ni
PE      0000064443400000-0000064443e75000       Deferred        system.core.ni
PE      00000644442c0000-0000064444b6b000       Deferred        system.xml.ni
PE      0000064474a80000-00000644756ed000       Deferred        system.ni
PE      0000064478000000-00000644795e3000       Deferred        mscorlib.ni
PE      00007f4138550000-00007f4138553000       Deferred        api-ms-win-core-winrt-roparameterizediid-l1-1-0
PE      00007f4138560000-00007f4138566000       Deferred        ws2_32
PE      00007f41385a0000-00007f41385ab000       Deferred        mpr
PE      00007f41385d0000-00007f41385f2000       Deferred        wininet
PE      00007f4138660000-00007f41386b3000       Deferred        comctl32
PE      00007f41387b0000-00007f41387b8000       Deferred        aclui
PE      00007f41387e0000-00007f41390d6000       Deferred        shell32
PE      00007f41391d0000-00007f41391e2000       Deferred        urlmon
PE      00007f4139270000-00007f4139273000       Deferred        api-ms-win-core-localization-obsolete-l1-2-0
PE      00007f4139280000-00007f4139283000       Deferred        api-ms-win-core-datetime-l1-1-1
PE      00007f41392c0000-00007f41392c8000       Deferred        oleaut32
PE      00007f41393f0000-00007f41393f3000       Deferred        dwrite
PE      00007f4139930000-00007f4139933000       Deferred        api-ms-win-core-string-l1-1-0
PE      00007f4139960000-00007f41399a4000       Deferred        crypt32
PE      00007f4139a40000-00007f4139a44000       Deferred        bcrypt
PE      00007f4139a60000-00007f4139a64000       Deferred        rsaenh
PE      00007f4139e40000-00007f4139e43000       Deferred        api-ms-win-core-winrt-l1-1-0
PE      00007f4139e70000-00007f4139e74000       Deferred        winex11
PE      00007f413a020000-00007f413a023000       Deferred        api-ms-win-core-quirks-l1-1-0
PE      00007f413a030000-00007f413a033000       Deferred        api-ms-win-appmodel-runtime-l1-1-2
PE      00007f413a050000-00007f413a054000       Deferred        imm32
PE      00007f413a630000-00007f413a634000       Deferred        version
PE      00007f413a650000-00007f413a65f000       Deferred        setupapi
PE      00007f413a6f0000-00007f413a7f0000       Deferred        user32
PE      00007f413a980000-00007f413a984000       Deferred        rpcrt4
PE      00007f413aa10000-00007f413aa13000       Deferred        combase
PE      00007f413aa80000-00007f413aaa8000       Deferred        ole32
PE      00007f413acf0000-00007f413acf3000       Deferred        shcore
PE      00007f413adf0000-00007f413adf3000       Deferred        win32u
PE      00007f413ae40000-00007f413ae47000       Deferred        gdi32
PE      00007f413aed0000-00007f413aed8000       Deferred        shlwapi
PE      00007f413af50000-00007f413af54000       Deferred        ucrtbase
PE      00007f413b030000-00007f413b033000       Deferred        sechost
PE      00007f413b070000-00007f413b074000       Deferred        msvcrt
PE      00007f413b230000-00007f413b233000       Deferred        api-ms-win-core-localization-l1-2-1
PE      00007f413b250000-00007f413b254000       Deferred        advapi32
PE      00007f413bbd0000-00007f413bbd3000       Deferred        api-ms-win-core-fibers-l1-1-1
PE      00007f413bbf0000-00007f413bbf3000       Deferred        api-ms-win-core-synch-l1-2-0
Threads:
process  tid      prio (all id:s are in hex)
00000020 start.exe
        00000024    0
00000038 services.exe
        ["C:\windows\system32\services.exe"]
        0000003c    0
        00000040    0
        0000004c    0
        00000064    0
        00000080    0
        000000a4    0
        000000bc    0
        000000d0    0
        000000dc    0
00000044 svchost.exe
        [C:\windows\system32\svchost.exe -k LocalServiceNetworkRestricted]
        00000048    0
        00000054    0
        00000058    0
0000005c winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000060    0
        00000068    0
        0000006c    0
        00000070    0
        00000074    0
        000000cc    0
00000078 winedevice.exe
        [C:\windows\system32\winedevice.exe]
        0000007c    0
        00000084    0
        00000088    0
        0000008c    0
        000000a8    0
        000000ac    0
00000090 explorer.exe
        [C:\windows\system32\explorer.exe /desktop]
        00000094    0
        00000098    0
        0000009c    0
000000b4 plugplay.exe
        [C:\windows\system32\plugplay.exe]
        000000b8    0
        000000c0    0
        000000c4    0
        000000c8    0
000000d4 rpcss.exe
        [C:\windows\system32\rpcss.exe]
        000000d8    0
        000000e0    0
        000000e4    0
        000000e8    0
        000000ec    0
        000000f0    0
        00000154    0
        00000158    0
000000f8 conhost.exe
        ["C:\windows\system32\conhost.exe" --unix --width 145 --height 32 --server 0xc]
        000000fc    0
00000100 ICE.exe
        ["C:\Program Files\Microsoft Research\Image Composite Editor\ICE.exe" ]
        00000104    0
        00000108    0
        0000010c    2
00000110 start.exe
        00000114    0
00000118 conhost.exe
        ["C:\windows\system32\conhost.exe" --unix --width 145 --height 32 --server 0xc]
        0000011c    0
00000120 (D) C:\Program Files\Microsoft Research\Image Composite Editor\ICE.exe
        ["C:\Program Files\Microsoft Research\Image Composite Editor\ICE.exe" ]
        00000124    0 <==
        00000128    0
        0000012c    2
        00000140    0
00000144 explorer.exe
        [C:\windows\system32\explorer.exe /desktop]
        00000148    0
        0000014c    0
        00000150    0
System information:
    Platform: x86_64
    Version: Windows 10
To me it looks some specific .net version is missing, but can't tell which.

Also, in WineHQ app page it is stated that mono should be installed under Linux, the full mono, not wine-mono only. Is that true? Could that have effect? Is Wine runtime interfacing with it?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Trying to run Image Composite Editor in Wine Staging

Post by Bob Wya »

Hi,

Sorry for the delayed response. In case you didn't work out your issue yet...

wine-mono is packaged as a pure 32-bit binary only

Upstream does not support a pure 64-bit build of:
  • app-emulation/wine-staging
  • app-emulation/wine-vanilla
- which is how your Gentoo system is currently setup. You'll need to enable the multilib flag for Wine and dependency packages:

Code: Select all

+abi_x86_32
See: Winehq Wiki: Building Wine

Bob
Locked