After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788883 - "g_object_unref: assertion 'G_IS_OBJECT (object)' failed" when calling "tracker daemon --get-log-verbosity"
"g_object_unref: assertion 'G_IS_OBJECT (object)' failed" when calling "track...
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: Thomas Bechtold
tracker-general
Depends on:
Blocks:
 
 
Reported: 2017-10-12 15:16 UTC by Thomas Bechtold
Modified: 2017-10-12 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Correctly unref a g_settings_schema (920 bytes, patch)
2017-10-12 15:22 UTC, Thomas Bechtold
accepted-commit_now Details | Review

Description Thomas Bechtold 2017-10-12 15:16:06 UTC
tracker daemon --get-log-verbosity
Components:
  Store    : debug
  Extract  : debug
  Writeback: debug

Miners (Only those with config listed):
  Files    : debug


(tracker daemon:21875): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(tracker daemon:21875): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(tracker daemon:21875): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(tracker daemon:21875): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Comment 1 Thomas Bechtold 2017-10-12 15:22:30 UTC
Created attachment 361428 [details] [review]
Correctly unref a g_settings_schema

This fixes:

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

when calling "tracker daemon"
Comment 2 Carlos Garnacho 2017-10-12 15:38:51 UTC
Comment on attachment 361428 [details] [review]
Correctly unref a g_settings_schema

Minor nit, you can use g_clear_pointer() and it stays a one-liner :). Feel free to fix locally before pushing.
Comment 3 Thomas Bechtold 2017-10-12 15:43:57 UTC
(In reply to Carlos Garnacho from comment #2)
> Comment on attachment 361428 [details] [review] [review]
> Correctly unref a g_settings_schema
> 
> Minor nit, you can use g_clear_pointer() and it stays a one-liner :). Feel
> free to fix locally before pushing.

Done. Thanks for the hint!