You are not logged in.

#1 2018-06-17 20:30:00

txtsd
Member
Registered: 2014-10-02
Posts: 96
Website

[SOLVED] Qt apps segfaulting with GLib-GObject-CRITICAL

I can't run any Qt programs on my system since a few days ago.

The output is the same for all Qt based programs like qbittorrent, qtodotxt, qownnotes, qtpass, qterminal, megasync, krita, obs.
However, qt4 programs do work and, suspiciously, so does qtattributionsscanner-qt5.

┌[txtsd@dungeon-of-data]─[~] [139]                                                                                                                                         [18-06-18 1:40:26]
└─▶ qt5ct                                                                                                                                                                                     

(qt5ct:12950): dbind-WARNING **: 01:48:29.108: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
qt5ct: using qt5ct plugin

(qt5ct:12950): GLib-GObject-WARNING **: 01:48:29.111: cannot register existing type 'GdkDisplayManager'

(qt5ct:12950): GLib-CRITICAL **: 01:48:29.111: g_once_init_leave: assertion 'result != 0' failed

(qt5ct:12950): GLib-GObject-CRITICAL **: 01:48:29.111: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(qt5ct:12950): GLib-GObject-WARNING **: 01:48:29.111: invalid (NULL) pointer instance

(qt5ct:12950): GLib-GObject-CRITICAL **: 01:48:29.111: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(qt5ct:12950): GLib-GObject-WARNING **: 01:48:29.111: invalid (NULL) pointer instance

(qt5ct:12950): GLib-GObject-CRITICAL **: 01:48:29.111: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(qt5ct:12950): GLib-GObject-WARNING **: 01:48:29.111: cannot register existing type 'GdkDisplay'

(qt5ct:12950): GLib-CRITICAL **: 01:48:29.111: g_once_init_leave: assertion 'result != 0' failed

(qt5ct:12950): GLib-GObject-CRITICAL **: 01:48:29.111: g_type_register_static: assertion 'parent_type > 0' failed

(qt5ct:12950): GLib-CRITICAL **: 01:48:29.111: g_once_init_leave: assertion 'result != 0' failed

(qt5ct:12950): GLib-GObject-CRITICAL **: 01:48:29.111: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[1]    12950 segmentation fault (core dumped)  qt5ct

┌[txtsd@dungeon-of-data]─[~] [139]                                                                                                                                         [18-06-18 1:48:29]
└─▶ env QT_STYLE_OVERRIDE=qt5ct QT_QPA_PLATFORMTHEME=qt5ct QT_PLATFORMTHEME=qt5ct QT_PLATFORM_PLUGIN=qt5ct qt5ct                                                                              

(qt5ct:13094): dbind-WARNING **: 01:48:35.009: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
qt5ct: using qt5ct plugin
QApplication: invalid style override passed, ignoring it.

(qt5ct:13094): GLib-GObject-WARNING **: 01:48:35.012: cannot register existing type 'GdkDisplayManager'

(qt5ct:13094): GLib-CRITICAL **: 01:48:35.012: g_once_init_leave: assertion 'result != 0' failed

(qt5ct:13094): GLib-GObject-CRITICAL **: 01:48:35.012: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(qt5ct:13094): GLib-GObject-WARNING **: 01:48:35.012: invalid (NULL) pointer instance

(qt5ct:13094): GLib-GObject-CRITICAL **: 01:48:35.012: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(qt5ct:13094): GLib-GObject-WARNING **: 01:48:35.012: invalid (NULL) pointer instance

(qt5ct:13094): GLib-GObject-CRITICAL **: 01:48:35.012: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(qt5ct:13094): GLib-GObject-WARNING **: 01:48:35.013: cannot register existing type 'GdkDisplay'

(qt5ct:13094): GLib-CRITICAL **: 01:48:35.013: g_once_init_leave: assertion 'result != 0' failed

(qt5ct:13094): GLib-GObject-CRITICAL **: 01:48:35.013: g_type_register_static: assertion 'parent_type > 0' failed

(qt5ct:13094): GLib-CRITICAL **: 01:48:35.013: g_once_init_leave: assertion 'result != 0' failed

(qt5ct:13094): GLib-GObject-CRITICAL **: 01:48:35.013: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
[1]    13094 segmentation fault (core dumped)  env QT_STYLE_OVERRIDE=qt5ct QT_QPA_PLATFORMTHEME=qt5ct QT_PLATFORMTHEME=qt5ct

Last edited by txtsd (2018-06-18 17:47:41)


[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] [zsh] Arch user since [2014-09-01 02:09]

Offline

#2 2018-06-17 20:35:10

txtsd
Member
Registered: 2014-10-02
Posts: 96
Website

Re: [SOLVED] Qt apps segfaulting with GLib-GObject-CRITICAL

Figured it out. I just needed to rebuild qt5ct from source.


[CPU] AMD Ryzen 5 2400G
[iGPU] AMD RX Vega 11
[Kernel] linux-zen
[sway] [zsh] Arch user since [2014-09-01 02:09]

Offline

Board footer

Powered by FluxBB