Bug 265765 - Loading site causes Konqueror to crash
Summary: Loading site causes Konqueror to crash
Status: RESOLVED FIXED
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 06:32 UTC by Darin McBride
Modified: 2011-02-14 03:12 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 Darin McBride 2011-02-08 06:32:32 UTC
Version:           4.6.0 (using KDE 4.6.0) 
OS:                Linux

I clicked on a link in choqok (twitter client), through bit.ly, and it doesn't fully load before dying.  Specifically, http://bit.ly/g6pj3I - I don't know (yet) if this is SFW.

Note that I'm using the View mode of Webkit, not KHTML.  Not sure if that's relevant.

Reproducible: Always

Steps to Reproduce:
Click on bit.ly link, new browser comes up, crash.  Running that from the konsole crashes, too, unsurprisingly.
Comment 1 Darin McBride 2011-02-08 06:44:09 UTC
Should add the backtrace.  I'm running KDE 4.6.0, Qt 4.7.1


Application: Konqueror (konqueror), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc639db6760 (LWP 25774))]

Thread 8 (Thread 0x7fc628260710 (LWP 25775)):
#0  0x00007fc6339d05c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc636f25318 in wait (this=<value optimized out>, mutex=0x16e0bf0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x16e0bf0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc636f1883e in QThreadPoolThread::run (this=0x16dfda0) at concurrent/qthreadpool.cpp:140
#4  0x00007fc636f244d7 in QThreadPrivate::start (arg=0x16dfda0) at thread/qthread_unix.cpp:285
#5  0x00007fc6339cb8c4 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc6396591dd in clone () from /lib/libc.so.6

Thread 7 (Thread 0x7fc61f131710 (LWP 25776)):
#0  0x00007fc6339d025c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc625f48cad in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fc625f48db9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007fc6339cb8c4 in start_thread () from /lib/libpthread.so.0
#4  0x00007fc6396591dd in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7fc61db22710 (LWP 25778)):
#0  0x00007fc6339d05c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc636f25318 in wait (this=<value optimized out>, mutex=0x1c1a180, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c1a180, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc636f1883e in QThreadPoolThread::run (this=0x1b42fd0) at concurrent/qthreadpool.cpp:140
#4  0x00007fc636f244d7 in QThreadPrivate::start (arg=0x1b42fd0) at thread/qthread_unix.cpp:285
#5  0x00007fc6339cb8c4 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc6396591dd in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7fc611217710 (LWP 25795)):
#0  0x00007fc6339d05c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc636f25318 in wait (this=<value optimized out>, mutex=0x1c1a180, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c1a180, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc636f1883e in QThreadPoolThread::run (this=0x1f6d190) at concurrent/qthreadpool.cpp:140
#4  0x00007fc636f244d7 in QThreadPrivate::start (arg=0x1f6d190) at thread/qthread_unix.cpp:285
#5  0x00007fc6339cb8c4 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc6396591dd in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7fc610a16710 (LWP 25798)):
#0  0x00007fc6339d05c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc636f25318 in wait (this=<value optimized out>, mutex=0x1c1a180, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c1a180, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc636f1883e in QThreadPoolThread::run (this=0x1d8de70) at concurrent/qthreadpool.cpp:140
#4  0x00007fc636f244d7 in QThreadPrivate::start (arg=0x1d8de70) at thread/qthread_unix.cpp:285
#5  0x00007fc6339cb8c4 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc6396591dd in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7fc60bfff710 (LWP 25799)):
#0  0x00007fc6339d05c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc636f25318 in wait (this=<value optimized out>, mutex=0x1c1a180, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c1a180, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc636f1883e in QThreadPoolThread::run (this=0x7fc604018b70) at concurrent/qthreadpool.cpp:140
#4  0x00007fc636f244d7 in QThreadPrivate::start (arg=0x7fc604018b70) at thread/qthread_unix.cpp:285
#5  0x00007fc6339cb8c4 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc6396591dd in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7fc60b7fe710 (LWP 25800)):
#0  0x00007fc6339d05c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc636f25318 in wait (this=<value optimized out>, mutex=0x1c1a180, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c1a180, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc636f1883e in QThreadPoolThread::run (this=0x7fc604019830) at concurrent/qthreadpool.cpp:140
#4  0x00007fc636f244d7 in QThreadPrivate::start (arg=0x7fc604019830) at thread/qthread_unix.cpp:285
#5  0x00007fc6339cb8c4 in start_thread () from /lib/libpthread.so.0
#6  0x00007fc6396591dd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7fc639db6760 (LWP 25774)):
[KCrash Handler]
#6  operator-> (this=0x20) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:112
#7  QHostAddress::isNull (this=0x20) at kernel/qhostaddress.cpp:858
#8  0x00007fc6269528b1 in WebSslInfo::isValid() const () from /usr/lib/libkwebkit.so.1
#9  0x00007fc62693eb73 in KWebKitPartPrivate::slotSaveFrameState(QWebFrame*, QWebHistoryItem*) () from /usr/lib/libkwebkit.so.1
#10 0x00007fc626943ccc in KWebKitPartPrivate::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkwebkit.so.1
#11 0x00007fc63705878f in QMetaObject::activate (sender=0x7fc604027050, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xe820) at kernel/qobject.cpp:3272
#12 0x00007fc625cd3ccb in QWebPage::saveFrameStateRequested(QWebFrame*, QWebHistoryItem*) () from /usr/lib64/qt4/libQtWebKit.so.4
#13 0x00007fc625cbbb6c in WebCore::FrameLoaderClientQt::saveViewStateToItem(WebCore::HistoryItem*) () from /usr/lib64/qt4/libQtWebKit.so.4
#14 0x00007fc625a7ff9f in WebCore::HistoryController::saveScrollPositionAndViewStateToItem(WebCore::HistoryItem*) () from /usr/lib64/qt4/libQtWebKit.so.4
#15 0x00007fc625a737eb in WebCore::FrameLoader::detachFromParent() () from /usr/lib64/qt4/libQtWebKit.so.4
#16 0x00007fc625ce1ca2 in QWebPage::~QWebPage() () from /usr/lib64/qt4/libQtWebKit.so.4
#17 0x00007fc62694c999 in WebPage::~WebPage() () from /usr/lib/libkwebkit.so.1
#18 0x00007fc625ce3603 in QWebView::~QWebView() () from /usr/lib64/qt4/libQtWebKit.so.4
#19 0x00007fc6269478ed in WebView::~WebView() () from /usr/lib/libkwebkit.so.1
#20 0x00007fc637050d90 in QObjectPrivate::deleteChildren (this=0x7fc60402de90) at kernel/qobject.cpp:1949
#21 0x00007fc636038deb in QWidget::~QWidget (this=0x7fc604026e50, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1600
#22 0x00007fc637051340 in QObject::event (this=0x7fc604026e50, e=0x0) at kernel/qobject.cpp:1194
#23 0x00007fc6360333be in QWidget::event (this=0x7fc604026e50, event=0x1eddb10) at kernel/qwidget.cpp:8659
#24 0x00007fc635fce170 in QApplicationPrivate::notify_helper (this=0x1589700, receiver=0x7fc604026e50, e=0x1eddb10) at kernel/qapplication.cpp:4445
#25 0x00007fc635fdba19 in QApplication::notify (this=0x7fff8e0c98b0, receiver=<value optimized out>, e=0x1eddb10) at kernel/qapplication.cpp:4324
#26 0x00007fc637ac7481 in KApplication::notify (this=0x7fff8e0c98b0, receiver=0x7fc604026e50, event=0x1eddb10) at /var/tmp/portage/kde-base/kdelibs-4.6.0-r1/work/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#27 0x00007fc63703a9ab in QCoreApplication::notifyInternal (this=0x7fff8e0c98b0, receiver=0x7fc604026e50, event=0x1eddb10) at kernel/qcoreapplication.cpp:732
#28 0x00007fc63703f71b in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x156c350) at kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x156c350) at kernel/qcoreapplication.cpp:1373
#30 0x00007fc63706f513 in sendPostedEvents (s=0x158d340) at kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=0x158d340) at kernel/qeventdispatcher_glib.cpp:277
#32 0x00007fc631ba3dfe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007fc631ba46f8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#34 0x00007fc631ba48bc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0x00007fc63706f163 in QEventDispatcherGlib::processEvents (this=0x156be60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#36 0x00007fc63609bbce in QGuiEventDispatcherGlib::processEvents (this=0x20, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fc6370395a2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007fc637039985 in QEventLoop::exec (this=0x7fff8e0c96f0, flags=) at kernel/qeventloop.cpp:201
#39 0x00007fc63703fa2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#40 0x00007fc63999bbd4 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/konqueror-4.6.0/work/konqueror-4.6.0/konqueror/src/konqmain.cpp:219
#41 0x00007fc6395a6bbd in __libc_start_main () from /lib/libc.so.6
#42 0x0000000000400799 in _start ()
Comment 2 Dawit Alemayehu 2011-02-13 04:38:27 UTC
Cannot duplication this in kwebkitpart v1.1. Tried several combination to try and replicate the problem, but I could not. What version of kwebkitpart are you using ?
Comment 3 Darin McBride 2011-02-13 04:53:52 UTC
Where is kwebkitpart 1.1?  From http://opendesktop.org/content/show.php?content=127960 the latest I see is 0.9.6 beta (which, I believe, is the version I'm running).  Perhaps this is fixed, then - but no more-recent version has been released?
Comment 4 Dawit Alemayehu 2011-02-13 21:07:22 UTC
(In reply to comment #3)
> Where is kwebkitpart 1.1?  From
> http://opendesktop.org/content/show.php?content=127960 the latest I see is
> 0.9.6 beta (which, I believe, is the version I'm running).  Perhaps this is
> fixed, then - but no more-recent version has been released?

Unfortunately kwebkitpart 1.1 currently can only be retreived from git right now.  See

https://projects.kde.org/news/21 

as well as 

https://projects.kde.org/projects/extragear/base/kwebkitpart/repository/show?rev=1.1

Perhaps at some point in the future I will have the time to package it up and put it somewhere in a kde ftp site.
Comment 5 Darin McBride 2011-02-14 01:58:44 UTC
It appears that when I update to the kwebkitpart from git (thankfully, Gentoo makes this easy by providing a git-based kwebkitpart ebuild), I can now go to this site just fine.  Unfortunately, the site is not nearly as interesting as I had hoped, but that's not kwebkitpart's fault :-)  Thanks!

I do find it interesting, though, that you skipped 1.0?

I look forward to moving to an official release once it is made.

Thanks,
Comment 6 Dawit Alemayehu 2011-02-14 03:12:31 UTC
(In reply to comment #5)
> It appears that when I update to the kwebkitpart from git (thankfully, Gentoo
> makes this easy by providing a git-based kwebkitpart ebuild), I can now go to
> this site just fine.  Unfortunately, the site is not nearly as interesting as I
> had hoped, but that's not kwebkitpart's fault :-)  Thanks!
> 
> I do find it interesting, though, that you skipped 1.0?

That was done on purpose to avoid version mix up with the very old kwebkitpart which acidentally started out life at 1.0 and then was bumped down to 0.9.5 and released for the first time as 0.9.6. Confusing right. Well then calling this new release 1.0 would have been even more confusing since there was a non-official v1.0 at some point before ; hence the version jump 1.1.