[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#920139: sddm: GTK and GNOME: Applications won't launch due error of glib2



Hello Adrian Immanuel Kiess,
I tried to search the net about this message:
    "GLib-GIO-ERROR: No GSettings schemas are installed on the system"

And found results pointing to .../share/glib-2.0/schemas/.
Therefore renamed following file:
    /usr/share/glib-2.0/schemas/gschemas.compiled

And received on the next logon attempt a similar trap
message as you did.

Therefore I assume this is based on this file missing or corrupt,
and unrelated to the sddm package, but not sure to which package
to reassign.

Are all packages in a configured state? Does following do any changes:
    apt install -f

I could trigger a recreation when the file was missing by e.g.:
    apt install --reinstall yelp

Were there any faults when installing/upgrading
some gnome packages lately?
Could you inspect this file on your system
or let it be recreated?

Kind regards,
Bernhard



root@debian:~# journalctl | grep traps -B4
Jan 31 16:30:09 debian gnome-session[1233]: gnome-session-binary[1233]: GLib-GIO-ERROR: No GSettings schemas are installed on the system
Jan 31 16:30:09 debian gnome-session[1233]: aborting...
Jan 31 16:30:09 debian gnome-session-binary[1233]: GLib-GIO-ERROR: No GSettings schemas are installed on the system
                                                   aborting...
Jan 31 16:30:09 debian kernel: traps: gnome-session-b[1233] trap int3 ip:7ff639d19be5 sp:7fff4eda4490 error:0 in libglib-2.0.so.0.5800.2[7ff639ce1000+7e000]



(gdb) bt
#0  0x00007ff639d19be5 in _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
#1  0x00007ff639d1aefd in g_logv (log_domain=0x7ff639f6f4e7 "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7fff4eda4560) at ../../../glib/gmessages.c:1371
#2  0x00007ff639d1b0cf in g_log (log_domain=log_domain@entry=0x7ff639f6f4e7 "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7ff639f8e0d8 "No GSettings schemas are installed on the system") at ../../../glib/gmessages.c:1413
#3  0x00007ff639f1f171 in g_settings_set_property (object=<optimized out>, prop_id=<optimized out>, value=0x7fff4eda46c0, pspec=<optimized out>) at ../../../gio/gsettings.c:585
#4  0x00007ff639dfb8c9 in object_set_property (nqueue=0x561977752880, value=<optimized out>, pspec=0x561977747e50, object=0x561977743210) at ../../../gobject/gobject.c:1447
#5  g_object_new_internal (class=class@entry=0x561977769520, params=params@entry=0x7fff4eda47f0, n_params=n_params@entry=1) at ../../../gobject/gobject.c:1839
#6  0x00007ff639dfd3a4 in g_object_new_valist (object_type=<optimized out>, first_property_name=first_property_name@entry=0x7ff639f8dbf3 "schema-id", var_args=var_args@entry=0x7fff4eda4940) at ../../../gobject/gobject.c:2128
#7  0x00007ff639dfd6d9 in g_object_new (object_type=<optimized out>, first_property_name=first_property_name@entry=0x7ff639f8dbf3 "schema-id") at ../../../gobject/gobject.c:1648
#8  0x00007ff639f1f1c5 in g_settings_new (schema_id=schema_id@entry=0x561975bb51c5 "org.gnome.SessionManager") at ../../../gio/gsettings.c:965
#9  0x0000561975ba7fec in gsm_manager_init (manager=0x56197776a100) at ../gnome-session/gsm-manager.c:3231
#10 0x00007ff639e190b7 in g_type_create_instance (type=<optimized out>) at ../../../gobject/gtype.c:1864
#11 0x00007ff639dfafe8 in g_object_constructor (type=<optimized out>, n_construct_properties=3, construct_params=0x561977767c50) at ../../../gobject/gobject.c:2154
#12 0x0000561975ba8458 in gsm_manager_constructor (type=94667378430464, n_construct_properties=3, construct_properties=0x561977767c50) at ../gnome-session/gsm-manager.c:2158
#13 0x00007ff639dfb34b in g_object_new_with_custom_constructor (n_params=2, params=0x7fff4eda4da0, class=0x561977769270) at ../../../gobject/gobject.c:1723
#14 g_object_new_internal (class=class@entry=0x561977769270, params=params@entry=0x7fff4eda4da0, n_params=n_params@entry=2) at ../../../gobject/gobject.c:1803
#15 0x00007ff639dfd3a4 in g_object_new_valist (object_type=<optimized out>, first_property_name=first_property_name@entry=0x561975bb7d25 "client-store", var_args=var_args@entry=0x7fff4eda4ef0) at ../../../gobject/gobject.c:2128
#16 0x00007ff639dfd6d9 in g_object_new (object_type=<optimized out>, first_property_name=first_property_name@entry=0x561975bb7d25 "client-store") at ../../../gobject/gobject.c:1648
#17 0x0000561975ba9393 in gsm_manager_new (client_store=0x561977760a80, failsafe=0) at ../gnome-session/gsm-manager.c:3283
#18 0x0000561975bb2bf7 in create_manager () at ../gnome-session/main.c:140
#19 on_bus_acquired (connection=<optimized out>, name=<optimized out>, data=<optimized out>) at ../gnome-session/main.c:164
#20 0x00007ff639f3aff4 in connection_get_cb (source_object=<optimized out>, res=0x7ff628004500, user_data=0x561977768570) at ../../../gio/gdbusnameowning.c:487
#21 0x00007ff639edc5b9 in g_task_return_now (task=0x7ff628004500) at ../../../gio/gtask.c:1148
#22 0x00007ff639edd036 in g_task_return (task=0x7ff628004500, type=<optimized out>) at ../../../gio/gtask.c:1206
#23 0x00007ff639f2d412 in bus_get_async_initable_cb (source_object=0x56197774e260, res=0x5619777671f0, user_data=user_data@entry=0x7ff628004500) at ../../../gio/gdbusconnection.c:7314
#24 0x00007ff639edc5b9 in g_task_return_now (task=0x5619777671f0) at ../../../gio/gtask.c:1148
#25 0x00007ff639edc5f9 in complete_in_idle_cb (task=0x5619777671f0) at ../../../gio/gtask.c:1162
#26 0x00007ff639d13cb8 in g_main_dispatch (context=0x56197774dc20) at ../../../glib/gmain.c:3182
#27 g_main_context_dispatch (context=context@entry=0x56197774dc20) at ../../../glib/gmain.c:3847
#28 0x00007ff639d140a8 in g_main_context_iterate (context=0x56197774dc20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
#29 0x00007ff639d143a2 in g_main_loop_run (loop=0x561977760890) at ../../../glib/gmain.c:4116
#30 0x0000561975b8ff16 in main (argc=<optimized out>, argv=<optimized out>) at ../gnome-session/main.c:432
# Buster amd64 qemu VM 2019-01-31

apt update
apt dist-upgrade

apt install systemd-coredump xserver-xorg sddm gnome-session
apt install mc htop gdb strace dpkg-dev devscripts
apt install gnome-session-bin-dbgsym libglib2.0-0-dbgsym


reboot


# if that file is missing bug is triggered
mv /usr/share/glib-2.0/schemas/gschemas.compiled /usr/share/glib-2.0/schemas/gschemas.compiled.orig


root@debian:~# dpkg -S /usr/share/glib-2.0/schemas/gschemas.compiled
dpkg-query: Kein Pfad gefunden, der auf Muster /usr/share/glib-2.0/schemas/gschemas.compiled passt

root@debian:~# dpkg -S /usr/share/glib-2.0/schemas
yelp, libglib2.0-0:amd64, desktop-base, network-manager-gnome, libgdm1, gcr, gnome-session-bin, mousetweaks, gnome-user-share, gnome-control-center-data, libgnomekbd-common, colord, gnome-shell, gnome-shell-common, mutter-common, gnome-keyring, libgoa-1.0-common, gsettings-desktop-schemas, cheese-common, gnome-settings-daemon-common, libgweather-common, evolution-data-server-common, libgtk-3-common: /usr/share/glib-2.0/schemas


dmesg
[ 1096.976060] traps: gnome-session-b[1233] trap int3 ip:7ff639d19be5 sp:7fff4eda4490 error:0 in libglib-2.0.so.0.5800.2[7ff639ce1000+7e000]


root@debian:~# journalctl | grep traps -B4
Jan 31 16:30:09 debian gnome-session[1233]: gnome-session-binary[1233]: GLib-GIO-ERROR: No GSettings schemas are installed on the system
Jan 31 16:30:09 debian gnome-session[1233]: aborting...
Jan 31 16:30:09 debian gnome-session-binary[1233]: GLib-GIO-ERROR: No GSettings schemas are installed on the system
                                                   aborting...
Jan 31 16:30:09 debian kernel: traps: gnome-session-b[1233] trap int3 ip:7ff639d19be5 sp:7fff4eda4490 error:0 in libglib-2.0.so.0.5800.2[7ff639ce1000+7e000]



0x7ff639d19be5 - 0x7ff639ce1000 = 0x38BE5
root@debian:~# addr2line -e /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5800.2 0x38BE5
./debian/build/deb/../../../glib/gfileutils.c:1312 (discriminator 1)




root@debian:~# coredumpctl list
TIME                            PID   UID   GID SIG COREFILE  EXE
Thu 2019-01-31 16:30:09 CET    1233  1000  1000   5 present   /usr/lib/gnome-session/gnome-session-binary


set width 0
set pagination off
bt



root@debian:~# coredumpctl gdb 1233
           PID: 1233 (gnome-session-b)
           UID: 1000 (benutzer)
           GID: 1000 (benutzer)
        Signal: 5 (TRAP)
     Timestamp: Thu 2019-01-31 16:30:09 CET (5min ago)
  Command Line: /usr/lib/gnome-session/gnome-session-binary
    Executable: /usr/lib/gnome-session/gnome-session-binary
 Control Group: /user.slice/user-1000.slice/session-9.scope
          Unit: session-9.scope
         Slice: user-1000.slice
       Session: 9
     Owner UID: 1000 (benutzer)
       Boot ID: 58aeb13b44884968ab21995dc9b499fc
    Machine ID: 32f43b50ac8c4b21941bc0b02f8e7811
      Hostname: debian
       Storage: /var/lib/systemd/coredump/core.gnome-session-b.1000.58aeb13b44884968ab21995dc9b499fc.1233.1548948609000000.lz4
       Message: Process 1233 (gnome-session-b) of user 1000 dumped core.
                
                Stack trace of thread 1233:
                #0  0x00007ff639d19be5 n/a (libglib-2.0.so.0)
                #1  0x00007ff639d1aefd g_logv (libglib-2.0.so.0)
                #2  0x00007ff639d1b0cf g_log (libglib-2.0.so.0)
                #3  0x00007ff639f1f171 n/a (libgio-2.0.so.0)
                #4  0x00007ff639dfb8c9 n/a (libgobject-2.0.so.0)
                #5  0x00007ff639dfd3a4 g_object_new_valist (libgobject-2.0.so.0)
                #6  0x00007ff639dfd6d9 g_object_new (libgobject-2.0.so.0)
                #7  0x0000561975ba7fec n/a (gnome-session-binary)
                #8  0x00007ff639e190b7 g_type_create_instance (libgobject-2.0.so.0)
                #9  0x00007ff639dfafe8 n/a (libgobject-2.0.so.0)
                #10 0x0000561975ba8458 n/a (gnome-session-binary)
                #11 0x00007ff639dfb34b n/a (libgobject-2.0.so.0)
                #12 0x00007ff639dfd3a4 g_object_new_valist (libgobject-2.0.so.0)
                #13 0x00007ff639dfd6d9 g_object_new (libgobject-2.0.so.0)
                #14 0x0000561975ba9393 n/a (gnome-session-binary)
                #15 0x0000561975bb2bf7 n/a (gnome-session-binary)
                #16 0x00007ff639f3aff4 n/a (libgio-2.0.so.0)
                #17 0x00007ff639edc5b9 n/a (libgio-2.0.so.0)
                #18 0x00007ff639edd036 n/a (libgio-2.0.so.0)
                #19 0x00007ff639f2d412 n/a (libgio-2.0.so.0)
                #20 0x00007ff639edc5b9 n/a (libgio-2.0.so.0)
                #21 0x00007ff639edc5f9 n/a (libgio-2.0.so.0)
                #22 0x00007ff639d13cb8 g_main_context_dispatch (libglib-2.0.so.0)
                #23 0x00007ff639d140a8 n/a (libglib-2.0.so.0)
                #24 0x00007ff639d143a2 g_main_loop_run (libglib-2.0.so.0)
                #25 0x0000561975b8ff16 n/a (gnome-session-binary)
                #26 0x00007ff6395fa09b __libc_start_main (libc.so.6)
                #27 0x0000561975b9028a n/a (gnome-session-binary)
                
                Stack trace of thread 1309:
                #0  0x00007ff639d19839 g_malloc (libglib-2.0.so.0)
                #1  0x00007ff639d589cf g_variant_type_copy (libglib-2.0.so.0)
                #2  0x00007ff639f364e3 n/a (libgio-2.0.so.0)
                #3  0x00007ff639f36169 n/a (libgio-2.0.so.0)
                #4  0x00007ff639f363e5 n/a (libgio-2.0.so.0)
                #5  0x00007ff639f38275 g_dbus_message_new_from_blob (libgio-2.0.so.0)
                #6  0x00007ff639f42d68 n/a (libgio-2.0.so.0)
                #7  0x00007ff639edc5b9 n/a (libgio-2.0.so.0)
                #8  0x00007ff639edc5f9 n/a (libgio-2.0.so.0)
                #9  0x00007ff639d13cb8 g_main_context_dispatch (libglib-2.0.so.0)
                #10 0x00007ff639d140a8 n/a (libglib-2.0.so.0)
                #11 0x00007ff639d143a2 g_main_loop_run (libglib-2.0.so.0)
                #12 0x00007ff639f40d26 n/a (libgio-2.0.so.0)
                #13 0x00007ff639d3c325 n/a (libglib-2.0.so.0)
                #14 0x00007ff6390f0fa3 start_thread (libpthread.so.0)
                #15 0x00007ff6396cf7ef __clone (libc.so.6)
                
                Stack trace of thread 1310:
                #0  0x00007ff6396ca269 syscall (libc.so.6)
                #1  0x00007ff639d5df1a g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007ff639ce6051 n/a (libglib-2.0.so.0)
                #3  0x00007ff639d3ce02 n/a (libglib-2.0.so.0)
                #4  0x00007ff639d3c325 n/a (libglib-2.0.so.0)
                #5  0x00007ff6390f0fa3 start_thread (libpthread.so.0)
                #6  0x00007ff6396cf7ef __clone (libc.so.6)
                
                Stack trace of thread 1308:
                #0  0x00007ff6396c4b39 __poll (libc.so.6)
                #1  0x00007ff639d14016 n/a (libglib-2.0.so.0)
                #2  0x00007ff639d1413c g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007ff639d14181 n/a (libglib-2.0.so.0)
                #4  0x00007ff639d3c325 n/a (libglib-2.0.so.0)
                #5  0x00007ff6390f0fa3 start_thread (libpthread.so.0)
                #6  0x00007ff6396cf7ef __clone (libc.so.6)

GNU gdb (Debian 8.2-1) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/gnome-session/gnome-session-binary...Reading symbols from /usr/lib/debug/.build-id/31/da8671c798993fadfe96d75ab0b719bed13540.debug...done.
done.

warning: core file may not match specified executable file.
[New LWP 1233]
[New LWP 1309]
[New LWP 1310]
[New LWP 1308]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/gnome-session/gnome-session-binary'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0  0x00007ff639d19be5 in _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
554     ../../../glib/gmessages.c: Datei oder Verzeichnis nicht gefunden.
[Current thread is 1 (Thread 0x7ff63608c200 (LWP 1233))]
(gdb) set width 0
(gdb) set pagination off
(gdb) bt
#0  0x00007ff639d19be5 in _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
#1  0x00007ff639d1aefd in g_logv (log_domain=0x7ff639f6f4e7 "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7fff4eda4560) at ../../../glib/gmessages.c:1371
#2  0x00007ff639d1b0cf in g_log (log_domain=log_domain@entry=0x7ff639f6f4e7 "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7ff639f8e0d8 "No GSettings schemas are installed on the system") at ../../../glib/gmessages.c:1413
#3  0x00007ff639f1f171 in g_settings_set_property (object=<optimized out>, prop_id=<optimized out>, value=0x7fff4eda46c0, pspec=<optimized out>) at ../../../gio/gsettings.c:585
#4  0x00007ff639dfb8c9 in object_set_property (nqueue=0x561977752880, value=<optimized out>, pspec=0x561977747e50, object=0x561977743210) at ../../../gobject/gobject.c:1447
#5  g_object_new_internal (class=class@entry=0x561977769520, params=params@entry=0x7fff4eda47f0, n_params=n_params@entry=1) at ../../../gobject/gobject.c:1839
#6  0x00007ff639dfd3a4 in g_object_new_valist (object_type=<optimized out>, first_property_name=first_property_name@entry=0x7ff639f8dbf3 "schema-id", var_args=var_args@entry=0x7fff4eda4940) at ../../../gobject/gobject.c:2128
#7  0x00007ff639dfd6d9 in g_object_new (object_type=<optimized out>, first_property_name=first_property_name@entry=0x7ff639f8dbf3 "schema-id") at ../../../gobject/gobject.c:1648
#8  0x00007ff639f1f1c5 in g_settings_new (schema_id=schema_id@entry=0x561975bb51c5 "org.gnome.SessionManager") at ../../../gio/gsettings.c:965
#9  0x0000561975ba7fec in gsm_manager_init (manager=0x56197776a100) at ../gnome-session/gsm-manager.c:3231
#10 0x00007ff639e190b7 in g_type_create_instance (type=<optimized out>) at ../../../gobject/gtype.c:1864
#11 0x00007ff639dfafe8 in g_object_constructor (type=<optimized out>, n_construct_properties=3, construct_params=0x561977767c50) at ../../../gobject/gobject.c:2154
#12 0x0000561975ba8458 in gsm_manager_constructor (type=94667378430464, n_construct_properties=3, construct_properties=0x561977767c50) at ../gnome-session/gsm-manager.c:2158
#13 0x00007ff639dfb34b in g_object_new_with_custom_constructor (n_params=2, params=0x7fff4eda4da0, class=0x561977769270) at ../../../gobject/gobject.c:1723
#14 g_object_new_internal (class=class@entry=0x561977769270, params=params@entry=0x7fff4eda4da0, n_params=n_params@entry=2) at ../../../gobject/gobject.c:1803
#15 0x00007ff639dfd3a4 in g_object_new_valist (object_type=<optimized out>, first_property_name=first_property_name@entry=0x561975bb7d25 "client-store", var_args=var_args@entry=0x7fff4eda4ef0) at ../../../gobject/gobject.c:2128
#16 0x00007ff639dfd6d9 in g_object_new (object_type=<optimized out>, first_property_name=first_property_name@entry=0x561975bb7d25 "client-store") at ../../../gobject/gobject.c:1648
#17 0x0000561975ba9393 in gsm_manager_new (client_store=0x561977760a80, failsafe=0) at ../gnome-session/gsm-manager.c:3283
#18 0x0000561975bb2bf7 in create_manager () at ../gnome-session/main.c:140
#19 on_bus_acquired (connection=<optimized out>, name=<optimized out>, data=<optimized out>) at ../gnome-session/main.c:164
#20 0x00007ff639f3aff4 in connection_get_cb (source_object=<optimized out>, res=0x7ff628004500, user_data=0x561977768570) at ../../../gio/gdbusnameowning.c:487
#21 0x00007ff639edc5b9 in g_task_return_now (task=0x7ff628004500) at ../../../gio/gtask.c:1148
#22 0x00007ff639edd036 in g_task_return (task=0x7ff628004500, type=<optimized out>) at ../../../gio/gtask.c:1206
#23 0x00007ff639f2d412 in bus_get_async_initable_cb (source_object=0x56197774e260, res=0x5619777671f0, user_data=user_data@entry=0x7ff628004500) at ../../../gio/gdbusconnection.c:7314
#24 0x00007ff639edc5b9 in g_task_return_now (task=0x5619777671f0) at ../../../gio/gtask.c:1148
#25 0x00007ff639edc5f9 in complete_in_idle_cb (task=0x5619777671f0) at ../../../gio/gtask.c:1162
#26 0x00007ff639d13cb8 in g_main_dispatch (context=0x56197774dc20) at ../../../glib/gmain.c:3182
#27 g_main_context_dispatch (context=context@entry=0x56197774dc20) at ../../../glib/gmain.c:3847
#28 0x00007ff639d140a8 in g_main_context_iterate (context=0x56197774dc20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
#29 0x00007ff639d143a2 in g_main_loop_run (loop=0x561977760890) at ../../../glib/gmain.c:4116
#30 0x0000561975b8ff16 in main (argc=<optimized out>, argv=<optimized out>) at ../gnome-session/main.c:432




Reply to: