Bug 202618 - Konqueror crashes randomly while surfing (KHTMLPart::slotChildStarted, KParts::ReadOnlyPart::started, KHTMLRun)
Summary: Konqueror crashes randomly while surfing (KHTMLPart::slotChildStarted, KParts...
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 203588 203864 203929 203945 204550 205577 206536 207096 207119 211443 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-05 13:33 UTC by Skander Morgenthaler
Modified: 2009-10-22 15:37 UTC (History)
9 users (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 Skander Morgenthaler 2009-08-05 13:33:14 UTC
Application that crashed: konqueror
Version of the application: 4.3.00 (KDE 4.3.0)
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-gentoo-r4 x86_64

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 0 (LWP 2604)]

Thread 5 (Thread 0x7f8266ffd910 (LWP 875)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f827f724cb7 in QWaitCondition::wait (this=0x303f7c8, mutex=0x303f7c0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f827f71bd11 in QThreadPoolThread::run (this=0x303a720) at concurrent/qthreadpool.cpp:140
#3  0x00007f827f723fa4 in QThreadPrivate::start (arg=0x303a720) at thread/qthread_unix.cpp:188
#4  0x00007f827f4b2654 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f827c0f21ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8267fff910 (LWP 876)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f827f724cb7 in QWaitCondition::wait (this=0x303f7c8, mutex=0x303f7c0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f827f71bd11 in QThreadPoolThread::run (this=0x301dfd0) at concurrent/qthreadpool.cpp:140
#3  0x00007f827f723fa4 in QThreadPrivate::start (arg=0x301dfd0) at thread/qthread_unix.cpp:188
#4  0x00007f827f4b2654 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f827c0f21ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f826cc84910 (LWP 877)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f827f724cb7 in QWaitCondition::wait (this=0x303f7c8, mutex=0x303f7c0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f827f71bd11 in QThreadPoolThread::run (this=0x33ee270) at concurrent/qthreadpool.cpp:140
#3  0x00007f827f723fa4 in QThreadPrivate::start (arg=0x33ee270) at thread/qthread_unix.cpp:188
#4  0x00007f827f4b2654 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f827c0f21ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f82677fe910 (LWP 943)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f827f724cb7 in QWaitCondition::wait (this=0x303f7c8, mutex=0x303f7c0, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f827f71bd11 in QThreadPoolThread::run (this=0x303f970) at concurrent/qthreadpool.cpp:140
#3  0x00007f827f723fa4 in QThreadPrivate::start (arg=0x303f970) at thread/qthread_unix.cpp:188
#4  0x00007f827f4b2654 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f827c0f21ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f827fcac750 (LWP 2604)):
[KCrash Handler]
#5  KHTMLPart::slotChildStarted (this=0x740cc50, job=0x0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_part.cpp:4911
#6  0x00007f826f190e34 in KHTMLPart::qt_metacall (this=0x740cc50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8d443260)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0_build/khtml/khtml_part.moc:316
#7  0x00007f827f80a560 in QMetaObject::activate (sender=0x12cbbce0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x0) at kernel/qobject.cpp:3101
#8  0x00007f827edf90cf in KParts::ReadOnlyPart::started (this=0x722ade8, _t1=0x0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0_build/kparts/part.moc:201
#9  0x00007f826f1988dd in KHTMLRun (this=0x6c26650, part=0x12cbbce0, child=0xc0c09d0, url=@0x7fff8d443820, args=@0xc0c0a30, browserArgs=@0xc0c0a38, hideErrorDialog=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_run.cpp:43
#10 0x00007f826f18e619 in KHTMLPart::requestObject (this=<value optimized out>, child=0xc0c09d0, url=<value optimized out>, _args=<value optimized out>, browserArgs=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_part.cpp:4243
#11 0x00007f826f19137f in KHTMLPart::requestFrame (this=0x12cbbce0, frame=<value optimized out>, url=<value optimized out>, frameName=<value optimized out>, params=<value optimized out>, 
    isIFrame=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_part.cpp:4161
#12 0x00007f826f240837 in DOM::HTMLIFrameElementImpl::computeContent (this=0x1324dd20) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/html/html_baseimpl.cpp:784
#13 0x00007f826f21a623 in khtml::KHTMLParser::popOneBlock (this=0xbecd5e0, delBlock=true) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/html/htmlparser.cpp:1863
#14 0x00007f826f21a80d in khtml::KHTMLParser::freeBlock (this=0xbecd5e0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/html/htmlparser.cpp:1896
#15 0x00007f826f21ab77 in ~KHTMLParser (this=0x722ade8) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/html/htmlparser.cpp:191
#16 0x00007f826f222eb1 in ~HTMLTokenizer (this=0xbd16900) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/html/htmltokenizer.cpp:2081
#17 0x00007f826f1cc3a7 in DOM::DocumentImpl::detach (this=0x12dc8b10) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/xml/dom_docimpl.cpp:1535
#18 0x00007f826f16c1da in KHTMLPart::clear (this=0x12cbbce0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_part.cpp:1557
#19 0x00007f826f18234f in ~KHTMLPart (this=0x12cbbce0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_part.cpp:607
#20 0x00007f826f16be77 in KHTMLPart::clear (this=0x740cc50) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_part.cpp:1596
#21 0x00007f826f18234f in ~KHTMLPart (this=0x740cc50) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_part.cpp:607
#22 0x00007f826f16be77 in KHTMLPart::clear (this=0x1d4c6c0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_part.cpp:1596
#23 0x00007f826f16c2f7 in KHTMLPart::begin (this=0x1d4c6c0, url=@0x1d83dc8, xOffset=0, yOffset=0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_part.cpp:2009
#24 0x00007f826f169c78 in KHTMLPart::slotData (this=0x1d4c6c0, kio_job=<value optimized out>, data=@0x7fff8d444770)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/khtml/khtml_part.cpp:1703
#25 0x00007f826f190c80 in KHTMLPart::qt_metacall (this=0x1d4c6c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8d444400)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0_build/khtml/khtml_part.moc:271
#26 0x00007f827f80a560 in QMetaObject::activate (sender=0x7630270, from_signal_index=<value optimized out>, to_signal_index=40, argv=0x0) at kernel/qobject.cpp:3101
#27 0x00007f827e6e56f4 in KIO::TransferJob::data (this=0x722ade8, _t1=0x7630270, _t2=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0_build/kio/jobclasses.moc:364
#28 0x00007f827e6ead3e in KIO::TransferJob::qt_metacall (this=0x7630270, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8d444540)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0_build/kio/jobclasses.moc:344
#29 0x00007f827f80a560 in QMetaObject::activate (sender=0xdb6d0e0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3101
#30 0x00007f827e7a97e2 in KIO::SlaveInterface::data (this=0x722ade8, _t1=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0_build/kio/slaveinterface.moc:140
#31 0x00007f827e7ad1d8 in KIO::SlaveInterface::dispatch (this=0xdb6d0e0, _cmd=100, rawdata=@0x7fff8d444770)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kio/kio/slaveinterface.cpp:163
#32 0x00007f827e7a9aac in KIO::SlaveInterface::dispatch (this=0xdb6d0e0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kio/kio/slaveinterface.cpp:91
#33 0x00007f827e79c8e1 in KIO::Slave::gotInput (this=0xdb6d0e0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kio/kio/slave.cpp:322
#34 0x00007f827e79e87c in KIO::Slave::qt_metacall (this=0xdb6d0e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8d4448e0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0_build/kio/slave.moc:76
#35 0x00007f827f80a560 in QMetaObject::activate (sender=0xdb70c20, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3101
#36 0x00007f827e6b98ed in KIO::ConnectionPrivate::dequeue (this=0xe612740) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kio/kio/connection.cpp:82
#37 0x00007f827e6b99f5 in KIO::Connection::qt_metacall (this=0xdb70c20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x4864ad0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0_build/kio/connection.moc:73
#38 0x00007f827f807269 in QObject::event (this=0xdb70c20, e=0x132d5d40) at kernel/qobject.cpp:1099
#39 0x00007f827ccc2ab4 in QApplicationPrivate::notify_helper (this=0x1858000, receiver=0xdb70c20, e=0x132d5d40) at kernel/qapplication.cpp:4056
#40 0x00007f827ccc8877 in QApplication::notify (this=0x7fff8d445400, receiver=0xdb70c20, e=0x132d5d40) at kernel/qapplication.cpp:4021
#41 0x00007f827dcbb8e8 in KApplication::notify (this=0x7fff8d445400, receiver=0xdb70c20, event=0x132d5d40)
    at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kdeui/kernel/kapplication.cpp:302
#42 0x00007f827f7f85cb in QCoreApplication::notifyInternal (this=0x7fff8d445400, receiver=0xdb70c20, event=0x132d5d40) at kernel/qcoreapplication.cpp:606
#43 0x00007f827f7f8ef6 in QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=0, data=0x1805de0) at kernel/qcoreapplication.h:213
#44 0x00007f827f81dd93 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#45 0x00007f827b755503 in IA__g_main_context_dispatch (context=0x185a910) at gmain.c:1824
#46 0x00007f827b758be0 in g_main_context_iterate (context=0x185a910, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2455
#47 0x00007f827b758d08 in IA__g_main_context_iteration (context=0x185a910, may_block=1) at gmain.c:2518
#48 0x00007f827f81da0f in QEventDispatcherGlib::processEvents (this=0x1858230, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#49 0x00007f827cd48926 in QGuiEventDispatcherGlib::processEvents (this=0x722ade8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#50 0x00007f827f7f6f52 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1924902464}) at kernel/qeventloop.cpp:149
#51 0x00007f827f7f70fc in QEventLoop::exec (this=0x7fff8d445200, flags={i = -1924902384}) at kernel/qeventloop.cpp:197
#52 0x00007f827f7f917c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#53 0x00007f8274ba6e31 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/konqueror-4.3.0/work/konqueror-4.3.0/konqueror/src/konqmain.cpp:257
#54 0x000000000040726b in launch (argc=3, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=24, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a77d "0") at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:676
#55 0x0000000000407f20 in handle_launcher_request (sock=7, who=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:1168
#56 0x00000000004083f1 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:1361
#57 0x0000000000409079 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/kinit/kinit.cpp:1788

Reported using DrKonqi
Comment 1 Skander Morgenthaler 2009-08-05 13:48:02 UTC
I am afraid I am not able to say what exactly I was doing, all I can say is that I have (seemingly randomly) crashes of konqueror quite often. In this particular case konqueror crashed again (without interaction) when I was restarting konqueror (telling it to restore the session), but after that second crash the session could be restored without problems. So in that case it might have been related to ads (propably flash ads).

One thing I wonder about is why there are paths of /var/tmp/portage/kde-base/kdelibs-4.3.0/work/kdelibs-4.3.0/* in the backtrace (Thread 1). That is the location where gentoo built kdelibs, but of course there are no files left anywhere close to that location after it was installed to the correct location. Is that normal (and wanted) behaviour?
Comment 2 Dario Andres 2009-08-05 14:54:48 UTC
Bug 198123 looks similar (it is about clicking "Back" ).

About the paths, yes, it shows the compilation path even when it is not there in the current system

Thanks
Comment 3 Dario Andres 2009-08-12 20:42:14 UTC
*** Bug 203588 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-08-16 20:50:29 UTC
*** Bug 203945 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-08-16 20:50:31 UTC
*** Bug 203929 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-08-16 20:50:33 UTC
*** Bug 203864 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-08-21 15:42:18 UTC
*** Bug 204550 has been marked as a duplicate of this bug. ***
Comment 8 Maksim Orlovich 2009-08-21 16:28:58 UTC
SVN commit 1014120 by orlovich:

Need to check for clearing case here too, not just in processObjectRequest, as we may start 
a KRun directly from here.
BUG:202618
BUG:198123
BUG:199284


 M  +6 -0      khtml_part.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1014120
Comment 9 Maksim Orlovich 2009-08-21 16:32:11 UTC
SVN commit 1014122 by orlovich:

automatically merged revision 1014120:
Need to check for clearing case here too, not just in processObjectRequest, as we may start 
a KRun directly from here.
BUG:202618
BUG:198123
BUG:199284

 M  +6 -0      khtml_part.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1014122
Comment 10 Dario Andres 2009-08-29 14:14:10 UTC
*** Bug 205577 has been marked as a duplicate of this bug. ***
Comment 11 Frank Reininghaus 2009-09-06 22:33:25 UTC
*** Bug 206536 has been marked as a duplicate of this bug. ***
Comment 12 Frank Reininghaus 2009-09-11 20:12:05 UTC
*** Bug 207096 has been marked as a duplicate of this bug. ***
Comment 13 Frank Reininghaus 2009-09-12 02:30:24 UTC
*** Bug 207119 has been marked as a duplicate of this bug. ***
Comment 14 Dario Andres 2009-10-22 15:37:53 UTC
*** Bug 211443 has been marked as a duplicate of this bug. ***