Closed Bug 1513699 Opened 6 years ago Closed 6 years ago

Crash in mozilla::wr::ImageDescriptor::ImageDescriptor when opening PDFs (Linux x64 XWayland)

Categories

(Core :: Graphics: WebRender, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox-esr60 --- unaffected
firefox64 --- unaffected
firefox65 --- disabled
firefox66 --- disabled

People

(Reporter: jan, Assigned: sotaro)

References

(Blocks 2 open bugs)

Details

(4 keywords)

Crash Data

Attachments

(1 file)

I found one STR to cause the crash. It was enabling SkiaGL by pref. But SkiaGL is disabled by default by Bug 1468801. [1] Set gfx.webrender.all;true to about:config [2] Set gfx.canvas.azure.accelerated;true to about:config [3] Restart Firefox. [4] Load pdf on Firefox.
Laurentiu Nicola, did you enabled SkiaGL? Thanks!
Flags: needinfo?(grayshade)
Confirmed STR from comment 1. Only crashes with Wayland KDE and not with Xorg KDE. bp-65602d70-1d08-4573-ac33-1d0b90181213
Blocks: wr-linux
Status: UNCONFIRMED → NEW
Ever confirmed: true
mozregression --repo autoland --good 2018-11-14 --bad 2018-11-15 --pref gfx.webrender.all:true gfx.canvas.azure.accelerated:true -a https://www.privacy-handbuch.de/download/privacy-handbuch.pdf > https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=e762fce85daa2b0399f443c4644c6e61a11b1eb3&tochange=6fc6bdea42a60b7e3fb426beb073e07a3922913c > 6fc6bdea42a6 Mike Hommey — Bug 1501218 - Enable wayland support with --enable-default-toolkit=cairo-gtk3. r=mshal > 1840a5cbb59f Mike Hommey — Bug 1507030 - Use the same docker image for opt and debug base-toolchain jobs. r=froydnj > 1f1eec6abd9b Mike Hommey — Bug 1507032 - Work around bug in wayland (< 1.12) headers. r=froydnj RUST_BACKTRACE=1 mozregression --launch 2018-12-12 -B debug --pref gfx.webrender.all:true gfx.canvas.azure.accelerated:true -a https://www.privacy-handbuch.de/download/privacy-handbuch.pdf > 0:47.33 INFO: [GFX2-]: Using SkiaGL canvas. > 0:47.46 INFO: Assertion failure: false, at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/webrender/WebRenderTypes.h:72 https://searchfox.org/mozilla-central/rev/3160ddc1f0ab55d230c595366662c62950e5c785/gfx/webrender_bindings/WebRenderTypes.h#72 > case gfx::SurfaceFormat::R8G8B8X8: > // WebRender not support RGBX8. Assert here. > MOZ_ASSERT(false);
Has Regression Range: --- → yes
Has STR: --- → yes
It seems better just disable SkiaGL for now, since Bug 1468801 disables SkiaGL and there is no plan to re-enable it.
Assignee: nobody → sotaro.ikeda.g
Disabling gfx.canvas.azure.accelerated fixes the crash for me.
Flags: needinfo?(grayshade)
Thanks for the quick response :)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: