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 666752 - gnome-session doesn't start because of the assertion in GLib-GIO
gnome-session doesn't start because of the assertion in GLib-GIO
Status: RESOLVED NOTGNOME
Product: glib
Classification: Platform
Component: gio
2.30.x
Other Linux
: Normal critical
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-12-23 08:35 UTC by Dmitry
Modified: 2011-12-26 05:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dmitry 2011-12-23 08:35:30 UTC
When I am trying to run gnome-session i have the following error:

GLib-GIO:ERROR:/build/buildd/glib2.0-2.30.0/./gio/gsettingsschema.c:125:ensure_schema_lists: assertion failed: (list != NULL)
gnome-session[15182]: ******************* START ********************************
gnome-session[15182]: Frame 0: /usr/bin/gnome-session() [0x419d07]
gnome-session[15182]: Frame 1: /usr/bin/gnome-session() [0x41a0ea]
gnome-session[15182]: Frame 2: /lib/x86_64-linux-gnu/libpthread.so.0(+0x10060) [0x7fe1f9b56060]
gnome-session[15182]: Frame 3: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fe1f88ef3a5]
gnome-session[15182]: Frame 4: /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7fe1f88f2b0b]
gnome-session[15182]: Frame 5: /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_assertion_message+0x12d) [0x7fe1f8cc04ad]
gnome-session[15182]: Frame 6: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x689d2) [0x7fe1f8cc09d2]
gnome-session[15182]: Frame 7: /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(+0x9a17d) [0x7fe1f946717d]
gnome-session[15182]: Frame 8: /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_settings_list_schemas+0x9) [0x7fe1f9467279]
gnome-session[15182]: Frame 9: /usr/bin/gnome-session() [0x40e3f7]
gnome-session[15182]: Frame 10: /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_newv+0x294) [0x7fe1f9190e94]
gnome-session[15182]: Frame 11: /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new_valist+0x1d6) [0x7fe1f9191d66]
gnome-session[15182]: Frame 12: /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_object_new+0xd4) [0x7fe1f9192074]
gnome-session[15182]: Frame 13: /usr/bin/gnome-session() [0x40ef5d]
gnome-session[15182]: Frame 14: /usr/bin/gnome-session() [0x420058]
gnome-session[15182]: Frame 15: /usr/bin/gnome-session() [0x423260]
gnome-session[15182]: Frame 16: /usr/bin/gnome-session() [0x423f84]
gnome-session[15182]: Frame 17: /usr/bin/gnome-session() [0x40b6ff]
gnome-session[15182]: Frame 18: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fe1f88da30d]
gnome-session[15182]: Frame 19: /usr/bin/gnome-session() [0x40b985]
gnome-session[15182]: ******************* END **********************************

$ apt-cache policy libglib2.0-0
libglib2.0-0:
  Installed: 2.30.0-0ubuntu4
  Candidate: 2.30.0-0ubuntu4
  Version table:
 *** 2.30.0-0ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
        100 /var/lib/dpkg/status



GNOME SESSTION BACKTRACE:

(gdb) r
Starting program: /usr/bin/gnome-session
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffed9d2700 (LWP 25084)]
[New Thread 0x7fffed1d1700 (LWP 25086)]
[New Thread 0x7fffec9d0700 (LWP 25087)]
**
GLib-GIO:ERROR:/build/buildd/glib2.0-2.30.0/./gio/gsettingsschema.c:125:ensure_schema_lists: assertion failed: (list != NULL)

Program received signal SIGABRT, Aborted.
0x00007ffff47d63a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
 in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
  • #0 __GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #1 __GI_abort
    at abort.c line 92
  • #2 g_assertion_message
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #3 g_assertion_message_expr
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #4 ??
    from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
  • #5 g_settings_list_schemas
    from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
  • #6 setup_gsettings_condition_monitor
    at gsm-autostart-app.c line 352
  • #7 setup_condition_monitor
    at gsm-autostart-app.c line 547
  • #8 load_desktop_file
    at gsm-autostart-app.c line 660
  • #9 gsm_autostart_app_constructor
    at gsm-autostart-app.c line 1406
  • #10 g_object_newv
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #11 g_object_new_valist
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #12 g_object_new
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #13 gsm_autostart_app_new
    at gsm-autostart-app.c line 1464
  • #14 add_autostart_app_internal
    at gsm-manager.c line 4003
  • #15 gsm_manager_add_autostart_apps_from_dir
    at gsm-manager.c line 4111
  • #16 load_standard_apps
    at gsm-session-fill.c line 238
  • #17 gsm_session_fill
    at gsm-session-fill.c line 499
  • #18 main
    at main.c line 357

Comment 1 Dmitry 2011-12-23 08:42:27 UTC
probably you can suggest me an easy way to compile glib for ubuntu to hack the code. Rebuilding glib deb packets from scratch each time I make changes in the code - its too dificult. I bet there is easy way to hack the glib.
Comment 2 Matthias Clasen 2011-12-23 19:20:18 UTC
This is not a glib bug.
Some autostarted application refers to a gsettings schema that does not exit.
You should identify which app that is and file a bug there.
Comment 3 Dmitry 2011-12-26 05:19:00 UTC
Dear Matthias,

Can you advice me how can I find that annoying app? My office PC is nearly broken and I am thinking about reinstall that damn ubuntu.

Best regards,
Dmitry.