Closed Bug 1520132 Opened 7 years ago Closed 7 years ago

Crash in mozilla::layers::UiCompositorControllerChild::OpenForSameProcess

Categories

(Core :: Graphics: Layers, defect)

64 Branch
All
Android
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
geckoview64 --- wontfix
geckoview65 --- affected
geckoview66 --- affected
firefox-esr60 --- unaffected
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- fixed

People

(Reporter: jcristau, Assigned: rbarker)

Details

(Keywords: crash, csectype-uaf, sec-moderate, Whiteboard: [geckoview][adv-main67+] gfx-noted)

Crash Data

Attachments

(1 file)

This bug is for crash report bp-3f5fd709-340e-44fa-982f-9fa980190115.

Top 10 frames of crashing thread:

0 libxul.so mozilla::layers::UiCompositorControllerChild::OpenForSameProcess gfx/layers/ipc/UiCompositorControllerChild.cpp:270
1 libxul.so mozilla::detail::RunnableMethodImpl<FdWatcher*, void  xpcom/threads/nsThreadUtils.h:1197
2 libxul.so mozilla::RunAndroidUiTasks widget/android/AndroidUiThread.cpp:360
3 base.odex base.odex@0x8dc515 
4 base.art (deleted) base.art @0xeb0aa 
5 base.art (deleted) base.art @0x32c16 
6 system@framework@boot-framework.art system@framework@boot-framework.art@0x4944c2 
7 base.art (deleted) base.art @0xe262e 
8 dalvik-main space (deleted) dalvik-main space @0x27326 
9 base.art (deleted) base.art @0x2c76e 

Focus crashes at 0xe5e5e859.

All the crashes appear to be UAFs in Focus. Not sure what's going on here -- 60 frames of android stuff and then a couple frames of us. Some runable that stuck around too long and got woken up after everything else went away? Guessing "sec-moderate" because it looks like it would require getting the system to wake up.

Keywords: sec-moderate

Is it possible to make mWidget a RefPtr here?

:mattwoodrow, can you triage this?

Flags: needinfo?(matt.woodrow)
Flags: needinfo?(matt.woodrow) → needinfo?(rbarker)

Speculative fix for crash.

Whiteboard: [geckoview] → [geckoview] gfx-noted
Assignee: nobody → rbarker
Flags: needinfo?(rbarker)

I'm not sure what else is need to land this. I guess it can't be landed from phabricator with lando?

I believe lando does support secure revisions. RyanVM will know for sure.

Flags: needinfo?(ryanvm)

It does if you give it a Phabricator API token.

Group: gfx-core-security → core-security-release
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67

Do we want this on the Beta/GV65?

Flags: needinfo?(rbarker)

It was a speculative fix since I couldn't reproduce it. If it really did help I would say yes since it should be pretty harmless otherwise.

Flags: needinfo?(rbarker)

Since it's not certain that it helped I'll mark this wontfix for 66. If you feel strongly about wanting on 66 we can still uplift.

Hello, I tried to reproduce this issue but I was unable to.
As I understood from the all information from this bug, I tried to reproduce it following this steps:

  • I tried to close Fennec and let it for more hours like that.
  • I tried to minimize Fennec and let it like that for few hours.

Normally Fennec would crash while it is on background or closed, something was rendering in background.
Please note that the crash volume was already low but according to crashstats the only affected version is 64.0.3.

Thanks,
Andrei

Whiteboard: [geckoview] gfx-noted → [geckoview][adv-main67+] gfx-noted

Andrei this crash affects Focus not Fennec.

Flags: needinfo?(andrei.bodea)

Hello Julien,
I wasn't able to reproduce the issue on the latest Focus version from taskcluster and the one from Playstore with the instructions from Comment 13.
During my tests I will keep an eye for this issue and I will try always to have focus installed and let it in the background, I will come back with information once I will find something out.
Also, please note that now It's a week since I'm using only Focus as a browser on my phone and It didn't crashed once.

Flags: needinfo?(andrei.bodea)
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: