Closed
Bug 1373887
Opened 8 years ago
Closed 8 years ago
Crash in java.lang.IllegalArgumentException: packageName is not owned by the calling process at android.os.Parcel.readException(Parcel.java)
Categories
(Firefox for Android Graveyard :: Audio/Video, defect, P1)
Tracking
(fennec+, firefox54 wontfix, firefox55 fixed, firefox56 fixed)
RESOLVED
FIXED
Firefox 56
People
(Reporter: Grisha, Assigned: alwu)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
sebastian
:
review+
jcristau
:
approval-mozilla-beta+
|
Details |
This bug was filed from the Socorro interface and is
report bp-6399d07a-50b6-478d-a4e9-8aa1b0170615.
=============================================================
Happens in MediaControlService#initMediaSession.
Reporter | ||
Comment 1•8 years ago
|
||
Alastor, could you take a look?
tracking-fennec: --- → ?
Flags: needinfo?(alwu)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → alwu
Flags: needinfo?(alwu)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•8 years ago
|
||
Assignee | ||
Comment 4•8 years ago
|
||
Comment hidden (mozreview-request) |
Updated•8 years ago
|
Priority: -- → P1
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8879080 [details]
Bug 1373887 - catch exception to handle creating media session fail.
https://reviewboard.mozilla.org/r/150400/#review160760
Weird bug. Would be nice to know the cause though.
::: mobile/android/base/java/org/mozilla/gecko/media/MediaControlService.java:170
(Diff revision 2)
> - initMediaSession();
> + if (!initMediaSession()) {
> + Log.e(LOGTAG, "initialization fail!");
> + return;
> + }
Do we want to stop the service here (stopSelf())?
::: mobile/android/base/java/org/mozilla/gecko/media/MediaControlService.java:293
(Diff revision 2)
> + try {
> - mSession = new MediaSession(getApplicationContext(),
> + mSession = new MediaSession(getApplicationContext(),
> - "fennec media session");
> + "fennec media session");
> - mController = new MediaController(getApplicationContext(),
> + mController = new MediaController(getApplicationContext(),
> - mSession.getSessionToken());
> + mSession.getSessionToken());
> + } catch (Exception e) {
Let's only catch IllegalStateException here.
Attachment #8879080 -
Flags: review?(s.kaspari) → review+
Updated•8 years ago
|
Flags: needinfo?(s.kaspari)
Assignee | ||
Comment 8•8 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #7)
> Do we want to stop the service here (stopSelf())?
OK.
> Let's only catch IllegalStateException here.
OK, thanks for review!
Comment hidden (mozreview-request) |
Assignee | ||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d64895e3e0f3
catch exception to handle creating media session fail. r=sebastian
Updated•8 years ago
|
tracking-fennec: ? → +
Comment 12•8 years ago
|
||
[triage@0712] + as Alastor will working on it.
Comment 13•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Comment 14•8 years ago
|
||
Please request Beta approval on this when you get a chance.
Assignee | ||
Comment 15•8 years ago
|
||
Comment on attachment 8879080 [details]
Bug 1373887 - catch exception to handle creating media session fail.
Approval Request Comment
[Feature/Bug causing the regression]: The feature, media control, was introduced in bug1240423
[User impact if declined]: fennec would crash
[Is this code covered by automated tests?]: No
[Has the fix been verified in Nightly?]: No
[Needs manual test from QE? If yes, steps to reproduce]: No steps to reproduce
[List of other uplifts needed for the feature/fix]: No
[Is the change risky?]: No
[Why is the change risky/not risky?]: Just catching the exception, didn't add any new feature
[String changes made/needed]: No
Flags: needinfo?(alwu)
Attachment #8879080 -
Flags: approval-mozilla-beta?
Comment 16•8 years ago
|
||
Comment on attachment 8879080 [details]
Bug 1373887 - catch exception to handle creating media session fail.
add exception handling to fix fennec crash, beta55+
Attachment #8879080 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 17•8 years ago
|
||
bugherder uplift |
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
•