Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.4.1
-
None
-
Current Arch Linux with custom qt5-base debug build, no extra freetype fonts installed, called from qutebrowser/QtWebKit.
-
7cd1c0e420933cfc10019d6a592b85311e5e5fe0
Description
loadGlyph crashes in line 1184 when trying to free glyph data which is inaccessible, possibly has already been freed?
#1 0x00007fffe2018308 in QFontEngineFT::loadGlyph (this=this@entry=0x55555728e890, set=set@entry=0x55555728e9a8, glyph=glyph@entry=33, subPixelPosition=..., subPixelPosition@entry=..., format=<optimized out>, format@entry=QFontEngine::Format_Mono, fetchMetricsOnly=fetchMetricsOnly@entry=false) at ../gui/text/qfontengine_ft.cpp:1184
1184 delete [] g->data;
(gdb) p g->data
$12 = (uchar *) 0x5555ffffffff <error: Cannot access memory at address 0x5555ffffffff>
Full stacktrace attached.
Attachments
For Gerrit Dashboard: QTBUG-44812 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
107890,5 | [QFontEngineFT] Fix memory leaks and possible double deletions | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |