After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777569 - gnome-shell crashes at start-up in update_clock()
gnome-shell crashes at start-up in update_clock()
Status: RESOLVED DUPLICATE of bug 777661
Product: gnome-shell
Classification: Core
Component: general
3.22.x
Other Linux
: High critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-01-21 10:23 UTC by Philippe Troin
Modified: 2017-01-23 19:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philippe Troin 2017-01-21 10:23:25 UTC
% gnome-shell --version
GNOME Shell 3.22.2

% coredumpctl info 3672
           PID: 3672 (gnome-shell)
           UID: 1000 (phil)
           GID: 1000 (phil)
        Signal: 11 (SEGV)
     Timestamp: Wed 2017-01-18 21:51:20 PST (2 days ago)
  Command Line: /usr/bin/gnome-shell
    Executable: /usr/bin/gnome-shell
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (phil)
       Boot ID: 610465fa6a8642a182f5e1b570a7d33f
    Machine ID: 2f9be5e12372498384a4b527e07f3e03
      Hostname: mica
      Coredump: /var/lib/systemd/coredump/core.gnome-shell.1000.610465fa6a8642a182f5e1b570a7d33f.3672.1484805080000000000000.lz4
       Message: Process 3672 (gnome-shell) of user 1000 dumped core.
                
                Stack trace of thread 3672:
                #0  0x00007f361d7356ef update_clock (libgnome-desktop-3.so.12)
                #1  0x00007f362570f3e5 g_closure_invoke (libgobject-2.0.so.0)
                #2  0x00007f3625721432 signal_emit_unlocked_R (libgobject-2.0.so.0)
                #3  0x00007f362572a05f g_signal_emit_valist (libgobject-2.0.so.0)
                #4  0x00007f362572a43f g_signal_emit (libgobject-2.0.so.0)
                #5  0x00007f3626d83736 g_settings_real_change_event (libgio-2.0.so.0)
                #6  0x00007f3620c75c58 ffi_call_unix64 (libffi.so.6)
                #7  0x00007f3620c756ba ffi_call (libffi.so.6)
                #8  0x00007f36257100fa g_cclosure_marshal_generic_va (libgobject-2.0.so.0)
                #9  0x00007f362570f614 _g_closure_invoke_va (libgobject-2.0.so.0)
                #10 0x00007f36257298b3 g_signal_emit_valist (libgobject-2.0.so.0)
                #11 0x00007f362572a43f g_signal_emit (libgobject-2.0.so.0)
                #12 0x00007f3626d83ea8 settings_backend_path_changed (libgio-2.0.so.0)
                #13 0x00007f3626d7eaba g_settings_backend_invoke_closure (libgio-2.0.so.0)
                #14 0x00007f36254338e7 g_idle_dispatch (libglib-2.0.so.0)
                #15 0x00007f3625436e42 g_main_context_dispatch (libglib-2.0.so.0)
                #16 0x00007f36254371c0 g_main_context_iterate.isra.24 (libglib-2.0.so.0)
                #17 0x00007f36254374e2 g_main_loop_run (libglib-2.0.so.0)
                #18 0x00007f3629c2e33c meta_run (libmutter.so.0)
                #19 0x0000555b5975d657 main (gnome-shell)
                #20 0x00007f362385d401 __libc_start_main (libc.so.6)
                #21 0x0000555b5975d79a _start (gnome-shell)
                
                Stack trace of thread 3675:
                #0  0x00007f362393901d poll (libc.so.6)
                #1  0x00007f3625437156 g_main_context_iterate.isra.24 (libglib-2.0.so.0)
                #2  0x00007f362543726c g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f36254372b1 glib_worker_main (libglib-2.0.so.0)
                #4  0x00007f362545eb03 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007f3623c0a6ca start_thread (libpthread.so.0)
                #6  0x00007f3623944f7f __clone (libc.so.6)
                
                Stack trace of thread 3688:
                #0  0x00007f362393901d poll (libc.so.6)
                #1  0x00007f362dec7f51 poll_func (libpulse.so.0)
                #2  0x00007f362deb9721 pa_mainloop_poll (libpulse.so.0)
                #3  0x00007f362deb9dbe pa_mainloop_iterate (libpulse.so.0)
                #4  0x00007f362deb9e70 pa_mainloop_run (libpulse.so.0)
                #5  0x00007f362dec7e99 thread (libpulse.so.0)
                #6  0x00007f362360f178 internal_thread_func (libpulsecommon-9.0.so)
                #7  0x00007f3623c0a6ca start_thread (libpthread.so.0)
                #8  0x00007f3623944f7f __clone (libc.so.6)
                
                Stack trace of thread 3689:
                #0  0x00007f3623c10460 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f362064bd30 PR_WaitCondVar (libnspr4.so)
                #2  0x00007f362cee05ae _ZN2js14GCHelperThread10threadLoopEv (libmozjs-24.so)
                #3  0x00007f36206515bc _pt_root (libnspr4.so)
                #4  0x00007f3623c0a6ca start_thread (libpthread.so.0)
                #5  0x00007f3623944f7f __clone (libc.so.6)
                
                Stack trace of thread 3685:
                #0  0x00007f362393901d poll (libc.so.6)
                #1  0x00007f3625437156 g_main_context_iterate.isra.24 (libglib-2.0.so.0)
                #2  0x00007f362543726c g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f360cb23fad dconf_gdbus_worker_thread (libdconfsettings.so)
                #4  0x00007f362545eb03 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007f3623c0a6ca start_thread (libpthread.so.0)
                #6  0x00007f3623944f7f __clone (libc.so.6)
                
                Stack trace of thread 3690:
                #0  0x00007f3623c10460 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f362064bd30 PR_WaitCondVar (libnspr4.so)
                #2  0x00007f362cf53feb _ZN2js22SourceCompressorThread16compressorThreadEPv (libmozjs-24.so)
                #3  0x00007f36206515bc _pt_root (libnspr4.so)
                #4  0x00007f3623c0a6ca start_thread (libpthread.so.0)
                #5  0x00007f3623944f7f __clone (libc.so.6)
                
                Stack trace of thread 4273:
                #0  0x00007f362393ebf9 syscall (libc.so.6)
                #1  0x00007f362547ca7a g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007f362540b8c9 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0)
                #3  0x00007f362545f4d6 g_thread_pool_thread_proxy (libglib-2.0.so.0)
                #4  0x00007f362545eb03 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007f3623c0a6ca start_thread (libpthread.so.0)
                #6  0x00007f3623944f7f __clone (libc.so.6)
                
                Stack trace of thread 3676:
                #0  0x00007f362393901d poll (libc.so.6)
                #1  0x00007f3625437156 g_main_context_iterate.isra.24 (libglib-2.0.so.0)
                #2  0x00007f36254374e2 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007f3626d46946 gdbus_shared_thread_func (libgio-2.0.so.0)
                #4  0x00007f362545eb03 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007f3623c0a6ca start_thread (libpthread.so.0)
                #6  0x00007f3623944f7f __clone (libc.so.6)
Comment 1 Rui Matos 2017-01-23 15:31:41 UTC
Thanks for taking the time to report this.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces for more information on how to do so. When pasting a stack trace in this bug report, please reset the status of this bug report from NEEDINFO to its previous status. Thanks in advance!
Comment 2 Philippe Troin 2017-01-23 18:17:17 UTC
Here's a backtrace with (most) symbols:

(gdb) thr apply all bt

Thread 1 (Thread 0x7fe57011e640 (LWP 24080))

  • #0 update_clock
  • #4 <emit signal changed:cursor-blink-timeout on instance 0x564083cd1080 [GSettings]>
    at gsignal.c line 3447
  • #5 g_settings_real_change_event
    at gsettings.c line 386
  • #6 ffi_call_unix64
  • #7 ffi_call
  • #8 g_cclosure_marshal_generic_va
    at gclosure.c line 1604
  • #9 _g_closure_invoke_va
    at gclosure.c line 867
  • #10 g_signal_emit_valist
    at gsignal.c line 3300
  • #11 g_signal_emit
    at gsignal.c line 3447
  • #12 settings_backend_path_changed
    at gsettings.c line 461
  • #13 g_settings_backend_invoke_closure
    at gsettingsbackend.c line 267
  • #14 g_idle_dispatch
    at gmain.c line 5545
  • #15 g_main_dispatch
    at gmain.c line 3203
  • #16 g_main_context_dispatch
    at gmain.c line 3856
  • #17 g_main_context_iterate
    at gmain.c line 3929
  • #18 g_main_loop_run
    at gmain.c line 4125
  • #19 meta_run
  • #20 main
    at main.c line 471

SEGV happens in thread 1.

And I'm not allowed to change the status from NEEDINFO to anything else than RESOLVED, so I'm leaving it there.
Comment 3 Rui Matos 2017-01-23 18:45:22 UTC
Please install debug symbols for the gnome-desktop library. Your distro package might be called gnome-desktop3 or thereabouts.
Comment 4 Rui Matos 2017-01-23 18:46:16 UTC
Also, please tell us which distro is this and if you're compiling from source, etc.
Comment 5 Philippe Troin 2017-01-23 19:12:26 UTC
I believe the gnome-desktop debuginfos were installed, but the backtrace was slightly wrong.  I was using the wrong debuginfos version.

Here's an update backtrace:

(gdb) thr apply all bt

Thread 1 (Thread 0x7fe57011e640 (LWP 24080))

  • #0 update_clock
    at gnome-wall-clock.c line 345
  • #4 <emit signal changed:cursor-blink-timeout on instance 0x564083cd1080 [GSettings]>
    at gsignal.c line 3447
  • #5 g_settings_real_change_event
    at gsettings.c line 386
  • #6 ffi_call_unix64
  • #7 ffi_call
  • #8 g_cclosure_marshal_generic_va
    at gclosure.c line 1604
  • #9 _g_closure_invoke_va
    at gclosure.c line 867
  • #10 g_signal_emit_valist
    at gsignal.c line 3300
  • #11 g_signal_emit
    at gsignal.c line 3447
  • #12 settings_backend_path_changed
    at gsettings.c line 461
  • #13 g_settings_backend_invoke_closure
    at gsettingsbackend.c line 267
  • #14 g_idle_dispatch
    at gmain.c line 5545
  • #15 g_main_dispatch
    at gmain.c line 3203
  • #16 g_main_context_dispatch
    at gmain.c line 3856
  • #17 g_main_context_iterate
    at gmain.c line 3929
  • #18 g_main_loop_run
    at gmain.c line 4125
  • #19 meta_run
  • #20 main
    at main.c line 471

I don't think it's significantly different than the previous backtrace.

This is running an up-to-date version of Fedora 25.
# rpm -qa  glib2 gnome-desktop3 gnome-shell gtk3 | sort
glib2-2.50.2-1.fc25.i686
glib2-2.50.2-1.fc25.x86_64
gnome-desktop3-3.22.2-2.fc25.i686
gnome-desktop3-3.22.2-2.fc25.x86_64
gnome-shell-3.22.2-2.fc25.x86_64
gtk3-3.22.7-1.fc25.i686
gtk3-3.22.7-1.fc25.x86_64

I think I'm onto something in gnome-desktop, I'll be filing a bug shortly.
Comment 6 Philippe Troin 2017-01-23 19:23:39 UTC
See #777661, https://bugzilla.gnome.org/show_bug.cgi?id=777661
Comment 7 Rui Matos 2017-01-23 19:34:13 UTC

*** This bug has been marked as a duplicate of bug 777661 ***