Closed Bug 877416 Opened 12 years ago Closed 7 years ago

When a corrupt video file is on the sdcard, the video app sometimes fails to scan other files.

Categories

(Firefox OS Graveyard :: Gaia::Video, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: djf, Unassigned)

Details

Attachments

(1 file)

With the attached video file on the sdcard, the video app sometimes does not successfully create thumbnails for other videos. I don't have precise STR, but I think that to reproduce it, the corrupt file can't be the newest on one -- we have to try to scan it before others. Logcat is showing gecko errors saying that the video cannot be played. I think this means that the hardware is not being released, and the subsequent videos can't get their metadata parsed because of hardware contention. Possibly this is a logic error in apps/video/js/metadata.js: maybe I'm not releasing the hardware correctly when the corrupt file causes an error. But I fear that this might be a gecko issue. Chris and Sotaro: since you have both been working on video recently, do you have any idea whether there are differences in the way that the video hardware is released after an error?
Flags: needinfo?(sotaro.ikeda.g)
Flags: needinfo?(chris.double)
Does it still happen with the patch in bug 869289 applied?
Flags: needinfo?(chris.double)
I've have the attached corrupted file on my sdcard for a while and I've been trying video app every time I update my master. I also updated b2g to the latest-hamachi-mozilla-central build, Oct 2. This issue never happens to me. This is the last time I tried on master: commit 14d1425e5bf82aa622139ebf816b8090cfceea92
Flags: needinfo?(sotaro.ikeda.g)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: