pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
475 stars 85 forks source link

[Regression] Crash on hovering over context menu on panel when cosmic-comp started via cosmic-greeter #579

Closed Quackdoc closed 3 months ago

Quackdoc commented 3 months ago

I've only been able to replicate the crash when I start cosmic-comp via cosmic-greeter, starting it via cli cosmic-comp and then starting cosmic-panel via a terminal does not replicate the crash

below is the output of journalctl --boot -g "cosmic-comp" | wl-copy

Jun 26 21:31:19 quackdock greetd[990]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run", service: "login" }, default_session: ConfigSession { command: "cosmic-comp systemd-cat -t cosmic-greeter cosmic-greeter", user: "cosmic-greeter", service: "greetd-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } }
Jun 26 21:31:32 quackdock cosmic-session[2480]: starting process ' COSMIC_SESSION_SOCK=12 cosmic-comp '
Jun 26 21:31:33 quackdock cosmic-session[2480]: got environmental variables from cosmic-comp: [("WAYLAND_DISPLAY", "wayland-1"), ("DISPLAY", ":1")]
Jun 26 21:32:09 quackdock systemd-coredump[4436]: Process 2521 (cosmic-comp) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Jun 26 21:32:11 quackdock systemd-coredump[4440]: Process 2521 (cosmic-comp) of user 1000 dumped core.

                                                  Stack trace of thread 2553:
                                                  #0  0x0000768e34692f68 n/a (libpixman-1.so.0 + 0x83f68)
                                                  #1  0x0000768e3461dc87 pixman_image_composite32 (libpixman-1.so.0 + 0xec87)
                                                  #2  0x00005a8679a54f8e _ZN101_$LT$smithay..backend..renderer..pixman..PixmanFrame$u20$as$u20$smithay..backend..renderer..Frame$GT$22render_texture_from_to17h5392ccf93c46cb78E (cosmic-comp + 0xd6cf8e)
                                                  #3  0x00005a867922e605 _ZN3gbm13buffer_object21BufferObject$LT$T$GT$7map_mut17h0b4d1114db73d851E (cosmic-comp + 0x546605)
                                                  #4  0x00005a8679572318 _ZN7smithay7backend3drm10compositor34DrmCompositor$LT$A$C$F$C$U$C$G$GT$12render_frame17hf62ad211b827029fE (cosmic-comp + 0x88a318)
                                                  #5  0x00005a8679565e63 _ZN11cosmic_comp7backend3kms7surface18SurfaceThreadState6redraw17hd536839f5c73da45E (cosmic-comp + 0x87de63)
                                                  #6  0x00005a86790ad4a3 _ZN139_$LT$core..cell..RefCell$LT$calloop..sources..DispatcherInner$LT$S$C$F$GT$$GT$$u20$as$u20$calloop..sources..EventDispatcher$LT$Data$GT$$GT$14process_events17h87c55c8ad1ae0918E (cosmic-comp + 0x3c54a3)
                                                  #7  0x00005a86792e116d _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h4281d1b2a26833efE (cosmic-comp + 0x5f916d)
                                                  #8  0x00005a867946e5de _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h87027a13a7c03fdfE (cosmic-comp + 0x7865de)
                                                  #9  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #10 0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #11 0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2524:
                                                  #0  0x0000768e3441f4e2 epoll_wait (libc.so.6 + 0x1164e2)
                                                  #1  0x00005a8679803da3 _ZN6notify7inotify9EventLoop17event_loop_thread17h5ad0bbcf9293d108E (cosmic-comp + 0xb1bda3)
                                                  #2  0x00005a867981146f _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h5806d506d42d4a15E (cosmic-comp + 0xb2946f)
                                                  #3  0x00005a8679815579 _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h437b08b8adcbad9eE (cosmic-comp + 0xb2d579)
                                                  #4  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2550:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2549:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2554:
                                                  #0  0x00005a8679825b58 _ZN7polling6Poller4wait17hb10b19883762ff16E (cosmic-comp + 0xb3db58)
                                                  #1  0x00005a8679036ea6 _ZN7calloop3sys4Poll4poll17h15fe9054e9435929E (cosmic-comp + 0x34eea6)
                                                  #2  0x00005a86792e0b35 _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h4281d1b2a26833efE (cosmic-comp + 0x5f8b35)
                                                  #3  0x00005a867946e5de _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h87027a13a7c03fdfE (cosmic-comp + 0x7865de)
                                                  #4  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2557:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2572:
                                                  #0  0x0000768e3441f4e2 epoll_wait (libc.so.6 + 0x1164e2)
                                                  #1  0x00005a8679803da3 _ZN6notify7inotify9EventLoop17event_loop_thread17h5ad0bbcf9293d108E (cosmic-comp + 0xb1bda3)
                                                  #2  0x00005a867981146f _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h5806d506d42d4a15E (cosmic-comp + 0xb2946f)
                                                  #3  0x00005a8679815579 _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h437b08b8adcbad9eE (cosmic-comp + 0xb2d579)
                                                  #4  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2521:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e91661 _ZN3std3sys4unix5locks12futex_rwlock6RwLock15write_contended17hd725fbfeb37e8ee4E (cosmic-comp + 0x1a9661)
                                                  #2  0x00005a8678f1643e _ZN120_$LT$wayland_server..dispatch..ResourceData$LT$I$C$U$GT$$u20$as$u20$wayland_backend..rs..server..ObjectData$LT$D$GT$$GT$7request17h8855d8e9ed08ec54E (cosmic-comp + 0x22e43e)
                                                  #3  0x00005a867940ab32 _ZN15wayland_backend2rs11server_impl11common_poll21InnerBackend$LT$D$GT$19dispatch_events_for17h27e2f9305ae67cdbE (cosmic-comp + 0x722b32)
                                                  #4  0x00005a86790a9d1b _ZN139_$LT$core..cell..RefCell$LT$calloop..sources..DispatcherInner$LT$S$C$F$GT$$GT$$u20$as$u20$calloop..sources..EventDispatcher$LT$Data$GT$$GT$14process_events17h1cfea57aae728851E (cosmic-comp + 0x3c1d1b)
                                                  #5  0x00005a86790a40f4 _ZN7calloop10loop_logic21EventLoop$LT$Data$GT$3run17h4a0cc7c2b51c30ebE (cosmic-comp + 0x3bc0f4)
                                                  #6  0x00005a86792206f5 _ZN11cosmic_comp4main17hf3bd6b5014943bdbE (cosmic-comp + 0x5386f5)
                                                  #7  0x00005a86792e3e23 _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17headc00291c285b59E (cosmic-comp + 0x5fbe23)
                                                  #8  0x00005a86795ae739 _ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17hce7ed9e53b46bf5dE (cosmic-comp + 0x8c6739)
                                                  #9  0x00005a8679ada17e _ZN3std2rt19lang_start_internal17h12de51168669836eE (cosmic-comp + 0xdf217e)
                                                  #10 0x00005a86795ae724 _ZN3std2rt10lang_start17hc6dcaf4099ec2ac7E (cosmic-comp + 0x8c6724)
                                                  #11 0x0000768e3432ec88 n/a (libc.so.6 + 0x25c88)
                                                  #12 0x0000768e3432ed4c __libc_start_main (libc.so.6 + 0x25d4c)
                                                  #13 0x00005a8678eabb25 _start (cosmic-comp + 0x1c3b25)

                                                  Stack trace of thread 2525:
                                                  #0  0x0000768e3441f4e2 epoll_wait (libc.so.6 + 0x1164e2)
                                                  #1  0x00005a8679002c23 _ZN8async_io7reactor11ReactorLock5react17h92a9248de9808443E (cosmic-comp + 0x31ac23)
                                                  #2  0x00005a8679009eed _ZN8async_io6driver9main_loop17h002fb46acf7276d7E (cosmic-comp + 0x321eed)
                                                  #3  0x00005a86790094a6 _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17hd33b23e442915207E (cosmic-comp + 0x3214a6)
                                                  #4  0x00005a86790098af _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h434fadbafeab5c6eE (cosmic-comp + 0x3218af)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2555:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2563:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2573:
                                                  #0  0x0000768e3441f4e2 epoll_wait (libc.so.6 + 0x1164e2)
                                                  #1  0x00005a8679803da3 _ZN6notify7inotify9EventLoop17event_loop_thread17h5ad0bbcf9293d108E (cosmic-comp + 0xb1bda3)
                                                  #2  0x00005a867981146f _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h5806d506d42d4a15E (cosmic-comp + 0xb2946f)
                                                  #3  0x00005a8679815579 _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h437b08b8adcbad9eE (cosmic-comp + 0xb2d579)
                                                  #4  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3539:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2560:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2556:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3541:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3534:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2574:
                                                  #0  0x0000768e3441f4e2 epoll_wait (libc.so.6 + 0x1164e2)
                                                  #1  0x00005a8679803da3 _ZN6notify7inotify9EventLoop17event_loop_thread17h5ad0bbcf9293d108E (cosmic-comp + 0xb1bda3)
                                                  #2  0x00005a867981146f _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h5806d506d42d4a15E (cosmic-comp + 0xb2946f)
                                                  #3  0x00005a8679815579 _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h437b08b8adcbad9eE (cosmic-comp + 0xb2d579)
                                                  #4  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2566:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2580:
                                                  #0  0x00005a8679a26137 _ZN5x11rb15rust_connection23RustConnection$LT$S$GT$23read_packet_and_enqueue17h3359a351cdbd3e97E (cosmic-comp + 0xd3e137)
                                                  #1  0x00005a8679a8828a _ZN7smithay5utils5x11rb16run_event_thread17h23d3906c198d9b35E (cosmic-comp + 0xda028a)
                                                  #2  0x00005a8679a9930d _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17heb92f6addb2a4484E (cosmic-comp + 0xdb130d)
                                                  #3  0x00005a8679a87813 _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h166d7d1433b9b01fE (cosmic-comp + 0xd9f813)
                                                  #4  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2562:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2586:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8679adceb4 _ZN3std6thread4park17hb44d91f6f8fe4eabE (cosmic-comp + 0xdf4eb4)
                                                  #2  0x00005a8679a98dde _ZN3std4sync4mpmc5array16Channel$LT$T$GT$4recv28_$u7b$$u7b$closure$u7d$$u7d$17hb0aaa91c078afd13E (cosmic-comp + 0xdb0dde)
                                                  #3  0x00005a8679a97ddd _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17hb2c78e5c0069abccE (cosmic-comp + 0xdafddd)
                                                  #4  0x00005a8679a7fe26 _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17hfc6a6f76c76f874dE (cosmic-comp + 0xd97e26)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3535:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3537:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3536:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2565:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3542:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2559:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3538:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3543:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2558:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2564:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2561:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3533:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2567:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3540:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 2568:
                                                  #0  0x0000768e343984e9 n/a (libc.so.6 + 0x8f4e9)
                                                  #1  0x0000768e3439aed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                                                  #2  0x0000768e30f67c0e cnd_wait (iris_dri.so + 0x12fc0e)
                                                  #3  0x0000768e30f4586c util_queue_thread_func (iris_dri.so + 0x10d86c)
                                                  #4  0x0000768e30f67b3c impl_thrd_routine (iris_dri.so + 0x12fb3c)
                                                  #5  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #6  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)

                                                  Stack trace of thread 3544:
                                                  #0  0x0000768e3441ce9d syscall (libc.so.6 + 0x113e9d)
                                                  #1  0x00005a8678e78c14 _ZN10rayon_core5sleep5Sleep5sleep17h871eea1d7f892416E (cosmic-comp + 0x190c14)
                                                  #2  0x00005a8678e77c52 _ZN10rayon_core8registry12WorkerThread15wait_until_cold17h41f8d14146866b59E (cosmic-comp + 0x18fc52)
                                                  #3  0x00005a867982cd9c _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h04e715def753f367E (cosmic-comp + 0xb44d9c)
                                                  #4  0x00005a867982b77e _ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h05c58e2565b48055E (cosmic-comp + 0xb4377e)
                                                  #5  0x00005a8679b1c365 _ZN3std3sys4unix6thread6Thread3new12thread_start17he469335aef763e45E (cosmic-comp + 0xe34365)
                                                  #6  0x0000768e3439bded n/a (libc.so.6 + 0x92ded)
                                                  #7  0x0000768e3441f0dc n/a (libc.so.6 + 0x1160dc)
                                                  ELF object binary architecture: AMD x86-64
Jun 26 21:32:11 quackdock cosmic-session[2480]: process ' COSMIC_SESSION_SOCK=12 cosmic-comp ' terminated with signal 11
Jun 26 21:32:11 quackdock drkonqi-coredump-processor[4446]: "/usr/bin/cosmic-comp" 2521 "/var/lib/systemd/coredump/core.cosmic-comp.1000.4666e1563d28450682d67e2c3952ac46.2521.1719451929000000.zst"
Jun 26 21:32:11 quackdock drkonqi-coredump-launcher[5197]: Unable to find file for pid 2521 expected at "kcrash-metadata/cosmic-comp.4666e1563d28450682d67e2c3952ac46.2521.ini"
Jun 26 21:32:12 quackdock cosmic-session[2480]: cosmic-comp exited by signal
Jun 26 21:32:12 quackdock cosmic-session[2480]: sleeping for 6ms before restarting process cosmic-comp (restart 0)
Jun 26 21:32:12 quackdock cosmic-session[2480]: restarted process ' COSMIC_SESSION_SOCK=12 cosmic-comp ', now at 1 restarts
Jun 26 21:32:14 quackdock cosmic-session[2480]: starting process ' COSMIC_SESSION_SOCK=12 cosmic-comp '
Jun 26 21:32:14 quackdock cosmic-session[2480]: got environmental variables from cosmic-comp: [("WAYLAND_DISPLAY", "wayland-1"), ("DISPLAY", ":1")]
Quackdoc commented 3 months ago

I should note that it doesn't always crash

it seems to not crash if you open the menu and wait a second before moving the mouse over the menu the first time, after that it wont crash

Drakulix commented 3 months ago

Can't reproduce, but the stack trace looks like it crashes in pixman, which cosmic-comp only using for cursors on a cursor plane. So maybe you have some special cursor theme set, that causes this?

Quackdoc commented 3 months ago

I don't have any special cursors enabled I don't believe. It has become harder to replicate it consistently but the issue does still occur

➜  ~ env | rg -i cursor
XCURSOR_THEME=Cosmic

if rebuilding cosmic with --profile fastdebug would help I can, or rebuilding pixman with debug symbols I also can there too

Drakulix commented 3 months ago

if rebuilding cosmic with --profile fastdebug would help I can, or rebuilding pixman with debug symbols I also can there too

Yes please, a more detailed stack trace would be very helpful to figure out what is happening here, as I still have a hard time reproducing this at all.

Quackdoc commented 3 months ago

I've yet been able to reproduce the issue when using the fastdebug profile

Drakulix commented 3 months ago

I've yet been able to reproduce the issue when using the fastdebug profile

We have had a similar issue reported on our mattermost chat, which also listed a kernel backtrace before killing cosmic-comp. It got resolved by a kernel update, is it possible the issue is simply not affecting your system anymore because of said update as well? Or can you immediate reproduce when switching back to a release build?

Drakulix commented 3 months ago

Same as https://github.com/pop-os/cosmic-applets/issues/513

Drakulix commented 3 months ago

Been able to reproduce it, fix is in the works.

Drakulix commented 3 months ago

Should be fixed by:

Big thanks to everyone providing backtraces and @cmeissl for figuring out the cause so quickly!