Crash in [@ libGLESv2_samsung.so] with Android API 34 (Android 14)
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: aryx, Assigned: jnicol)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Attachments
(2 external files)
450 crash reports from 306 installs of Firefox 127.0 so far, all with Android API 34 (= Android 14)
Crash report: https://crash-stats.mozilla.org/report/index/42363c7b-31dd-4bec-87ea-7341a0240620
Reason: SIGSEGV / SEGV_MAPERR
Top 10 frames:
0 libGLESv2_samsung.so libGLESv2_samsung.so@0x2c515c
1 libGLESv2_samsung.so libGLESv2_samsung.so@0x3b96f4
2 libGLESv2_samsung.so libGLESv2_samsung.so@0x2ae9a4
3 libGLESv2_samsung.so libGLESv2_samsung.so@0x257550
4 libGLESv2_samsung.so libGLESv2_samsung.so@0x256c98
5 libGLESv2_samsung.so libGLESv2_samsung.so@0x257e60
6 libGLESv2_samsung.so libGLESv2_samsung.so@0x1e2940
7 libGLESv2_samsung.so libGLESv2_samsung.so@0x1e408c
8 libEGL_samsung.so libEGL_samsung.so@0x18840
9 libEGL.so libEGL.so@0x32c7c
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
This appears to be another instance of bug 1868825, so we need to apply its workaround to all devices with Samsung Xclipse GPUs
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
In bug 1868825 we encountered crashes on a specific device when
calling eglTerminate. As a workaround, we avoided calling eglTerminate
and instead deliberately leaked the EGLDisplay. As we had only
encountered this crash on a specific device, we limited the workaround
to just that device.
We are now seeing the same crash on a range of devices, all with
Samsung Xclipse GPUs. This patch therefore makes us leak the
EGLDisplays on all devices with an Xclipse GPU.
As the GPU model is not available in EglDisplay code, we instead set a
flag on the EglDisplay object when the GLContext is initialized. Prior
to terminated the display we check whether this flag has been set.
Terminating a display which has not had a context created does not
reproduce the crash, so this is sufficient.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
| bugherder | ||
Comment 5•2 years ago
|
||
The patch landed in nightly and beta is affected.
:jnicol, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox128towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 6•2 years ago
|
||
In bug 1868825 we encountered crashes on a specific device when
calling eglTerminate. As a workaround, we avoided calling eglTerminate
and instead deliberately leaked the EGLDisplay. As we had only
encountered this crash on a specific device, we limited the workaround
to just that device.
We are now seeing the same crash on a range of devices, all with
Samsung Xclipse GPUs. This patch therefore makes us leak the
EGLDisplays on all devices with an Xclipse GPU.
As the GPU model is not available in EglDisplay code, we instead set a
flag on the EglDisplay object when the GLContext is initialized. Prior
to terminating the display we check whether this flag has been set.
Terminating a display which has not had a context created does not
reproduce the crash, so this is sufficient.
Original Revision: https://phabricator.services.mozilla.com/D214539
Updated•2 years ago
|
Comment 7•2 years ago
|
||
beta Uplift Approval Request
- User impact if declined: Crashes for users on various recent Samsung devices after playing webgl content
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: N/A
- Risk associated with taking this patch: Low
- Explanation of risk level: We already use this workaround on the Samsung S24, this just expands it to additional devices
- String changes made/needed: N/A
- Is Android affected?: yes
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Verified on the Firefox for Android 127.0.2, Fenix Nightly 129.0a1 from 7/1, and the latest Beta 128.0b9, with the following devices:
- Google Pixel 8 (Android 14),
- Oppo Find N2 Flip (Android 14),
- Samsung Galaxy S24 (Android 14), and
- Google Pixel 6 (Android 15),
and I was not able to trigger any crash while using Fenix.
| Assignee | ||
Updated•2 years ago
|
Description
•