benzea / gnome-shell-extension-redshift

DO NOT USE; GNOME NOW INCLUDES THE FEATURE ALREADY! – A redshift extension for gnome-shell – Obsolete with GNOME 3.26! Use the buildin nightlight feature instead!
GNU General Public License v2.0
71 stars 5 forks source link

Core dump after system update #11

Closed tsujigiri closed 7 years ago

tsujigiri commented 7 years ago

I'm running Arch Linux and I couldn't log into Gnome anymore after a system update. Removing the patched gnome-settings-daemon and re-installing the regular one fixed it. In the logs I found that gnome-shell dumped its core.

The following packages were updated:

[2017-01-12 10:49] [ALPM] upgraded gcc-libs (6.2.1-1 -> 6.3.1-1)
[2017-01-12 10:49] [ALPM] upgraded boost-libs (1.62.0-4 -> 1.63.0-1)
[2017-01-12 10:49] [ALPM] upgraded libsystemd (232-6 -> 232-7)
[2017-01-12 10:49] [ALPM] upgraded dnsmasq (2.76-3 -> 2.76-4)
[2017-01-12 10:49] [ALPM] upgraded fontconfig (2.12.1-3 -> 2.12.1-4)
[2017-01-12 10:49] [ALPM] upgraded gnome-online-accounts (3.22.3-1 -> 3.22.4-1)
[2017-01-12 10:49] [ALPM] upgraded libphonenumber (7.7.4-2 -> 8.0.0-1)
[2017-01-12 10:49] [ALPM] upgraded evolution-data-server (3.22.3-1 -> 3.22.3-2)
[2017-01-12 10:49] [ALPM] upgraded gcc (6.2.1-1 -> 6.3.1-1)
[2017-01-12 10:49] [ALPM] upgraded hindent (5.2.2-1 -> 5.2.2-2)
[2017-01-12 10:49] [ALPM] upgraded libbluray (0.9.2-2 -> 0.9.3.r84.05c9fdec-1)
[2017-01-12 10:49] [ALPM] upgraded libcmis (0.5.1-4 -> 0.5.1-5)
[2017-01-12 10:49] [ALPM] upgraded libixion (0.11.1-4 -> 0.11.1-5)
[2017-01-12 10:49] [ALPM] upgraded libnl (3.2.28-1 -> 3.2.29-1)
[2017-01-12 10:49] [ALPM] upgraded liborcus (0.11.2-4 -> 0.11.2-5)
[2017-01-12 10:49] [ALPM] upgraded libuv (1.10.1-1 -> 1.10.2-1)
[2017-01-12 10:49] [ALPM] upgraded neovim (0.1.7-1 -> 0.1.7-2)
[2017-01-12 10:49] [ALPM] upgraded ruby (2.3.3-2 -> 2.4.0-1)
[2017-01-12 10:49] [ALPM] upgraded ruby-docs (2.3.3-2 -> 2.4.0-1)
[2017-01-12 10:49] [ALPM] upgraded source-highlight (3.1.8-10 -> 3.1.8-11)
[2017-01-12 10:49] [ALPM] upgraded stack (1.3.2-6 -> 1.3.2-10)
[2017-01-12 10:49] [ALPM] upgraded systemd (232-6 -> 232-7)
[2017-01-12 10:49] [ALPM] upgraded systemd-sysvcompat (232-6 -> 232-7)
[2017-01-12 10:50] [ALPM] upgraded vim-runtime (8.0.0149-1 -> 8.0.0170-1)
[2017-01-12 10:50] [ALPM] upgraded vim (8.0.0149-1 -> 8.0.0170-1)
[2017-01-12 10:50] [ALPM] upgraded xf86-input-evdev (2.10.4-1 -> 2.10.4-2)
[2017-01-12 10:50] [ALPM] upgraded xf86-input-wacom (0.33.0-1 -> 0.34.0-1)
[2017-01-12 10:50] [ALPM] upgraded xf86-video-intel (1:2.99.917+746+g169c74f-1 -> 1:2.99.917+747+g028c946d-1)
[2017-01-12 10:50] [ALPM] upgraded xorg-mkfontdir (1.0.7-2 -> 1.0.7-5)
[2017-01-12 10:50] [ALPM] upgraded xorg-server-common (1.18.4-1 -> 1.19.1-1)
[2017-01-12 10:50] [ALPM] upgraded xorg-server (1.18.4-1 -> 1.19.1-1)
[2017-01-12 10:50] [ALPM] upgraded xorg-server-xwayland (1.18.4-1 -> 1.19.1-1)

This is the core dump:

Process 2479 (gnome-shell) of user 1000 dumped core.

                                               Stack trace of thread 2479:
                                               #0  0x00007f0d8b78d04f raise (libc.so.6)
                                               #1  0x00007f0d8b78e47a abort (libc.so.6)
                                               #2  0x00007f0d8bd862a5 g_assertion_message (libglib-2.0.so.0)
                                               #3  0x00007f0d8bd8633a g_assertion_message_expr (libglib-2.0.so.0)
                                               #4  0x00007f0d8cd721d3 gtk_icon_info_load_icon_finish (libgtk-3.so.0)
                                               #5  0x00007f0d8cd72258 n/a (libgtk-3.so.0)
                                               #6  0x00007f0d8c304323 n/a (libgio-2.0.so.0)
                                               #7  0x00007f0d8c304359 n/a (libgio-2.0.so.0)
                                               #8  0x00007f0d8bd5f43a g_main_context_dispatch (libglib-2.0.so.0)
                                               #9  0x00007f0d8bd5f7f0 n/a (libglib-2.0.so.0)
                                               #10 0x00007f0d8bd5fb12 g_main_loop_run (libglib-2.0.so.0)
                                               #11 0x00007f0d8d50e6bc meta_run (libmutter.so.0)
                                               #12 0x0000000000402197 main (gnome-shell)
                                               #13 0x00007f0d8b77a291 __libc_start_main (libc.so.6)
                                               #14 0x00000000004022ca n/a (gnome-shell)

                                               Stack trace of thread 2480:
                                               #0  0x00007f0d8b83948d poll (libc.so.6)
                                               #1  0x00007f0d8bd5f786 n/a (libglib-2.0.so.0)
                                               #2  0x00007f0d8bd5f89c g_main_context_iteration (libglib-2.0.so.0)
                                               #3  0x00007f0d8bd5f8e1 n/a (libglib-2.0.so.0)
                                               #4  0x00007f0d8bd870d5 n/a (libglib-2.0.so.0)
                                               #5  0x00007f0d8baff454 start_thread (libpthread.so.0)
                                               #6  0x00007f0d8b8427df __clone (libc.so.6)

                                               Stack trace of thread 2483:
                                               #0  0x00007f0d8b83948d poll (libc.so.6)
                                               #1  0x00007f0d8bd5f786 n/a (libglib-2.0.so.0)
                                               #2  0x00007f0d8bd5f89c g_main_context_iteration (libglib-2.0.so.0)
                                               #3  0x00007f0d720a44bd n/a (libdconfsettings.so)
                                               #4  0x00007f0d8bd870d5 n/a (libglib-2.0.so.0)
                                               #5  0x00007f0d8baff454 start_thread (libpthread.so.0)
                                               #6  0x00007f0d8b8427df __clone (libc.so.6)

                                               Stack trace of thread 2482:
                                               #0  0x00007f0d8b83df19 syscall (libc.so.6)
                                               #1  0x00007f0d8bda503a g_cond_wait_until (libglib-2.0.so.0)
                                               #2  0x00007f0d8bd33e89 n/a (libglib-2.0.so.0)
                                               #3  0x00007f0d8bd87aa6 n/a (libglib-2.0.so.0)
                                               #4  0x00007f0d8bd870d5 n/a (libglib-2.0.so.0)
                                               #5  0x00007f0d8baff454 start_thread (libpthread.so.0)
                                               #6  0x00007f0d8b8427df __clone (libc.so.6)

                                               Stack trace of thread 2516:
                                               #0  0x00007f0d8b83948d poll (libc.so.6)
                                               #1  0x00007f0d87ba4121 n/a (libpulse.so.0)
                                               #2  0x00007f0d87b958f1 pa_mainloop_poll (libpulse.so.0)
                                               #3  0x00007f0d87b95f8e pa_mainloop_iterate (libpulse.so.0)
                                               #4  0x00007f0d87b96040 pa_mainloop_run (libpulse.so.0)
                                               #5  0x00007f0d87ba4069 n/a (libpulse.so.0)
                                               #6  0x00007f0d7d320ed8 n/a (libpulsecommon-9.0.so)
                                               #7  0x00007f0d8baff454 start_thread (libpthread.so.0)
                                               #8  0x00007f0d8b8427df __clone (libc.so.6)

                                               Stack trace of thread 2527:
                                               #0  0x00007f0d8bb0510f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                               #1  0x00007f0d7ea504e0 PR_WaitCondVar (libnspr4.so)
                                               #2  0x00007f0d875f9c0e n/a (libmozjs-24.so)
                                               #3  0x00007f0d7ea55d6c n/a (libnspr4.so)
                                               #4  0x00007f0d8baff454 start_thread (libpthread.so.0)
                                               #5  0x00007f0d8b8427df __clone (libc.so.6)

                                               Stack trace of thread 2528:
                                               #0  0x00007f0d8bb0510f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                               #1  0x00007f0d7ea504e0 PR_WaitCondVar (libnspr4.so)
                                               #2  0x00007f0d8766dbab n/a (libmozjs-24.so)
                                               #3  0x00007f0d7ea55d6c n/a (libnspr4.so)
                                               #4  0x00007f0d8baff454 start_thread (libpthread.so.0)
                                               #5  0x00007f0d8b8427df __clone (libc.so.6)

                                               Stack trace of thread 2481:
                                               #0  0x00007f0d8b83948d poll (libc.so.6)
                                               #1  0x00007f0d8bd5f786 n/a (libglib-2.0.so.0)
                                               #2  0x00007f0d8bd5fb12 g_main_loop_run (libglib-2.0.so.0)
                                               #3  0x00007f0d8c345316 n/a (libgio-2.0.so.0)
                                               #4  0x00007f0d8bd870d5 n/a (libglib-2.0.so.0)
                                               #5  0x00007f0d8baff454 start_thread (libpthread.so.0)
                                               #6  0x00007f0d8b8427df __clone (libc.so.6)
benzea commented 7 years ago

Blöde frage, aber wie soll ein gnome-settings-daemon update ein icon problem lösen? Vielleicht weil der icon cache neu gebaut werden muss?

Ehrlich gesagt bezweifele ich, dass es mit redshift zusammenhängt.

tsujigiri commented 7 years ago

I looked around in the logs a bit more and found this right before the core dump:

Jan 13 10:08:04 anicca gnome-shell[2162]: g_file_new_for_path: assertion 'path != NULL' failed
Jan 13 10:08:04 anicca gnome-shell[2162]: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed
Jan 13 10:08:04 anicca gnome-shell[2162]: Could not load a pixbuf from icon theme.
                                          This may indicate that pixbuf loaders or the mime database could not be found.

Googling around led me to the solution, which was re-compiling gdk-pixbuf2.

I'm not sure how this is connected to the patch to gnome-settings-daemon or even the redshift extension, but... it works. :slightly_smiling_face:

@benzea Great job with the extension, btw.!

benzea commented 7 years ago

hah, should have stayed with english :)

My guess, reinstalling gnome-settings-daemon caused the icon cache to be rebuild and that fixed the issue for you.