← Back to team overview

touch-packages team mailing list archive

[Bug 1513756] Re: Mediascanner looping constantly causing battery exhaustion

 

>From popey's logs

Volume /media/phablet/4332-3D21 was mounted.
terminate called after throwing an instance of 'std::runtime_error'
  what():  UNIQUE constraint failed: media.id

Then mediascanner restarts 3 times per second.

It is similar to Tafari's logs in bug 1508873


** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Changed in: canonical-devices-system-image
       Status: New => Confirmed

** Changed in: mediascanner2 (Ubuntu)
   Importance: Undecided => High

** Changed in: canonical-devices-system-image
   Importance: Undecided => High

** Changed in: canonical-devices-system-image
     Assignee: (unassigned) => Alejandro J. Cura (alecu)

** Changed in: canonical-devices-system-image
    Milestone: None => ww46-2015

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.
https://bugs.launchpad.net/bugs/1513756

Title:
  Mediascanner looping constantly causing battery exhaustion

Status in Canonical System Image:
  Confirmed
Status in mediascanner2 package in Ubuntu:
  Confirmed

Bug description:
  Woke up to find my krillin retail device on OTA-7 battery almost dead.
  I unplugged it when I went to bed last night, so it discharged
  completely in ~10 hours.

  http://people.canonical.com/~alan/screenshots/device-2015-11-06-083113.png

  ssh'ed in and found mediascanner consuming some CPU time (I haven't
  changed the media on the device for some time). Checking the logs
  (attached) it looks like this has been happening for days. Due to UOS
  and other things I've not used this phone much over the past week, so
  it's juts been sat there dying until I plug it in.

  mediascanner log attached. I don't think this is bug 1508142 because I
  checked and I have no webm files on the device, and it doesn't seem to
  be scanning, just starting and dying.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1513756/+subscriptions


References