Bug 1378003

Summary: QGnomePlatform causes quassel(client) to fail to launch when theme is set to GTK+
Product: [Fedora] Fedora Reporter: Sylvia Sánchez <LailahFSF>
Component: qgnomeplatformAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 24CC: admiller, ddash, jgrulich, LailahFSF, lupinix.fedora, rdieter, rosser.bjr, smparrish, s
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: qgnomeplatform-0.2-13.20161205git.fc25 qgnomeplatform-0.2-13.20161205git.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-06 20:21:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error messages none

Description Sylvia Sánchez 2016-09-21 09:42:18 UTC
Created attachment 1203192 [details]
Error messages

Description of problem:
When you launch the programme it fails to start.

Version-Release number of selected component (if applicable):


How reproducible:
Clicking on the icon or typing the command in terminal.

Steps to Reproduce:
1. Clicking on the icon or typing the command in terminal.
2. Waiting. 
3.

Actual results:
Doesn't starts. Returns many error messages.

Expected results:
Normal start.

Additional info:
I'm attaching a plain text file with the error messages.

Comment 1 Rex Dieter 2016-09-22 13:16:30 UTC
contents of attachment for easier viewing:



(quassel:20631): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'

(quassel:20631): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(quassel:20631): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(quassel:20631): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(quassel:20631): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(quassel:20631): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(quassel:20631): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(quassel:20631): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplay'

(quassel:20631): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(quassel:20631): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed

(quassel:20631): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(quassel:20631): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
^CCaught signal 2 - exiting.
Segmentation fault (core dumped)


Based on the output, it could be style/theme related

1.  under what DE are you running quassel?

2.  try running as:
quassel --style plastique
to see if current style is the problem or not, does it still not start?

Comment 2 Sylvia Sánchez 2016-09-22 18:02:34 UTC
1. I'm runnig Quassel under Gnome Shell.

2. I get this error message: 

quassel --style plastique

(quassel:6138): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'

(quassel:6138): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(quassel:6138): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(quassel:6138): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(quassel:6138): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(quassel:6138): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(quassel:6138): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(quassel:6138): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplay'

(quassel:6138): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(quassel:6138): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed

(quassel:6138): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(quassel:6138): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
^CCaught signal 2 - exiting.
Segmentation fault (core dumped)
[sylvia@Amsterdam ~]$ 


But that's maybe because I don't have that style in my desktop.

Comment 3 Ben Rosser 2016-11-14 00:31:57 UTC
A user in #quassel reported possibly similar issues running on a fresh install of Workstation (i.e. GNOME):

<Fish-Face> so there are two issues I've had: firstly setting it to use the GTK style crashes on startup, and secondly opening the font picker (whcih I assume is a GTK dialogue here) crashes it

<Fish-Face> however, the latter error gives different output, it starts with: (quasselclient:5212): Gtk-WARNING **: Unknown type PangoFontFamily specified in treemodel model

I couldn't reproduce this on KDE, however, so I installed a Fedora 24 Workstation VM. I could confirm that toggling the theme to GTK+ caused a crash.

I was suspicious of https://fedoraproject.org/wiki/Changes/QGnomePlatform, and so removed qgnomeplatform. After doing so, quassel worked fine. Reinstalling qgnomeplatform and the crash came back. The user in #quassel confirmed that this fixed things for him as well.

As a workaround, does uninstalling qgnomeplatform (i.e. "dnf remove qgnomeplatform") solve the issue?

Comment 4 Jan Grulich 2016-11-21 13:13:23 UTC
The problem with gtk+ has been solved more than 3 months ago. Previously we had fallback to gtk+ style when adwaita-qt wasn't present, right now the fallback is fusion style. Anyway, adwaita-qt is highly recommended and supported style.

The crash in font dialog is a known bug for us, we just didn't get to it yet.

Comment 5 Troy Dash 2017-01-01 15:06:38 UTC
$ uname -r
4.8.15-200.fc24.x86_64


Hey just dropping in. I think I hit this.

Steps:
1. Opened Quassel
2. pressed F7 to open Settings Menu
3. clicked checkbox to select custom font.
4. clicked on the "Choose" button

Jan  1 09:57:15 demacia quassel.desktop: (quassel:13874): Gtk-WARNING **: Unknown type PangoFontFamily specified in treemodel model
Jan  1 09:57:15 demacia quassel.desktop: (quassel:13874): Gtk-WARNING **: Unknown type PangoFontFace specified in treemodel model
Jan  1 09:57:15 demacia quassel.desktop: (quassel:13874): Gtk-WARNING **: gtkliststore.c:516: Invalid type (null)
Jan  1 09:57:15 demacia quassel.desktop: (quassel:13874): Gtk-WARNING **: gtkliststore.c:516: Invalid type (null)
Jan  1 09:57:15 demacia quassel.desktop: (quassel:13874): GLib-GObject-CRITICAL **: g_value_type_transformable: assertion 'G_TYPE_IS_VALUE (src_type)' failed
Jan  1 09:57:15 demacia quassel.desktop: (quassel:13874): GLib-GObject-CRITICAL **: g_value_type_transformable: assertion 'G_TYPE_IS_VALUE (src_type)' failed
Jan  1 09:57:15 demacia quassel.desktop: (quassel:13874): GLib-GObject-WARNING **: gtype.c:4273: type id '0' is invalid
Jan  1 09:57:15 demacia quassel.desktop: (quassel:13874): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced
Jan  1 09:57:15 demacia quassel.desktop: #  0 quassel              0x0000564c2078f96c Quassel::logBacktrace(QString const&)
Jan  1 09:57:15 demacia quassel.desktop: #  1 quassel              0x0000564c20767299 Quassel::handleSignal(int)
Jan  1 09:57:15 demacia quassel.desktop: #  2 libc.so.6            0x00007f5189eb27e0 0x0000000000000000
Jan  1 09:57:15 demacia quassel.desktop: #  3 libQt5Core.so.5      0x00007f518ad5764d QObject::disconnect(QObject const*, char const*, QObject const*, char const*)
Jan  1 09:57:15 demacia quassel.desktop: #  4 libQt5DBus.so.5      0x00007f51911c65b0 0x0000000000000000
Jan  1 09:57:15 demacia quassel.desktop: #  5 libQt5DBus.so.5      0x00007f51911b3672 0x0000000000000000
Jan  1 09:57:15 demacia quassel.desktop: #  6 libQt5Core.so.5      0x00007f518ab8d9ba 0x0000000000000000
Jan  1 09:57:15 demacia quassel.desktop: #  7 libpthread.so.0      0x00007f5189c695ca 0x0000000000000000
Jan  1 09:57:15 demacia quassel.desktop: #  8 libc.so.6            0x00007f5189f810ed clone

Comment 6 Fedora Update System 2017-01-02 07:26:00 UTC
qgnomeplatform-0.2-13.20161205git.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-139caa9469

Comment 7 Fedora Update System 2017-01-02 07:26:10 UTC
qgnomeplatform-0.2-13.20161205git.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0cb287ff1d

Comment 8 Fedora Update System 2017-01-02 20:48:02 UTC
qgnomeplatform-0.2-13.20161205git.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-139caa9469

Comment 9 Fedora Update System 2017-01-03 02:17:36 UTC
qgnomeplatform-0.2-13.20161205git.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0cb287ff1d

Comment 10 Fedora Update System 2017-01-06 20:21:32 UTC
qgnomeplatform-0.2-13.20161205git.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2017-01-17 20:19:40 UTC
qgnomeplatform-0.2-13.20161205git.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.