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 745565 - Long spam of debug messages about invalid source IDs
Long spam of debug messages about invalid source IDs
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Store
unspecified
Other Linux
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2015-03-03 23:17 UTC by Giovanni Campagna
Modified: 2015-03-12 01:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tracker-store: clear the watchdog timer when it fires (908 bytes, patch)
2015-03-03 23:21 UTC, Giovanni Campagna
committed Details | Review

Description Giovanni Campagna 2015-03-03 23:17:44 UTC
I occasionally get a long (usually over 100 messages) list of critical warnings from tracker in the journal.

Mar 03 15:14:10 giovanni-macbook org.freedesktop.Tracker1[1489]: (tracker-store:8442): GLib-CRITICAL **: Source ID 408 was not found when attempting to remove it

Backtrace of one of these:

  • #0 g_source_remove
    at gmain.c line 2243
  • #1 tracker_store_query_task_finalize
    at /home/gcampagn/gnome/tracker/src/tracker-store/tracker-store.vala line 70
  • #2 tracker_store_task_unref
    at /home/gcampagn/gnome/tracker/src/tracker-store/tracker-store.vala line 55
  • #3 block7_data_unref
    at /home/gcampagn/gnome/tracker/src/tracker-store/tracker-store.vala line 105
  • #4 g_source_callback_unref
    at gmain.c line 1532
  • #5 g_source_destroy_internal
    at gmain.c line 1178
  • #6 g_main_dispatch
    at gmain.c line 3145
  • #7 g_main_context_dispatch
    at gmain.c line 3737
  • #8 g_main_context_iterate
    at gmain.c line 3808
  • #9 g_main_loop_run
    at gmain.c line 4002
  • #10 tracker_main_main
    at /home/gcampagn/gnome/tracker/src/tracker-store/tracker-main.vala line 298
  • #11 main
    at /home/gcampagn/gnome/tracker/src/tracker-store/tracker-main.vala line 150

Comment 1 Giovanni Campagna 2015-03-03 23:21:04 UTC
Created attachment 298492 [details] [review]
tracker-store: clear the watchdog timer when it fires

Otherwise glib complain that we remove an invalid source.

Turned out to be simpler than expected.
Comment 2 Martyn Russell 2015-03-04 19:53:13 UTC
Review of attachment 298492 [details] [review]:

Ah, great patch, been wanting this fixed for a while, but never got around to it!
Comment 3 Giovanni Campagna 2015-03-12 01:21:51 UTC
Attachment 298492 [details] pushed as 6758397 - tracker-store: clear the watchdog timer when it fires