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 741141 - Tracker crashes every 5-10 minutes
Tracker crashes every 5-10 minutes
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Extractor
1.2.x
Other Linux
: Normal critical
: ---
Assigned To: tracker-extractor
Depends on:
Blocks:
 
 
Reported: 2014-12-05 01:36 UTC by Michael Catanzaro
Modified: 2014-12-10 09:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Catanzaro 2014-12-05 01:36:47 UTC
tracker-1.2.4-3.fc21 is crashing every 5-10 minutes on my new install of Fedora 21.  It seems that few users are affected by this crash, but for those who are it happens extremely frequently. It might be relevant that I've copied over my home directory from my Fedora 20 machine.

There's a full backtrace with plenty of debug available at our downstream bug. [1]

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 persistence_store_file at tracker-extract-persistence.c:146
 #1 tracker_extract_persistence_add_file at tracker-extract-persistence.c:263
 #2 decorator_next_item_cb at tracker-extract-decorator.c:295
 #3 g_task_return_now at gtask.c:1077
 #4 g_task_return at gtask.c:1130
 #5 complete_tasks_or_query at tracker-decorator.c:1261
 #6 query_next_items_cb at tracker-decorator.c:1178
 #7 g_simple_async_result_complete at gsimpleasyncresult.c:763
 #8 tracker_sparql_backend_real_query_async_co at /home/martyn/Source/checkout/gnome/tracker/src/libtracker-sparql-backend/tracker-backend.vala:108
 #9 g_simple_async_result_complete at gsimpleasyncresult.c:763

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1133042
Comment 1 Michael Catanzaro 2014-12-05 02:49:38 UTC
Just now, tracker happened to crash when I had System Monitor open, and I noticed that tracker-extract was using 100% of one CPU.
Comment 2 Martyn Russell 2014-12-10 09:40:07 UTC
commit ae24f17b6b8251a6359dba9b638847cb0f1f16a1
Author: Martyn Russell <martyn@lanedo.com>
Date:   Wed Dec 10 09:35:34 2014 +0000

    tracker-extract: Don't crash if g_file_make_symbolic_link() fails with no GError
    
    We assume error is set, but in some cases it is not. Check before using it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741141
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1133042



This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.