Bug 202074

Summary: Akregator crash after pop-up window
Product: [Frameworks and Libraries] kwebkitpart Reporter: David Heidelberg <david>
Component: generalAssignee: webkit-devel
Status: RESOLVED FIXED    
Severity: crash CC: adawit, andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Heidelberg 2009-07-31 13:10:58 UTC
Application that crashed: akregator
Version of the application: 1.5.0
KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3))
Qt Version: 4.5.2
Operating System: Linux 2.6.31-rc3 x86_64

What I was doing when the application crashed:
rss from pctuning.cz, open some entry in pctuning.cz clink on vote poll and if you try this two times, it will give you information, you already vote in czech language. If you click on "OK" Akregator crash.

 -- Backtrace:
Application: Akregator (akregator), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f5150aeb5b6 in KJob::kill () from /usr/lib64/libkdecore.so.5
#6  0x00007f51517f25e8 in ?? () from /usr/lib64/libkio.so.5
#7  0x00007f513ebc8c66 in WebCore::QNetworkReplyHandler::abort (this=0x23c6940) at platform/network/qt/QNetworkReplyHandler.cpp:176
#8  0x00007f513ebc6c45 in WebCore::ResourceHandle::cancel (this=<value optimized out>) at platform/network/qt/ResourceHandleQt.cpp:148
#9  0x00007f513ebc79b9 in ~ResourceHandle (this=0x201cca0) at platform/network/qt/ResourceHandleQt.cpp:118
#10 0x00007f513ea502be in WebCore::ResourceLoader::releaseResources (this=0x23c6dc0) at ../JavaScriptCore/wtf/RefCounted.h:96
#11 0x00007f513ea4e698 in WebCore::ResourceLoader::didFinishLoading (this=0x23c6dc0) at loader/ResourceLoader.cpp:289
#12 0x00007f513ea471b4 in WebCore::MainResourceLoader::didFinishLoading (this=0x23c6dc0) at loader/MainResourceLoader.cpp:361
#13 0x00007f513ea4e2f1 in WebCore::ResourceLoader::didFinishLoading (this=0x201cca0) at loader/ResourceLoader.cpp:422
#14 0x00007f513ebcac58 in WebCore::QNetworkReplyHandler::finish (this=0x23c6940) at platform/network/qt/QNetworkReplyHandler.cpp:225
#15 0x00007f513ebcad52 in WebCore::QNetworkReplyHandler::sendQueuedItems (this=0x23c6940) at platform/network/qt/QNetworkReplyHandler.cpp:431
#16 0x00007f513ebcad6a in WebCore::QNetworkReplyHandler::setLoadMode (this=0x201cca0, mode=WebCore::QNetworkReplyHandler::LoadNormal) at platform/network/qt/QNetworkReplyHandler.cpp:168
#17 0x00007f513ebc6c0a in WebCore::ResourceHandle::setDefersLoading (this=<value optimized out>, defers=false) at platform/network/qt/ResourceHandleQt.cpp:204
#18 0x00007f513ea516af in WebCore::ResourceLoader::setDefersLoading (this=0x23c6dc0, defers=false) at loader/ResourceLoader.cpp:145
#19 0x00007f513ea4ac69 in WebCore::MainResourceLoader::setDefersLoading (this=0x201cca0, defers=false) at loader/MainResourceLoader.cpp:508
#20 0x00007f513ea22a79 in WebCore::DocumentLoader::setDefersLoading (this=0x2381ff0, defers=false) at loader/DocumentLoader.cpp:734
#21 0x00007f513ea2789f in WebCore::FrameLoader::setDefersLoading (this=0x23a1f98, defers=false) at loader/FrameLoader.cpp:304
#22 0x00007f513ea9caeb in WebCore::Page::setDefersLoading (this=<value optimized out>, defers=false) at page/Page.cpp:379
#23 0x00007f513ea753cd in ~PageGroupLoadDeferrer (this=0x7fff91729530) at page/Chrome.cpp:492
#24 0x00007f513ea75ae3 in WebCore::Chrome::runJavaScriptAlert (this=0x201ddc0, frame=0x23a1f30, message=@0x7fff91729640) at page/Chrome.cpp:265
#25 0x00007f513ea7a9be in WebCore::DOMWindow::alert (this=0x23e46b0, message=@0x7fff91729640) at page/DOMWindow.cpp:495
#26 0x00007f513ee13a04 in WebCore::jsDOMWindowPrototypeFunctionAlert (exec=0x7f513cff80b8, thisValue=<value optimized out>, args=@0x7fff91729800) at generated/JSDOMWindow.cpp:4104
#27 0x00007f513e7c015d in JSC::Interpreter::privateExecute (this=0x23fc4c0, flag=<value optimized out>, registerFile=0x23fc4e0, callFrame=0x7f513cff8048, exception=0x7fff9172a340)
    at ../JavaScriptCore/interpreter/Interpreter.cpp:3371
#28 0x00007f513e7c2ec1 in JSC::Interpreter::execute (this=0x23fc4c0, programNode=0x24ac9b0, callFrame=0x23ff8f8, scopeChain=0x24974d0, thisObj=0x7f51552f0000, exception=0x7fff9172a340)
    at ../JavaScriptCore/interpreter/Interpreter.cpp:909
#29 0x00007f513e7e6a80 in JSC::evaluate (exec=0x23ff8f8, scopeChain=@0x23ff8b0, source=@0x7fff9172a8e0, thisValue=<value optimized out>) at ../JavaScriptCore/runtime/Completion.cpp:67
#30 0x00007f513e86ff3d in WebCore::ScriptController::evaluate (this=0x23a2320, sourceCode=@0x7fff9172a8e0) at bindings/js/ScriptController.cpp:114
#31 0x00007f513ea36f6f in WebCore::FrameLoader::executeScript (this=0x23a1f98, sourceCode=@0x7fff9172a8e0) at loader/FrameLoader.cpp:789
#32 0x00007f513e9ec06c in WebCore::HTMLTokenizer::scriptExecution (this=0x23e6b70, sourceCode=@0x7fff9172a8e0, state=<value optimized out>) at html/HTMLTokenizer.cpp:563
#33 0x00007f513e9ed1e1 in WebCore::HTMLTokenizer::scriptHandler (this=0x23e6b70, state=<value optimized out>) at html/HTMLTokenizer.cpp:505
#34 0x00007f513e9eef6f in WebCore::HTMLTokenizer::parseSpecial (this=0x23e6b70, src=@0x23e7598, state=<value optimized out>) at html/HTMLTokenizer.cpp:347
#35 0x00007f513e9f0b45 in WebCore::HTMLTokenizer::parseTag (this=0x23e6b70, src=@0x23e7598, state=<value optimized out>) at html/HTMLTokenizer.cpp:1495
#36 0x00007f513e9f18f1 in WebCore::HTMLTokenizer::write (this=0x23e6b70, str=<value optimized out>, appendData=<value optimized out>) at html/HTMLTokenizer.cpp:1726
#37 0x00007f513ea2a8a3 in WebCore::FrameLoader::write (this=0x23a1f98, 
    str=0x2333d28 "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><script>alert(\"Z tohoto po�\215íta�\215e se již hlasovalo!\");</script><script>document.location.href = \"/\";</script>", len=<value optimized out>, flush=false) at loader/FrameLoader.cpp:1039
#38 0x00007f513ea2a924 in WebCore::FrameLoader::addData (this=0x201cca0, bytes=0x0, length=1) at loader/FrameLoader.cpp:1890
#39 0x00007f513ebdf392 in WebCore::FrameLoaderClientQt::committedLoad (this=0x23a1bf0, loader=0x2381ff0, 
    data=0x2333d28 "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><script>alert(\"Z tohoto po�\215íta�\215e se již hlasovalo!\");</script><script>document.location.href = \"/\";</script>", length=181) at ../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:676
#40 0x00007f513ea26eef in WebCore::FrameLoader::committedLoad (this=0x23a1f98, loader=0x2381ff0, 
    data=0x2333d28 "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><script>alert(\"Z tohoto po�\215íta�\215e se již hlasovalo!\");</script><script>document.location.href = \"/\";</script>", length=181) at loader/FrameLoader.cpp:3512
#41 0x00007f513ea209ea in WebCore::DocumentLoader::commitLoad (this=0x2381ff0, 
    data=0x2333d28 "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><script>alert(\"Z tohoto po�\215íta�\215e se již hlasovalo!\");</script><script>document.location.href = \"/\";</script>", length=181) at loader/DocumentLoader.cpp:355
#42 0x00007f513ea20a70 in WebCore::DocumentLoader::receivedData (this=0x2381ff0, 
    data=0x2333d28 "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><script>alert(\"Z tohoto po�\215íta�\215e se již hlasovalo!\");</script><script>document.location.href = \"/\";</script>", length=181) at loader/DocumentLoader.cpp:367
#43 0x00007f513ea27255 in WebCore::FrameLoader::receivedData (this=<value optimized out>, 
    data=0x2333d28 "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><script>alert(\"Z tohoto po�\215íta�\215e se již hlasovalo!\");</script><script>document.location.href = \"/\";</script>", length=181) at loader/FrameLoader.cpp:2341
#44 0x00007f513ea4708a in WebCore::MainResourceLoader::addData (this=0x23c6dc0, 
    data=0x2333d28 "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><script>alert(\"Z tohoto po�\215íta�\215e se již hlasovalo!\");</script><script>document.location.href = \"/\";</script>", length=181, allAtOnce=<value optimized out>) at loader/MainResourceLoader.cpp:146
#45 0x00007f513ea4e8c2 in WebCore::ResourceLoader::didReceiveData (this=0x23c6dc0, 
    data=0x2333d28 "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><script>alert(\"Z tohoto po�\215íta�\215e se již hlasovalo!\");</script><script>document.location.href = \"/\";</script>", length=181, lengthReceived=181, allAtOnce=true) at loader/ResourceLoader.cpp:263
#46 0x00007f513ea4726b in WebCore::MainResourceLoader::didReceiveData (this=0x201cca0, data=0x0, length=1, lengthReceived=1, allAtOnce=<value optimized out>) at loader/MainResourceLoader.cpp:341
#47 0x00007f513ea4e2de in WebCore::ResourceLoader::didReceiveData (this=0x201cca0, data=0x0, length=0, lengthReceived=1) at loader/ResourceLoader.cpp:417
#48 0x00007f513ebc9e63 in WebCore::QNetworkReplyHandler::forwardData (this=0x23c6940) at platform/network/qt/QNetworkReplyHandler.cpp:338
#49 0x00007f513ebcacfa in WebCore::QNetworkReplyHandler::qt_metacall (this=0x23c6940, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>)
    at .moc/release-shared/moc_QNetworkReplyHandler.cpp:71
#50 0x00007f51504ce037 in QMetaCallEvent::placeMetaCall (this=<value optimized out>, object=0x0) at kernel/qobject.cpp:477
#51 0x00007f51504cfa3e in QObject::event (this=0x23c6940, e=0x2409430) at kernel/qobject.cpp:1099
#52 0x00007f514f27195d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#53 0x00007f514f27447a in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#54 0x00007f51513168fb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#55 0x00007f51504c1ec2 in QCoreApplication::notifyInternal (this=0x7fff9172b9d0, receiver=0x23c6940, event=0x2409430) at kernel/qcoreapplication.cpp:606
#56 0x00007f51504c26a5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x18e1f90) at kernel/qcoreapplication.h:213
#57 0x00007f51504c2871 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#58 0x00007f51504e4991 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#59 0x00007f514c094d1d in ?? () from /usr/lib/libglib-2.0.so.0
#60 0x00007f514c096aad in ?? () from /usr/lib/libglib-2.0.so.0
#61 0x00007f514c096c0c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#62 0x00007f51504e421e in QEventDispatcherGlib::processEvents (this=0x18e1800, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#63 0x00007f514f30edef in ?? () from /usr/lib64/qt4/libQtGui.so.4
#64 0x00007f51504c09dd in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1854752432}) at kernel/qeventloop.cpp:149
#65 0x00007f51504c0b74 in QEventLoop::exec (this=0x7fff9172b990, flags={i = -1854752352}) at kernel/qeventloop.cpp:197
#66 0x00007f51504c296a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#67 0x0000000000409a8e in main (argc=5, argv=<value optimized out>) at /var/tmp/portage/kde-base/akregator-4.2.98/work/akregator-4.2.98/akregator/src/main.cpp:115

Reported using DrKonqi
Comment 1 Dario Andres 2009-07-31 14:58:50 UTC
Looks like you are using the webkitpart for browsing html files. Can you reproduce the crash using KHTML too ? Thanks
Comment 2 David Heidelberg 2009-07-31 15:59:34 UTC
it work with KHTML, so it's bug in webkit-kpart.
Comment 3 Dario Andres 2009-07-31 16:02:50 UTC
Thanks
Comment 4 Dawit Alemayehu 2009-10-23 18:22:33 UTC
The source of the cause for this crash was fixed before the kdelibs 4.3.1 release. Please update and re-open this ticket if the issue persists. Thanks for the report.