Closed
Bug 1335110
Opened 8 years ago
Closed 7 years ago
Crash in java.lang.SecurityException: at android.app.ContextImpl.startServiceCommon(ContextImpl.java)
Categories
(Firefox for Android Graveyard :: Firefox Accounts, defect, P1)
Tracking
(fennec+, firefox55 wontfix, firefox56 fixed, firefox57 fixed)
RESOLVED
FIXED
Firefox 57
People
(Reporter: ahunt, Assigned: Grisha)
References
Details
(Keywords: crash)
Crash Data
Attachments
(2 files)
59 bytes,
text/x-review-board-request
|
eoger
:
review+
|
Details |
1.54 KB,
patch
|
gchang
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-0e7e0890-770e-49b6-ac54-b3c482170130.
=============================================================
Number 12 top-crash on 51
The necessary permission appears to be requested on 51, so it's unclear why this should be happening:
https://hg.mozilla.org/releases/mozilla-release/file/3d46ed7cc6a8/mobile/android/base/GcmAndroidManifest_permissions.xml.in
Reporter | ||
Comment 1•8 years ago
|
||
[Tracking Requested - why for this release]: 12th top crasher on release.
(Isn't visible on any other channels, presumably because gcm isn't enabled elsewhere?)
Reporter | ||
Comment 2•8 years ago
|
||
I've only done a tiny bit of research - there's a possibility this is only happening on devices that don't have google play services installed.
Bug 1300230 touched push, and landed in 51, so could be related.
See Also: → 1300230
Reporter | ||
Comment 3•8 years ago
|
||
CC grisha, since I think you're somewhat familiar with push?
Comment 4•8 years ago
|
||
The Note 3 is 45% of the crashes. All of the Note 3 users are running https://forum.xda-developers.com/galaxy-note-3/development/android-7-0-cm14-trader418-unofficial-t3459973 so it seems to be a bug in the rom?
Updated•8 years ago
|
tracking-fennec: ? → 51+
Priority: -- → P1
similar crash on fennec 50.0.
crash ID: 803a788c-498b-4921-b46e-55e6b2161125
crash stats: https://crash-stats.mozilla.com/report/index/803a788c-498b-4921-b46e-55e6b2161125
Updated•8 years ago
|
tracking-fennec: 51+ → +
This is a P1 bug without an assignee.
P1 are bugs which are being worked on for the current release cycle/iteration/sprint.
If the bug is not assigned by Monday, 28 August, the bug's priority will be reset to '--'.
Keywords: stale-bug
Assignee | ||
Comment 7•7 years ago
|
||
From the crash logs:
While obtaining a GCM token, we end up crashing because supposedly we don't have a com.google.android.c2dm.permission.RECEIVE permission.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → gkruglov
Status: NEW → ASSIGNED
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8906045 [details]
Bug 1335110 - Catch security exceptions while getting a GCM token to fail gracefully
https://reviewboard.mozilla.org/r/177800/#review182858
:shipit:
Attachment #8906045 -
Flags: review?(eoger) → review+
Comment 10•7 years ago
|
||
hg error in cmd: hg push -r tip ssh://hg.mozilla.org/integration/autoland: pushing to ssh://hg.mozilla.org/integration/autoland
searching for changes
abort: push failed:
'repository changed while pushing - please try again'
Comment 11•7 years ago
|
||
Pushed by gkruglov@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/33804f5a3451
Catch security exceptions while getting a GCM token to fail gracefully r=eoger
Assignee | ||
Comment 12•7 years ago
|
||
Filed Bug 1398315 for weirdness in Comment 10.
Comment 13•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Comment 14•7 years ago
|
||
This grafts cleanly to Beta. Please request approval when you get a chance.
status-firefox51:
affected → ---
status-firefox55:
--- → wontfix
status-firefox56:
--- → affected
Flags: needinfo?(gkruglov)
Keywords: stale-bug
Assignee | ||
Comment 15•7 years ago
|
||
Approval Request Comment
[Feature/Bug causing the regression]: Likely dates back to when GCM registration first landed in 47, e.g. Bug 1207714.
[User impact if declined]: Browser crashes while trying to sync, or after signing in.
Behaviour after this landed: instead of crashing, push functionality won't work. But, we'll retry again on next sync, and if user fixes permissions on their device, things will get back to normal. Bug 1398293 tracks adding UI for this error state.
[Is this code covered by automated tests?]: No
[Has the fix been verified in Nightly?]: It's on current Nightlies, and there are no crashes recorded with this signature after this landed (but nightly crash volume for this is rather low).
[Needs manual test from QE? If yes, steps to reproduce]: Not necessary.
[List of other uplifts needed for the feature/fix]: N/A
[Is the change risky?]: No.
[Why is the change risky/not risky?]: Instead of crashing, we throw an exception which is caught upstream. This operation is already considered as one that might fail, and so there's proper exception handling upstream in place already.
[String changes made/needed]: N/A
Flags: needinfo?(gkruglov)
Attachment #8906751 -
Flags: approval-mozilla-beta?
Comment 16•7 years ago
|
||
Comment on attachment 8906751 [details] [diff] [review]
fxa_push_security_exception.patch
Fix a crash. Beta56+.
Attachment #8906751 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 17•7 years ago
|
||
bugherder uplift |
Comment 18•7 years ago
|
||
Could not reproduce any crash in today's testing session for 56.0b13. Leaving this issue open until we have more crash-stats data available.
Updated•4 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
•