QtWebkit access violation on visiting staples.com
-
I am using Qt5.2.1. With fancybrowser (in examples\webkitwidgets) or QtTestBrowser, I got access violation on visiting staples.com
Need help to fix it.
Call Stack:
@qwindowsd.dll!
anonymous namespace'::EmbeddedFont::familyName(
anonymous-namespace'::TableDirectory * nameTableDirectoryEntry) Line 195 + 0x1e bytes C++
qwindowsd.dll!`anonymous namespace'::EmbeddedFont::changeFamilyName(const QString & newFamilyName) Line 224 C++
qwindowsd.dll!QWindowsFontDatabase::fontEngine(const QByteArray & fontData, double pixelSize, QFont::HintingPreference hintingPreference) Line 1078 C++
Qt5Guid.dll!QRawFontPrivate::platformLoadFromData(const QByteArray & fontData, double pixelSize, QFont::HintingPreference hintingPreference) Line 63 + 0x22 bytes C++
Qt5Guid.dll!QRawFont::loadFromData(const QByteArray & fontData, double pixelSize, QFont::HintingPreference hintingPreference) Line 256 C++
Qt5Guid.dll!QRawFont::QRawFont(const QByteArray & fontData, double pixelSize, QFont::HintingPreference hintingPreference) Line 178 C++
Qt5WebKitd.dll!WebCore::createFontCustomPlatformData(WebCore::SharedBuffer * buffer) Line 66 C++
Qt5WebKitd.dll!WebCore::CachedFont::ensureCustomFontData() Line 97 + 0x1b bytes C++
Qt5WebKitd.dll!WebCore::CSSFontFaceSource::getFontData(const WebCore::FontDescription & fontDescription, bool syntheticBold, bool syntheticItalic, WebCore::CSSFontSelector * fontSelector) Line 164 + 0x12 bytes C++
Qt5WebKitd.dll!WebCore::CSSFontFace::getFontData(const WebCore::FontDescription & fontDescription, bool syntheticBold, bool syntheticItalic) Line 127 + 0x33 bytes C++
Qt5WebKitd.dll!WebCore::CSSSegmentedFontFace::getFontData(const WebCore::FontDescription & fontDescription) Line 141 + 0x2f bytes C++
Qt5WebKitd.dll!WebCore::CSSFontSelector::getFontData(const WebCore::FontDescription & fontDescription, const WTF::AtomicString & familyName) Line 504 + 0x10 bytes C++
Qt5WebKitd.dll!WebCore::FontCache::getFontData(const WebCore::FontDescription & description, int & familyIndex, WebCore::FontSelector * fontSelector) Line 469 + 0x19 bytes C++
Qt5WebKitd.dll!WebCore::FontGlyphs::realizeFontDataAt(const WebCore::FontDescription & description, unsigned int realizedFontIndex) Line 110 + 0x2a bytes C++
Qt5WebKitd.dll!WebCore::FontGlyphs::primaryFontData(const WebCore::FontDescription & description) Line 89 + 0x15 bytes C++
Qt5WebKitd.dll!WebCore::FontGlyphs::primarySimpleFontData(const WebCore::FontDescription & description) Line 123 + 0xc bytes C++
Qt5WebKitd.dll!WebCore::Font::primaryFont() Line 327 C++
Qt5WebKitd.dll!WebCore::textRunNeedsRenderingContext(const WebCore::Font & font) Line 73 + 0x8 bytes C++
Qt5WebKitd.dll!WebCore::constructTextRunInternal<wchar_t>(WebCore::RenderObject * context, const WebCore::Font & font, const wchar_t * characters, int length, WebCore::RenderStyle * style, unsigned int expansion) Line 8119 + 0x9 bytes C++
Qt5WebKitd.dll!WebCore::RenderBlock::constructTextRun(WebCore::RenderObject * context, const WebCore::Font & font, const wchar_t * characters, int length, WebCore::RenderStyle * style, unsigned int expansion) Line 8154 + 0x21 bytes C++
Qt5WebKitd.dll!WebCore::RenderText::computePreferredLogicalWidths(float leadWidth, WTF::HashSet<WebCore::SimpleFontData const *,WTF::PtrHash<WebCore::SimpleFontData const *>,WTF::HashTraits<WebCore::SimpleFontData const *> > & fallbackFonts, WebCore::GlyphOverflow & glyphOverflow) Line 972 + 0x37 bytes C++
Qt5WebKitd.dll!WebCore::RenderText::computePreferredLogicalWidths(float leadWidth) Line 887 C++
Qt5WebKitd.dll!WebCore::RenderText::trimmedPrefWidths(float leadWidth, float & beginMinW, bool & beginWS, float & endMinW, bool & endWS, bool & hasBreakableChar, bool & hasBreak, float & beginMaxW, float & endMaxW, float & minW, float & maxW, bool & stripFrontSpaces) Line 786 C++
Qt5WebKitd.dll!WebCore::RenderBlock::computeInlinePreferredLogicalWidths(WebCore::LayoutUnit & minLogicalWidth, WebCore::LayoutUnit & maxLogicalWidth) Line 6307 C++
Qt5WebKitd.dll!WebCore::RenderBlock::computeIntrinsicLogicalWidths(WebCore::LayoutUnit & minLogicalWidth, WebCore::LayoutUnit & maxLogicalWidth) Line 5925 C++
Qt5WebKitd.dll!WebCore::RenderBlock::computePreferredLogicalWidths() Line 5963 C++
Qt5WebKitd.dll!WebCore::RenderBox::minPreferredLogicalWidth() Line 862 C++
@ -
Same at me. Crashing while loading page.
Qt 5.2.0 under Windows 7.
My page comes from local files content via: file:///
I can send ZIP with page to load what crash QWebView. Contact with me at PM.
Seems QWindowsFontDatabase::fontEngine is bugged.Stack:
0anonymous namespace'::EmbeddedFont::tableDirectoryEntry qwindowsfontdatabase.cpp 173 0x56823584 1
anonymous namespace'::EmbeddedFont::changeFamilyName qwindowsfontdatabase.cpp 215 0x5682379f
2 QWindowsFontDatabase::fontEngine qwindowsfontdatabase.cpp 1075 0x568253b6
3 operator>> Qt5Guid 0x5f93a891
4 operator>> Qt5Guid 0x5f9279a0
5 operator>> Qt5Guid 0x5f927835
6 QQuickWebViewExperimental::q_func Qt5WebKitd 0x5843d686
7 QQuickWebViewExperimental::q_func Qt5WebKitd 0x5843bd6f
8 WTF::MediaTime::timeValue Qt5WebKitd 0x57df4f8e
9 WTF::MediaTime::timeValue Qt5WebKitd 0x57df473b
10 WTF::MediaTime::timeValue Qt5WebKitd 0x57e1c4b4
11 WTF::MediaTime::timeValue Qt5WebKitd 0x57df67e8
12 WTF::MediaTime::timeValue Qt5WebKitd 0x57f8b004
13 WTF::MediaTime::timeValue Qt5WebKitd 0x57fe102a
14 WTF::MediaTime::operator new Qt5WebKitd 0x57d6d635
15 WTF::MediaTime::timeValue Qt5WebKitd 0x57fe0e85
16 WTF::MediaTime::operator new Qt5WebKitd 0x57d7ace1
17 WTF::MediaTime::operator new Qt5WebKitd 0x57d7acb0
18 WTF::MediaTime::operator new Qt5WebKitd 0x57cc403e
19 WTF::MediaTime::operator new Qt5WebKitd 0x57cc302b
[...]
94 WTF::MediaTime::operator new Qt5WebKitd 0x57c28534
95 WTF::MediaTime::operator new Qt5WebKitd 0x57c28339
96 WTF::MediaTime::operator new Qt5WebKitd 0x57c2815f
97 WTF::MediaTime::timeValue Qt5WebKitd 0x582ec1a9
98 WTF::MediaTime::timeValue Qt5WebKitd 0x582f5149
99 WTF::MediaTime::timeValue Qt5WebKitd 0x582f4db4
100 WTF::MediaTime::timeValue Qt5WebKitd 0x5803d94d
101 WTF::MediaTime::timeValue Qt5WebKitd 0x57fab8d0 ...]
102 WTF::MediaTime::timeValue Qt5WebKitd 0x57faab34
103 WTF::MediaTime::timeValue Qt5WebKitd 0x57faa96e
104 WTF::MediaTime::timeValue Qt5WebKitd 0x57fab40f
105 WTF::MediaTime::timeValue Qt5WebKitd 0x57fad56a
106 QMetaObject::activate qobject.cpp 3563 0x5f245700
107 QMetaObject::activate qobject.cpp 3438 0x5f245131
108 QNetworkReply::finished moc_qnetworkreply.cpp 304 0x5d8f548a
109 QNetworkReply::qt_static_metacall moc_qnetworkreply.cpp 183 0x5d8f5145
110 QMetaCallEvent::placeMetaCall qobject.cpp 481 0x5f23efad
111 QObject::event qobject.cpp 1142 0x5f23feda
112 QApplicationPrivate::notify_helper qapplication.cpp 3467 0x5d0932ae
113 QApplication::notify qapplication.cpp 2888 0x5d090c93
114 QCoreApplication::notifyInternal qcoreapplication.cpp 878 0x5f1f3a64
115 QCoreApplication::sendEvent qcoreapplication.h 232 0x5f1f8fd9
116 QCoreApplicationPrivate::sendPostedEvents qcoreapplication.cpp 1482 0x5f1f4906
117 QCoreApplication::sendPostedEvents qcoreapplication.cpp 1340 0x5f1f45bd
118 QWindowsGuiEventDispatcher::sendPostedEvents qwindowsguieventdispatcher.cpp 88 0x56830651
119 qt_internal_proc qeventdispatcher_win.cpp 423 0x5f2849c7
120 InternalCallWinProc USER32 0x771b62fa
121 UserCallWinProcCheckWow USER32 0x771b6d3a
122 DispatchMessageWorker USER32 0x771b77c4
123 DispatchMessageW USER32 0x771b788a
124 QEventDispatcherWin32::processEvents qeventdispatcher_win.cpp 757 0x5f285b23
125 QWindowsGuiEventDispatcher::processEvents qwindowsguieventdispatcher.cpp 80 0x568305be
126 QEventLoop::processEvents qeventloop.cpp 137 0x5f1f068c
127 QEventLoop::exec qeventloop.cpp 212 0x5f1f07f2
128 QCoreApplication::exec qcoreapplication.cpp 1131 0x5f1f3fbd
129 operator>> Qt5Guid 0x5f73ac78
130 QApplication::exec qapplication.cpp 2693 0x5d090749
131 main main.cpp 43 0x9b73b4
132 WinMain qtmain_win.cpp 131 0x9d70fa
133 __tmainCRTStartup crtexe.c 547 0x9d68c0
134 WinMainCRTStartup crtexe.c 371 0x9d664f
135 BaseThreadInitThunk kernel32 0x76b3338a
136 __RtlUserThreadStart ntdll 0x778f9f72
137 _RtlUserThreadStart ntdll 0x778f9f45 -
Bug reported at https://bugreports.qt-project.org/browse/QTBUG-37710.
A related bug at https://bugreports.qt-project.org/browse/QTBUG-37190.crayze,
It will be great if you can email me your zip file.