Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on amdgpu because amdgpu_cs_query_fence_status failed #7365

Open
mpldr opened this issue Jan 8, 2023 · 1 comment
Open

Crash on amdgpu because amdgpu_cs_query_fence_status failed #7365

mpldr opened this issue Jan 8, 2023 · 1 comment
Labels
bug Not working as intended

Comments

@mpldr
Copy link

mpldr commented Jan 8, 2023

Please fill out the following:

  • Sway Version:

    • sway version 1.8
  • Debug Log:

    • This will record information about sway's activity. Please try to keep the reproduction as brief as possible and exit sway.
      • Since I don't know the exact cause, I can only use the system until the crash occurs
    • Unfortunately I had to compress it as it were 165 MiB of logfile

crash.log.gz

  • Configuration File:

    • Please try to produce with the default configuration.
    • If you cannot reproduce with the default configuration, please try to find the minimal configuration to reproduce.
    • Upload the config to a pastebin such as gist.github.com.
  • Stack Trace:

    • Stack Trace
         PID: 1550 (sway)
         UID: 1000 (moritz)
         GID: 998 (wheel)
      Signal: 11 (SEGV)
      

      Timestamp: Fri 2022-11-18 07:50:08 CET (1 month 21 days ago)
      Command Line: sway
      Executable: /usr/bin/sway
      Control Group: /user.slice/user-1000.slice/session-1.scope
      Unit: session-1.scope
      Slice: user-1000.slice
      Session: 1
      Owner UID: 1000 (moritz)
      Boot ID: e94cd22575ca4fb0a83c1188a9dae903
      Machine ID: ff578ecb07f5477f98bcb625c781e705
      Hostname: hades.moritz.sh
      Storage: /var/lib/systemd/coredump/core.sway.1000.e94cd22575ca4fb0a83c1188a9dae903.1550.1668754208000000.zst (missing)
      Message: Process 1550 (sway) of user 1000 dumped core.

              Stack trace of thread 1550:
              #0  0x00005593ce353bd0 n/a (sway + 0x1cbd0)
              #1  0x00007fc9b6c81c5e wlr_signal_emit_safe (libwlroots.so.10 + 0x87c5e)
              #2  0x00007fc9b6c5dda0 n/a (libwlroots.so.10 + 0x63da0)
              #3  0x00007fc9b6c5df15 n/a (libwlroots.so.10 + 0x63f15)
              #4  0x00007fc9b6c69cb9 n/a (libwlroots.so.10 + 0x6fcb9)
              #5  0x00007fc9b6c69d85 n/a (libwlroots.so.10 + 0x6fd85)
              #6  0x00005593ce399f19 n/a (sway + 0x62f19)
              #7  0x00005593ce35d2c0 n/a (sway + 0x262c0)
              #8  0x00007fc9b6c81c5e wlr_signal_emit_safe (libwlroots.so.10 + 0x87c5e)
              #9  0x00007fc9b6c703ae wlr_output_damage_destroy (libwlroots.so.10 + 0x763ae)
              #10 0x00007fc9b6c81c5e wlr_signal_emit_safe (libwlroots.so.10 + 0x87c5e)
              #11 0x00007fc9b6c4f849 wlr_output_destroy (libwlroots.so.10 + 0x55849)
              #12 0x00007fc9b6c391e7 n/a (libwlroots.so.10 + 0x3f1e7)
              #13 0x00007fc9b6c81c5e wlr_signal_emit_safe (libwlroots.so.10 + 0x87c5e)
              #14 0x00007fc9b6c4b589 n/a (libwlroots.so.10 + 0x51589)
              #15 0x00007fc9b6cd99e2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xb9e2)
              #16 0x00007fc9b6cda197 wl_display_run (libwayland-server.so.0 + 0xc197)
              #17 0x00005593ce348a0e n/a (sway + 0x11a0e)
              #18 0x00007fc9b69b4290 n/a (libc.so.6 + 0x23290)
              #19 0x00007fc9b69b434a __libc_start_main (libc.so.6 + 0x2334a)
              #20 0x00005593ce348dd5 n/a (sway + 0x11dd5)
              
              Stack trace of thread 1611:
              #0  0x00007fc9b6a144b6 n/a (libc.so.6 + 0x834b6)
              #1  0x00007fc9b6a16cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
              #2  0x00007fc9b410799e n/a (radeonsi_dri.so + 0x10799e)
              #3  0x00007fc9b40baf8c n/a (radeonsi_dri.so + 0xbaf8c)
              #4  0x00007fc9b41078cc n/a (radeonsi_dri.so + 0x1078cc)
              #5  0x00007fc9b6a178fd n/a (libc.so.6 + 0x868fd)
              #6  0x00007fc9b6a99a60 n/a (libc.so.6 + 0x108a60)
              
              Stack trace of thread 1613:
              #0  0x00007fc9b6a144b6 n/a (libc.so.6 + 0x834b6)
              #1  0x00007fc9b6a16cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
              #2  0x00007fc9b410799e n/a (radeonsi_dri.so + 0x10799e)
              #3  0x00007fc9b40baf8c n/a (radeonsi_dri.so + 0xbaf8c)
              #4  0x00007fc9b41078cc n/a (radeonsi_dri.so + 0x1078cc)
              #5  0x00007fc9b6a178fd n/a (libc.so.6 + 0x868fd)
              #6  0x00007fc9b6a99a60 n/a (libc.so.6 + 0x108a60)
              
              Stack trace of thread 1614:
              #0  0x00007fc9b6a144b6 n/a (libc.so.6 + 0x834b6)
              #1  0x00007fc9b6a16cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
              #2  0x00007fc9b410799e n/a (radeonsi_dri.so + 0x10799e)
              #3  0x00007fc9b40baf8c n/a (radeonsi_dri.so + 0xbaf8c)
              #4  0x00007fc9b41078cc n/a (radeonsi_dri.so + 0x1078cc)
              #5  0x00007fc9b6a178fd n/a (libc.so.6 + 0x868fd)
              #6  0x00007fc9b6a99a60 n/a (libc.so.6 + 0x108a60)
              
              Stack trace of thread 1616:
              #0  0x00007fc9b6a144b6 n/a (libc.so.6 + 0x834b6)
              #1  0x00007fc9b6a16cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
              #2  0x00007fc9b410799e n/a (radeonsi_dri.so + 0x10799e)
              #3  0x00007fc9b40baf8c n/a (radeonsi_dri.so + 0xbaf8c)
              #4  0x00007fc9b41078cc n/a (radeonsi_dri.so + 0x1078cc)
              #5  0x00007fc9b6a178fd n/a (libc.so.6 + 0x868fd)
              #6  0x00007fc9b6a99a60 n/a (libc.so.6 + 0x108a60)
              
              Stack trace of thread 1617:
              #0  0x00007fc9b6a144b6 n/a (libc.so.6 + 0x834b6)
              #1  0x00007fc9b6a16cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
              #2  0x00007fc9b410799e n/a (radeonsi_dri.so + 0x10799e)
              #3  0x00007fc9b40baf8c n/a (radeonsi_dri.so + 0xbaf8c)
              #4  0x00007fc9b41078cc n/a (radeonsi_dri.so + 0x1078cc)
              #5  0x00007fc9b6a178fd n/a (libc.so.6 + 0x868fd)
              #6  0x00007fc9b6a99a60 n/a (libc.so.6 + 0x108a60)
              
              Stack trace of thread 1615:
              #0  0x00007fc9b6a144b6 n/a (libc.so.6 + 0x834b6)
              #1  0x00007fc9b6a16cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
              #2  0x00007fc9b410799e n/a (radeonsi_dri.so + 0x10799e)
              #3  0x00007fc9b40baf8c n/a (radeonsi_dri.so + 0xbaf8c)
              #4  0x00007fc9b41078cc n/a (radeonsi_dri.so + 0x1078cc)
              #5  0x00007fc9b6a178fd n/a (libc.so.6 + 0x868fd)
              #6  0x00007fc9b6a99a60 n/a (libc.so.6 + 0x108a60)
              
              Stack trace of thread 1612:
              #0  0x00007fc9b6a144b6 n/a (libc.so.6 + 0x834b6)
              #1  0x00007fc9b6a16cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
              #2  0x00007fc9b410799e n/a (radeonsi_dri.so + 0x10799e)
              #3  0x00007fc9b40baf8c n/a (radeonsi_dri.so + 0xbaf8c)
              #4  0x00007fc9b41078cc n/a (radeonsi_dri.so + 0x1078cc)
              #5  0x00007fc9b6a178fd n/a (libc.so.6 + 0x868fd)
              #6  0x00007fc9b6a99a60 n/a (libc.so.6 + 0x108a60)
              
              Stack trace of thread 1619:
              #0  0x00007fc9b6a144b6 n/a (libc.so.6 + 0x834b6)
              #1  0x00007fc9b6a16cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
              #2  0x00007fc9b410799e n/a (radeonsi_dri.so + 0x10799e)
              #3  0x00007fc9b40baf8c n/a (radeonsi_dri.so + 0xbaf8c)
              #4  0x00007fc9b41078cc n/a (radeonsi_dri.so + 0x1078cc)
              #5  0x00007fc9b6a178fd n/a (libc.so.6 + 0x868fd)
              #6  0x00007fc9b6a99a60 n/a (libc.so.6 + 0x108a60)
              
              Stack trace of thread 1618:
              #0  0x00007fc9b6a144b6 n/a (libc.so.6 + 0x834b6)
              #1  0x00007fc9b6a16cd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
              #2  0x00007fc9b410799e n/a (radeonsi_dri.so + 0x10799e)
              #3  0x00007fc9b40baf8c n/a (radeonsi_dri.so + 0xbaf8c)
              #4  0x00007fc9b41078cc n/a (radeonsi_dri.so + 0x1078cc)
              #5  0x00007fc9b6a178fd n/a (libc.so.6 + 0x868fd)
              #6  0x00007fc9b6a99a60 n/a (libc.so.6 + 0x108a60)
              ELF object binary architecture: AMD x86-64
      

  • Description:
    • Start sway from TTY
    • Run a game (DXVK, AMDGPU Kernel 6.1.3 on Archlinux)
    • at some point sway crashes with
amdgpu: amdgpu_cs_query_fence_status failed.
amdgpu: The CS has been rejected (-125), but the context isn't robust.
amdgpu: The process will be terminated.
@mpldr mpldr added the bug Not working as intended label Jan 8, 2023
@emersion
Copy link
Member

emersion commented Jan 8, 2023

This sounds like a Mesa bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

2 participants