Closed
Bug 878981
Opened 12 years ago
Closed 11 years ago
[Video] Caf ics_chocolates' OMXCodec does not handle seek failure correctly
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: sotaro, Unassigned)
References
Details
(Whiteboard: [apps watch list])
Attachments
(1 file)
5.52 KB,
text/plain
|
Details |
+++ This bug was initially created as a clone of Bug #868806 +++
When store attachment 745627 [details] in SD card and open Video app on v1.1 unagi, thumbnail generation continues indefinitely without success as in Bug 868806.
It happens by the caf's change to OMXCodec in ics_chocolate. This problem does not happen in v1.1 leo(ics_strawberry).
Reporter | ||
Comment 1•12 years ago
|
||
get stack trace by using gdb.
Reporter | ||
Comment 2•12 years ago
|
||
OMXCodec destruct stopped in OMXCodec::stop() at following code. The mState was FLUSHING, the FLUSHING is not present in AOSP. It is added in CAF.
while (isIntermediateState(mState)) {
mAsyncCompletion.wait(mLock);
}
Reporter | ||
Comment 3•12 years ago
|
||
FLUSHING is set in seek read in OMXCodec::stop(). But nobody unset it in v1.1 unagi case. Then mState remain "IntermediateState" and fall into infinite loop.
Reporter | ||
Comment 4•12 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #3)
> FLUSHING is set in seek read in OMXCodec::stop(). But nobody unset it in
> v1.1 unagi case. Then mState remain "IntermediateState" and fall into
> infinite loop.
Correction:
FLUSHING is set in seek read in OMXCodec::read() and it failed.
Reporter | ||
Comment 5•12 years ago
|
||
It seems that it is already fixed in ics_strarwberry. In ics_strarwberry case, when seek read in OMXCodec::read() failed, ERROR state is set.
Reporter | ||
Comment 6•12 years ago
|
||
Diego, is it already fixed also in ics_chocolate?
Flags: needinfo?(dwilson)
Comment 7•12 years ago
|
||
FYI: ics_chocolate is not currently supported for v1.1
Reporter | ||
Comment 8•12 years ago
|
||
(In reply to Michael Vines [:m1] [:evilmachines] from comment #7)
> FYI: ics_chocolate is not currently supported for v1.1
Is there a plan for it? inari/ikura uses ics_chocolate. These devices needs to be updated to v1.1 in near future.
Comment 9•12 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #8)
>
> Is there a plan for it? inari/ikura uses ics_chocolate. These devices needs
> to be updated to v1.1 in near future.
An a lot of us, including the NZ media team, only have unagi's making testing difficult if it's not supported.
Updated•12 years ago
|
Flags: needinfo?(dwilson)
Comment 10•12 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #8)
> (In reply to Michael Vines [:m1] [:evilmachines] from comment #7)
> > FYI: ics_chocolate is not currently supported for v1.1
>
> Is there a plan for it?
AFAIK: no
Sotaro, can we patch OMXCodec.cpp locally to avoid this issue on unagis?
Flags: needinfo?(sotaro.ikeda.g)
Updated•12 years ago
|
Whiteboard: [apps watch list]
Reporter | ||
Comment 12•12 years ago
|
||
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #11)
> Sotaro, can we patch OMXCodec.cpp locally to avoid this issue on unagis?
Yeah, from source code of OMXCodec, there is no problem to use locally.
Flags: needinfo?(sotaro.ikeda.g)
Reporter | ||
Comment 13•12 years ago
|
||
OMXCodec of both unagi and buri devices got from git://codeaurora.org/. Tag is different.
- unagi
https://github.com/mozilla-b2g/b2g-manifest/blob/v1-train/otoro.xml
- buri
https://github.com/mozilla-b2g/b2g-manifest/blob/v1-train/hamachi.xml
git diff -r eb2bc75803ca179353c24c364a9c8a8ce23e8b78 -r b8676a4e390d1b29ef8b0e9f02642e1aa092ed60 media/libstagefright/OMXCodec.cpp is huge! I don't think I want to try to backport any of that to my build :-(
Reporter | ||
Comment 16•11 years ago
|
||
We are not working for ics_chocolate problem anymore.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•