tracker-miner-fs crashed with SIGSEGV in g_file_replace()

Bug #1342701 reported by Laurent Bonnaud
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
New
Undecided
Unassigned

Bug Description

I get this crash in tracker (or another crash, see bug #1327131) each time I log in.

The following environment variables may help to reproduce the crash:

  MALLOC_CHECK_=3
  MALLOC_PERTURB_=117

Another way to trigger this crash is those commands:

$ tracker-control -k
$ tracker-control -s

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: tracker-miner-fs 1.0.2-1ubuntu1~trusty1 [origin: LP-PPA-gnome3-team-gnome3-staging]
ProcVersionSignature: Ubuntu 3.13.0-32.56-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Wed Jul 16 14:31:26 2014
EcryptfsInUse: Yes
ExecutablePath: /usr/lib/tracker/tracker-miner-fs
ProcCmdline: /usr/lib/tracker/tracker-miner-fs
SegvAnalysis:
 Segfault happened at: 0x7f41d782d81c <g_file_get_uri+28>: cmp %rax,0x0(%rbp)
 PC (0x7f41d782d81c) ok
 source "%rax" ok
 destination "0x0(%rbp)" (0x00000001) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: tracker
StacktraceTop:
 g_file_get_uri (file=0x31f7320) at /build/buildd/glib2.0-2.40.0/./gio/gfile.c:546
 sparql_files_compose_query (files=<optimized out>, n_files=103) at tracker-file-notifier.c:740
 sparql_files_query_start (n_files=<optimized out>, files=<optimized out>, notifier=0x24fc100) at tracker-file-notifier.c:759
 crawler_finished_cb (crawler=<optimized out>, was_interrupted=<optimized out>, user_data=0x24fc100) at tracker-file-notifier.c:843
 g_cclosure_marshal_VOID__BOOLEANv (closure=<optimized out>, return_value=<optimized out>, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x25ca6d0) at /build/buildd/glib2.0-2.40.0/./gobject/gmarshal.c:188
Title: tracker-miner-fs crashed with SIGSEGV in g_file_get_uri()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm autopilot cdrom dip fuse libvirtd lpadmin plugdev sambashare staff sudo

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

Unfortunately, running tracker-miner-fs with debug output allowed the indexing to finish:

$ /usr/lib/tracker/tracker-miner-fs -v 3 -s 0
[...]
Tracker-INFO: Notified files after 15,58 seconds
Tracker-INFO: Found 11119 directories, ignored 286 directories
Tracker-INFO: Found 56546 files, ignored 944 files
Tracker-INFO: Finished all tasks
Tracker-INFO: --------------------------------------------------
Tracker-INFO: Total directories : 11119 (286 ignored)
Tracker-INFO: Total files : 56546 (944 ignored)
Tracker-INFO: Total processed : 0 (0 notified, 0 with error)
Tracker-INFO: --------------------------------------------------

Tracker-INFO: Idle
Tracker-INFO: Finished mining in seconds:15,582092, total directories:11119, total files:56546
Tracker-Message: Running on AC power
(tracker-miner-fs:19574): Tracker-DEBUG: Setting new throttle to 0,000

Revision history for this message
Ubuntu GNOME (ug-bot) wrote :

StacktraceTop:
 g_file_replace (file=<optimized out>, etag=0x1 <Address 0x1 out of bounds>, make_backup=0, flags=(unknown: 39626448), cancellable=0x3481610, error=0x24d7090) at /build/buildd/glib2.0-2.41.2~git20140710.60fe7b46/./gio/gfile.c:1768
 sparql_files_query_start (n_files=<optimized out>, files=<optimized out>, notifier=0x24fc040) at tracker-file-notifier.c:759
 crawler_finished_cb (crawler=<optimized out>, was_interrupted=<optimized out>, user_data=0x24fc040) at tracker-file-notifier.c:843
 g_cclosure_marshal_VOID__UCHARv (closure=0x31f7320, return_value=0xffffffff, instance=0x31abfd0, args=0x31abfd0, marshal_data=0x3115590, n_params=154, param_types=0x3000000020) at /build/buildd/glib2.0-2.41.2~git20140710.60fe7b46/./gobject/gmarshal.c:310
 ?? ()

Revision history for this message
Ubuntu GNOME (ug-bot) wrote : Stacktrace.txt
Revision history for this message
Ubuntu GNOME (ug-bot) wrote : StacktraceSource.txt
Revision history for this message
Ubuntu GNOME (ug-bot) wrote : ThreadStacktrace.txt
summary: - tracker-miner-fs crashed with SIGSEGV in g_file_get_uri()
+ tracker-miner-fs crashed with SIGSEGV in g_file_replace()
tags: removed: need-amd64-retrace
information type: Private → Public
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.