[Webkit-unassigned] [Bug 65240] New: crash on JSC::FunctionBodyNode::finishParsing()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 27 02:32:27 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=65240

           Summary: crash on JSC::FunctionBodyNode::finishParsing()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mmeteorx at gmail.com


A simple program using QWebPage visit some website, compiled qt-everywhere-opensource-src-4.7.3 with -debug. It crashed when try to visit http://www.diyishiyou.com.

Here is callstack:

#0  0x0000002a974f01c1 in WTF::RefPtr<JSC::FunctionParameters>::operator= () from /home/work/local/qt/lib/libQtWebKit.so.4
#1  0x0000002a974ef39b in JSC::FunctionBodyNode::finishParsing () from /home/work/local/qt/lib/libQtWebKit.so.4
#2  0x0000002a974603b4 in JSC::FunctionExecutable::compile () from /home/work/local/qt/lib/libQtWebKit.so.4
#3  0x0000002a97444120 in JSC::FunctionExecutable::bytecode () from /home/work/local/qt/lib/libQtWebKit.so.4
#4  0x0000002a9743fb7e in JSC::Interpreter::privateExecute () from /home/work/local/qt/lib/libQtWebKit.so.4
#5  0x0000002a97436b9b in JSC::Interpreter::execute () from /home/work/local/qt/lib/libQtWebKit.so.4
#6  0x0000002a97474144 in JSC::JSFunction::call () from /home/work/local/qt/lib/libQtWebKit.so.4
#7  0x0000002a97452bdd in JSC::call () from /home/work/local/qt/lib/libQtWebKit.so.4
#8  0x0000002a96ba9be5 in WebCore::JSEventListener::handleEvent () from /home/work/local/qt/lib/libQtWebKit.so.4
#9  0x0000002a96d0121e in WebCore::EventTarget::fireEventListeners () from /home/work/local/qt/lib/libQtWebKit.so.4
#10 0x0000002a96d0106e in WebCore::EventTarget::fireEventListeners () from /home/work/local/qt/lib/libQtWebKit.so.4
#11 0x0000002a96d16788 in WebCore::Node::handleLocalEvents () from /home/work/local/qt/lib/libQtWebKit.so.4
#12 0x0000002a96d16ec0 in WebCore::Node::dispatchGenericEvent () from /home/work/local/qt/lib/libQtWebKit.so.4
#13 0x0000002a96d168e5 in WebCore::Node::dispatchEvent () from /home/work/local/qt/lib/libQtWebKit.so.4
#14 0x0000002a96cd6b95 in WebCore::Document::finishedParsing () from /home/work/local/qt/lib/libQtWebKit.so.4
#15 0x0000002a96e4e8f7 in WebCore::HTMLParser::finished () from /home/work/local/qt/lib/libQtWebKit.so.4
#16 0x0000002a96e6aa3a in WebCore::HTMLTokenizer::end () from /home/work/local/qt/lib/libQtWebKit.so.4
#17 0x0000002a96e6a543 in WebCore::HTMLTokenizer::write () from /home/work/local/qt/lib/libQtWebKit.so.4
#18 0x0000002a96e6c25f in WebCore::HTMLTokenizer::executeExternalScriptsIfReady () from /home/work/local/qt/lib/libQtWebKit.so.4
#19 0x0000002a96e6be5b in WebCore::HTMLTokenizer::notifyFinished () from /home/work/local/qt/lib/libQtWebKit.so.4
#20 0x0000002a96ec8acb in WebCore::CachedScript::checkNotify () from /home/work/local/qt/lib/libQtWebKit.so.4
#21 0x0000002a96ec8a6e in WebCore::CachedScript::data () from /home/work/local/qt/lib/libQtWebKit.so.4
#22 0x0000002a96f022dd in WebCore::Loader::Host::didFinishLoading () from /home/work/local/qt/lib/libQtWebKit.so.4
#23 0x0000002a96f156ec in WebCore::SubresourceLoader::didFinishLoading () from /home/work/local/qt/lib/libQtWebKit.so.4
#24 0x0000002a96f13ae2 in WebCore::ResourceLoader::didFinishLoading () from /home/work/local/qt/lib/libQtWebKit.so.4
#25 0x0000002a9716ad63 in WebCore::QNetworkReplyHandler::finish () from /home/work/local/qt/lib/libQtWebKit.so.4
#26 0x0000002a9716d3b8 in WebCore::QNetworkReplyHandler::qt_metacall () from /home/work/local/qt/lib/libQtWebKit.so.4
#27 0x0000002a9961f31f in QMetaObject::metacall (object=dwarf2_read_address: Corrupted DWARF expression.
) at kernel/qmetaobject.cpp:237
#28 0x0000002a99634788 in QMetaObject::activate (sender=0x707be0, m=0x535d50, local_signal_index=1, argv=0x0)
    at kernel/qobject.cpp:3278
#29 0x0000002a9922c1b2 in QNetworkReply::finished (this=0x707be0) at .moc/debug-shared/moc_qnetworkreply.cpp:152
#30 0x0000002a9922c0bb in QNetworkReply::qt_metacall (this=0x707be0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fbfffeb30)
    at .moc/debug-shared/moc_qnetworkreply.cpp:130
#31 0x0000000000423443 in NetworkReplyProxy::qt_metacall (this=0x707be0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fbfffeb30)
    at moc_NetworkReplyProxy.cpp:74
#32 0x0000002a9961f31f in QMetaObject::metacall (object=dwarf2_read_address: Corrupted DWARF expression.
) at kernel/qmetaobject.cpp:237
#33 0x0000002a99634788 in QMetaObject::activate (sender=0x6994c0, m=0x535d50, local_signal_index=1, argv=0x0)
    at kernel/qobject.cpp:3278
#34 0x0000002a9922c1b2 in QNetworkReply::finished (this=0x6994c0) at .moc/debug-shared/moc_qnetworkreply.cpp:152
#35 0x0000002a991bac5c in QNetworkReplyImplPrivate::finished (this=0x695d00) at access/qnetworkreplyimpl.cpp:680
#36 0x0000002a9919e89f in QNetworkAccessBackend::finished (this=0x682e90) at access/qnetworkaccessbackend.cpp:298
#37 0x0000002a991a69d0 in QNetworkAccessHttpBackend::finished (this=0x682e90) at access/qnetworkaccesshttpbackend.cpp:342
#38 0x0000002a991a978c in QNetworkAccessHttpBackend::replyFinished (this=0x682e90) at access/qnetworkaccesshttpbackend.cpp:763
#39 0x0000002a991a92ec in QNetworkAccessHttpBackend::downstreamReadyWrite (this=0x682e90)
    at access/qnetworkaccesshttpbackend.cpp:700
#40 0x0000002a991b9b1d in QNetworkReplyImplPrivate::handleNotifications (this=0x695d00) at access/qnetworkreplyimpl.cpp:390
#41 0x0000002a991bba49 in QNetworkReplyImpl::event (this=0x6994c0, e=0x66f600) at access/qnetworkreplyimpl.cpp:890
#42 0x0000002a98460029 in QApplicationPrivate::notify_helper (this=0x5379e0, receiver=0x6994c0, e=0x66f600)
    at kernel/qapplication.cpp:4462
#43 0x0000002a9845dc73 in QApplication::notify (this=0x7fbffff800, receiver=0x6994c0, e=0x66f600) at kernel/qapplication.cpp:3862
#44 0x0000002a996176e8 in QCoreApplication::notifyInternal (this=0x7fbffff800, receiver=0x6994c0, event=0x66f600)
    at kernel/qcoreapplication.cpp:731
#45 0x0000002a9718bc7f in QCoreApplication::sendEvent () from /home/work/local/qt/lib/libQtWebKit.so.4
#46 0x0000002a9961866f in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x537b80)
    at kernel/qcoreapplication.cpp:1372
#47 0x0000002a99618330 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#48 0x0000002a9852b9a1 in QCoreApplication::sendPostedEvents ()
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#49 0x0000002a9965123a in postEventSourceDispatch (s=0x53af30) at kernel/qeventdispatcher_glib.cpp:277
#50 0x0000003c99f266bd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#51 0x0000003c99f28397 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#52 0x0000003c99f288eb in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#53 0x0000002a996523d5 in QEventDispatcherGlib::processEvents (this=0x538f20, flags={i = 36})
    at kernel/qeventdispatcher_glib.cpp:422
#54 0x0000002a985381af in QGuiEventDispatcherGlib::processEvents (this=0x538f20, flags={i = 36})
    at kernel/qguieventdispatcher_glib.cpp:204
#55 0x0000002a9961481a in QEventLoop::processEvents (this=0x7fbffff720, flags={i = 36}) at kernel/qeventloop.cpp:149
#56 0x0000002a9961494c in QEventLoop::exec (this=0x7fbffff720, flags={i = 0}) at kernel/qeventloop.cpp:201
#57 0x0000002a99617d06 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#58 0x0000002a9845d91e in QApplication::exec () at kernel/qapplication.cpp:3736
#59 0x00000000004098ad in main (argc=1, argv=0x7fbffff9a8) at src/main.cpp:34


By the way, why I configure it with "-debug" already, but libQtWebKit.so still does not contain debug info? I tried to edit src/3rdparty/webkit/WebKit.pri and add something like "QMAKE_CXXFLAGS += -g", but it seems "-g" has been ignored.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list