WebGL/PDF.js in VMWare VM: Main process crash in gbm_bo_get_fd
Categories
(Core :: Widget: Gtk, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox110 | --- | verified |
firefox111 | --- | verified |
People
(Reporter: hurui200320, Assigned: stransky)
References
(Blocks 1 open bug)
Details
(Keywords: crash, reproducible)
Crash Data
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-release+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-release+
|
Details | Review |
Steps to reproduce:
Access https://www.jetbrains.com/idea/
Note: I asked my friend to test it. On fedora, with Xorg, it didn't crash, but it used a lot of CPU and lagged the whole computer. With Wayland, everything is fine. I'm using a VMWare VM.
Related crash report: https://crash-stats.mozilla.org/report/index/77169fdf-ddac-4683-ba93-a4fca0221229
It's worth noticing that all crashes happen in VM, specifically VMWare's VM.
Actual results:
The website started loading, and during the rendering, it crashed.
Expected results:
It should load the website normally. Mac and Windows version is fine, no issue at all.
Reporter | ||
Comment 1•2 years ago
|
||
Also, disabling hardware acceleration fixed the crash.
Comment 2•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
The bug has a crash signature, thus the bug will be considered confirmed.
![]() |
||
Comment 4•2 years ago
•
|
||
I can reproduce the crash on Nightly111.0a1 Ubuntu22.04 Japanese VMWare client.
STR.
Actual:
Browser crashes bp-6208877c-0345-4793-9ec0-74c260230207
![]() |
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
![]() |
||
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Please run on terminal with MOZ_LOG="Dmabuf:5" and attach the log here.
Thanks.
Assignee | ||
Comment 6•2 years ago
|
||
Can you please attach content of about:support page from Firefox on VMWare's VM?
Thanks.
Assignee | ||
Comment 7•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 8•2 years ago
|
||
The patch here ensures we don't crash but I wonder why - looks like eglExportDMABUFImage is broken and does not export dmabuf file descriptors.
Assignee | ||
Comment 9•2 years ago
|
||
Depends on D169314
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6611ee841e4e
https://hg.mozilla.org/mozilla-central/rev/8b26c9205d0d
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 12•2 years ago
|
||
https://crash-stats.mozilla.org/report/index/82ad4d50-4d20-47bc-8f14-dba760230224
topcrash on linux, we should uplift.
Assignee | ||
Comment 13•2 years ago
|
||
Comment on attachment 9316756 [details]
Bug 1807942 [Linux] Don't crash when mGbmBufferObject is missing in DMABufSurfaceRGBA r?emilio
Beta/Release Uplift Approval Request
- User impact if declined: Crashes on VMware OpenGL emulation where broken DRI is used.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): We just check null pointer access.
- String changes made/needed:
- Is Android affected?: Yes
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 14•2 years ago
|
||
Err, sorry, looks like beta is already 111 :)
Assignee | ||
Comment 15•2 years ago
|
||
Comment on attachment 9316756 [details]
Bug 1807942 [Linux] Don't crash when mGbmBufferObject is missing in DMABufSurfaceRGBA r?emilio
Beta/Release Uplift Approval Request
- User impact if declined: Crashes on VMware OpenGL emulation where broken DRI is used.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): We just check null pointer access.
- String changes made/needed:
- Is Android affected?: Yes
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 16•2 years ago
|
||
Comment on attachment 9316757 [details]
Bug 1807942 [Linux] Don't use dmabuf surface if ExportDMABUFImageMESA() fails to export dmabuf file descriptors r?emilio
Approved for our 110.0.1 dot release, thanks.
Updated•2 years ago
|
Comment 17•2 years ago
|
||
bugherder uplift |
Comment 18•2 years ago
|
||
Reproduced the issue with Firefox 110.0 on Ubuntu 22.04.2 LTS VMware client by opening https://www.jetbrains.com/idea/ and https://www.africau.edu/images/default/sample.pdf. Crash report id 0527a077-25ca-4f51-b5dc-2c7b80230228.
Verified fixed on the same VMware system with Ubuntu 22.04.2 LTS by using Firefox 110.0.1 (20230227191043) and Firefox 111.0b6 while opening https://www.jetbrains.com/idea/ and https://www.africau.edu/images/default/sample.pdf. No crashes occur when opening the pages.
Description
•