Closed
Bug 1449567
Opened 6 years ago
Closed 6 years ago
Crash in java.lang.NullPointerException: NativeException NullHandle() [T = nsWindow::LayerViewSupport] at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
Categories
(Firefox for Android Graveyard :: General, defect, P1)
Tracking
(geckoview62 wontfix, firefox-esr60 wontfix, firefox59 wontfix, firefox60 wontfix, firefox61 wontfix, firefox62 wontfix, firefox63 verified, firefox64 verified)
People
(Reporter: philipp, Assigned: jchen)
References
Details
(Keywords: crash, regression, Whiteboard: --do_not_change--[priority:high])
Crash Data
Attachments
(1 file)
46 bytes,
text/x-phabricator-request
|
snorp
:
review+
pascalc
:
approval-mozilla-beta+
|
Details | Review |
This bug was filed from the Socorro interface and is report bp-a2ca0a59-aba6-4a5b-b126-4cda60180322. ============================================================= Java Stack Trace java.lang.NullPointerException: NativeException NullHandle() [T = nsWindow::LayerViewSupport] at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method) at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:407) Top 10 frames of crashing thread: 0 libxul.so mozilla::jni::detail::ProxyNativeCall<nsWindow::LayerViewSupport, mozilla::java::LayerSession::Compositor, false, false, const mozilla::jni::Ref<mozilla::jni::Object, _jobject*>&>::Call<false, false, 0> widget/android/jni/Natives.h:437 1 libxul.so mozilla::jni::detail::ProxyNativeCall<nsWindow::LayerViewSupport, mozilla::java::LayerSession::Compositor, false, false, const mozilla::jni::Ref<mozilla::jni::Object, _jobject*>&>::operator widget/android/jni/Natives.h:499 2 libxul.so mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> >::PutEventInternal xpcom/threads/ThreadEventQueue.cpp 3 libxul.so mozilla::detail::RunnableFunction<mozilla::jni::detail::ProxyNativeCall<nsWindow::LayerViewSupport, mozilla::java::LayerSession::Compositor, false, false, const mozilla::jni::Ref<mozilla::jni::Object, _jobject*>&> >::Run xpcom/threads/nsThreadUtils.h:529 4 libxul.so nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1040 5 libxul.so mozilla::detail::VariantImplementation<unsigned char, 0, const int, const char*, void > > mfbt/Variant.h:219 6 libxul.so NS_IdleDispatchToCurrentThread xpcom/threads/nsThreadUtils.cpp:324 7 libxul.so wcsrtombs 8 libxul.so wcsrtombs 9 libxul.so NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:517 ============================================================= these crashes on fennec are regressing since firefox 58. they mainly affect users on samsung devices and comments generally refer to using split-screen/multi-windows mode...
Comment 1•6 years ago
|
||
Over 260 crashes on release in the last week. Is this something maybe the SV folks could take a look at?
status-firefox62:
--- → affected
Flags: needinfo?(sdaswani)
Vlad, please have the crew look at this sooner rather than later.
Flags: needinfo?(sdaswani) → needinfo?(vlad.baicu)
Priority: -- → P1
Whiteboard: --do_not_change--[priority:high]
Comment 3•6 years ago
|
||
Hello, we've looked at the details and investigated a bit but this seems to be more of a core issue rather than frontend
Flags: needinfo?(vlad.baicu)
Comment 4•6 years ago
|
||
This crash is still present in 61, with moderate (800 crashes/week) volume on release but not common on beta or nightly. User comment with STR: Crash when resizing Firefox for use in overlay in other application Observed: Whenever resizing firefox into a small overlay window for use in other applications on a Samsung Galaxy Tab S3 Firefox has a high probability to crash. When it does crash, it does so immediately after resizing and will get frizen for a short while before crashing. After the crash has happened the window sometimes doesn 't close but isn 't interactive. It stays until I reopen Firefox and repeat the process of resizing or until I restart the Tablet.It also seems to relate to what software is in the background. When it 's a game probability for a crash is higher. What I expected: Firefox shouldn 't just crash no matter what I do. Though the other sofware might be at fault here. Aso when it crashed it should close completely. Steps to Reproduce: 1 Start Firefox on a Samsung Galaxy Tab S3 2 Open another application 3 Drag any corner to resize the window. The page opened doesn 't seem to have any influence since the crash happenes with any page, even just the default starupp page. 4 If the crash hasn 't happened yet tab out of firefox and open the other application to view both. Reproduceable: Yes random Occurence Likelyhood when following steps to reproduce ~75 Haven 't tested on other devices
It helps :lizzard, but I would need to get that device to see if we can STR. Sorina, do you have a Samsung Galaxy Tab S3 available to try and repro?
Flags: needinfo?(sdaswani) → needinfo?(sorina.florean)
Comment 7•6 years ago
|
||
(In reply to :sdaswani only needinfo from comment #6) > It helps :lizzard, but I would need to get that device to see if we can STR. > > Sorina, do you have a Samsung Galaxy Tab S3 available to try and repro? Yes, we have a Samsung Galaxy Tab S3(Android 8.0) and we will investigate following the information from comment 4 to see if we can get STR. Keeping the needinfo flag and get back with the results ASAP.
Comment 8•6 years ago
|
||
Tested with the affected device but we weren't able to reproduce the crash. We performed steps from comment 4 and exploratory testing and everything worked fine. We only manage to reproduce bug 1439513 on an S8 device.
Flags: needinfo?(sorina.florean)
David, we think this is a Gecko bug - can you have someone on your team take a look. Petru - can you detail why you think it's a gecko bug?
Flags: needinfo?(petru.lingurar)
Comment 10•6 years ago
|
||
It looks like this signature has been around a while. Jim do you know what's going on here?
Flags: needinfo?(dbolter) → needinfo?(nchen)
Updated•6 years ago
|
Flags: needinfo?(petru.lingurar) → needinfo?(vlad.baicu)
Comment 11•6 years ago
|
||
Well, the stacktrace points to a gecko/native issue and in absence of STRs I don't think there is much we can do here
Flags: needinfo?(vlad.baicu)
Assignee | ||
Comment 12•6 years ago
|
||
Not sure of the exact cause of this but I have a speculative fix.
Flags: needinfo?(nchen)
Assignee | ||
Comment 13•6 years ago
|
||
If we're trying to detach and reattach the same compositor object for whatever reason, we should skip it so we don't inadvertently end up not attaching the object at all.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → nchen
Status: NEW → ASSIGNED
Comment 14•6 years ago
|
||
Should we uplift this fix to the GV 62 relbranch?
Updated•6 years ago
|
Comment on attachment 9008230 [details] Bug 1449567 - Don't reattach compositor for the same compositor object; r=snorp James Willcox (:snorp) (jwillcox@mozilla.com) has approved the revision.
Attachment #9008230 -
Flags: review+
Comment 16•6 years ago
|
||
Pushed by nchen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/52573727971b Don't reattach compositor for the same compositor object; r=snorp
Comment 17•6 years ago
|
||
Backed out for android build bustages Push that started the failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&selectedJob=199540339&revision=52573727971b04056f78c20e6873215c2345bbba Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=199540339&repo=autoland&lineNumber=23751 Backout: https://hg.mozilla.org/integration/autoland/rev/300d0f16cf6f770200d2e57b1f7bed48f434ab65
Flags: needinfo?(nchen)
Updated•6 years ago
|
Attachment #9008230 -
Attachment description: Bug 1449567 - Don't reattach compositor for the same compositor object; r?snorp → Bug 1449567 - Don't reattach compositor for the same compositor object; r=snorp
Comment 18•6 years ago
|
||
Pushed by nchen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/28888ba362a1 Don't reattach compositor for the same compositor object; r=snorp
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(nchen)
Comment 19•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/28888ba362a1
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Comment 20•6 years ago
|
||
Please request Beta approval on this when you get a chance. Doesn't look like we'll be able to verify this bug until then.
Flags: needinfo?(nchen)
Assignee | ||
Comment 21•6 years ago
|
||
Comment on attachment 9008230 [details] Bug 1449567 - Don't reattach compositor for the same compositor object; r=snorp Approval Request Comment [Feature/Bug causing the regression]: N/A [User impact if declined]: Low volume crash on some Samsung devices [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 [List of other uplifts needed for the feature/fix]: None [Is the change risky?]: Not really [Why is the change risky/not risky?]: Speculative fix that doesn't add any new behavior [String changes made/needed]: None
Flags: needinfo?(nchen)
Attachment #9008230 -
Flags: approval-mozilla-beta?
Comment 22•6 years ago
|
||
Comment on attachment 9008230 [details] Bug 1449567 - Don't reattach compositor for the same compositor object; r=snorp Uplift approved for 63 beta 8, thanks.
Attachment #9008230 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 23•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/7ffbd3e49f62
Comment 24•6 years ago
|
||
Device: - Samsung Galaxy Tab S3 (Android 8.0) Tested following the steps in Comment 4, plus several other scenarios in the same context (large number of tabs opened, different addons/themes installed, with normal/private browsing, guest session). FF performed as expected in all of the scenarios, marking as verified.
Status: RESOLVED → VERIFIED
Hardware: Unspecified → ARM
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
•