Closed Bug 1651216 Opened 5 years ago Closed 5 years ago

Crash in [@ nsWindow::LayerViewSupport::FlipScreenPixels]

Categories

(GeckoView :: General, defect, P1)

Unspecified
Android
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1655580

People

(Reporter: bugzilla, Unassigned)

Details

(Keywords: crash, Whiteboard: [geckoview:m80][fenix:p1] [geckoview:m81])

Crash Data

This bug is for crash report bp-3f6074c3-1816-432a-a85c-12e9d0200707.

Top 10 frames of crashing thread:

0 libxul.so nsWindow::LayerViewSupport::FlipScreenPixels widget/android/nsWindow.cpp:965
1 libxul.so nsWindow::LayerViewSupport::RecvScreenPixels widget/android/nsWindow.cpp:1236
2 libxul.so nsWindow::RecvScreenPixels widget/android/nsWindow.cpp:2378
3 libxul.so mozilla::layers::UiCompositorControllerChild::RecvScreenPixels gfx/layers/ipc/UiCompositorControllerChild.cpp:246
4 libxul.so mozilla::layers::PUiCompositorControllerChild::OnMessageReceived ipc/ipdl/PUiCompositorControllerChild.cpp:470
5 libxul.so mozilla::ipc::MessageChannel::DispatchMessage ipc/glue/MessageChannel.cpp:2169
6 libxul.so mozilla::ipc::MessageChannel::MessageTask::Run ipc/glue/MessageChannel.cpp:1972
7 libxul.so mozilla::RunAndroidUiTasks widget/android/AndroidUiThread.cpp:331
8 data@app@org.mozilla.firefox_beta-2@base.apk@classes.dex data@app@org.mozilla.firefox_beta-2@base.apk@classes.dex@0x18af7e1 
9 dalvik-alloc space (deleted) dalvik-alloc space @0xc938e 

The obvious problem here is that CreateOffscreenContentDrawTarget is fallible, and we're not checking for that.

But I would also be curious to know what is causing that call to fail in the first place...

Severity: -- → S3
Priority: -- → P1
Whiteboard: [geckoview:m80][fenix:p1]
Whiteboard: [geckoview:m80][fenix:p1] → [geckoview:m80][fenix:p1] [geckoview:m81]

This was fixed by Bug 1655580.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

Well, it no longer crashes inside C++, but it throws an exception into Java-land which apparently is never caught, according to https://github.com/mozilla-mobile/fenix/issues/4151#issuecomment-596433207 . So there's some work left to do on the Java side, in issue #4151.

You need to log in before you can comment on or make changes to this bug.