Exception when running repogen.exe (QtIFW) in a microk8s pod

Questions about Wine on Linux
Locked
kostochkin
Newbie
Newbie
Posts: 1
Joined: Mon Feb 08, 2021 12:21 pm

Exception when running repogen.exe (QtIFW) in a microk8s pod

Post by kostochkin »

Hello,

I'm trying to build a Qt application using Wine in a microk8s pod.
repogen.exe from Qt Installer Framework works well both with Wine on Linux, and with Wine in a Linux Docker container. But running it in a microk8s pod leads to an unhandled exception error. I used the same image in both containers.

Docker and Linux configuration:
Docker version 19.03.14, build 5eb3275d40
Host: latest Arch linux

microk8s configuration:
microk8s Version: v1.3.7
Host: Ubuntu 16.04

Image contains Arch linux, wine-6.1, QtIFW-3.1.1

Any idea?

The debug output is:

Code: Select all

wine: Unhandled page fault on write access to 00000010 at address 01085D4E (thread 0024), starting debugger...
Unhandled exception: page fault on write access to 0x00000010 in 32-bit code (0x01085d4e).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:01085d4e ESP:0031fd58 EBP:0031fdc4 EFLAGS:00010202(  R- --  I   - - - )
 EAX:00000002 EBX:0000000c ECX:00000001 EDX:00000010
 ESI:00000000 EDI:0012a7b0
Stack dump:
0x0031fd58:  0921ebd7 0031fe4c 0031fe40 00000000
0x0031fd68:  0031fda8 010e3836 0000000a 010844cb
0x0031fd78:  00000018 001346c0 0012a7b0 00000011
0x0031fd88:  0000000b 0000000c 00000001 00000010
0x0031fd98:  001352e0 0000000c 00000011 00000018
0x0031fda8:  0000000c 00135400 00000001 00134918
Backtrace:
=>0 0x01085d4e in repogen (+0xc85d4e) (0x0031fdc4)
  1 0x01085661 in repogen (+0xc85660) (0x0031fdf0)
  2 0x01084fa4 in repogen (+0xc84fa3) (0x0031fe30)
  3 0x0106ed69 in repogen (+0xc6ed68) (0x0031fe58)
  4 0x0105a23b EntryPoint+0xffffffff() in repogen (0x0031fe84)
  5 0x0105a3ce EntryPoint+0xffffffff() in repogen (0x0031fe94)
  6 0x010593a1 EntryPoint+0xffffffff() in repogen (0x0031feb0)
  7 0x0041faf5 EntryPoint+0xffffffff() in repogen (0x0031fee0)
  8 0x0106346b in repogen (+0xc6346a) (0x0031fef0)
  9 0x0105e4fc EntryPoint+0xffffffff() in repogen (0x0031ff30)
  10 0x7b62d9f0 EntryPoint+0xffffffff() in kernel32 (0x0031ff48)
  11 0x7bc56877 EntryPoint+0xffffffff() in ntdll (0x0031ff5c)
  12 0x7bc56ad0 EntryPoint+0xffffffff() in ntdll (0x0031ffec)
0x01085d4e: orl %eax,0x0(%edx,%esi,4)
Modules:
Module  Address                 Debug info      Name (30 modules)
PE        320000-  3dc000       Deferred        winmm
PE        400000- 15f7000       Export          repogen
PE      61740000-61782000       Deferred        advapi32
PE      62fc0000-6304f000       Deferred        rpcrt4
PE      63480000-6348c000       Deferred        version
PE      63bc0000-63bd9000       Deferred        shcore
PE      64a40000-64a95000       Deferred        shlwapi
PE      64ec0000-64fec000       Deferred        oleaut32
PE      66240000-66256000       Deferred        bcrypt
PE      67c80000-67cba000       Deferred        d3d9
PE      68500000-6855a000       Deferred        combase
PE      68700000-6872d000       Deferred        uxtheme
PE      6a040000-6a062000       Deferred        msacm32
PE      6a400000-6a531000       Deferred        ole32
PE      6bc00000-6bc2b000       Deferred        sechost
PE      6bcc0000-6bd3f000       Deferred        setupapi
PE      6c9c0000-6cb1e000       Deferred        gdi32
PE      6e8c0000-6e997000       Deferred        crypt32
PE      6ec40000-6ec4d000       Deferred        dwmapi
PE      6ed00000-6ef1b000       Deferred        user32
PE      70b40000-70c11000       Deferred        ucrtbase
PE      71200000-7121b000       Deferred        imm32
PE      7a840000-7a844000       Deferred        opengl32
PE      7b000000-7b0e8000       Deferred        kernelbase
PE      7b600000-7b819000       Dwarf           kernel32
PE      7bc00000-7bca0000       Dwarf           ntdll
PE      7d6f0000-7dfc7000       Deferred        shell32
PE      7e790000-7e794000       Deferred        wined3d
PE      7e910000-7e914000       Deferred        ws2_32
PE      7e980000-7e984000       Deferred        iphlpapi
Threads:
process  tid      prio (all id:s are in hex)
00000020 (D) c:\Qt\QtIFW-3.1.1\bin\repogen.exe
        00000024    0 <==
        000000f8    0
        000000fc    0
        00000108    0
00000030 winemenubuilder.exe
        00000034    0
00000038 services.exe
        0000003c    0
        00000040    0
        00000054    0
        00000058    0
        00000064    0
        0000007c    0
        00000080    0
        00000098    0
        000000c0    0
        000000d4    0
00000044 winedevice.exe
        00000048    0
        0000005c    0
        00000060    0
0000004c explorer.exe
        00000050    0
        00000074    0
0000006c plugplay.exe
        00000070    0
        00000084    0
        00000088    0
        0000008c    0
        000000a8    0
        000000ac    0
00000090 winedevice.exe
        00000094    0
        0000009c    0
        000000a0    0
        000000a4    0
        000000b0    0
        000000b4    0
000000b8 svchost.exe
        000000bc    0
        000000c4    0
        000000c8    0
000000cc rpcss.exe
        000000d0    0
        000000d8    0
        000000dc    0
        000000e0    0
        000000e4    0
        000000e8    0
        000000ec    0
000000f0 conhost.exe
        000000f4    0
System information:
    Wine build: wine-6.1
    Platform: i386 (WOW64)
    Version: Windows 7
    Host system: Linux
    Host version: 4.4.0-197-generic
Locked