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 754055 - tracker-miner-fs crashes on startup
tracker-miner-fs crashes on startup
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Miners
1.5.x
Other Linux
: Normal critical
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2015-08-25 07:33 UTC by David King
Modified: 2015-09-01 20:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
hacky patch (976 bytes, patch)
2015-08-25 11:29 UTC, David King
committed Details | Review

Description David King 2015-08-25 07:33:15 UTC
Under Fedora Rawhide, with tracker-1.5.2-1.fc24.x86_64, tracker-miner-fs crashes on startup:

Program received signal SIGSEGV, Segmentation fault.
0x00005555555646d3 in init_mount_points (miner_files=0x5555557b8310)
    at tracker-miner-files.c:932
932			if (strcmp (urn, TRACKER_DATASOURCE_URN_NON_REMOVABLE_MEDIA) == 0) {

Backtrace:

  • #0 miner_files_initable_init
    at tracker-miner-files.c line 932
  • #1 miner_files_initable_init
    at tracker-miner-files.c line 345
  • #2 g_initable_new_valist
  • #3 g_initable_new
  • #4 tracker_miner_files_new
    at tracker-miner-files.c line 2464
  • #5 main
    at tracker-main.c line 751

Also seems to be occurring for other users:

https://bugzilla.redhat.com/show_bug.cgi?id=1246896
https://bugzilla.redhat.com/show_bug.cgi?id=1246552
Comment 1 David King 2015-08-25 11:29:21 UTC
Created attachment 309950 [details] [review]
hacky patch

Patch could be completely bogus, but seems to allow the miner to start and keep running.
Comment 2 Martyn Russell 2015-09-01 20:40:44 UTC
Comment on attachment 309950 [details] [review]
hacky patch

Good catch :)
Please commit!
Comment 3 David King 2015-09-01 20:43:46 UTC
Review of attachment 309950 [details] [review]:

Thanks! Pushed to master as commit 531947327ff00a82a91d99430fbfb757eac5d4a5.