Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46614 - [gtk3] evolution 3.18.0-1 (and others) crash when using GTK+ other than default

Attached to Project: Arch Linux
Opened by Graham (gps1539) - Friday, 09 October 2015, 04:07 GMT
Last edited by Jan de Groot (JGC) - Friday, 08 April 2016, 22:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Jan Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 19
Private No

Details

After update to gnome 3.18.0-1 evolution crashes with "Segmentation fault (core dumped)" when gtk+ theme is not the default theme of Adwaita.

To reproduce change the gtk+ theme to evopop, numix, faience,,, and start evolution.
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 08 April 2016, 22:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  http://cgit.freedesktop.org/libreoffice/ core/commit/?id=c1b97d2747004d1912744ab7 ff11353a73713310
Comment by Jan de Groot (JGC) - Friday, 09 October 2015, 08:00 GMT
Please provide backtraces and terminal output.
Comment by michiel verboven (mverboven) - Friday, 09 October 2015, 11:11 GMT
terminal output:
"""
(evolution:9856): Gtk-WARNING **: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
(evolution:9856): GLib-GObject-CRITICAL **: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
(evolution:9856): GLib-GObject-WARNING **: gtype.c:4268: type id '0' is invalid
(evolution:9856): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced
java version "1.7.0_85"
OpenJDK Runtime Environment (IcedTea 2.6.1) (Arch Linux build 7.u85_2.6.1-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)
Segmentation fault (core dumped)
"""

similar problem for Libreoffice :  FS#46617  : [libreoffice-fresh] Crashes at startup after upgrading to GNOME 3.18
Comment by Graham (gps1539) - Friday, 09 October 2015, 15:31 GMT
terminal output from my PC with evopop as GTK+ theme

evolution

(evolution:4146): Gtk-WARNING **: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
No bp log location saved, using default.
[000:000] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:007] Using Gtk2 toolkit
[000:106] No bp log location saved, using default.
[000:106] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:107] Computer model: Not available
[000:107] Browser XEmbed support present: 1
[000:107] Browser toolkit is Gtk2.
[000:107] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:000] Computer model: Not available
[000:001] No bp log location saved, using default.
[000:001] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:001] Computer model: Not available
[000:111] No bp log location saved, using default.
[000:111] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:111] Computer model: Not available
[000:111] Browser XEmbed support present: 1
[000:111] Browser toolkit is Gtk2.
[000:111] Using Gtk2 toolkit
[000:003] No bp log location saved, using default.
[000:003] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:004] Computer model: Not available

(evolution:4146): GLib-GObject-CRITICAL **: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed

(evolution:4146): GLib-GObject-WARNING **: gtype.c:4268: type id '0' is invalid

(evolution:4146): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced
openjdk version "1.8.0_60"
OpenJDK Runtime Environment (build 1.8.0_60-b24)
OpenJDK 64-Bit Server VM (build 25.60-b23, mixed mode)
Segmentation fault (core dumped)
Comment by Graham (gps1539) - Friday, 09 October 2015, 15:37 GMT
from gdb

(gdb) run
Starting program: /usr/bin/evolution
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffde543700 (LWP 4381)]
[New Thread 0x7fffddd42700 (LWP 4382)]
[New Thread 0x7fffd7fff700 (LWP 4383)]

(evolution:4377): Gtk-WARNING **: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
[New Thread 0x7fffd77fe700 (LWP 4384)]
[New Thread 0x7fffd611b700 (LWP 4385)]
[New Thread 0x7fffd5818700 (LWP 4386)]
[New Thread 0x7fff7c823700 (LWP 4387)]
[New Thread 0x7fff77fff700 (LWP 4388)]
[New Thread 0x7fff777fe700 (LWP 4389)]
[New Thread 0x7fff76ffd700 (LWP 4396)]
[New Thread 0x7fff767fc700 (LWP 4399)]
[New Thread 0x7fff75ffb700 (LWP 4400)]
[New Thread 0x7fff755f4700 (LWP 4401)]
[Thread 0x7fff777fe700 (LWP 4389) exited]
[New Thread 0x7fff777fe700 (LWP 4402)]
No bp log location saved, using default.
[000:000] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:106] Using Gtk2 toolkit
[New Thread 0x7fff532eb700 (LWP 4406)]
[New Thread 0x7fff52aea700 (LWP 4408)]
[New Thread 0x7fff522e9700 (LWP 4409)]
[000:382] No bp log location saved, using default.
[000:383] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:383] Computer model: Not available
[000:383] Browser XEmbed support present: 1
[000:383] Browser toolkit is Gtk2.
[000:383] Using Gtk2 toolkit
openjdk version "1.8.0_60"
OpenJDK Runtime Environment (build 1.8.0_60-b24)
OpenJDK 64-Bit Server VM (build 25.60-b23, mixed mode)
No bp log location saved, using default.
[000:000] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:001] Computer model: Not available
[000:028] No bp log location saved, using default.
[000:028] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:029] Computer model: Not available
[000:504] No bp log location saved, using default.
[000:504] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:504] Computer model: Not available
[000:504] Browser XEmbed support present: 1
[000:504] Browser toolkit is Gtk2.
[000:505] Using Gtk2 toolkit
[000:031] No bp log location saved, using default.
[000:031] Cpu: 16.2.3, x2, 2500Mhz, 3956MB
[000:032] Computer model: Not available

(evolution:4377): GLib-GObject-CRITICAL **: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed

(evolution:4377): GLib-GObject-WARNING **: gtype.c:4268: type id '0' is invalid

(evolution:4377): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff44cb267 in gtk_style_context_get_style_valist ()
from /usr/lib/libgtk-3.so.0
Comment by Graham (gps1539) - Friday, 09 October 2015, 19:06 GMT
I see a similar error when saving files in Libreoffice

from gdb /usr/lib/libreoffice/program/soffice.bin
Program received signal SIGSEGV, Segmentation fault.
0x00007fffe1322ac3 in ?? () from /usr/lib/libgtk-3.so.0
Comment by Maiklas (Maiklas3000) - Saturday, 10 October 2015, 10:18 GMT
On an Antergos install (with Gnome 3), after the recent Arch package updates, Libreoffice crashed on startup. It gave pretty much the same error message as the evolution crash above. Using Tweak Tool, I changed the GTK+ theme from the default for Antergos (Numix-Frost) to Adwaita, and then "libreoffice --writer" started but crashed on saving files. The error message was:

(soffice:13484): Gtk-CRITICAL **: gtk_entry_set_text: assertion 'GTK_IS_ENTRY (entry)' failed

(soffice:13484): Gtk-CRITICAL **: gtk_entry_set_text: assertion 'GTK_IS_ENTRY (entry)' failed

(soffice:13484): Gtk-CRITICAL **: gtk_widget_grab_focus: assertion 'GTK_IS_WIDGET (widget)' failed

(soffice:13484): Gtk-CRITICAL **: _gtk_file_chooser_entry_set_base_folder: assertion 'GTK_IS_FILE_CHOOSER_ENTRY (chooser_entry)' failed

(soffice:13484): Gtk-CRITICAL **: gtk_entry_get_text: assertion 'GTK_IS_ENTRY (entry)' failed

(soffice:13484): Gtk-CRITICAL **: gtk_entry_get_text: assertion 'GTK_IS_ENTRY (entry)' failed

Before that, there are warnings on startup:

javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx

(soffice:13484): GLib-GObject-WARNING **: gsignal.c:3484: signal name 'selection_changed' is invalid for instance '0x1ba1870' of type 'OOoAtkObjCompTxt'
W: Unknown node under /registry/extlang: deprecated
W: Unknown node under /registry/grandfathered: comments
W: Unknown node under /registry/grandfathered: comments
Comment by michiel verboven (mverboven) - Monday, 12 October 2015, 08:45 GMT
the bugs (opening with non Adwaita theme, saving files[libreoffice]) are "resolved" by
downgrading package gtk3 (3.18.1-1 => 3.16.7-1)

UPDATE : not working !!
Comment by GH (stafuz) - Monday, 12 October 2015, 09:53 GMT
Sorry nothing is solved by downgrading to gtk3 3.16.7-1! By downgrading Nautilus (gnome filemanager) is not starting anymore.
In Libreoffice you can set (use libreoffice dialog windows) in preferences as an temporary workaround.
Wait for gtk3 update for resolving this issue.
Comment by Oscar Garcia (ogarcia) - Monday, 12 October 2015, 12:20 GMT
I open a bug in Gnome bugtracker here: https://bugzilla.gnome.org/show_bug.cgi?id=756310

Matthias is asking for a backtrace. Can anybody provide him it?
Comment by Gabor Horvath (xazax) - Monday, 12 October 2015, 16:42 GMT
I think this bug is the same: https://bugzilla.gnome.org/show_bug.cgi?id=756338

It is already fixed. Probably the libs should be patched.
Comment by michiel verboven (mverboven) - Tuesday, 13 October 2015, 09:39 GMT
the 'evolution not starting with non-default theme' is fixed with the updated gtk3 3.18.2-1
the 'libreoffice saving with non-libreoffice dialogs' is not
Comment by Graham (gps1539) - Friday, 16 October 2015, 06:09 GMT
@ogarcia, I may not know what is meant by backtrace, but I provided the output from gdb on the 9th. If that is not adequate to help please provide guidance.
Comment by Oscar Garcia (ogarcia) - Friday, 16 October 2015, 09:12 GMT
@gps1539 I think that the package owners could help with this cause you need OpenOffice with debugging symbols.

Loading...