Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.6, 5.15.9
-
None
-
windows 10
Description
Install mutiple font PingFang in operate system, the app will crash by stack overflow.
It seems like cross call EnumFontFamiliesEx with different font but has same tag, then exhaust stack.The familyName‘s value set to "蘋方-簡","PingFang SC" alternately.
Qt 5.12.5 runs well, but 5.15.6 & 5.15.9 both failed.
The fonts can find in attachment.
Call stack :
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
qwindows.dll!QWindowsFontDatabase::populateFamily(const QString & familyName) 行 1202 C++
qwindows.dll!addFontToDatabase(QString familyName, QString styleName, const tagLOGFONTW & logFont, const tagTEXTMETRICW * textmetric, const tagFONTSIGNATURE * signature, int type, `anonymous-namespace'::StoreFontPayload * sfp) 行 1119 C++
qwindows.dll!storeFont(const tagLOGFONTW * logFont, const tagTEXTMETRICW * textmetric, unsigned long type, __int64 lparam) 行 1169 C++
gdi32full.dll!00007ff842e33bf1() 未知
gdi32full.dll!00007ff842e33a94() 未知
...
Attachments
Issue Links
- duplicates
-
QTBUG-118238 【Windows】stack overflow after launch Any Qt Application (or Official Demo)
- Closed