Closed
Bug 1089423
Opened 11 years ago
Closed 11 years ago
crash in java.lang.IllegalStateException: at android.media.MediaCodec.dequeueInputBuffer(Native Method)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox34 verified, firefox35 verified, firefox36 verified, fennec35+)
VERIFIED
FIXED
Firefox 36
People
(Reporter: aaronmt, Assigned: snorp)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
|
6.83 KB,
patch
|
gcp
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-faf177c8-006c-4b74-86d5-628672141025.
=============================================================
java.lang.IllegalStateException
at android.media.MediaCodec.dequeueInputBuffer(Native Method)
at dalvik.system.NativeStart.run(Native Method)
at dalvik.system.NativeStart.run(Native Method)
Android CPU ABI
| Assignee | ||
Comment 1•11 years ago
|
||
This is kind of a band aid until we start using generated JNI bindings which will hopefully make all of this a little nicer.
Attachment #8512148 -
Flags: review?(gpascutto)
Comment 2•11 years ago
|
||
Comment on attachment 8512148 [details] [diff] [review]
Catch MediaCodec exceptions
Review of attachment 8512148 [details] [diff] [review]:
-----------------------------------------------------------------
::: widget/android/GeneratedSDKWrappers.cpp
@@ +163,5 @@
> int32_t temp = env->CallIntMethod(wrapped_obj, jDequeueInputBuffer, a0);
> + if (env->ExceptionCheck()) {
> + env->ExceptionClear();
> + env->PopLocalFrame(nullptr);
> + return -255;
magic numbers
Attachment #8512148 -
Flags: review?(gpascutto) → review+
| Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Gian-Carlo Pascutto [:gcp] from comment #2)
> Comment on attachment 8512148 [details] [diff] [review]
> Catch MediaCodec exceptions
>
> Review of attachment 8512148 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: widget/android/GeneratedSDKWrappers.cpp
> @@ +163,5 @@
> > int32_t temp = env->CallIntMethod(wrapped_obj, jDequeueInputBuffer, a0);
> > + if (env->ExceptionCheck()) {
> > + env->ExceptionClear();
> > + env->PopLocalFrame(nullptr);
> > + return -255;
>
> magic numbers
Yeah, I'll fix, thanks.
| Assignee | ||
Comment 4•11 years ago
|
||
| Assignee | ||
Comment 8•11 years ago
|
||
The patch fixes exception handling for several calls, so I marked the others as dups of this one.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 36
Updated•11 years ago
|
tracking-fennec: ? → 35+
| Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8512148 [details] [diff] [review]
Catch MediaCodec exceptions
Approval Request Comment
[Feature/regressing bug #]: bug 1014614
[User impact if declined]: Crashes, assuming bug 1014614 is uplifted
[Describe test coverage new/current, TBPL]: Nightly for a week
[Risks and why]: Low, only catches exceptions
[String/UUID change made/needed]: None
Attachment #8512148 -
Flags: approval-mozilla-beta?
Attachment #8512148 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8512148 -
Flags: approval-mozilla-beta?
Attachment #8512148 -
Flags: approval-mozilla-beta+
Attachment #8512148 -
Flags: approval-mozilla-aurora?
Attachment #8512148 -
Flags: approval-mozilla-aurora+
Updated•11 years ago
|
status-firefox34:
--- → affected
status-firefox35:
--- → affected
Comment 11•11 years ago
|
||
Looks like snorp landed this on Aurora and forgot to mark the bug.
https://hg.mozilla.org/releases/mozilla-aurora/rev/ce9444649361
| Assignee | ||
Comment 12•11 years ago
|
||
Updated•11 years ago
|
| Assignee | ||
Comment 13•11 years ago
|
||
Comment 14•11 years ago
|
||
As mentioned in bug 1089261 comment 3, there's been 0 crashes reported in the last week. Marking this bug verified fixed based on crash-stats.
Status: RESOLVED → VERIFIED
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•