all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Timothy Sample <samplet@ngyro.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: ‘staging’ and GNOME updates
Date: Wed, 24 Apr 2019 00:10:57 -0400	[thread overview]
Message-ID: <87a7ggoxf2.fsf@ngyro.com> (raw)
In-Reply-To: <87r29s60wp.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 23 Apr 2019 20:18:14 +0200")

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

Hi Ricardo,

Ricardo Wurmus <rekado@elephly.net> writes:

> Argh, it’s unfortunately incorrect.  The problem here is that
> “/home/bob” ends up being owned by root, which is the sole problem.
>
> I’m trying to find another reproducer.

I think I’ve found one.


[-- Attachment #2: rdesktop.scm --]
[-- Type: text/plain, Size: 2859 bytes --]

(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))

[-- Attachment #3: Type: text/plain, Size: 98 bytes --]


The notification file is attached (it’s the one that was originally
causing me problems).


[-- Attachment #4: notifications --]
[-- Type: application/octet-stream, Size: 276 bytes --]

[-- Attachment #5: Type: text/plain, Size: 523 bytes --]


After running GNOME 3.28 for a while, I’ve 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’ve turned on
notifications there), and I can’t seem to fix it.

Interestingly, there is a discussion about this on the Arch Linux forums
<https://bbs.archlinux.org/viewtopic.php?pid=1778640>.  I’m not sure if
there’s anything useful for us in there, though.

I did get a backtrace of the crash.


[-- Attachment #6: gnome-shell-bt.log --]
[-- Type: text/plain, Size: 1887 bytes --]

#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]

[-- Attachment #7: Type: text/plain, Size: 644 bytes --]


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 – it tells GTK+ to run this thread from the
“load_texture_async” function in “st-texture-cache.c”.

I think the “bad” user files are not the root cause here.  There’s
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 (“js/ui/notificationDaemon.js”).  I
glanced at it and its Git history, but couldn’t find anything.


-- Tim

  reply	other threads:[~2019-04-24  4:15 UTC|newest]

Thread overview: 132+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-13 15:17 Status update on 1.0 Ludovic Courtès
2019-03-13 15:32 ` Tobias Geerinckx-Rice
2019-03-13 16:00   ` Pierre Neidhardt
2019-03-13 18:33     ` Danny Milosavljevic
2019-03-13 18:47       ` Pierre Neidhardt
2019-03-15 12:54         ` Ludovic Courtès
2019-03-15 13:06           ` Pierre Neidhardt
2019-03-15 16:48           ` Mathieu Othacehe
2019-03-14  2:26       ` Maxim Cournoyer
2019-03-15 12:53   ` Ludovic Courtès
2019-03-13 16:34 ` mikadoZero
2019-03-13 17:08   ` Ricardo Wurmus
2019-03-13 18:14     ` pelzflorian (Florian Pelz)
2019-03-13 19:43       ` L p R n d n
2019-03-14 13:54       ` L p R n d n
2019-03-15 12:57       ` Ludovic Courtès
2019-03-15 13:56         ` pelzflorian (Florian Pelz)
2019-03-13 20:53     ` mikadoZero
2019-03-14  3:54 ` Timothy Sample
2019-03-15 13:47   ` Ludovic Courtès
2019-03-15 17:44     ` Timothy Sample
2019-03-23 16:36       ` Ludovic Courtès
2019-03-21 18:49     ` Timothy Sample
2019-03-23 16:42       ` Ludovic Courtès
2019-03-28  3:28         ` Timothy Sample
2019-03-14 21:16 ` Gábor Boskovits
2019-03-15 13:51   ` Ludovic Courtès
2019-03-15 18:31     ` Thompson, David
2019-03-15 19:20       ` Gábor Boskovits
     [not found]         ` <CAN1Dt4SQzXJOK2bJF47cFO5ERg9=uf8wktH=arJ=AypEUnO2yw@mail.gmail.com>
2019-03-21  0:52           ` Fwd: " Kristofer Buffington
2019-03-21 14:59             ` Gábor Boskovits
2019-03-27 15:26 ` Ludovic Courtès
2019-03-27 15:29   ` znavko
2019-03-27 23:10   ` Danny Milosavljevic
2019-03-29 16:07     ` Ludovic Courtès
2019-03-28  0:09   ` pelzflorian (Florian Pelz)
2019-03-29 16:13     ` KMScon vs. AMD Radeon Ludovic Courtès
2019-03-29 16:35       ` Mathieu Othacehe
2019-03-29 18:00         ` pelzflorian (Florian Pelz)
2019-03-30  7:25           ` Mathieu Othacehe
2019-03-30  8:40             ` Pierre Neidhardt
2019-03-30 15:22               ` pelzflorian (Florian Pelz)
2019-04-01 13:58                 ` Mathieu Othacehe
2019-04-01 20:01                   ` Ludovic Courtès
2019-04-02  7:53                     ` Mathieu Othacehe
2019-04-02 16:31                       ` Danny Milosavljevic
2019-04-03  5:11                         ` pelzflorian (Florian Pelz)
2019-04-03  7:19                           ` Mathieu Othacehe
2019-04-03  7:34                             ` pelzflorian (Florian Pelz)
2019-04-03 11:13                             ` Danny Milosavljevic
2019-04-03 20:46                               ` Ludovic Courtès
2019-04-03  7:37                         ` Mathieu Othacehe
2019-04-03 11:19                           ` Danny Milosavljevic
2019-04-03 18:56                             ` Danny Milosavljevic
2019-04-03 20:48                               ` Ludovic Courtès
2019-04-03 21:02                                 ` Danny Milosavljevic
2019-04-04  5:02                                   ` pelzflorian (Florian Pelz)
2019-04-04  7:38                                     ` Mathieu Othacehe
2019-04-04 13:49                                       ` Mathieu Othacehe
2019-04-04 16:07                                         ` pelzflorian (Florian Pelz)
2019-04-06  9:05                                           ` Danny Milosavljevic
2019-04-06 11:03                                             ` pelzflorian (Florian Pelz)
2019-04-14  9:48                                           ` pelzflorian (Florian Pelz)
2019-04-14 20:54                                             ` pelzflorian (Florian Pelz)
2019-04-15 12:09                                               ` Ludovic Courtès
2019-04-17 17:26                                                 ` pelzflorian (Florian Pelz)
2019-04-18  7:05                                                   ` pelzflorian (Florian Pelz)
2019-04-19 12:19                                                     ` pelzflorian (Florian Pelz)
2019-04-18 21:47                                                   ` Ludovic Courtès
2019-04-19 12:17                                                     ` pelzflorian (Florian Pelz)
2019-04-19 15:17                                                       ` Ludovic Courtès
2019-04-19 17:11                                                         ` pelzflorian (Florian Pelz)
2019-04-20  8:59                                                           ` pelzflorian (Florian Pelz)
2019-04-20  9:47                                                           ` Ludovic Courtès
2019-04-20 10:10                                                             ` pelzflorian (Florian Pelz)
2019-04-20 10:16                                                             ` Pierre Neidhardt
2019-04-20 10:39                                                               ` pelzflorian (Florian Pelz)
2019-04-20 11:21                                                                 ` Félicien Pillot
2019-04-20 12:30                                                                   ` Pierre Neidhardt
2019-04-20 12:37                                                                     ` Pierre Neidhardt
2019-04-21 19:57                                                                       ` Ludovic Courtès
2019-04-22  8:46                                                                         ` Pierre Neidhardt
2019-04-22 11:48                                                                       ` pelzflorian (Florian Pelz)
2019-04-22 18:34                                                                         ` pelzflorian (Florian Pelz)
2019-04-26  8:35                                                             ` pelzflorian (Florian Pelz)
2019-04-02  9:26                     ` pelzflorian (Florian Pelz)
2019-04-02 11:42                       ` pelzflorian (Florian Pelz)
2019-04-03  4:17                         ` pelzflorian (Florian Pelz)
2019-04-03  9:17                           ` pelzflorian (Florian Pelz)
2019-04-03  9:00                     ` Pierre Neidhardt
2019-04-07 16:10     ` Installer & locales Ludovic Courtès
2019-04-07 16:12     ` Installer & services Ludovic Courtès
2019-04-08  9:26       ` Ludovic Courtès
2019-04-01 19:34   ` Status update on 1.0 mikadoZero
2019-04-02  8:05     ` Ludovic Courtès
2019-03-28 13:46 ` Marius Bakke
2019-03-29 16:11   ` Ludovic Courtès
2019-03-29 18:56     ` Ricardo Wurmus
2019-03-31 20:52       ` ‘staging’ and GNOME updates Ludovic Courtès
2019-04-01 17:16         ` Efraim Flashner
2019-04-01 19:36           ` Ludovic Courtès
2019-04-10 16:53         ` Ricardo Wurmus
2019-04-10 21:13           ` Ludovic Courtès
2019-04-10 21:13           ` Ludovic Courtès
2019-04-11 19:33             ` Ricardo Wurmus
2019-04-13 17:46               ` Timothy Sample
2019-04-13 18:07                 ` Ricardo Wurmus
2019-04-15 12:13                   ` Ludovic Courtès
2019-04-15 12:34               ` Ludovic Courtès
2019-04-15 21:55                 ` Ludovic Courtès
2019-04-15 22:33                   ` Ricardo Wurmus
2019-04-16  4:59                     ` Timothy Sample
2019-04-16  9:31                       ` Ricardo Wurmus
2019-04-16 20:14                       ` Ludovic Courtès
2019-04-22 10:15                         ` Ludovic Courtès
2019-04-23  7:17                           ` Ricardo Wurmus
2019-04-23  7:20                             ` Ricardo Wurmus
2019-04-23 10:28                             ` Ludovic Courtès
2019-04-23 18:18                               ` Ricardo Wurmus
2019-04-24  4:10                                 ` Timothy Sample [this message]
2019-04-24  6:54                                   ` Ricardo Wurmus
2019-04-24 19:19                                     ` Timothy Sample
2019-04-25 12:57                                       ` Ricardo Wurmus
2019-04-25 15:33                                       ` Giovanni Biscuolo
2019-04-10 13:41       ` Status update on 1.0 Jonathan Brielmaier
2019-04-10 16:56         ` Ricardo Wurmus
2019-04-10 17:57           ` Jonathan Brielmaier
2019-04-10 19:05             ` Ricardo Wurmus
2019-04-17 12:49 ` Pierre Neidhardt
2019-04-17 13:38   ` TeX Live Ludovic Courtès
2019-04-17 14:04     ` Pierre Neidhardt
2019-04-18 14:39       ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a7ggoxf2.fsf@ngyro.com \
    --to=samplet@ngyro.com \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.