evince crashed with signal 5 in g_settings_schema_get_value()

Bug #933103 reported by Marcel Stimberg
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evince
Invalid
Medium
evince (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

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>

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: evince 3.3.5-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
Uname: Linux 3.2.0-15-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CheckboxSubmission: 476acdb7217a83354f628beaa5c14f06
CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b
CrashCounter: 1
Date: Wed Feb 15 22:35:32 2012
ExecutablePath: /usr/bin/evince
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100114)
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-3.2.0-15-generic root=UUID=55907ebf-1ca3-4777-bf35-9ec7f6d8ba98 ro quiet splash vt.handoff=7
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
Signal: 5
SourcePackage: evince
StacktraceTop:
 g_settings_schema_get_value (schema=0x7f9ecef31680, key=0x7f9ecdae8cd3 "zoom") at /build/buildd/glib2.0-2.31.16/./gio/gsettingsschema.c:640
 g_settings_schema_key_init (key=0x7fff75d50bb0, schema=0x7f9ecef31680, name=0x7f9ecdae8cd3 "zoom") at /build/buildd/glib2.0-2.31.16/./gio/gsettingsschema.c:751
 g_settings_get_value (settings=0x7f9ecef4a590, key=0x7f9ecdae8cd3 "zoom") at /build/buildd/glib2.0-2.31.16/./gio/gsettings.c:1059
 g_settings_get_double (settings=<optimized out>, key=<optimized out>) at /build/buildd/glib2.0-2.31.16/./gio/gsettings.c:1709
 ?? ()
Title: evince crashed with signal 5 in g_settings_schema_get_value()
UpgradeStatus: Upgraded to precise on 2012-01-20 (25 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev powerdev sambashare scanner tape vboxusers video

Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_settings_schema_get_value (schema=0x7f9ecef31680, key=0x7f9ecdae8cd3 "zoom") at /build/buildd/glib2.0-2.31.16/./gio/gsettingsschema.c:640
 g_settings_schema_key_init (key=0x7fff75d50bb0, schema=0x7f9ecef31680, name=0x7f9ecdae8cd3 "zoom") at /build/buildd/glib2.0-2.31.16/./gio/gsettingsschema.c:751
 g_settings_get_value (settings=0x7f9ecef4a590, key=0x7f9ecdae8cd3 "zoom") at /build/buildd/glib2.0-2.31.16/./gio/gsettings.c:1059
 g_settings_get_double (settings=<optimized out>, key=<optimized out>) at /build/buildd/glib2.0-2.31.16/./gio/gsettings.c:1709
 ev_window_init_metadata_with_default_values (window=0x7f9ecebf0160) at /build/buildd/evince-3.3.5/./shell/ev-window.c:1106

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in evince (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
visibility: private → public
tags: removed: apparmor
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Evince overwrites zoom section, possibly, incorrectly. Could you please attach a faulty document?

Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

It does not seem to be document-specific, I'm getting it for many documents now, with a complaint about another key, though:
GLib-GIO-ERROR **: Settings schema 'org.gnome.Evince.Default' does not contain a key named 'dual-page-odd-left'

The last document where I experienced the problem was the one linked here:
http://www.ploscompbiol.org/article/fetchObjectAttachment.action?uri=info%3Adoi%2F10.1371%2Fjournal.pcbi.1001026&representation=PDF

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at https://bugzilla.gnome.org/show_bug.cgi?id=672049

Changed in evince (Ubuntu):
status: New → Triaged
Changed in evince:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
nickolai (nickolai) wrote :

I had a similar problem. The fact that evince crashes is a bug. But it was triggered, in my case, by a leftover old installation of evince in /usr/local. After removing /usr/local/share/glib-2.0/schemas/org.gnome.Evince.gschema.xml and /usr/local/share/glib-2.0/schemas/gschemas.compiled, evince started working again.

Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

@nickolai: Thank you very much, that indeed makes evince for work me again. Supporting an old installation in /usr/local is probably not really worth considering, I'm therefore closing this bug as Invalid. Thanks everybody for your help.

Changed in evince (Ubuntu):
status: Triaged → Invalid
Changed in evince:
status: New → Invalid
Changed in evince:
status: Invalid → New
Changed in evince:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.