Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

"(qtox:8687): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed" error on startup #3154

Closed
ghost opened this issue Apr 17, 2016 · 0 comments
Labels
C-bug The issue contains a bug report

Comments

@ghost
Copy link

ghost commented Apr 17, 2016

I have noticed that since one of the recent updates I am getting this error when starting qTox:

(qtox:8687): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

This is the full log:

[21:57:07.914] src/persistence/settings.cpp:121 : Debug: "Loading settings from /home/boghog/.config/tox/qtox.ini"
[21:57:07.915] src/ipc.cpp:46 : Debug: Our global IPC ID is 15503824813809099664
[21:57:07.915] src/main.cpp:196 : Debug: built on: 13:53:32 Apr 16 2016 ( 1460814569 )
[21:57:07.915] src/main.cpp:197 : Debug: commit: built without git

[21:57:07.916] src/nexus.cpp:81 : Debug: Starting up
[21:57:14.683] src/persistence/profile.cpp:86 : Debug: Loading tox save "/home/boghog/.config/tox/遊牧民.tox"
[21:57:14.931] src/persistence/settings.cpp:378 : Debug: "Saving global settings at /home/boghog/.config/tox/qtox.ini"
[21:57:15.050] src/persistence/settings.cpp:296 : Debug: Loading personal settings from "/home/boghog/.config/tox/遊牧民.ini"
[21:57:15.934] src/core/core.cpp:236 : Debug: Loading user profile
[21:57:15.934] src/persistence/profile.cpp:249 : Debug: Loading tox save "/home/boghog/.config/tox/遊牧民.tox"
[21:57:16.051] src/core/core.cpp:132 : Debug: Core starting with IPv6 enabled
[21:57:17.595] src/widget/systemtrayicon.cpp:65 : Debug: Using GTK backend

(qtox:8687): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[21:57:19.098] src/core/core.cpp:407 : Debug: "Connecting to 194.249.212.109:33445 (fluke571)"
[21:57:19.099] src/core/core.cpp:407 : Debug: "Connecting to 185.25.116.107:33445 (MAH69K)"
[21:57:23.598] src/core/core.cpp:407 : Debug: "Connecting to 144.76.60.215:33445 (sonOfRa)"
[21:57:23.599] src/core/core.cpp:407 : Debug: "Connecting to 23.226.230.47:33445 (stal)"
[21:57:25.858] src/core/core.cpp:374 : Debug: Connected to the DHT
[21:57:25.858] src/persistence/profile.cpp:314 : Debug: Saving tox save to "/home/boghog/.config/tox/遊牧民.tox"
[22:04:17.630] src/persistence/profile.cpp:314 : Debug: Saving tox save to "/home/boghog/.config/tox/遊牧民.tox"
[22:04:17.829] src/persistence/settings.cpp:505 : Debug: Saving personal settings at "/home/boghog/.config/tox/遊牧民.ini"
[22:04:18.019] src/persistence/settings.cpp:378 : Debug: "Saving global settings at /home/boghog/.config/tox/qtox.ini"
[22:04:18.074] src/main.cpp:294 : Debug: Clean exit with status 0

I am running Ubuntu GNOME 15.10 with GNOME 3.18 and qTox version 1.3.0-214-g95794b4-1.

@zetok zetok added C-bug The issue contains a bug report help wanted labels Apr 18, 2016
b4n added a commit to b4n/qTox that referenced this issue Jun 13, 2016
* The initial status icon to set on GTK didn't exist (anymore?).
* GTK resources aren't compatible with Qt's, so the resource lookup
  couldn't work anyway, even if it did exist.
* The caller calls SystemTryIcon::setIcon() right after instancing it
  anyway, so there's no need for an initial icon.

This fixes a runtime critical warning from GTK as we tried to unref a
NULL icon, which is invalid.

Fixes qTox#3154.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C-bug The issue contains a bug report
Projects
None yet
Development

No branches or pull requests

1 participant