[Interest] QtWebKit crashes while rendering webpage.

Kim Min-chul nusevoli at gmail.com
Tue Jul 21 07:05:51 CEST 2015


Hi.

I would like to get some advice.

I am making my application using QtWebKit(Qt5.4.2) on ubuntu 15.04.
20 of QWebview is running at the same time. and they all render same
website in the main thread.
the website rendered is updating an image every single second and has some
animated effects. It is like amazon.com
but QtWebKit crashes irregularly. Is it because of libqxcb?
Doesn't normal webbrowsers support multi-tab browsing over 20?
I don't know what is the problem.
I attached ASSERTION FAILED message.
please, let me know how to fix it.

I appreciate your answer in advance.



ASSERTION FAILED: !m_isolatedWorld->isNormal() || m_wrapper || !m_jsFunction
/build/qt/qt5/qtwebkit/Source/WebCore/bindings/js/JSEventListener.h(94) :
JSC::JSObject*
WebCore::JSEventListener::jsFunction(WebCore::ScriptExecutionContext*) const
1   0x7fdc96cfbecd /qt/lib/libQt5WebKit.so.5(WTFCrash+0x1e) [0x7fdc96cfbecd]
2   0x7fdc95b2fa42 /qt/lib/libQt5WebKit.so.5(+0x10e6a42) [0x7fdc95b2fa42]
3   0x7fdc9682afb1 /qt/lib/libQt5WebKit.so.5(+0x1de1fb1) [0x7fdc9682afb1]
4   0x7fdc9677da7a /qt/lib/libQt5WebKit.so.5(+0x1d34a7a) [0x7fdc9677da7a]
5   0x7fdc9677d6be /qt/lib/libQt5WebKit.so.5(+0x1d346be) [0x7fdc9677d6be]
6   0x7fdc953924f3 /qt/lib/libQt5WebKit.so.5(+0x9494f3) [0x7fdc953924f3]
7   0x7fdc96776a2f /qt/lib/libQt5WebKit.so.5(+0x1d2da2f) [0x7fdc96776a2f]
8   0x7fdc9677841f /qt/lib/libQt5WebKit.so.5(+0x1d2f41f) [0x7fdc9677841f]
9   0x7fdc967780c8 /qt/lib/libQt5WebKit.so.5(+0x1d2f0c8) [0x7fdc967780c8]
10  0x7fdc9677744d /qt/lib/libQt5WebKit.so.5(+0x1d2e44d) [0x7fdc9677744d]
11  0x7fdc96777604 /qt/lib/libQt5WebKit.so.5(+0x1d2e604) [0x7fdc96777604]
12  0x7fdc95392757 /qt/lib/libQt5WebKit.so.5(+0x949757) [0x7fdc95392757]
13  0x7fdc96362ca9 /qt/lib/libQt5WebKit.so.5(+0x1919ca9) [0x7fdc96362ca9]
14  0x7fdc9679c050 /qt/lib/libQt5WebKit.so.5(+0x1d53050) [0x7fdc9679c050]
15  0x7fdc9679ef16 /qt/lib/libQt5WebKit.so.5(+0x1d55f16) [0x7fdc9679ef16]
16  0x7fdc96814d9f /qt/lib/libQt5WebKit.so.5(+0x1dcbd9f) [0x7fdc96814d9f]
17  0x7fdc956fea37 /qt/lib/libQt5WebKit.so.5(+0xcb5a37) [0x7fdc956fea37]
18  0x7fdc956fe92f /qt/lib/libQt5WebKit.so.5(+0xcb592f) [0x7fdc956fe92f]
19  0x7fdc95832fe2 /qt/lib/libQt5WebKit.so.5(+0xde9fe2) [0x7fdc95832fe2]
20  0x7fdc93eaf601 /qt/lib/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0x8d)
[0x7fdc93eaf601]
21  0x7fdc98c9e73e
/qt/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x17c)
[0x7fdc98c9e73e]
22  0x7fdc98c9bd55
/qt/lib/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x689)
[0x7fdc98c9bd55]
23  0x7fdc93e6f385
/qt/lib/libQt5Core.so.5(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xa9)
[0x7fdc93e6f385]
24  0x7fdc93e7329b
/qt/lib/libQt5Core.so.5(_ZN16QCoreApplication9sendEventEP7QObjectP6QEvent+0x51)
[0x7fdc93e7329b]
25  0x7fdc93eef125
/qt/lib/libQt5Core.so.5(_ZN14QTimerInfoList14activateTimersEv+0x245)
[0x7fdc93eef125]
26  0x7fdc93ef0624 /qt/lib/libQt5Core.so.5(+0x3cd624) [0x7fdc93ef0624]
27  0x7fdc92afec3d
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x24d)
[0x7fdc92afec3d]
28  0x7fdc92afef20 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x49f20)
[0x7fdc92afef20]
29  0x7fdc92afefcc
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)
[0x7fdc92afefcc]
30  0x7fdc93ef103c
/qt/lib/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xea)
[0x7fdc93ef103c]
31  0x7fdc89c9af50 /qt.5.4/plugins/platforms/libqxcb.so(+0x7df50)
[0x7fdc89c9af50]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150721/71fc4fb6/attachment.html>


More information about the Interest mailing list