linuxmint / xapp

Cross-desktop libraries and common resources
GNU Lesser General Public License v3.0
129 stars 44 forks source link

xapps-1.8.8: xapp-sn-watcher terminating shortly after launching Cinnamon #96

Open mmirg opened 4 years ago

mmirg commented 4 years ago

There appears to be a regression in xapps-1.8.8 where xapp-sn-watcher terminates shortly after Cinnamon is launched. I briefly see my libindicator icons in the XApp Status Applet but they they disappear when xapp-sn-watcher is no longer running.

This is related to the issue I reported here: https://github.com/linuxmint/cinnamon/issues/9328

org.kde.StatusNotifierWatcherdoes not appear to be owned by xapp-sn-watcher when I search for it in d-feet.

Reverting to xapps-1.8.7 fixes the issue for me. I suspect this commit https://github.com/linuxmint/xapps/commit/624992e975e5048d95e11cd113b373a846212eb1 might be the source of the issue. Reversing that commit in 1.8.8 fixes the issue for me.

genbushi commented 4 years ago

while i'm not having any specific issues per se, I did notice these errors in dmesg and syslog, xapp-sn-watcher process still actively running:

[  139.296273] xapp-sn-watcher[1659]: segfault at 0 ip 00007fcd2a2dc6e4 sp 00007ffea0b9dad0 error 4 in libglib-2.0.so.0.6400.2[7fcd2a271000+84000]
[  139.296285] Code: b7 6d db b6 c1 c8 02 3d 49 92 24 09 0f 97 c0 0f b6 c0 48 8d 5c 03 02 4b 0f be 44 3d 00 49 01 c6 48 85 ed 78 05 4d 39 e6 73 5c <45> 0f b6 3e 45 84 ff 74 53 4c 89 f7 e8 0b d5 ff ff 89 c7 8d 80 00
[ 4316.832962] xapp-sn-watcher[11838]: segfault at 0 ip 00007f8d578b26e4 sp 00007fff8a1faa90 error 4 in libglib-2.0.so.0.6400.2[7f8d57847000+84000]
[ 4316.832975] Code: b7 6d db b6 c1 c8 02 3d 49 92 24 09 0f 97 c0 0f b6 c0 48 8d 5c 03 02 4b 0f be 44 3d 00 49 01 c6 48 85 ed 78 05 4d 39 e6 73 5c <45> 0f b6 3e 45 84 ff 74 53 4c 89 f7 e8 0b d5 ff ff 89 c7 8d 80 00
[ 4382.936147] xapp-sn-watcher[12909]: segfault at 0 ip 00007f8500ef46e4 sp 00007ffc0b478a80 error 4 in libglib-2.0.so.0.6400.2[7f8500e89000+84000]
[ 4382.936160] Code: b7 6d db b6 c1 c8 02 3d 49 92 24 09 0f 97 c0 0f b6 c0 48 8d 5c 03 02 4b 0f be 44 3d 00 49 01 c6 48 85 ed 78 05 4d 39 e6 73 5c <45> 0f b6 3e 45 84 ff 74 53 4c 89 f7 e8 0b d5 ff ff 89 c7 8d 80 00
[ 4499.522113] xapp-sn-watcher[13555]: segfault at 0 ip 00007f761d0966e4 sp 00007ffe341d48f0 error 4 in libglib-2.0.so.0.6400.2[7f761d02b000+84000]
[ 4499.522124] Code: b7 6d db b6 c1 c8 02 3d 49 92 24 09 0f 97 c0 0f b6 c0 48 8d 5c 03 02 4b 0f be 44 3d 00 49 01 c6 48 85 ed 78 05 4d 39 e6 73 5c <45> 0f b6 3e 45 84 ff 74 53 4c 89 f7 e8 0b d5 ff ff 89 c7 8d 80 00
$ ps aux | grep xapp
<USER>        13739  0.0  0.0 373772 27200 ?        Sl   08:24   0:00 /usr/libexec/xapps/sn-watcher/xapp-sn-watcher
Jun 28 08:24:28 <USER> kernel: [ 4499.522113] xapp-sn-watcher[13555]: segfault at 0 ip 00007f761d0966e4 sp 00007ffe341d48f0 error 4 in libglib-2.0.so.0.6400.2[7f761d02b000+84000]
Jun 28 08:24:28 <USER> kernel: [ 4499.522124] Code: b7 6d db b6 c1 c8 02 3d 49 92 24 09 0f 97 c0 0f b6 c0 48 8d 5c 03 02 4b 0f be 44 3d 00 49 01 c6 48 85 ed 78 05 4d 39 e6 73 5c <45> 0f b6 3e 45 84 ff 74 53 4c 89 f7 e8 0b d5 ff ff 89 c7 8d 80 00
Jun 28 08:24:28 <USER> systemd[1]: Started Process Core Dump (PID 13727/UID 0).
Jun 28 08:24:28 <USER> cinnamon-session[13318]: WARNING: t+25.66921s: Application 'xapp-sn-watcher.desktop' killed by signal 11
Jun 28 08:24:28 <USER> systemd-coredump[13728]: Process 13555 (xapp-sn-watcher) of user 1000 dumped core.#012#012Stack trace of thread 13555:#012#0  0x00007f761d0966e4 n/a (libglib-2.0.so.0 + 0x876e4)#012#1  0x00007f761d096b90 g_utf8_normalize (libglib-2.0.so.0 + 0x87b90)#012#2  0x000056461b7571c7 n/a (xapp-sn-watcher + 0x131c7)#012#3  0x00007f761d24cf49 n/a (libgio-2.0.so.0 + 0xb4f49)#012#4  0x00007f761d24db3d n/a (libgio-2.0.so.0 + 0xb5b3d)#012#5  0x00007f761d2b385d n/a (libgio-2.0.so.0 + 0x11b85d)#012#6  0x00007f761d24cf49 n/a (libgio-2.0.so.0 + 0xb4f49)#012#7  0x00007f761d24db3d n/a (libgio-2.0.so.0 + 0xb5b3d)#012#8  0x00007f761d2b2e71 n/a (libgio-2.0.so.0 + 0x11ae71)#012#9  0x00007f761d2b2fac n/a (libgio-2.0.so.0 + 0x11afac)#012#10 0x00007f761d24cf49 n/a (libgio-2.0.so.0 + 0xb4f49)#012#11 0x00007f761d24db3d n/a (libgio-2.0.so.0 + 0xb5b3d)#012#12 0x00007f761d2a831f n/a (libgio-2.0.so.0 + 0x11031f)#012#13 0x00007f761d24cf49 n/a (libgio-2.0.so.0 + 0xb4f49)#012#14 0x00007f761d24cf8d n/a (libgio-2.0.so.0 + 0xb4f8d)#012#15 0x00007f761d060e8e g_main_context_dispatch (libglib-2.0.so.0 + 0x51e8e)#012#16 0x00007f761d061240 n/a (libglib-2.0.so.0 + 0x52240)#012#17 0x00007f761d0612e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)#012#18 0x00007f761d27afd5 g_application_run (libgio-2.0.so.0 + 0xe2fd5)#012#19 0x000056461b74dda8 main (xapp-sn-watcher + 0x9da8)#012#20 0x00007f761c42e0b3 __libc_start_main (libc.so.6 + 0x270b3)#012#21 0x000056461b74de0e _start (xapp-sn-watcher + 0x9e0e)#012#012Stack trace of thread 13584:#012#0  0x00007f761c51c96f __GI___poll (libc.so.6 + 0x11596f)#012#1  0x00007f761d0611ae n/a (libglib-2.0.so.0 + 0x521ae)#012#2  0x00007f761d0612e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)#012#3  0x00007f761923d99d n/a (libdconfsettings.so + 0xa99d)#012#4  0x00007f761d08a931 n/a (libglib-2.0.so.0 + 0x7b931)#012#5  0x00007f761c1b8609 start_thread (libpthread.so.0 + 0x9609)#012#6  0x00007f761c529103 __clone (libc.so.6 + 0x122103)#012#012Stack trace of thread 13583:#012#0  0x00007f761c51c96f __GI___poll (libc.so.6 + 0x11596f)#012#1  0x00007f761d0611ae n/a (libglib-2.0.so.0 + 0x521ae)#012#2  0x00007f761d0612e3 g_main_context_iteration (libglib-2.0.so.0 + 0x522e3)#012#3  0x00007f761d061331 n/a (libglib-2.0.so.0 + 0x52331)#012#4  0x00007f761d08a931 n/a (libglib-2.0.so.0 + 0x7b931)#012#5  0x00007f761c1b8609 start_thread (libpthread.so.0 + 0x9609)#012#6  0x00007f761c529103 __clone (libc.so.6 + 0x122103)#012#012Stack trace of thread 13585:#012#0  0x00007f761c51c96f __GI___poll (libc.so.6 + 0x11596f)#012#1  0x00007f761d0611ae n/a (libglib-2.0.so.0 + 0x521ae)#012#2  0x00007f761d061533 g_main_loop_run (libglib-2.0.so.0 + 0x52533)#012#3  0x00007f761d2b6e9a n/a (libgio-2.0.so.0 + 0x11ee9a)#012#4  0x00007f761d08a931 n/a (libglib-2.0.so.0 + 0x7b931)#012#5  0x00007f761c1b8609 start_thread (libpthread.so.0 + 0x9609)#012#6  0x00007f761c529103 __clone (libc.so.6 + 0x122103)#012#012Stack trace of thread 13726:#012#0  0x00007f761c52270d syscall (libc.so.6 + 0x11b70d)#012#1  0x00007f761d0ae5a6 g_cond_wait_until (libglib-2.0.so.0 + 0x9f5a6)#012#2  0x00007f761d031561 n/a (libglib-2.0.so.0 + 0x22561)#012#3  0x00007f761d031b86 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x22b86)#012#4  0x00007f761d08b279 n/a (libglib-2.0.so.0 + 0x7c279)#012#5  0x00007f761d08a931 n/a (libglib-2.0.so.0 + 0x7b931)#012#6  0x00007f761c1b8609 start_thread (libpthread.so.0 + 0x9609)#012#7  0x00007f761c529103 __clone (libc.so.6 + 0x122103)
Jun 28 08:24:28 <USER> systemd[1]: systemd-coredump@3-13727-0.service: Succeeded