You are not logged in.

#1 2024-07-09 20:45:35

cequalspid
Member
Registered: 2016-03-21
Posts: 6

Sway + Radeon keeps crashing

Lately my sway/wayland desktop keeps crashing and sending me back to tty. This sometimes happens when I'm not even actively using my desktop. Hoping someone can point me in the righjt direction. This is what keeps showing up in the journal:

Jul 09 15:55:58 arcturus sudo[5335]: pam_unix(sudo:session): session opened for user root(uid=0) by camus(uid=1000)
Jul 09 15:55:58 arcturus sudo[5335]: pam_unix(sudo:session): session closed for user root
Jul 09 15:56:44 arcturus sudo[5346]: pam_systemd_home(sudo:account): New sd-bus connection (system-bus-pam-systemd-home-5346) opened.
Jul 09 15:56:44 arcturus sudo[5346]:   camus : TTY=pts/1 ; PWD=/home/camus ; USER=root ; COMMAND=/usr/bin/fsck -f /dev/nvme0n1p1
Jul 09 15:56:44 arcturus sudo[5346]: pam_unix(sudo:session): session opened for user root(uid=0) by camus(uid=1000)
Jul 09 15:56:44 arcturus sudo[5346]: pam_unix(sudo:session): session closed for user root
Jul 09 15:56:50 arcturus sudo[5359]: pam_systemd_home(sudo:account): New sd-bus connection (system-bus-pam-systemd-home-5359) opened.
Jul 09 15:56:50 arcturus sudo[5359]:   camus : TTY=pts/1 ; PWD=/home/camus ; USER=root ; COMMAND=/usr/bin/fsck /dev/nvme0n1p1
Jul 09 15:56:50 arcturus sudo[5359]: pam_unix(sudo:session): session opened for user root(uid=0) by camus(uid=1000)
Jul 09 15:56:50 arcturus sudo[5359]: pam_unix(sudo:session): session closed for user root
Jul 09 15:58:01 arcturus su[5413]: (to root) camus on pts/1
Jul 09 15:58:01 arcturus su[5413]: pam_unix(su:session): session opened for user root(uid=0) by camus(uid=1000)
Jul 09 15:59:19 arcturus systemd-coredump[5532]: Process 2540 (sway) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Jul 09 15:59:19 arcturus systemd[1]: Created slice Slice /system/systemd-coredump.
Jul 09 15:59:19 arcturus systemd[1]: Started Process Core Dump (PID 5532/UID 0).
Jul 09 15:59:20 arcturus kernel: sched: RT throttling activated
Jul 09 15:59:21 arcturus systemd-coredump[5533]: Process 2540 (sway) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 2540:
                                                  #0  0x000071a950a6be44 n/a (libc.so.6 + 0x94e44)
                                                  #1  0x000071a950a13a30 raise (libc.so.6 + 0x3ca30)
                                                  #2  0x000071a9509fb4c3 abort (libc.so.6 + 0x244c3)
                                                  #3  0x000071a9509fc354 n/a (libc.so.6 + 0x25354)
                                                  #4  0x000071a950a76085 n/a (libc.so.6 + 0x9f085)
                                                  #5  0x000071a950a797a4 n/a (libc.so.6 + 0xa27a4)
                                                  #6  0x000071a950a7a6f4 malloc (libc.so.6 + 0xa36f4)
                                                  #7  0x000071a95037d9b6 drmModeAtomicAddProperty (libdrm.so.2 + 0xf9b6)
                                                  #8  0x000071a950c8a0b5 n/a (libwlroots.so.12 + 0x3d0b5)
                                                  #9  0x000071a950c8ee11 n/a (libwlroots.so.12 + 0x41e11)
                                                  #10 0x000071a950c8d106 n/a (libwlroots.so.12 + 0x40106)
                                                  #11 0x000071a950c917bd n/a (libwlroots.so.12 + 0x447bd)
                                                  #12 0x000071a950ca95f7 wlr_output_commit_state (libwlroots.so.12 + 0x5c5f7)
                                                  #13 0x00005e290ad413a4 n/a (sway + 0x233a4)
                                                  #14 0x00005e290ad41bea n/a (sway + 0x23bea)
                                                  #15 0x000071a950d6442e wl_signal_emit_mutable (libwayland-server.so.0 + 0x842e)
                                                  #16 0x000071a950c96bf9 n/a (libwlroots.so.12 + 0x49bf9)
                                                  #17 0x000071a95037cd90 drmHandleEvent (libdrm.so.2 + 0xed90)
                                                  #18 0x000071a950c9484c n/a (libwlroots.so.12 + 0x4784c)
                                                  #19 0x000071a950d660a2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xa0a2)
                                                  #20 0x000071a950d6810f wl_display_run (libwayland-server.so.0 + 0xc10f)
                                                  #21 0x00005e290ad2dcd5 n/a (sway + 0xfcd5)
                                                  #22 0x000071a9509fcc88 n/a (libc.so.6 + 0x25c88)
                                                  #23 0x000071a9509fcd4c __libc_start_main (libc.so.6 + 0x25d4c)
                                                  #24 0x00005e290ad2e195 n/a (sway + 0x10195)
                                                  
                                                  Stack trace of thread 2604:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2609:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2606:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2611:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2615:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2610:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2602:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2613:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2607:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2614:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2605:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2617:
                                                  #0  0x000071a950aeae9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x000071a950f709e0 g_cond_wait (libglib-2.0.so.0 + 0xb79e0)
                                                  #2  0x000071a950ede8dc n/a (libglib-2.0.so.0 + 0x258dc)
                                                  #3  0x000071a950ede94d g_async_queue_pop (libglib-2.0.so.0 + 0x2594d)
                                                  #4  0x000071a9501e05fc n/a (libpangoft2-1.0.so.0 + 0xc5fc)
                                                  #5  0x000071a950f45236 n/a (libglib-2.0.so.0 + 0x8c236)
                                                  #6  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2603:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2612:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2616:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  
                                                  Stack trace of thread 2608:
                                                  #0  0x000071a950a664e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x000071a950a68ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x000071a94da9d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                  #3  0x000071a94da7b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                  #4  0x000071a94da9d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                  #5  0x000071a950a69ded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x000071a950aed0dc n/a (libc.so.6 + 0x1160dc)
                                                  ELF object binary architecture: AMD x86-64
Jul 09 15:59:22 arcturus systemd[1]: systemd-coredump@0-5532-0.service: Deactivated successfully.
Jul 09 15:59:22 arcturus su[5413]: pam_unix(su:session): session closed for user root
Jul 09 15:59:22 arcturus login[633]: pam_unix(login:session): session closed for user camus
Jul 09 15:59:22 arcturus login[633]: pam_systemd(login:session): New sd-bus connection (system-bus-pam-systemd-633) opened.
Jul 09 15:59:22 arcturus systemd[1]: getty@tty1.service: Deactivated successfully.
Jul 09 15:59:22 arcturus systemd[1]: run-credentials-getty\x40tty1.service.mount: Deactivated successfully.
Jul 09 15:59:22 arcturus systemd-logind[630]: Session 1 logged out. Waiting for processes to exit.
Jul 09 15:59:22 arcturus systemd[1]: getty@tty1.service: Scheduled restart job, restart counter is at 1.
Jul 09 15:59:22 arcturus systemd[1]: Started Getty on tty1.
Jul 09 15:59:22 arcturus systemd[1]: session-1.scope: Deactivated successfully.
Jul 09 15:59:22 arcturus systemd-logind[630]: Removed session 1.

Hardware is Asus B550-I with latest BIOS + AMD 3700X + AMD RX 580 gpu.
Open source drivers installed:
          mesa / lib32-mesa / xf86-video-amdgpu
          vulkan-radeon / lib32-vulkan-radeon
          libva-mesa-driver / lib32-libva-mesa-driver
          mesa-vdpau / lib32-mesa-vdpau

Things that are usually running even if not actively being used: Ranger, terminal (foot), and firefox.
Occasionally my wired Kensington trackball mouse pointer suddenly freezes signaling a crash about to happen.
I've noticed Firefox has also been crashing more frequently, including while I was writing up this post.
Help!

Last edited by cequalspid (2024-07-09 21:54:03)

Offline

#2 2024-07-09 21:27:03

seth
Member
Registered: 2012-09-03
Posts: 54,169

Re: Sway + Radeon keeps crashing

Jul 09 15:59:19 arcturus systemd-coredump[5532]: Process 2540 (sway) of user 1000 terminated abnormally with signal 6/ABRT, >

Please don't copy and paste out of the pager as it truncates lines.

This is some memory corruption, https://github.com/swaywm/sway/issues/6831 and https://github.com/swaywm/sway/issues/6372 go through similar patterns but that doesn't mean *that* much.
https://github.com/swaywm/sway/issues?q … sue+malloc

Anything in the journal ahead of the abort?
Is FF native wayland or xwayland?
https://wiki.archlinux.org/title/Firefox#Wayland

Offline

#3 2024-07-09 22:07:47

cequalspid
Member
Registered: 2016-03-21
Posts: 6

Re: Sway + Radeon keeps crashing

Woops, sorry about the truncation, fixed and added some lines from the journal just before crashdump.
I have wayland enabled firefox in my .bash_profile and about:support does show:  Window Protocol -> wayland

# Enable Firefox-Wayland
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
    export MOZ_ENABLE_WAYLAND=1
fi

Re:malloc() error:   I use a single monitor.
Re:Infrequent crashes of Sway after unlocking with swaylock:   I never use swaylock even though i have it installed

Re:memory:   This is actually a fairly new wipe and reinstall from scratch. Because it kept crashing, I wondered if the ram was bad. Before reinstall, I removed the gpu, and put it back in. But I also swapped out both 16gb ram sticks for a different pair from another pc because I thought what the heck, maybe it's the ram. But that didn't resolve the crashes. So maybe it's the mobo dying?

May not be helpful but cut and paste from a Firefox ".extra" crash file: https://pastebin.com/iYpbHvQi
Some tidbits:

...
"IsWayland":"1","LastInteractionDuration":"463","LastStartupWasCrash":"0","LinuxUnderMemoryPressure":"0",
"MozCrashReason":"Error reading events from display: Broken pipe",
"Notes":"Arch LinuxFP(D00-L1000-W0000000-T01) WR? WR+ EGL? EGL- GL Context? GL Context+ WebGL? WebGL+ ",
...
"StackTraces":{"crash_info":{"address":"0","crashing_thread":0,"type":"SIGSEGV / SEGV_MAPERR"},
"main_module":0,"modules":[{"base_addr":"0x641beb8af000",...
,"debug_file":"libxul.so", ...
,"debug_file":"libglib-2.0.so.0", ...
,"debug_file":"libwayland-client.so.0", ...
,"debug_file":"libgobject-2.0.so.0", ...
,"debug_file":"libnspr4.so", ...
,"debug_file":"libc.so.6", ...
,"debug_file":"ld-linux-x86-64.so.2", ...

Last edited by cequalspid (2024-07-09 22:44:51)

Offline

#4 2024-07-10 12:38:59

seth
Member
Registered: 2012-09-03
Posts: 54,169

Re: Sway + Radeon keeps crashing

"Error reading events from display: Broken pipe" reads like it crashed because sway went down.
sway has a habit to crash when all outputs disappear what could happen in response to swayidle - any chance that might be the case here?

You could run i3 for a while and see whether that crashes as well if you're worried about the HW.

Offline

#5 2024-07-10 21:25:22

cequalspid
Member
Registered: 2016-03-21
Posts: 6

Re: Sway + Radeon keeps crashing

Just wanted to first say thank you seth for trying to help.

I don't have swayidle running either.  But I did change one thing, and while it's only been a short amount of time I wonder if it made the difference.

What you reminded about Firefox + wayland, the wiki mentions:
If it is necessary to be regularly switching between Wayland and X.org, it may be useful to add a conditional to your shell's login startup script, e.g. ~/.bash_profile for Bash:

if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
    export MOZ_ENABLE_WAYLAND=1
fi

I realized I probably did not need that so I removed it from my .bash_profile and rebooted. Window Protocol still shows 'wayland' in firefox.  So far neither Sway or Firefox has crashed since. It's only been a day so far, but I was experiencing crashing a few times in a day. The crashes were happening prior but started to happen more frequently after I did recent pacman upgrades to the system and packages.  I have Ranger + foot + Firefox always running even when I'm away from the desktop.

So ...x hours since last crash, fingers crossed and will update the post in a day or so and if it still crashes I will just shelve sway and maybe dive into hyprland or other.

Last edited by cequalspid (2024-07-10 21:27:04)

Offline

#6 2024-07-10 21:53:19

seth
Member
Registered: 2012-09-03
Posts: 54,169

Re: Sway + Radeon keeps crashing

I could imagine that the corruption works the other way round and that the crashing FF causes some invalid/dangling memory in sway because some client cleanup doesn't run properly.
I don't see how changing an environment that's supposingly inert would cause FF to crash, though.

Offline

#7 2024-07-11 02:31:41

cequalspid
Member
Registered: 2016-03-21
Posts: 6

Re: Sway + Radeon keeps crashing

Yeah, that doesn't make sense, the environment variable is inert.  At this point the below is just to see if something makes sense, because I will probably just redo my installation and try something other than sway.

I just had a crash and this time maybe something to do with python (puddletag), qt.qpa.wayland (puddletag) and browser (librewolf) interaction which also crashed along with sway.

Maybe moving my mouse between puddletag and browser windows? Just guessing. I was  tagging some music files with puddletag when it crashed on me).

Puddletag crash (which initially does not crash sway):

Jul 10 20:26:11 arcturus systemd[1]: systemd-coredump@0-68409-0.service: Deactivated successfully.
Jul 10 20:15:04 arcturus python[67730]: qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x578510d58e80) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x578511317e40) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents

Jul 10 20:23:29 arcturus python[67730]: qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x578510d58e80) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x5785115188f0) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents
Jul 10 20:26:11 arcturus python[67730]: Traceback (most recent call last):
                                           File "/usr/lib/python3.12/site-packages/puddlestuff/puddleobjects.py", line 2416, in run
                                             self.retval = self.command()
                                                           ^^^^^^^^^^^^^^
                                           File "/usr/lib/python3.12/site-packages/puddlestuff/puddleobjects.py", line 872, in threadfunc
                                             temp = next(f)
                                                    ^^^^^^^
                                           File "/usr/lib/python3.12/site-packages/puddlestuff/puddletag.py", line 868, in func
                                             update = setRowData(row, f, undo=True)
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                           File "/usr/lib/python3.12/site-packages/puddlestuff/tagmodel.py", line 1115, in setRowData
                                             undo_val = write(audio, tags, self.saveModification, justrename)
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                           File "/usr/lib/python3.12/site-packages/puddlestuff/util.py", line 333, in write
                                             audio.save()
                                           File "/usr/lib/python3.12/site-packages/puddlestuff/audioinfo/mp4.py", line 463, in save
                                             audio.update(newtag)
                                           File "/usr/lib/python3.12/site-packages/mutagen/_util.py", line 498, in update
                                             self.__setitem__(key, value)
                                           File "/usr/lib/python3.12/site-packages/mutagen/_file.py", line 74, in __setitem__
                                             self.tags[key] = value
                                             ~~~~~~~~~^^^^^
                                           File "/usr/lib/python3.12/site-packages/mutagen/mp4/__init__.py", line 372, in __setitem__
                                             self._render(key, value)
                                           File "/usr/lib/python3.12/site-packages/mutagen/mp4/__init__.py", line 388, in _render
                                             return render_func(self, key, value, *render_args)
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                           File "/usr/lib/python3.12/site-packages/mutagen/mp4/__init__.py", line 824, in __render_text
                                             raise TypeError("%r not str" % v)
                                         TypeError: b'String Quartet no. 5: III' not str
Jul 10 20:26:11 arcturus systemd-coredump[68409]: Process 67730 (puddletag) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Jul 10 20:26:11 arcturus systemd[1]: Created slice Slice /system/systemd-coredump.
Jul 10 20:26:11 arcturus systemd[1]: Started Process Core Dump (PID 68409/UID 0).
Jul 10 20:26:11 arcturus systemd-coredump[68411]: Process 67730 (puddletag) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 68408:
                                                   #0  0x00007bf0300a8e44 n/a (libc.so.6 + 0x94e44)
                                                   #1  0x00007bf030050a30 raise (libc.so.6 + 0x3ca30)
                                                   #2  0x00007bf0300384c3 abort (libc.so.6 + 0x244c3)
                                                   #3  0x00007bf02d898143 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x98143)
                                                   #4  0x00007bf02a848048 n/a (QtCore.abi3.so + 0x48048)
                                                   #5  0x00007bf02d7077ab n/a (sip.cpython-312-x86_64-linux-gnu.so + 0xb7ab)
                                                   #6  0x00007bf02a88da9a n/a (QtCore.abi3.so + 0x8da9a)
                                                   #7  0x00007bf02d8f261b n/a (libQt5Core.so.5 + 0xf261b)
                                                   #8  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #9  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   
                                                   Stack trace of thread 67730:
                                                   #0  0x00007bf03011c39d __poll (libc.so.6 + 0x10839d)
                                                   #1  0x00007bf02cd768fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                                                   #2  0x00007bf02cd13f95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                                                   #3  0x00007bf02dafa37f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2fa37f)
                                                   #4  0x00007bf02daa382c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a382c)
                                                   #5  0x00007bf02daafbfd _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2afbfd)
                                                   #6  0x00007bf02f0de8f0 n/a (QtWidgets.abi3.so + 0x2de8f0)
                                                   #7  0x00007bf0303b0aac n/a (libpython3.12.so.1.0 + 0x1b0aac)
                                                   #8  0x00007bf030380abb _PyObject_MakeTpCall (libpython3.12.so.1.0 + 0x180abb)
                                                   #9  0x00007bf03038931f _PyEval_EvalFrameDefault (libpython3.12.so.1.0 + 0x18931f)
                                                   #10 0x00007bf03044d0f5 PyEval_EvalCode (libpython3.12.so.1.0 + 0x24d0f5)
                                                   #11 0x00007bf0304703ea n/a (libpython3.12.so.1.0 + 0x2703ea)
                                                   #12 0x00007bf03046b2ef n/a (libpython3.12.so.1.0 + 0x26b2ef)
                                                   #13 0x00007bf030485924 n/a (libpython3.12.so.1.0 + 0x285924)
                                                   #14 0x00007bf030484c51 _PyRun_SimpleFileObject (libpython3.12.so.1.0 + 0x284c51)
                                                   #15 0x00007bf03048480f _PyRun_AnyFileObject (libpython3.12.so.1.0 + 0x28480f)
                                                   #16 0x00007bf03047d034 Py_RunMain (libpython3.12.so.1.0 + 0x27d034)
                                                   #17 0x00007bf03043860c Py_BytesMain (libpython3.12.so.1.0 + 0x23860c)
                                                   #18 0x00007bf030039c88 n/a (libc.so.6 + 0x25c88)
                                                   #19 0x00007bf030039d4c __libc_start_main (libc.so.6 + 0x25d4c)
                                                   #20 0x00005784fb456045 _start (python3.12 + 0x1045)
                                                   
                                                   Stack trace of thread 67746:
                                                   #0  0x00007bf0300a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                   #1  0x00007bf0300a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                   #2  0x00007bf02149d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                   #3  0x00007bf02147b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                   #4  0x00007bf02149d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                   #5  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #6  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   
                                                   Stack trace of thread 67745:
                                                   #0  0x00007bf0300a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                   #1  0x00007bf0300a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                   #2  0x00007bf02149d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                   #3  0x00007bf02147b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                   #4  0x00007bf02149d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                   #5  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #6  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   
                                                   Stack trace of thread 67741:
                                                   #0  0x00007bf03011c39d __poll (libc.so.6 + 0x10839d)
                                                   #1  0x00007bf02a1220f4 n/a (libQt5WaylandClient.so.5 + 0x690f4)
                                                   #2  0x00007bf02d8f261b n/a (libQt5Core.so.5 + 0xf261b)
                                                   #3  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #4  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   
                                                   Stack trace of thread 67740:
                                                   #0  0x00007bf03011c39d __poll (libc.so.6 + 0x10839d)
                                                   #1  0x00007bf02cd768fd n/a (libglib-2.0.so.0 + 0xbe8fd)
                                                   #2  0x00007bf02cd13f95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
                                                   #3  0x00007bf02dafa37f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2fa37f)
                                                   #4  0x00007bf02daa382c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a382c)
                                                   #5  0x00007bf02d8f277d _ZN7QThread4execEv (libQt5Core.so.5 + 0xf277d)
                                                   #6  0x00007bf02a051b23 n/a (libQt5DBus.so.5 + 0x17b23)
                                                   #7  0x00007bf02d8f261b n/a (libQt5Core.so.5 + 0xf261b)
                                                   #8  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #9  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   
                                                   Stack trace of thread 67742:
                                                   #0  0x00007bf03011c39d __poll (libc.so.6 + 0x10839d)
                                                   #1  0x00007bf02a1220f4 n/a (libQt5WaylandClient.so.5 + 0x690f4)
                                                   #2  0x00007bf02d8f261b n/a (libQt5Core.so.5 + 0xf261b)
                                                   #3  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #4  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   
                                                   Stack trace of thread 67749:
                                                   #0  0x00007bf0300a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                   #1  0x00007bf0300a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                   #2  0x00007bf02d8edb55 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xedb55)
                                                   #3  0x00007bf02e992bc0 n/a (libQt5Widgets.so.5 + 0x392bc0)
                                                   #4  0x00007bf02d8f261b n/a (libQt5Core.so.5 + 0xf261b)
                                                   #5  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #6  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   
                                                   Stack trace of thread 67743:
                                                   #0  0x00007bf0300a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                   #1  0x00007bf0300a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                   #2  0x00007bf02149d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                   #3  0x00007bf02147b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                   #4  0x00007bf02149d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                   #5  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #6  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   
                                                   Stack trace of thread 67747:
                                                   #0  0x00007bf0300a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                   #1  0x00007bf0300a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                   #2  0x00007bf02149d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                   #3  0x00007bf02147b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                   #4  0x00007bf02149d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                   #5  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #6  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   
                                                   Stack trace of thread 67744:
                                                   #0  0x00007bf0300a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                   #1  0x00007bf0300a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                   #2  0x00007bf02149d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                   #3  0x00007bf02147b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                   #4  0x00007bf02149d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                   #5  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #6  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   
                                                   Stack trace of thread 67748:
                                                   #0  0x00007bf0300a34e9 n/a (libc.so.6 + 0x8f4e9)
                                                   #1  0x00007bf0300a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                   #2  0x00007bf02149d3ee n/a (radeonsi_dri.so + 0x9d3ee)
                                                   #3  0x00007bf02147b19c n/a (radeonsi_dri.so + 0x7b19c)
                                                   #4  0x00007bf02149d31d n/a (radeonsi_dri.so + 0x9d31d)
                                                   #5  0x00007bf0300a6ded n/a (libc.so.6 + 0x92ded)
                                                   #6  0x00007bf03012a0dc n/a (libc.so.6 + 0x1160dc)
                                                   ELF object binary architecture: AMD x86-64
Jul 10 20:26:11 arcturus systemd[1]: systemd-coredump@0-68409-0.service: Deactivated successfully.

Admittedly, in a rush I did not bother checking the logs and just restarted puddletag to finish up.  10min later librewolf along with sway crashes me back to the tty login.

Jul 10 20:37:10 arcturus python[68942]: qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x5973b6fbe270) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x5973b7cfbdd0) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents
Jul 10 20:39:39 arcturus systemd-coredump[69469]: Process 2631 (sway) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Jul 10 20:39:39 arcturus systemd[1]: Started Process Core Dump (PID 69469/UID 0).
Jul 10 20:39:41 arcturus kernel: sched: RT throttling activated
Jul 10 20:39:42 arcturus systemd-coredump[69470]: Process 2631 (sway) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 2631:
                                                   #0  0x00007a1889128e44 n/a (libc.so.6 + 0x94e44)
                                                   #1  0x00007a18890d0a30 raise (libc.so.6 + 0x3ca30)
                                                   #2  0x00007a18890b84c3 abort (libc.so.6 + 0x244c3)
                                                   #3  0x00007a18890b9354 n/a (libc.so.6 + 0x25354)
                                                   #4  0x00007a1889133085 n/a (libc.so.6 + 0x9f085)
                                                   #5  0x00007a18891367a4 n/a (libc.so.6 + 0xa27a4)
                                                   #6  0x00007a18891376f4 malloc (libc.so.6 + 0xa36f4)
...
...snip
...
Jul 10 20:37:10 arcturus python[68942]: qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x5973b6fbe270) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x5973b7cfbdd0) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents
Jul 10 20:39:39 arcturus systemd-coredump[69469]: Process 2631 (sway) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Jul 10 20:39:39 arcturus systemd[1]: Started Process Core Dump (PID 69469/UID 0).
Jul 10 20:39:41 arcturus kernel: sched: RT throttling activated
Jul 10 20:39:42 arcturus systemd-coredump[69470]: Process 2631 (sway) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 2631:
                                                   #0  0x00007a1889128e44 n/a (libc.so.6 + 0x94e44)
                                                   #1  0x00007a18890d0a30 raise (libc.so.6 + 0x3ca30)
                                                   #2  0x00007a18890b84c3 abort (libc.so.6 + 0x244c3)
                                                   #3  0x00007a18890b9354 n/a (libc.so.6 + 0x25354)
                                                   #4  0x00007a1889133085 n/a (libc.so.6 + 0x9f085)
                                                   #5  0x00007a18891367a4 n/a (libc.so.6 + 0xa27a4)
                                                   #6  0x00007a18891376f4 malloc (libc.so.6 + 0xa36f4)
...snip
*** rather lengthy librewolf stack trace: https://pastebin.com/N5RCZX8Z ***
...snip

Jul 10 20:39:45 arcturus systemd[1]: systemd-coredump@2-69478-0.service: Deactivated successfully.
Jul 10 20:39:45 arcturus systemd[1]: session-1.scope: Deactivated successfully.
Jul 10 20:39:45 arcturus systemd-logind[608]: Removed session 1.
Jul 10 20:39:46 arcturus login[69493]: pam_systemd_home(login:auth): New sd-bus connection (system-bus-pam-systemd-home-69493) opened.
Jul 10 20:39:48 arcturus login[69493]: pam_unix(login:session): session opened for user camus(uid=1000) by camus(uid=0)
Jul 10 20:39:48 arcturus login[69493]: pam_systemd(login:session): New sd-bus connection (system-bus-pam-systemd-69493) opened.

Last edited by cequalspid (2024-07-11 02:35:06)

Offline

#8 2024-07-11 12:21:26

seth
Member
Registered: 2012-09-03
Posts: 54,169

Re: Sway + Radeon keeps crashing

puddletag seems to have isssue w/ a popup window

setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x578510d58e80) which does not match
the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x578511317e40)
According to the xdg-shell protocol, this is not allowed.
The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup.
Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents

which seems a client bug that Qt aborts on.

*** rather lengthy librewolf stack trace: https://pastebin.com/N5RCZX8Z ***

librewolf and some python process simply go down because sway crashed - the core issue is the sway memory corruption and you'll have to throw eg. ASAN at it in order to know why that happens.

This is sway from the repos? (also "type sway" to make sure there's no local binary in the way) - do you use any AUR packages (like for wlroots)?

Offline

Board footer

Powered by FluxBB