Bug 1389657

Summary: [abrt] atril: _g_log_abort(): atril killed by SIGTRAP
Product: [Fedora] Fedora Reporter: strasharo2000
Component: atrilAssignee: Wolfgang Ulbrich <fedora>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: chrstnsp, fedora, strasharo2000
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/8496cd59bb63b34e0d6589c028de5b2418b9513a
Whiteboard: abrt_hash:2b51bd1d1f6a7afc9a8ed5274fd064d5b4f14d9b;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-01 17:44:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
list of rpms which have been updated recently. after that problem appeared none

Description strasharo2000 2016-10-28 06:25:43 UTC
Description of problem:
Opened a pdf document.

Version-Release number of selected component:
atril-1.16.0-1.fc24

Additional info:
reporter:       libreport-2.7.2
backtrace_rating: 4
cmdline:        atril /tmp/mozilla_strshr0/300304998876_0196645932_20161028.pdf
crash_function: _g_log_abort
executable:     /usr/bin/atril
global_pid:     23740
kernel:         4.7.5-200.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 _g_log_abort at gmessages.c:325
 #3 g_settings_schema_get_value at gsettingsschema.c:962
 #4 g_settings_schema_key_init at gsettingsschema.c:1241
 #5 g_settings_get_value at gsettings.c:1203
 #6 g_settings_get_boolean at gsettings.c:2016
 #7 ev_window_setup_default at ev-window.c:1426
 #8 ev_window_init at ev-window.c:8048
 #9 g_type_create_instance at gtype.c:1875
 #10 g_object_new_internal at gobject.c:1781
 #11 g_object_new_valist at gobject.c:2040

Comment 1 strasharo2000 2016-10-28 06:25:48 UTC
Created attachment 1214839 [details]
File: backtrace

Comment 2 strasharo2000 2016-10-28 06:25:50 UTC
Created attachment 1214840 [details]
File: cgroup

Comment 3 strasharo2000 2016-10-28 06:25:52 UTC
Created attachment 1214841 [details]
File: core_backtrace

Comment 4 strasharo2000 2016-10-28 06:25:54 UTC
Created attachment 1214842 [details]
File: dso_list

Comment 5 strasharo2000 2016-10-28 06:25:55 UTC
Created attachment 1214843 [details]
File: environ

Comment 6 strasharo2000 2016-10-28 06:25:57 UTC
Created attachment 1214844 [details]
File: limits

Comment 7 strasharo2000 2016-10-28 06:25:59 UTC
Created attachment 1214845 [details]
File: maps

Comment 8 strasharo2000 2016-10-28 06:26:01 UTC
Created attachment 1214846 [details]
File: mountinfo

Comment 9 strasharo2000 2016-10-28 06:26:02 UTC
Created attachment 1214847 [details]
File: namespaces

Comment 10 strasharo2000 2016-10-28 06:26:04 UTC
Created attachment 1214848 [details]
File: open_fds

Comment 11 strasharo2000 2016-10-28 06:26:05 UTC
Created attachment 1214849 [details]
File: proc_pid_status

Comment 12 strasharo2000 2016-10-28 06:26:07 UTC
Created attachment 1214850 [details]
File: var_log_messages

Comment 13 Wolfgang Ulbrich 2016-10-29 12:09:42 UTC
#1  g_logv (log_domain=0x7fe6864d9378 "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7ffe2d571020) at gmessages.c:1080
        domain = 0x0
        data = 0x0
        depth = 1
        log_func = 0x7fe685ec1930 <g_log_default_handler>
        domain_fatal_mask = <optimized out>
        masquerade_fatal = 0
        test_level = <optimized out>
        was_fatal = <optimized out>
        was_recursion = <optimized out>
        msg = 0x55f1acaf7d80 "Settings schema 'org.mate.Atril.Default' does not contain a key named 'dual-page-odd-left'"
        msg_alloc = 0x55f1acaf7d80 "Settings schema 'org.mate.Atril.Default' does not contain a key named 'dual-page-odd-left'"

Really weird because i have this gsettings key here.

[rave@mother ~]$ gsettings list-keys org.mate.Atril.Default
window-ratio
continuous
fullscreen
show-toolbar
show-sidebar
dual-page-odd-left
inverted-colors
zoom
sidebar-page
sidebar-size
dual-page
sizing-mode

Comment 14 strasharo2000 2016-10-29 12:33:14 UTC
It's a bit strange, because yesterday it was constantly crashing with a particular document and I had to open it with qpdfview at the end. Today (there was a reboot meanwhile, because it's a laptop which I'm carrying around) I tried to open the same document and it no longer crashes. The only difference I can think of besides the reboot is the last batch of updates:

=============================================================================================================================================================================================================================================
 Package                                                     Arch                                        Version                                                                 Repository                                             Size
=============================================================================================================================================================================================================================================
Upgrading:
 caja                                                        x86_64                                      1.16.1-1.fc24                                                           updates                                               1.4 M
 caja-extensions                                             x86_64                                      1.16.1-1.fc24                                                           updates                                                34 k
 caja-schemas                                                x86_64                                      1.16.1-1.fc24                                                           updates                                               2.0 M
 mate-desktop                                                x86_64                                      1.16.1-1.fc24                                                           updates                                               108 k
 mate-desktop-libs                                           x86_64                                      1.16.1-1.fc24                                                           updates                                               480 k
 mpfr                                                        x86_64                                      3.1.5-1.fc24                                                            updates                                               215 k
 perl-Module-CoreList                                        noarch                                      1:5.20161020-1.fc24                                                     updates                                                76 k
 qemu-common                                                 x86_64                                      2:2.6.2-4.fc24                                                          updates                                               323 k
 qemu-guest-agent                                            x86_64                                      2:2.6.2-4.fc24                                                          updates                                               191 k
 qemu-img                                                    x86_64                                      2:2.6.2-4.fc24                                                          updates                                               829 k
 qemu-kvm                                                    x86_64                                      2:2.6.2-4.fc24                                                          updates                                                62 k
 qemu-system-x86                                             x86_64                                      2:2.6.2-4.fc24                                                          updates                                               4.5 M
Skipping packages with broken dependencies:
 ffmpeg-libs                                                 x86_64                                      1:3.1.5-1.fc24                                                          fedora-HandBrake                                      6.1 M
 gstreamer1-plugins-bad                                      x86_64                                      1:1.8.3-2.fc24                                                          fedora-HandBrake                                      2.2 M
 vlc                                                         x86_64                                      1:3.0.0-8.20161012git756dbb7.fc24                                       fedora-HandBrake                                      1.4 M
 vlc-core                                                    x86_64                                      1:3.0.0-8.20161012git756dbb7.fc24                                       fedora-HandBrake                                      8.6 M
 x265                                                        x86_64                                      1:2.1-2.fc24                                                            fedora-HandBrake                                       40 k
 x265-libs                                                   x86_64                                      1:2.1-2.fc24                                                            fedora-HandBrake                                      1.6 M

Transaction Summary
=============================================================================================================================================================================================================================================
Upgrade  12 Packages
Skip      6 Packages


Feel free to close it, I'm not able to reproduce the crash anymore.

Comment 15 chrstnsp 2016-11-09 08:27:53 UTC
Created attachment 1218846 [details]
list of rpms which have been updated recently. after that problem appeared

Comment 16 chrstnsp 2016-11-09 08:29:40 UTC
Some problem here.

It has been working for me until 2016-09-23. Then I did not use my laptop until 2016-11-07. On 2016-11-07 I did a 'dnf update'. After that Atril crashes on opening PDFs. 

=======================================================
[user@host Downloads]$ atril file.pdf 

(atril:7210): GLib-GIO-ERROR **: Settings schema 'org.mate.Atril.Default' does not contain a key named 'dual-page-odd-left'
Trace/breakpoint trap (core dumped)
[user@host Downloads]$ 
=======================================================

Opening in preview mode shows the file without crash:

=======================================================
[user@host Downloads]$ atril -w file.pdf 
[user@host Downloads]$ 
=======================================================

List of updated RPMs has been attached.

My laptop has been restarted multiple times in between.

Comment 17 Wolfgang Ulbrich 2016-11-11 09:55:03 UTC
Does the file /usr/share/glib-2.0/schemas/org.mate.Atril.gschema.xml exists?
And do you see the gsettings key 'dual-page-odd-left' there?
If the file and key exists run 'glib-compile-schemas /usr/share/glib-2.0/schemas/' as root.
Normaly this happens during installation or an update of atril-libs which contains the gsettings schema file.

Comment 18 chrstnsp 2016-11-14 09:43:58 UTC
File exists:

[root@host etc]# ls -l /usr/share/glib-2.0/schemas/org.mate.Atril.gschema.xml
-rw-r--r-- 1 root root 2525 Oct  3 08:26 /usr/share/glib-2.0/schemas/org.mate.Atril.gschema.xml

Key is present in file:

[root@host etc]# grep dual-page-odd-left /usr/share/glib-2.0/schemas/org.mate.Atril.gschema.xml
    <key name="dual-page-odd-left" type="b">
[root@ponder etc]# 

Running suggested command:

[root@host etc]# glib-compile-schemas /usr/share/glib-2.0/schemas/
warning: Schema 'org.freedesktop.ibus' has path '/desktop/ibus/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.general' has path '/desktop/ibus/general/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.general.hotkey' has path '/desktop/ibus/general/hotkey/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.ibus.panel' has path '/desktop/ibus/panel/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.crypto.cache' has path '/desktop/gnome/crypto/cache/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.crypto.pgp' has path '/desktop/gnome/crypto/pgp/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.seahorse' has path '/apps/seahorse/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.seahorse.manager' has path '/apps/seahorse/listing/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.locale' has path '/system/locale/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy' has path '/system/proxy/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.http' has path '/system/proxy/http/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.https' has path '/system/proxy/https/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.ftp' has path '/system/proxy/ftp/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.socks' has path '/system/proxy/socks/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
No such key 'scroll-method' in schema 'org.cinnamon.settings-daemon.peripherals.touchpad' as specified in override file '/usr/share/glib-2.0/schemas/10_cinnamon-fedora-24.gschema.override'; ignoring override for this key.
[root@host etc]# 

Checking:

[user@host Downloads]$ atril file.pdf 
[user@host Downloads]$ 

Running 'glib-compile-schemas /usr/share/glib-2.0/schemas/' seems to have fixed it.

Thank you for the hint.