Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Bad malloc in QGLGlyphCache
fred741 last edited by
I have a crash when drawing texts with Qt.
@memset(font_tex->data, 0, font_tex->widthfont_tex->height2);@
Crashes here( source located at QGLGlyphCache::allocTexture(QGLFontTexture *font_tex) ), and it seems that the previous malloc call, which should allocate memory for font_tex->data, was bad, since font_tex->data is a NULL pointer.
It was ok before Qt 4.8.
Does anybody has an idea what may cause this?
rcari last edited by
Could you have run out of memory?