GNOME Bugzilla – Bug 739237
Ownership reference not added in tracker-file-notifier.c
Last modified: 2014-11-05 12:37:34 UTC
Saw this one, that means the gfile is unreferenced when it got accessed. Looking at the code the GPtrArray isn't taking ownership. Will attach a patch that makes it take ownership.
+ Trace 234260
Thread 1 (LWP 1064)
--- cut here ---
Created attachment 289407 [details] [review] Patch for this issue Lets the GPtrArray take ownership of the object reference. The with_free_func will unref the ownership when the ownership by the ptrarray is released.
committed
Hi Philip, I ran into this crash on starting my desktop this morning, do you know if it actually fixes the problem? The patch looks sane to me of course, but if it does fix the problem, I would like to release a new version of Tracker 1.0.x with it in. Thanks.
*** Bug 731512 has been marked as a duplicate of this bug. ***
*** Bug 738091 has been marked as a duplicate of this bug. ***
The customer for whom I did this patch didn't retest yet. The issue was a race condition so it's not easy to test and/or reproduce. I think it's safe to do a patch release with this commit and resolve this bug as fixed. We can reopen it if we see it occurring again. That's just my opinion though. I would indeed also have preferred the bug to be reproducable and the fix tested against a reproducable situation.