Bug 265838 - Crash when viewing Horde webmail in KWebWallet::KWebWalletPrivate::parseFormData
Summary: Crash when viewing Horde webmail in KWebWallet::KWebWalletPrivate::parseFormData
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdewebkit (show other bugs)
Version: 4.6
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 20:27 UTC by Will Stephenson
Modified: 2011-04-21 06:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Stephenson 2011-02-08 20:27:30 UTC
Version:           4.6.0 (using KDE 4.6.0) 
OS:                Linux


Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7faffe6bf750 (LWP 12165))]

Thread 2 (Thread 0x7fafde295910 (LWP 12224)):
#0  0x00007faffcfbc049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007faff376702e in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007faff3767149 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007faff07e9ae3 in ?? () from /usr/X11R6/lib64/libGL.so.1
#4  0x00007faffcfb765d in start_thread () from /lib64/libpthread.so.0
#5  0x00007faffbd3becd in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7faffe6bf750 (LWP 12165)):
[KCrash Handler]
#6  0x00007faff15c694f in KWebWallet::KWebWalletPrivate::parseFormData (this=<value optimized out>, frame=<value optimized out>, fillform=<value optimized out>, ignorepasswd=<value optimized out>)
    at /usr/src/debug/kdelibs-4.6.0/kdewebkit/kwebwallet.cpp:136
#7  0x00007faff15cd29d in KWebWallet::fillFormData (this=0x110f210, frame=0x110e6e0, recursive=true) at /usr/src/debug/kdelibs-4.6.0/kdewebkit/kwebwallet.cpp:359
#8  0x00007fafde4d3472 in WebKitPart::loadFinished(bool) () from /usr/lib64/libkwebkit.so.1
#9  0x00007fafde4d36db in WebKitPart::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkwebkit.so.1
#10 0x00007faffd352ee7 in QMetaObject::activate (sender=0xfb0a20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7faff0a504e8) at kernel/qobject.cpp:3272
#11 0x00007faff34f3862 in QWebView::loadFinished(bool) () from /usr/lib64/libQtWebKit.so.4
#12 0x00007faff34f469f in QWebView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtWebKit.so.4
#13 0x00007faff15c2455 in KWebView::qt_metacall (this=0x36003100310039, _c=587798336, _id=-255, _a=0x7faff0a504e8) at /usr/src/debug/kdelibs-4.6.0/build/kdewebkit/kwebview.moc:78
#14 0x00007fafde4cb4c8 in QWebPage::setForwardUnsupportedContent(bool) () from /usr/lib64/libkwebkit.so.1
#15 0x00007faffd352ee7 in QMetaObject::activate (sender=0xfb0170, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7faff0a504e8) at kernel/qobject.cpp:3272
#16 0x00007faff34e6242 in QWebPage::loadFinished(bool) () from /usr/lib64/libQtWebKit.so.4
#17 0x00007faff34f1797 in QWebPage::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtWebKit.so.4
#18 0x00007faff15cd0ea in KWebPage::qt_metacall (this=0x36003100310039, _c=587798336, _id=-255, _a=0x7faff0a504e8) at /usr/src/debug/kdelibs-4.6.0/build/kdewebkit/kwebpage.moc:84
#19 0x00007fafde4cb600 in QWebPage::setForwardUnsupportedContent(bool) () from /usr/lib64/libkwebkit.so.1
#20 0x00007faffd352ee7 in QMetaObject::activate (sender=0x110e510, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7faff0a504e8) at kernel/qobject.cpp:3272
#21 0x00007faff34ce0f2 in WebCore::FrameLoaderClientQt::loadFinished(bool) () from /usr/lib64/libQtWebKit.so.4
#22 0x00007faff34cf279 in WebCore::FrameLoaderClientQt::postProgressFinishedNotification() () from /usr/lib64/libQtWebKit.so.4
#23 0x00007faff32b39e5 in WebCore::ProgressTracker::finalProgressComplete() () from /usr/lib64/libQtWebKit.so.4
#24 0x00007faff32b3ab8 in WebCore::ProgressTracker::progressCompleted(WebCore::Frame*) () from /usr/lib64/libQtWebKit.so.4
#25 0x00007faff328d94d in WebCore::FrameLoader::checkLoadCompleteForThisFrame() () from /usr/lib64/libQtWebKit.so.4
#26 0x00007faff328ddb2 in WebCore::FrameLoader::recursiveCheckLoadComplete() () from /usr/lib64/libQtWebKit.so.4
#27 0x00007faff32baf70 in WebCore::SubresourceLoader::didFinishLoading() () from /usr/lib64/libQtWebKit.so.4
#28 0x00007faff34af38b in WebCore::QNetworkReplyHandler::finish() () from /usr/lib64/libQtWebKit.so.4
#29 0x00007faff34af934 in WebCore::QNetworkReplyHandler::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtWebKit.so.4
#30 0x00007faffd352ee7 in QMetaObject::activate (sender=0xbf4a30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7faff0a504e8) at kernel/qobject.cpp:3272
#31 0x00007faff67da8d3 in KDEPrivate::AccessManagerReply::slotResult (this=0xbf4a30, kJob=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/kio/kio/accessmanagerreply_p.cpp:301
#32 0x00007faff67db263 in KDEPrivate::AccessManagerReply::qt_metacall (this=0xbf4a30, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff23092a50)
    at /usr/src/debug/kdelibs-4.6.0/build/kio/accessmanagerreply_p.moc:83
#33 0x00007faffd352ee7 in QMetaObject::activate (sender=0xbf8af0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7faff0a504e8) at kernel/qobject.cpp:3272
#34 0x00007faffd726572 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#35 0x00007faffd72b640 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#36 0x00007faff68626f3 in KIO::SimpleJob::slotFinished (this=0xbf8af0) at /usr/src/debug/kdelibs-4.6.0/kio/kio/job.cpp:525
#37 0x00007faff688ba62 in KIO::TransferJob::slotFinished (this=0xbf8af0) at /usr/src/debug/kdelibs-4.6.0/kio/kio/job.cpp:1118
#38 0x00007faff68722d1 in KIO::TransferJob::qt_metacall (this=0xbf8af0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff23092e90) at /usr/src/debug/kdelibs-4.6.0/build/kio/jobclasses.moc:367
#39 0x00007faffd352ee7 in QMetaObject::activate (sender=0x11411f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7faff0a504e8) at kernel/qobject.cpp:3272
#40 0x00007faff68c1001 in KIO::SlaveInterface::dispatch (this=0x11411f0, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.6.0/kio/kio/slaveinterface.cpp:173
#41 0x00007faff678f733 in KIO::SlaveInterface::dispatch (this=0x11411f0) at /usr/src/debug/kdelibs-4.6.0/kio/kio/slaveinterface.cpp:89
#42 0x00007faff67d6ba6 in KIO::Slave::gotInput (this=0x11411f0) at /usr/src/debug/kdelibs-4.6.0/kio/kio/slave.cpp:348
#43 0x00007faff67d6d7c in KIO::Slave::qt_metacall (this=0x11411f0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff23093310) at /usr/src/debug/kdelibs-4.6.0/build/kio/slave.moc:82
#44 0x00007faffd352ee7 in QMetaObject::activate (sender=0x11416b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7faff0a504e8) at kernel/qobject.cpp:3272
#45 0x00007faff6791487 in KIO::ConnectionPrivate::dequeue (this=0xc841f0) at /usr/src/debug/kdelibs-4.6.0/kio/kio/connection.cpp:82
#46 0x00007faff679154d in KIO::Connection::qt_metacall (this=0x11416b0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x118f070) at /usr/src/debug/kdelibs-4.6.0/build/kio/connection.moc:79
#47 0x00007faffd34d63e in QObject::event (this=0x11416b0, e=0x36003100310039) at kernel/qobject.cpp:1211
#48 0x00007faffc49e20c in QApplicationPrivate::notify_helper (this=0x710470, receiver=0x11416b0, e=0x1193f20) at kernel/qapplication.cpp:4445
#49 0x00007faffc4a2d8d in QApplication::notify (this=0x7fff23093f10, receiver=0x11416b0, e=0x1193f20) at kernel/qapplication.cpp:4324
#50 0x00007faffe074636 in KApplication::notify (this=0x7fff23093f10, receiver=0x11416b0, event=0x1193f20) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#51 0x00007faffd33b1dc in QCoreApplication::notifyInternal (this=0x7fff23093f10, receiver=0x11416b0, event=0x1193f20) at kernel/qcoreapplication.cpp:732
#52 0x00007faffd33f06b in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#53 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1373
#54 0x00007faffd3677f3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#55 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:277
#56 0x00007faff8bbbdee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#57 0x00007faff8bbf7b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#58 0x00007faff8bbf8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#59 0x00007faffd367333 in QEventDispatcherGlib::processEvents (this=0x616ca0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#60 0x00007faffc54f52e in QGuiEventDispatcherGlib::processEvents (this=0x36003100310039, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00007faffd339f02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#62 0x00007faffd33a2ec in QEventLoop::exec (this=0x7fff23093d60, flags=) at kernel/qeventloop.cpp:201
#63 0x00007faffd33f2a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#64 0x00007fafed1123e4 in kdemain () from /usr/lib64/libkdeinit4_konqueror.so
#65 0x0000000000408087 in _start ()


Reproducible: Always

Steps to Reproduce:
Go to http://imap.suse.de
Comment 1 Will Stephenson 2011-02-08 20:27:55 UTC
Dawit, is there a better bugzilla component for kwebkit stuff?
Comment 2 Dawit Alemayehu 2011-02-09 22:34:07 UTC
(In reply to comment #1)
> Dawit, is there a better bugzilla component for kwebkit stuff?

No. This is the correct component for this report since it involves a crash in a class that is part of kdelibs/kdewebkit. If the issue was kwebkitpart specific then there is "kwebkitpart/general".

More importantly though the code that fills forms has been scrapped and reimplemented for KDE 4.6.1 and up because of bug in QWebElement that prevents proper form filling when forms are laid out a certain way. IOW, the place where the back trace shows the crash occurred is no more in both KDE/master and KDE/4.6 branches.

Is there anyone you can try one of those versions ? For the record, just going to the link you provided does not cause a crash here with the KDE/master.
Comment 3 Will Stephenson 2011-02-09 23:09:36 UTC
Yes, I can test 4.6 branch tomorrow.
Comment 4 Dawit Alemayehu 2011-02-28 07:51:43 UTC
Will, can this bug report be closed or do you still experience similar crashes ?
Comment 5 Dawit Alemayehu 2011-04-21 06:17:38 UTC
Closing as being fixed. Please reopen the ticket if the problem persists in KDE 4.6.1 and up.