Summary: | Crash on specific website (Webkit only) [testcase] | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Rolf Eike Beer <kde> |
Component: | kdewebkit | Assignee: | webkit-devel |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | adawit |
Priority: | NOR | Keywords: | triaged |
Version: | 4.7 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.8.0 | |
Sentry Crash Report: |
Description
Rolf Eike Beer
2011-11-28 18:14:58 UTC
Another backtrace using Qt 4.8, KDE master from last week, 64bit: Thread 1 (Thread 0x7ff040ae0760 (LWP 4135)): [KCrash Handler] #6 0x00007ff033c68c2d in void WTF::deleteOwnedPtr<WebCore::QNetworkReplyWrapper>(WebCore::QNetworkReplyWrapper*) () from //opt/qt4/lib/libQtWebKit.so.4 #7 0x00007ff033c68648 in WTF::OwnPtr<WebCore::QNetworkReplyWrapper>::operator=(WTF::PassOwnPtr<WebCore::QNetworkReplyWrapper> const&) () from //opt/qt4/lib/libQtWebKit.so.4 #8 0x00007ff033c659f1 in WebCore::QNetworkReplyHandler::finish() () from //opt/qt4/lib/libQtWebKit.so.4 #9 0x00007ff033c63eae in WebCore::QNetworkReplyHandlerCallQueue::flush() () from //opt/qt4/lib/libQtWebKit.so.4 #10 0x00007ff033c63d91 in WebCore::QNetworkReplyHandlerCallQueue::push(void (WebCore::QNetworkReplyHandler::*)()) () from //opt/qt4/lib/libQtWebKit.so.4 #11 0x00007ff033c64e38 in WebCore::QNetworkReplyWrapper::didReceiveFinished() () from //opt/qt4/lib/libQtWebKit.so.4 #12 0x00007ff033c67df4 in WebCore::QNetworkReplyWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from //opt/qt4/lib/libQtWebKit.so.4 #13 0x00007ff03f28f955 in QMetaObject::activate (sender=0x3772a60, m=0x7ff03b94e300, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3547 #14 0x00007ff03b6dcda5 in QNetworkReply::finished (this=0x3772a60) at .moc/debug-shared/moc_qnetworkreply.cpp:166 #15 0x00007ff037d99460 in KDEPrivate::AccessManagerReply::slotResult (this=0x3772a60, kJob=0x916d20) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kio/kio/accessmanagerreply_p.cpp:366 #16 0x00007ff037d99ac0 in KDEPrivate::AccessManagerReply::qt_static_metacall (_o=0x3772a60, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffffc328f00) at /encrypted/home/andris/development/build/kde-trunk/kdelibs/kio/accessmanagerreply_p.moc:61 #17 0x00007ff03f28f955 in QMetaObject::activate (sender=0x916d20, m=0x7ff03fe1e420, local_signal_index=3, argv=0x7ffffc328f00) at kernel/qobject.cpp:3547 #18 0x00007ff03fa38c09 in KJob::result (this=0x916d20, _t1=0x916d20) at /encrypted/home/andris/development/build/kde-trunk/kdelibs/kdecore/kjob.moc:208 #19 0x00007ff03fa380cd in KJob::emitResult (this=0x916d20) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kdecore/jobs/kjob.cpp:312 #20 0x00007ff037dd62c2 in KIO::SimpleJob::slotFinished (this=0x916d20) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kio/kio/job.cpp:494 #21 0x00007ff037dd90ca in KIO::TransferJob::slotFinished (this=0x916d20) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kio/kio/job.cpp:1081 #22 0x00007ff037de1171 in KIO::TransferJob::qt_static_metacall (_o=0x916d20, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffffc329340) at /encrypted/home/andris/development/build/kde-trunk/kdelibs/kio/jobclasses.moc:388 #23 0x00007ff03f28f955 in QMetaObject::activate (sender=0x17afba0, m=0x7ff038204420, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3547 #24 0x00007ff037e95df5 in KIO::SlaveInterface::finished (this=0x17afba0) at /encrypted/home/andris/development/build/kde-trunk/kdelibs/kio/slaveinterface.moc:185 #25 0x00007ff037e9339c in KIO::SlaveInterface::dispatch (this=0x17afba0, _cmd=104, rawdata=...) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kio/kio/slaveinterface.cpp:172 #26 0x00007ff037e92fef in KIO::SlaveInterface::dispatch (this=0x17afba0) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kio/kio/slaveinterface.cpp:88 #27 0x00007ff037e884fa in KIO::Slave::gotInput (this=0x17afba0) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kio/kio/slave.cpp:344 #28 0x00007ff037e896c8 in KIO::Slave::qt_static_metacall (_o=0x17afba0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7ffffc329880) at /encrypted/home/andris/development/build/kde-trunk/kdelibs/kio/slave.moc:57 #29 0x00007ff03f28f955 in QMetaObject::activate (sender=0x3b66610, m=0x7ff0381fd700, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547 #30 0x00007ff037da4925 in KIO::Connection::readyRead (this=0x3b66610) at /encrypted/home/andris/development/build/kde-trunk/kdelibs/kio/connection.moc:106 #31 0x00007ff037da13b0 in KIO::ConnectionPrivate::dequeue (this=0x42b9a70) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kio/kio/connection.cpp:82 #32 0x00007ff037da47cd in KIO::Connection::qt_static_metacall (_o=0x3b66610, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x935200) at /encrypted/home/andris/development/build/kde-trunk/kdelibs/kio/connection.moc:56 #33 0x00007ff03f28914b in QMetaCallEvent::placeMetaCall (this=0x21f46b0, object=0x3b66610) at kernel/qobject.cpp:525 #34 0x00007ff03f28a3e6 in QObject::event (this=0x3b66610, e=0x21f46b0) at kernel/qobject.cpp:1195 #35 0x00007ff03e0a6044 in QApplicationPrivate::notify_helper (this=0x760eb0, receiver=0x3b66610, e=0x21f46b0) at kernel/qapplication.cpp:4550 #36 0x00007ff03e0a3668 in QApplication::notify (this=0x7ffffc32a880, receiver=0x3b66610, e=0x21f46b0) at kernel/qapplication.cpp:3932 #37 0x00007ff0404089b3 in KApplication::notify (this=0x7ffffc32a880, receiver=0x3b66610, event=0x21f46b0) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:311 #38 0x00007ff03f2711c5 in QCoreApplication::notifyInternal (this=0x7ffffc32a880, receiver=0x3b66610, event=0x21f46b0) at kernel/qcoreapplication.cpp:876 #39 0x00007ff03f274cd7 in QCoreApplication::sendEvent (receiver=0x3b66610, event=0x21f46b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #40 0x00007ff03f2721e0 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x61aad0) at kernel/qcoreapplication.cpp:1500 #41 0x00007ff03f271e01 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393 #42 0x00007ff03f2ae4dd in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #43 0x00007ff03f2ad497 in postEventSourceDispatch (s=0x7639d0) at kernel/qeventdispatcher_glib.cpp:279 #44 0x00007ff03961358d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #45 0x00007ff039613d88 in ?? () from /usr/lib64/libglib-2.0.so.0 #46 0x00007ff039613f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #47 0x00007ff03f2add85 in QEventDispatcherGlib::processEvents (this=0x61bec0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #48 0x00007ff03e17f46e in QGuiEventDispatcherGlib::processEvents (this=0x61bec0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #49 0x00007ff03f26ea2a in QEventLoop::processEvents (this=0x7ffffc32a6a0, flags=...) at kernel/qeventloop.cpp:149 #50 0x00007ff03f26ebb4 in QEventLoop::exec (this=0x7ffffc32a6a0, flags=...) at kernel/qeventloop.cpp:204 #51 0x00007ff03f271846 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148 #52 0x00007ff03e0a3252 in QApplication::exec () at kernel/qapplication.cpp:3811 #53 0x00007ff02bb715b2 in kdemain (argc=<optimized out>, argv=<optimized out>) at /encrypted/home/andris/development/sources/kde-trunk/kde-baseapps/konqueror/src/konqmain.cpp:227 #54 0x00000000004073b3 in launch (argc=4, _name=0x70b9c8 "konqueror", args=0x70ba12 "/encrypted/home/andris/Documents", cwd=0x70ba12 "/encrypted/home/andris/Documents", envc=92, envs=0x70c6b6 "", reset_env=true, tty=0x0, avoid_loops=false, startup_id_str=0x70c6be "stein;1322204238;391949;26262_TIME157634842") at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kinit/kinit.cpp:734 #55 0x00000000004084c1 in handle_launcher_request (sock=14, who=0x40db44 "wrapper") at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kinit/kinit.cpp:1226 #56 0x0000000000408d02 in handle_requests (waitForPid=0) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kinit/kinit.cpp:1410 #57 0x000000000040a843 in main (argc=4, argv=0x7ffffc32bbb8, envp=0x7ffffc32bbe0) at /encrypted/home/andris/development/sources/kde-trunk/kdelibs/kinit/kinit.cpp:1907 This is caused by an upstream issue. Opened a ticket and provided a patch against QtWebKit there. See https://bugs.webkit.org/show_bug.cgi?id=74108. (In reply to comment #2) > This is caused by an upstream issue. Opened a ticket and provided a patch > against QtWebKit there. See https://bugs.webkit.org/show_bug.cgi?id=74108. Bug is not upstream even though the backtrace seems to indicate that way. Git commit 462a06ea08d2ece143fe0daa59ceb8523ed0b763 by Dawit Alemayehu. Committed on 17/01/2012 at 21:12. Pushed by adawit into branch 'KDE/4.8'. Avoid using a nested event loops for synchronous XMLHttpRequest by letting Qt's networking code, which can block without a need for a local event loop, deal with such requests. Related: bug 231932 FIXED-IN: 4.8.0 M +14 -12 kio/kio/accessmanager.cpp http://commits.kde.org/kdelibs/462a06ea08d2ece143fe0daa59ceb8523ed0b763 Git commit cbb00baee6fb8ff1af4f4b00786f3e2d132a3fbc by Sebastian Trueg, on behalf of Dawit Alemayehu. Committed on 17/01/2012 at 21:12. Pushed by trueg into branch 'KDE/4.8'. Avoid using a nested event loops for synchronous XMLHttpRequest by letting Qt's networking code, which can block without a need for a local event loop, deal with such requests. Related: bug 231932 FIXED-IN: 4.8.0 M +14 -12 kio/kio/accessmanager.cpp http://commits.kde.org/kdelibs/cbb00baee6fb8ff1af4f4b00786f3e2d132a3fbc Git commit 2cf247f4ebdee44d0620e57f9cd17fa963b36b73 by Dawit Alemayehu. Committed on 11/05/2012 at 19:35. Pushed by adawit into branch 'KDE/4.8'. Revert commit 462a06ea as it causes many regressions. Use KIO::synchronousRun to fulfill synchrounous XmlHttpRequest instead. Unofrtunately this means that the fix for the crash reported in bug# 287778 is reverted until we can find a solution for the side effects of using nested event loops. Related: bug 297954, bug 299590, bug 299710 FIXED-IN: 4.8.4 M +63 -37 kio/kio/accessmanager.cpp M +1 -0 kio/kio/accessmanager.h M +126 -81 kio/kio/accessmanagerreply_p.cpp M +22 -8 kio/kio/accessmanagerreply_p.h http://commits.kde.org/kdelibs/2cf247f4ebdee44d0620e57f9cd17fa963b36b73 @Rolf unfortunately the example site provided was changed and I can no longer reproduce the crash. Do you still want this bug to be kept open ? I don't think it is of much value currently. I think the bug is still there, but we know we can't reproduce it for the moment. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |