Closed
Bug 1405192
Opened 6 years ago
Closed 5 years ago
Crash in java.lang.IllegalStateException: Trying to start session but it is already started at org.mozilla.gecko.telemetry.measurements.SessionMeasurements.recordSessionStart(SessionMeasurements.java)
Categories
(Firefox for Android Graveyard :: General, defect, P1)
Tracking
(firefox58 wontfix, firefox59 wontfix, firefox60 fixed, firefox61+ verified)
VERIFIED
FIXED
Firefox 61
People
(Reporter: ting, Assigned: vlad.baicu)
Details
(Keywords: crash, Whiteboard: [FNC][SPT59.5][MVP])
Crash Data
Attachments
(1 file, 1 obsolete file)
59 bytes,
text/x-review-board-request
|
mcomella
:
review+
jcristau
:
approval-mozilla-beta+
jcristau
:
approval-mozilla-release+
|
Details |
This bug was filed from the Socorro interface and is report bp-e9a9e7f0-7e4c-4fe3-bd57-8179a0171002. ============================================================= #4 top crash of Nightly 20171001100334 on Android. The signature has been there for a while, there are 12226 reports in the past 6 months.
Comment 2•6 years ago
|
||
Nevin, could the core fennec team take a look at this? I have my hands full with AS right now. Feel free to NI me if you get stuck!
Flags: needinfo?(michael.l.comella) → needinfo?(cnevinchen)
Comment 3•6 years ago
|
||
Please help prioritize this.
Assignee: nobody → cnevinchen
Flags: needinfo?(wehuang)
Flags: needinfo?(jcheng)
Flags: needinfo?(cnevinchen)
Comment 4•5 years ago
|
||
#12 in 57.0.4 while still seen in 59.0a1 (#40 top crasher) today so worth checking, adding to 59.5 sprint planning.
Flags: needinfo?(wehuang)
Updated•5 years ago
|
Whiteboard: [FNC][SPT59.5][MVP]
Comment 5•5 years ago
|
||
The fix will be similar to bug 1317191. I'll update the patch later.
Comment hidden (mozreview-request) |
![]() |
||
Comment 7•5 years ago
|
||
This is the #1 Fennec topcrash in Nightly 20180202103243.
Comment 8•5 years ago
|
||
[triage] Top 25 top crasher - will revisit from top crashers list.
Assignee: cnevinchen → nobody
Priority: -- → P1
Updated•5 years ago
|
Flags: needinfo?(jcheng)
Comment 9•5 years ago
|
||
Updating status flags - this crash is #4 top browser crash on 61. One interesting comment: "It breaks when I'm in webmail google on android and request permission to record audio and record video (access to microphone and camera) and I deny.... "
Comment 10•5 years ago
|
||
Nevin, can you please take another look at this?
tracking-firefox61:
--- → +
Flags: needinfo?(cnevinchen)
Comment 11•5 years ago
|
||
Vlad - this is top crasher that QA would like fixed sooner rather than later - can one of you three please pick it up ASAP.
Flags: needinfo?(vlad.baicu)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 13•5 years ago
|
||
I see that Nevin already had submitted a patch for this issue. I have been unable to reproduce but it appears that these crashes occur whenever onResume is triggered twice without an onPause call in between. I have remade the patch with a slight addition and it should resolve the issue.
Flags: needinfo?(vlad.baicu)
Updated•5 years ago
|
Assignee: nobody → vlad.baicu
Comment 14•5 years ago
|
||
mozreview-review |
Comment on attachment 8970919 [details] Bug 1405192 - Return if onResume has already been called and onPause hasn't. Add telemetry ping for future investigations. https://reviewboard.mozilla.org/r/239676/#review245970 > After investigating and analyzing the crash reports this type of scenario can occur due to multi-window or some popups. This is good info! I'd actually recommend putting this directly into the comments since it's less likely to be discovered in extended commit summaries! I don't think it's worth the turn-around time to add it but if you wanted to file a follow-up to add it, I could give it a quick r+. --- Thinking about this problem, we have an assumption in the session measurements that onResume -> onPause will always be called in order. That assumption is clearly wrong so I wonder if instead of band-aiding it in TelemetryDelegate, we should just remove that assumption. That being said, this seems like it'd work to fix the crash and will give us reliable data for the (presumed) majority who don't have this misorder issue so it wfm.
Attachment #8970919 -
Flags: review?(michael.l.comella) → review+
Comment 15•5 years ago
|
||
fwiw, we do have telemetry docs for UI telemetry but I don't think anyone updates them: https://firefox-source-docs.mozilla.org/mobile/android/fennec/uitelemetry.html
Comment 16•5 years ago
|
||
Pushed by michael.l.comella@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a64ffd8dd132 Return if onResume has already been called and onPause hasn't. Add telemetry ping for future investigations. r=mcomella
Comment 17•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a64ffd8dd132
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Comment 18•5 years ago
|
||
No crashes on 61 since this landed, so marking that as verified. Vlad or Susheel, can you please nominate this patch for Beta approval so we can get this into 60 still? Thanks!
Status: RESOLVED → VERIFIED
Flags: needinfo?(vlad.baicu)
Flags: needinfo?(sdaswani)
Flags: needinfo?(cnevinchen)
Updated•5 years ago
|
Attachment #8941757 -
Attachment is obsolete: true
Updated•5 years ago
|
Comment 19•5 years ago
|
||
Comment on attachment 8970919 [details] Bug 1405192 - Return if onResume has already been called and onPause hasn't. Add telemetry ping for future investigations. Approval Request Comment [Feature/Bug causing the regression]: [User impact if declined]: [Is this code covered by automated tests?]: [Has the fix been verified in Nightly?]: [Needs manual test from QE? If yes, steps to reproduce]: [List of other uplifts needed for the feature/fix]: [Is the change risky?]: [Why is the change risky/not risky?]: [String changes made/needed]:
Flags: needinfo?(sdaswani)
Attachment #8970919 -
Flags: approval-mozilla-beta?
Comment 20•5 years ago
|
||
Comment on attachment 8970919 [details] Bug 1405192 - Return if onResume has already been called and onPause hasn't. Add telemetry ping for future investigations. I'll let Vlad do it so he can fill out the questions appropriately.
Comment 21•5 years ago
|
||
Comment on attachment 8970919 [details] Bug 1405192 - Return if onResume has already been called and onPause hasn't. Add telemetry ping for future investigations. In the interest of time I'll approve for 60.0b17 and 60.0rc now. We should still have the form filled out for the record though, so leaving the ni on Vlad.
Attachment #8970919 -
Flags: approval-mozilla-release+
Attachment #8970919 -
Flags: approval-mozilla-beta?
Attachment #8970919 -
Flags: approval-mozilla-beta+
Comment 22•5 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #21) > Comment on attachment 8970919 [details] > Bug 1405192 - Return if onResume has already been called and onPause hasn't. > Add telemetry ping for future investigations. > > In the interest of time I'll approve for 60.0b17 and 60.0rc now. We should > still have the form filled out for the record though, so leaving the ni on > Vlad. Thanks I forgot he is on PTO but he will fill the form when he is back.
![]() |
||
Comment 23•5 years ago
|
||
bugherderuplift |
https://hg.mozilla.org/releases/mozilla-release/rev/8e5321eb2d23 https://hg.mozilla.org/releases/mozilla-beta/rev/873f0487a7352e24b3c839fb31f71a63310c3174 (FIREFOX_60b_RELBRANCH)
Assignee | ||
Comment 24•5 years ago
|
||
Approval Request Comment [Feature/Bug causing the regression]: onResume called more than once with no onPause call in between. Examples of such occurences include usage of multi-window or some popups. [User impact if declined]: The bug will continue to be a top crasher. [Is this code covered by automated tests?]: Not that I am aware of. [Has the fix been verified in Nightly?]: Yes [Needs manual test from QE? If yes, steps to reproduce]: No [List of other uplifts needed for the feature/fix]: None [Is the change risky?]: No [Why is the change risky/not risky?]: We are simply adding a check in case this event happens. [String changes made/needed]: None
Flags: needinfo?(vlad.baicu)
Updated•2 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
•