crash while pushing videos to device

Bug #1385358 reported by Selene ToyKeeper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mediascanner2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I consistently get a mediascanner crash when I push videos to my device after flashing it. These are the commands I run to send the videos:

adb push ~/.cache/mwc/videos.tgz /home/phablet/Videos
adb shell 'cd /home/phablet/Videos && tar xfvz videos.tgz && rm -f videos.tgz'

The crash happens during the second command, extracting or removing the tarball. The video tarball itself is the same one we used for the MWC demo a long time ago.

The resulting crash file is attached.

I recall seeing this frequently for a long time, but the crash file I attached is based on krillin-proposed rtm image 124.

Tags: rtm14 ue
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :
description: updated
Revision history for this message
Jim Hodapp (jhodapp) wrote :

I'm curious if this happens with the same videos if you use MTP instead of adb push? Technically we do not support pushing media to the device via adb.

Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

What does .cache/upstart/mediascanner-2.0.log say about this crash?

affects: mediascanner → mediascanner2
Changed in mediascanner2:
status: New → Incomplete
affects: mediascanner2 → mediascanner2 (Ubuntu)
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Sorry for the delays, I had forgotten about this bug.

I tested again today (arale rc-proposed 174) and it appears to still happen. I don't recall seeing it via MTP, but that's not automated so the MTP case isn't touched as often. Attempting it just now, I didn't get it to fail... but sending via mtp is also a lot slower than untarring a file locally on the phone so it might not stress the device much.

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

The tarball I mentioned earlier is:
http://toykeeper.net/tmp/phablet/videos.tgz

Revision history for this message
James Henstridge (jamesh) wrote :

I suspect that this bug is actually in one of the platform specific codecs rather than media scanner itself.

We've done about all we can to mitigate these problems. You'll notice that the new crash you've attached is in a different executable now: the codecs can only cause an extraction specific subprocess to crash now, with the main scanner daemon continuing on.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mediascanner2 (Ubuntu) because there has been no activity for 60 days.]

Changed in mediascanner2 (Ubuntu):
status: Incomplete → Expired
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.