Closed
Bug 939647
Opened 11 years ago
Closed 11 years ago
Launch Video app causes crash based on Android JB (4.2.2)
Categories
(Firefox OS Graveyard :: Gaia::Video, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.3 Sprint 5 - 11/22
People
(Reporter: vliu, Assigned: vliu)
Details
Attachments
(1 file, 1 obsolete file)
1.14 KB,
patch
|
sotaro
:
review+
mwu
:
review+
|
Details | Diff | Splinter Review |
STR to reproduce this issue. 1. Launches video app 2. Video crashes.
Assignee | ||
Comment 1•11 years ago
|
||
It should be the missing part when the patch of bug 922510 is landed. I Checked SurfaceTextureClient::dequeueBuffer(...) on Android JB(4.2.2) and its shouldn't call |fence->isValid()| instead of |fence.get()|.
Attachment #8333639 -
Flags: review?(sotaro.ikeda.g)
Comment 2•11 years ago
|
||
Comment on attachment 8333639 [details] [diff] [review] bug-939647-fix.patch Review of attachment 8333639 [details] [diff] [review]: ----------------------------------------------------------------- ::: widget/gonk/nativewindow/GonkNativeWindowClientJB.cpp @@ +221,2 @@ > if (fence->isValid()) { > +#endif I want to prevent ifdef as less as possible. If the code is like following, we do not need ifdef. > if (fence.get() && fence->isValid()) {
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #2) > Comment on attachment 8333639 [details] [diff] [review] > bug-939647-fix.patch > > Review of attachment 8333639 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: widget/gonk/nativewindow/GonkNativeWindowClientJB.cpp > @@ +221,2 @@ > > if (fence->isValid()) { > > +#endif > > I want to prevent ifdef as less as possible. If the code is like following, > we do not need ifdef. > > > if (fence.get() && fence->isValid()) { Cool! It seems the suggestion is better then my first patch. Can you please review again? Thanks.
Attachment #8333639 -
Attachment is obsolete: true
Attachment #8333639 -
Flags: review?(sotaro.ikeda.g)
Attachment #8333668 -
Flags: review?(sotaro.ikeda.g)
Comment 4•11 years ago
|
||
Comment on attachment 8333668 [details] [diff] [review] bug-939647-v2-fix.patch Looks good. It seems better to ask a review also to mwu. I add mwu as a reviewer.
Attachment #8333668 -
Flags: review?(sotaro.ikeda.g)
Attachment #8333668 -
Flags: review?(mwu)
Attachment #8333668 -
Flags: review+
Comment 5•11 years ago
|
||
Comment on attachment 8333668 [details] [diff] [review] bug-939647-v2-fix.patch Review of attachment 8333668 [details] [diff] [review]: ----------------------------------------------------------------- Looks reasonable.
Attachment #8333668 -
Flags: review?(mwu) → review+
Assignee | ||
Comment 6•11 years ago
|
||
The result of try-server https://tbpl.mozilla.org/?tree=Try&rev=60102d715e28 https://tbpl.mozilla.org/?tree=Try&rev=1247a84be328
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/facc5fa097c8
Assignee: nobody → vliu
Keywords: checkin-needed
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/facc5fa097c8
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 Sprint 5 - 11/22
You need to log in
before you can comment on or make changes to this bug.
Description
•