Closed
Bug 1311612
Opened 8 years ago
Closed 4 years ago
Assert in gfxFontGroup։։GetDefaultFont on x86
Categories
(Core :: Graphics: Text, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: abbGZcvu_bugzilla.mozilla.org, Unassigned)
References
Details
(Keywords: crash, testcase, Whiteboard: [gfx-noted])
Attachments
(2 files)
The following SVG file will cause an assertion failure on x86 Windows. The assertion does not trigger on x64 Windows.
<svg xmlns="http://www.w3.org/2000/svg" font-size-adjust="1" font-size="1%" style="font-family:crash;box-shadow:2ex 2ex;transition:4s"/>
I don't know exactly why all the font attributes and styles are needed, but apparently they create some kind of edge case that's not handled.
The assert triggered should be here in the source:
https://dxr.mozilla.org/mozilla-central/source/gfx/thebes/gfxTextRun.cpp#1847
Comment 1•8 years ago
|
||
SkyLined, can you post the actual assert log?
Flags: needinfo?(berendjanwever)
Sotaro: sure, just let me know where I can grab that and I will add it.
Flags: needinfo?(berendjanwever)
Comment 4•8 years ago
|
||
I haven't been able to reproducet this locally (I don't currently have a 32-bit Windows system on hand) to investigate further.
I guess it may be related to the extremely small font size causing something to fail? It might also depend whether we're using the GDI or DirectWrite backends.
Could you please attach the about:support info for the system where it fails? Thanks.
Flags: needinfo?(jfkthame)
As requested, the about:support info for the VM on which it crashes.
Comment 6•8 years ago
|
||
OK, this is a VM where graphics acceleration is blocked, and so we end up using the GDI font backend. If you go into about:config and set gfx.font_rendering.directwrite.force-enabled to true, and then restart the browser, does the issue still occur or does that avoid it?
Updated•8 years ago
|
Whiteboard: [gfx-noted]
Updated•7 years ago
|
Priority: -- → P3
Comment 8•4 years ago
|
||
I tried to reproduce this issue on a 32bit Windows 10 machine with Intel HD Graphics but it doesnt occur in our latest Release version Fx 85.0 I will close this issue as Works For Me for now but if the issue reoccurs on the reporter side please reopen it.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
Comment 9•4 years ago
|
||
@Skylined does this issue still occur on your end ? and if so are there any steps that might help us reproduce this issue on our side ?
Flags: needinfo?(abbGZcvu_bugzilla.mozilla.org)
Reporter | ||
Comment 10•4 years ago
|
||
No, it no longer crashes on my machine.
Status: RESOLVED → VERIFIED
Flags: needinfo?(abbGZcvu_bugzilla.mozilla.org)
You need to log in
before you can comment on or make changes to this bug.
Description
•