protonscr

winedevice.exe overflowed signalstack

protonopen
ValveSoftware/Proton#6762 · opened 2023-05-10 by kakra · updated 2023-05-10 · 3 comments · github
Kkakra 2023-05-10 github

The following is logged to dmesg while Steam starts:

[   43.376979] traps: steamwebhelper[3650] trap invalid opcode ip:7fc0c2abff7b sp:7ffef75a5d90 error:0 in libcef.so[7fc0be8ef000+7770000]
[   58.552264] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[   58.554552] nvidia-uvm: Loaded the UVM driver, major device number 509.
[   71.359511] signal: winedevice.exe[5326] overflowed sigaltstack
[   71.359514] signal: winedevice.exe[5326] overflowed sigaltstack
Kkisak-valve maintainer 2023-05-10 github

Hello @kakra, are you able to tell which Proton version is running when these lines get logged? Also, do you have any third party Proton builds added to Steam?

Kkakra 2023-05-10 github

There's one I actually built with help of @ivyl for debugging a problem:

# compatibilitytools.d $ ls -alt
insgesamt 0
drwx------ 1 kakra kakra 4350 10. Mai 19:50 ../
drwxr-xr-x 1 kakra kakra  306 12. Nov 20:08 experimental_7.0-local/
drwxr-xr-x 1 kakra kakra   44  1. Jun 2022  ./

This is not used for any game, I could delete it.

OTOH, I don't understand why Proton is launched at all while Steam starts. It also creates a folder with AppId = 0 in the compatdata folder.

I can see these in coredumpctl which vaguely match the time at which the issue is logged:

Wed 2023-05-10 19:34:28 CEST    3650       500       500 SIGILL  present  /home/kakra/.local/share/Steam/ubuntu12_64/steamwebhelper                                          5.0M
Wed 2023-05-10 19:34:55 CEST    5323       500       500 SIGSEGV present  /home/kakra/.local/share/Steam/steamapps/common/Proton 4.11/dist/bin/wine64-preloader            543.0K

So I think it's a child of wine64-preloader, or a thread of PID 5323:

# coredumpctl info 5323
           PID: 5323 (winedevice.exe)
           UID: 500 (kakra)
           GID: 500 (kakra)
        Signal: 11 (SEGV)
     Timestamp: Wed 2023-05-10 19:34:55 CEST (20min ago)
  Command Line: $'C:\\windows\\system32\\winedevice.exe'
    Executable: /home/kakra/.local/share/Steam/steamapps/common/Proton 4.11/dist/bin/wine64-preloader
 Control Group: /user.slice/user-500.slice/[email protected]/app.slice/app-steam\[email protected]
          Unit: [email protected]
     User Unit: app-steam\[email protected]
         Slice: user-500.slice
     Owner UID: 500 (kakra)
       Boot ID: f59490b3e17342aeacb333f817f76581
    Machine ID: 121b87ca633e8ac0016656680000001b
      Hostname: jupiter
       Storage: /var/lib/systemd/coredump/core.winedevice\x2eexe.500.f59490b3e17342aeacb333f817f76581.5323.1683740095000000.zst (present)
  Size on Disk: 543.0K
       Message: Process 5323 (winedevice.exe) of user 500 dumped core.

                Module /usr/lib64/libm.so.6 without build-id.
                Module /usr/lib64/libc.so.6 without build-id.
                Module /usr/lib/gcc/x86_64-pc-linux-gnu/12/libgcc_s.so.1 without build-id.
                Module /usr/lib64/librt.so.1 without build-id.
                Module /usr/lib64/libdl.so.2 without build-id.
                Module /usr/lib64/libpthread.so.0 without build-id.
                Module /usr/lib64/ld-linux-x86-64.so.2 without build-id.
                Stack trace of thread 5326:
                #0  0x00007fccc2b2191a read (/usr/lib64/libc.so.6 + 0xf491a)
                #1  0x000000007bcace16 n/a (/home/kakra/.local/share/Steam/steamapps/common/Proton 4.11/dist/lib64/wine/ntdll.dll.so + 0xace16)
                #2  0x0000000200000000 n/a (n/a + 0x0)
                ELF object binary architecture: AMD x86-64

Maybe I should just uninstall Proton 4.11 from the library?

Kkakra 2023-05-10 github

BTW: I cannot uninstall 4.11, it complains with (translated from German): "cannot uninstall, shared content missing"

Update: compatdata folder for AppId = 0 is no longer created, it seems fixed since I last saw it.

Proton versions

DLLs