Closed Bug 1442248 Opened 6 years ago Closed 6 years ago

Crash in java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.Map.get(java.lang.Object)' on a null object reference at org.mozilla.gecko.sync.GlobalSession.getSyncStageByName(GlobalSession.java)

Categories

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

Firefox 59
Unspecified
Android
defect

Tracking

(firefox58 wontfix, firefox59 wontfix, firefox60+ fixed, firefox61 fixed)

RESOLVED FIXED
Firefox 61
Tracking Status
firefox58 --- wontfix
firefox59 --- wontfix
firefox60 + fixed
firefox61 --- fixed

People

(Reporter: marcia, Assigned: Grisha)

References

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 obsolete file)

This bug was filed from the Socorro interface and is
report bp-1772dc29-7ce6-4185-991a-a73430180301.
=============================================================

Seen while looking at nightly crash data. While this is present in earlier versions, there are now more crashes in Nightly than 58.0.2: http://bit.ly/2t8V3gh. No useful comments available.


Top 10 frames of crashing thread:

0 libxul.so GeckoAppShellSupport::ReportJavaCrash widget/android/nsAppShell.cpp:276
1 libxul.so mozilla::jni::NativeStub<mozilla::java::GeckoAppShell::ReportJavaCrash_t, GeckoAppShellSupport, mozilla::jni::Args<const mozilla::jni::Ref<mozilla::jni::TypedObject<_jthrowable*>, _jthrowable*>&, const mozilla::jni::StringParam&> >::Wrap<&GeckoAppShellSupport::ReportJavaCrash> widget/android/jni/Natives.h:778
2 base.odex base.odex@0x8c1e9d 
3 dalvik-LinearAlloc_7933_7933 (deleted) dalvik-LinearAlloc_7933_7933 @0x468a 
4 dalvik-main space_1898_1898 (deleted) dalvik-main space_1898_1898 @0x87fe 
5 dalvik-main space_1898_1898 (deleted) dalvik-main space_1898_1898 @0x4efa9e 
6 dalvik-main space_1898_1898 (deleted) dalvik-main space_1898_1898 @0x5c1ffe 
7 libart.so libart.so@0xa9241 
8 dalvik-main space_1898_1898 (deleted) dalvik-main space_1898_1898 @0x4efa9e 
9 dalvik-main space_1898_1898 (deleted) dalvik-main space_1898_1898 @0x5c1ffe 

=============================================================
The nightly 60 spike started in the 20180227100125 build. Prior to that, there had been single crashes in a few earlier builds.
Component: General → Android Sync
This is wontfix for 58, and I'm gonna fixoptional for 59 given volume.
Recent spikes likely related to Bug 1408710.
Blocks: 1408710
Assignee: nobody → gkruglov
Priority: -- → P1
Status: NEW → ASSIGNED
This should be fixed by Bug 1445462.
> This should be fixed by Bug 1445462.

(But clearly it's not.)
Attachment #8965426 - Flags: review?(eoger)
Comment on attachment 8965426 [details]
Bug 1442248 - Don't attempt to advance to the next sync stage if we've aborted. r?eoger

Edouard Oger [:eoger] has approved the revision.

https://phabricator.services.mozilla.com/D857
Attachment #8965426 - Flags: review+
Depends on: 1445462
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6edfdf55da58
Don't attempt to advance to the next sync stage if we've aborted. r=eoger
Keywords: checkin-needed
rnewman has pushed a new revision, please check-in again, thanks :)
Flags: needinfo?(bugzilla)
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0b72b7ce7b53
Don't attempt to advance to the next sync stage if we've aborted. r=eoger
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/0b72b7ce7b53
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Please request Beta approval on this when you get a chance. Though the frequency seems to have dropped way off after b5.
Flags: needinfo?(eoger)
Comment on attachment 8965426 [details]
Bug 1442248 - Don't attempt to advance to the next sync stage if we've aborted. r?eoger

Approval Request Comment
[Feature/Bug causing the regression]: Bug 1408710 (but has been seen before)
[User impact if declined]: A small amount of sync users will see their Firefox instance crash on Android.
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: no (hard to reproduce)
[Needs manual test from QE? If yes, steps to reproduce]: 
[List of other uplifts needed for the feature/fix]: -
[Is the change risky?]: No
[Why is the change risky/not risky?]: We stop the state machine safely instead of crashing with a NPE.
[String changes made/needed]: -
Flags: needinfo?(eoger)
Attachment #8965426 - Flags: review?(eoger)
Attachment #8965426 - Flags: review+
Attachment #8965426 - Flags: approval-mozilla-beta?
Comment on attachment 8965426 [details]
Bug 1442248 - Don't attempt to advance to the next sync stage if we've aborted. r?eoger

paper over a crash in fennec, approved for beta60
Attachment #8965426 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #8965426 - Attachment is obsolete: true
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: