Closed Bug 1335110 Opened 7 years ago Closed 6 years ago

Crash in java.lang.SecurityException: at


(Firefox for Android Graveyard :: Firefox Accounts, defect, P1)



(fennec+, firefox55 wontfix, firefox56 fixed, firefox57 fixed)

Firefox 57
Tracking Status
fennec + ---
firefox55 --- wontfix
firefox56 --- fixed
firefox57 --- fixed


(Reporter: ahunt, Assigned: Grisha)



(Keywords: crash)

Crash Data


(2 files)

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:
[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?)
tracking-fennec: --- → ?
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
CC grisha, since I think you're somewhat familiar with push?
The Note 3 is 45% of the crashes. All of the Note 3 users are running so it seems to be a bug in the rom?
tracking-fennec: ? → 51+
Priority: -- → P1
similar crash on fennec 50.0.
crash ID: 803a788c-498b-4921-b46e-55e6b2161125
crash stats:
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
From the crash logs:

While obtaining a GCM token, we end up crashing because supposedly we don't have a permission.
Assignee: nobody → gkruglov
Comment on attachment 8906045 [details]
Bug 1335110 - Catch security exceptions while getting a GCM token to fail gracefully

Attachment #8906045 - Flags: review?(eoger) → review+
hg error in cmd: hg push -r tip ssh:// pushing to ssh://
searching for changes
abort: push failed:
'repository changed while pushing - please try again'
Pushed by
Catch security exceptions while getting a GCM token to fail gracefully r=eoger
See Also: → 1398293
Filed Bug 1398315 for weirdness in Comment 10.
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
This grafts cleanly to Beta. Please request approval when you get a chance.
Flags: needinfo?(gkruglov)
Keywords: stale-bug
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 on attachment 8906751 [details] [diff] [review]

Fix a crash. Beta56+.
Attachment #8906751 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
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.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.