Mediascanner crashes when files get removed during scanning

Bug #1222731 reported by Paweł Stołowski
This bug report is a duplicate of:  Bug #1221984: Crashes when adding a picture. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mediascanner
Fix Committed
Critical
Unassigned
mediascanner (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Mediascanner crashes during some automated tests, probably because some files get removed or changed during scanning. Core dump is partially corrupted, but last frames show:

#0 0x4006a61c in gst_discoverer_discover_uri ()
   from /usr/lib/arm-linux-gnueabihf/libgstpbutils-1.0.so.0
#1 0x401e0da4 in mediascanner::FileSystemWalker::Private::on_file_deleted(_GFile*) () from /usr/lib/arm-linux-gnueabihf/libmediascanner-1.0.so.1
#2 0x0184afb4 in ?? ()
#3 0x0184afb4 in ?? ()

See http://jenkins.qa.ubuntu.com/job/saucy-touch_ro-maguro-smoke-camera-app-autopilot/57/artifact/clientlogs/_usr_bin_mediascanner-service.32011.crash/*view*/

Related branches

summary: - Mediascanner crashes
+ Mediascanner crashes (when files get removed during scanning)
summary: - Mediascanner crashes (when files get removed during scanning)
+ Mediascanner crashes when files get removed during scanning
description: updated
Revision history for this message
Paweł Stołowski (stolowski) wrote :

Note there is a related bug https://bugs.launchpad.net/mediascanner/+bug/1221984, only the crash happens on newly added files.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mediascanner at revision 382, scheduled for release in mediascanner, milestone Unknown

Changed in mediascanner:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mediascanner - 0.3.93+13.10.20130918.1-0ubuntu1

---------------
mediascanner (0.3.93+13.10.20130918.1-0ubuntu1) saucy; urgency=low

  [ Jussi Pakkanen ]
  * Quickfix for crasher. (LP: #1222731)
  * Replace boost::bind with std::bind. (LP: #1223906)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 383
 -- Ubuntu daily release <email address hidden> Wed, 18 Sep 2013 07:59:17 +0000

Changed in mediascanner (Ubuntu):
status: New → Fix Released
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.