From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Sample Subject: Re: =?utf-8?B?4oCYc3RhZ2luZ+KAmQ==?= and GNOME updates Date: Wed, 24 Apr 2019 00:10:57 -0400 Message-ID: <87a7ggoxf2.fsf@ngyro.com> References: <871s3a4xd4.fsf@gnu.org> <87wokjyuw4.fsf@fastmail.com> <87muld8xuo.fsf@gnu.org> <87y34xzez8.fsf@elephly.net> <87zhpaydem.fsf_-_@gnu.org> <87imvler9u.fsf@elephly.net> <87bm1d8sxv.fsf@gnu.org> <87ef68ibfy.fsf@elephly.net> <87r2a3o39s.fsf@gnu.org> <87sgujgchr.fsf@gnu.org> <878swa3nm9.fsf@elephly.net> <87h8ayfstx.fsf@ngyro.com> <87zhopd7x4.fsf@gnu.org> <87d0le1h38.fsf@gnu.org> <87zhoh5gwu.fsf@elephly.net> <8736m9j9rx.fsf@gnu.org> <87r29s60wp.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJ9JI-0004UL-LO for guix-devel@gnu.org; Wed, 24 Apr 2019 00:15:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJ9FQ-00078B-H6 for guix-devel@gnu.org; Wed, 24 Apr 2019 00:11:06 -0400 In-Reply-To: <87r29s60wp.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 23 Apr 2019 20:18:14 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: Guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ricardo, Ricardo Wurmus writes: > Argh, it=E2=80=99s unfortunately incorrect. The problem here is that > =E2=80=9C/home/bob=E2=80=9D ends up being owned by root, which is the sol= e problem. > > I=E2=80=99m trying to find another reproducer. I think I=E2=80=99ve found one. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=rdesktop.scm (use-modules (gnu) (gnu system nss)) (use-service-modules desktop xorg) (use-package-modules certs gdb gnome linux) (operating-system (host-name "antelope") (timezone "Europe/Paris") (locale "en_US.utf8") (keyboard-layout (keyboard-layout "us" "altgr-intl")) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi") (keyboard-layout keyboard-layout))) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4")) %base-file-systems)) (users (cons (user-account (name "bob") (comment "Alice's brother") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) (packages (append (list nss-certs gdb gvfs strace) %base-packages)) (services (append (list (service gnome-desktop-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) (service (service-type (name 'break-gnome) (extensions (list (service-extension activation-service-type (lambda _ #~(let* ((pw (getpw "bob")) (uid (passwd:uid pw)) (gid (passwd:gid pw))) (mkdir-p "/home/bob/.local/share/gnome-shell") (chown "/home/bob" uid gid) (chown "/home/bob/.local" uid gid) (chown "/home/bob/.local/share" uid gid) (chown "/home/bob/.local/share/gnome-shell" uid gid) (copy-file #$(local-file "notifications") "/home/bob/.local/share/gnome-shell/notifications") (chown "/home/bob/.local/share/gnome-shell/notifications" uid gid) ))))) (default-value #t)))) %desktop-services)) (name-service-switch %mdns-host-lookup-nss)) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The notification file is attached (it=E2=80=99s the one that was originally causing me problems). --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=notifications Content-Transfer-Encoding: base64 b3JnLmdub21lLk5hdXRpbHVzAAAAAAAAbmF1dGlsdXMtbW91bnQtb3BlcmF0aW9uLTB4MTIzNjI4 MAAAAAAAAHRpdGxlAAAAc2VhZ2F0ZSB1bm1vdW50ZWQAAHMGAAAAYm9keQAAAABGaWxlc3lzdGVt IGhhcyBiZWVuIGRpc2Nvbm5lY3RlZC4AAHMFAAAAaWNvbgAAAAB0aGVtZWQAAG1lZGlhLXJlbW92 YWJsZS1zeW1ib2xpYwAZAGFzBwAoc3YpBQAAAABwcmlvcml0eQAAAAAAAAAAbm9ybWFsAABzCQAA AAAAAHRpbWVzdGFtcAAAAAAAAAApFKxcAAAAAAB4Ch1NhKLDAGF7c3Z9I/cTABIB --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable After running GNOME 3.28 for a while, I=E2=80=99ve had several crashes. It= used to crash whenever I opened a URL from Emacs, but fiddling with dconf has fixed that. It currently crashes every time I run ERC (I=E2=80=99ve turned= on notifications there), and I can=E2=80=99t seem to fix it. Interestingly, there is a discussion about this on the Arch Linux forums . I=E2=80=99m not s= ure if there=E2=80=99s anything useful for us in there, though. I did get a backtrace of the crash. --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=gnome-shell-bt.log #0 0x00007f5b368666b6 in __strlen_sse2 () from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/libc.so.6 #1 0x00007f5b37718318 in do_lookup.isra () from /gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libgio-2.0.so.0 #2 0x00007f5b3771890b in g_resource_get_info () from /gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libgio-2.0.so.0 #3 0x00007f5b37718e8d in g_resources_get_info () from /gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libgio-2.0.so.0 #4 0x00007f5b36533e15 in _gdk_pixbuf_new_from_resource_try_pixdata () from /gnu/store/fnna82d4mjfw8qmnr5l0g3rlr07jw134-gdk-pixbuf-2.38.1/lib/libgdk_pixbuf-2.0.so.0 #5 0x00007f5b36533f64 in gdk_pixbuf_new_from_resource () from /gnu/store/fnna82d4mjfw8qmnr5l0g3rlr07jw134-gdk-pixbuf-2.38.1/lib/libgdk_pixbuf-2.0.so.0 #6 0x00007f5b37012a99 in icon_info_ensure_scale_and_pixbuf () from /gnu/store/4ls7vk12bckr2d74492abg81am6nz3br-gtk+-3.24.7/lib/libgtk-3.so.0 #7 0x00007f5b37012d4c in load_icon_thread () from /gnu/store/4ls7vk12bckr2d74492abg81am6nz3br-gtk+-3.24.7/lib/libgtk-3.so.0 #8 0x00007f5b3772d4cd in g_task_thread_pool_thread () from /gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libgio-2.0.so.0 #9 0x00007f5b375a20ee in g_thread_pool_thread_proxy () from /gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0 #10 0x00007f5b375a1765 in g_thread_proxy () from /gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/libglib-2.0.so.0 #11 0x00007f5b36994019 in start_thread () from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/libpthread.so.0 #12 0x00007f5b368c492f in clone () from /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/libc.so.6 Detaching from program: /gnu/store/lv4bxsnjnc9d5bgpsz358bn8l63z6972-gnome-shell-3.28.2/bin/..gnome-shell-real-real, process 3673 [Inferior 1 (process 3673) detached] --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable It looks like GNOME Shell passes some bad icon data into GTK+, which results in a null filename that gets dereferenced. (GNOME Shell is not in the backtrace =E2=80=93 it tells GTK+ to run this thread from the =E2=80=9Cload_texture_async=E2=80=9D function in =E2=80=9Cst-texture-cache.= c=E2=80=9D. I think the =E2=80=9Cbad=E2=80=9D user files are not the root cause here. = There=E2=80=99s definitely something wrong with notifications. (I just plugged in a USB drive and, sure enough, GNOME Shell crashed.) The notification daemon code is written in JavaScript (=E2=80=9Cjs/ui/notificationDaemon.js=E2=80= =9D). I glanced at it and its Git history, but couldn=E2=80=99t find anything. -- Tim --=-=-=--