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 672049 - evince crashed with signal 5 in g_settings_schema_get_value()
evince crashed with signal 5 in g_settings_schema_get_value()
Status: RESOLVED INVALID
Product: evince
Classification: Core
Component: general
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-14 12:59 UTC by Vadim Rutkovsky
Modified: 2012-06-10 21:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vadim Rutkovsky 2012-03-14 12:59:59 UTC
Original Report: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/933103

"DistroRelease: Ubuntu 12.04
Package: evince 3.3.5-0ubuntu1

Evince crashes on start for some but not all documents, I do not see any clear pattern yet for which documents it crashes and for which it does not. When it crashes for one document, it crashes consistently for that document. On the terminal, I get
GLib-GIO-ERROR **: Settings schema 'org.gnome.Evince.Default' does not contain a key named 'zoom'

Which is consistent with
$ gsettings list-keys org.gnome.Evince.Default
continuous
dual-page
fullscreen
inverted-colors
show-sidebar
show-toolbar
sidebar-page
sidebar-size
sizing-mode
window-ratio

Well, on the other hand:
$ grep -2 zoom /usr/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml
      <default>'fit-width'</default>
    </key>
    <key type="d" name="zoom">
      <default>1.</default>
    </key>
"

  • #0 g_logv
    at /build/buildd/glib2.0-2.31.16/./glib/gmessages.c line 765
  • #1 g_log
    at /build/buildd/glib2.0-2.31.16/./glib/gmessages.c line 792
  • #2 g_settings_schema_get_value
    at /build/buildd/glib2.0-2.31.16/./gio/gsettingsschema.c line 640
  • #3 g_settings_schema_key_init
    at /build/buildd/glib2.0-2.31.16/./gio/gsettingsschema.c line 751
  • #4 g_settings_get_value
    at /build/buildd/glib2.0-2.31.16/./gio/gsettings.c line 1059
  • #5 g_settings_get_double
    at /build/buildd/glib2.0-2.31.16/./gio/gsettings.c line 1709
  • #6 ev_window_init_metadata_with_default_values
    at /build/buildd/evince-3.3.5/./shell/ev-window.c line 1106
  • #7 ev_window_open_uri
    at /build/buildd/evince-3.3.5/./shell/ev-window.c line 2097
  • #8 ev_application_open_uri_in_window
    at /build/buildd/evince-3.3.5/./shell/ev-application.c line 662
  • #9 _ev_application_open_uri_at_dest
    at /build/buildd/evince-3.3.5/./shell/ev-application.c line 695
  • #10 on_register_uri_cb
    at /build/buildd/evince-3.3.5/./shell/ev-application.c line 471
  • #11 g_simple_async_result_complete
    at /build/buildd/glib2.0-2.31.16/./gio/gsimpleasyncresult.c line 744
  • #12 g_dbus_connection_call_done
    at /build/buildd/glib2.0-2.31.16/./gio/gdbusconnection.c line 5300
  • #13 g_simple_async_result_complete
    at /build/buildd/glib2.0-2.31.16/./gio/gsimpleasyncresult.c line 744
  • #14 complete_in_idle_cb
    at /build/buildd/glib2.0-2.31.16/./gio/gsimpleasyncresult.c line 756
  • #15 g_main_dispatch
    at /build/buildd/glib2.0-2.31.16/./glib/gmain.c line 2510
  • #16 g_main_context_dispatch
    at /build/buildd/glib2.0-2.31.16/./glib/gmain.c line 3047
  • #17 g_main_context_iterate
    at /build/buildd/glib2.0-2.31.16/./glib/gmain.c line 3118
  • #18 g_main_context_iterate
    at /build/buildd/glib2.0-2.31.16/./glib/gmain.c line 3055
  • #19 g_main_loop_run
    at /build/buildd/glib2.0-2.31.16/./glib/gmain.c line 3312
  • #20 gtk_main_quit
    at /build/buildd/gtk+3.0-3.3.14/./gtk/gtkmain.c line 1211
  • #21 ??

Comment 1 Marcel Stimberg 2012-04-08 15:21:17 UTC
The reason for the crash were old schema files from a previous installation in /usr/local/share/glib-2.0/schemas -- removing them makes everything work again. Probably this bug should be closed as invalid/won't fix.
Comment 2 Chris Mohler 2012-04-09 20:44:59 UTC
I'm hitting the inverse side of this issue.  I grabbed current evince from git, and installed to /opt/evince-git in order to test out and/or hack on it a bit.

System-wide evince is 3.2.1 and it still works fine.  However, attempting to launch git version (3.4.0) gives this:
GLib-GIO-ERROR **: Settings schema 'org.gnome.Evince.Default' does not contain a key named 'dual-page-odd-left'
Trace/breakpoint trap

So is this really a bug, or am I to blame?
Comment 3 Christian Persch 2012-06-10 21:46:18 UTC
Not an evince bug, simply a mismatch between the schemas that are installed and the ones the running evince wants, e.g. reading the system ones vs. the self-built prefix ones.