Closed
Bug 1373887
Opened 7 years ago
Closed 7 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•7 years ago
|
||
Alastor, could you take a look?
tracking-fennec: --- → ?
Flags: needinfo?(alwu)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → alwu
Flags: needinfo?(alwu)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=24a2c64a44a0a351328c2897a0211470c80bca82
Assignee | ||
Comment 4•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a23d273f33356d104a2d5d8e522eab813dc59749
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Priority: -- → P1
Comment 7•7 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•7 years ago
|
Flags: needinfo?(s.kaspari)
Assignee | ||
Comment 8•7 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•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=39fd2b079cb402d58bb440f4ce6ba2ea9c5821cd
Comment 11•7 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•7 years ago
|
tracking-fennec: ? → +
Comment 12•7 years ago
|
||
[triage@0712] + as Alastor will working on it.
Comment 13•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d64895e3e0f3
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Comment 14•7 years ago
|
||
Please request Beta approval on this when you get a chance.
Assignee | ||
Comment 15•7 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•7 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•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/589b643648db
Updated•3 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
•