Bug 188871 - khtml kpart crashes konqueror (slotChildStarted)
Summary: khtml kpart crashes konqueror (slotChildStarted)
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.1.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 191588 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-05 12:28 UTC by john butts
Modified: 2009-06-20 23:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description john butts 2009-04-05 12:28:43 UTC
Version:           4.1.4 (using KDE 4.1.4)
OS:                Linux
Installed from:    Ubuntu Packages

Application: Konqueror (konqueror), signal SIGSEGV

Thread 1 (Thread 0xb5f2a6c0 (LWP 8008)):
[KCrash Handler]
#6  0xb273213e in KHTMLPart::slotChildStarted () from /usr/lib/libkhtml.so.5
#7  0xb27699f9 in KHTMLPart::qt_metacall () from /usr/lib/libkhtml.so.5
#8  0xb7359a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0xb735a7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb7c462e3 in KParts::ReadOnlyPart::started () from /usr/lib/libkparts.so.4
#11 0xb2771e3d in ?? () from /usr/lib/libkhtml.so.5
#12 0xb2761915 in KHTMLPart::requestObject () from /usr/lib/libkhtml.so.5
#13 0xb2763761 in KHTMLPart::requestObject () from /usr/lib/libkhtml.so.5
#14 0xb2839909 in ?? () from /usr/lib/libkhtml.so.5
#15 0xb2834d84 in ?? () from /usr/lib/libkhtml.so.5
#16 0xb27eeef8 in ?? () from /usr/lib/libkhtml.so.5
#17 0xb27ef0b8 in ?? () from /usr/lib/libkhtml.so.5
#18 0xb27ef406 in ?? () from /usr/lib/libkhtml.so.5
#19 0xb27fa1a9 in ?? () from /usr/lib/libkhtml.so.5
#20 0xb27a2706 in ?? () from /usr/lib/libkhtml.so.5
#21 0xb273e735 in KHTMLPart::clear () from /usr/lib/libkhtml.so.5
#22 0xb2757667 in KHTMLPart::~KHTMLPart () from /usr/lib/libkhtml.so.5
#23 0xb273e487 in KHTMLPart::clear () from /usr/lib/libkhtml.so.5
#24 0xb274305b in KHTMLPart::begin () from /usr/lib/libkhtml.so.5
#25 0xb27383a2 in KHTMLPart::slotRestoreData () from /usr/lib/libkhtml.so.5
#26 0xb2769be7 in KHTMLPart::qt_metacall () from /usr/lib/libkhtml.so.5
#27 0xb7359a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb735a7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb2794173 in ?? () from /usr/lib/libkhtml.so.5
#30 0xb27955c6 in ?? () from /usr/lib/libkhtml.so.5
#31 0xb279572d in ?? () from /usr/lib/libkhtml.so.5
#32 0xb7359a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#33 0xb735a7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#34 0xb735fdb7 in ?? () from /usr/lib/libQtCore.so.4
#35 0xb735fedc in ?? () from /usr/lib/libQtCore.so.4
#36 0xb735453f in QObject::event () from /usr/lib/libQtCore.so.4
#37 0xb68488ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#38 0xb685072e in QApplication::notify () from /usr/lib/libQtGui.so.4
#39 0xb7814d1d in KApplication::notify () from /usr/lib/libkdeui.so.5
#40 0xb7344e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#41 0xb7372d81 in ?? () from /usr/lib/libQtCore.so.4
#42 0xb736f520 in ?? () from /usr/lib/libQtCore.so.4
#43 0xb62bc718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb62bfdc3 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0xb62bff81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0xb736f478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#47 0xb68e2ea5 in ?? () from /usr/lib/libQtGui.so.4
#48 0xb734352a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#49 0xb73436ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#50 0xb7345da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#51 0xb6848767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#52 0xb7edb2dd in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#53 0x080485b2 in _start ()
Comment 1 A. Spehr 2009-04-05 12:39:16 UTC
Do you know what you were looking at when that happened? (url, etc) Can you reproduce it consistently? Can you tell us any more about how to reproduce the crash?

If you follow the instructions here, you can load debug symbols and give us a better backtrace:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Thanks!
Comment 2 Miroslav Ľos 2009-05-01 23:19:54 UTC
I have a very similar backtrace with debug info here. Sadly, I do not remember where exactly I had been when it happened, and was unable to reproduce it on any recently visited site. As you can see, I was closing konqueror at the time.
And bug #190712 really seems to be the same thing as ours.

Application: Konqueror (konqueror), signal SIGSEGV
0x00007f2f0544a491 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 11084)]

Thread 2 (Thread 0x7f2ef8a8e950 (LWP 11102)):
#0  0x00007f2f054714a2 in select () from /lib/libc.so.6
#1  0x00007f2f07fe3dc4 in QProcessManager::run (this=0x625a80) at io/qprocess_unix.cpp:305
#2  0x00007f2f07f15597 in QThreadPrivate::start (arg=0x625a80) at thread/qthread_unix.cpp:189
#3  0x00007f2f07ca1097 in start_thread () from /lib/libpthread.so.0
#4  0x00007f2f0547777d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2f0aa8c760 (LWP 11084)):
[KCrash Handler]
#5  0x00007f2efc59b6a1 in KHTMLPart::slotChildStarted (this=0xfb8410, job=0x0) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:4869
#6  0x00007f2efc5b92a3 in KHTMLPart::qt_metacall (this=0xfb8410, _c=QMetaObject::InvokeMetaMethod, _id=61, _a=0x7fff12acd330)
    at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs_build/khtml/khtml_part.moc:307
#7  0x00007f2f08016600 in QMetaObject::activate (sender=0xbb15b0, from_signal_index=7, to_signal_index=7, argv=0x7fff12acd330) at kernel/qobject.cpp:3057
#8  0x00007f2f08016a47 in QMetaObject::activate (sender=0xbb15b0, m=0x7f2f09eff140, local_signal_index=0, argv=0x7fff12acd330) at kernel/qobject.cpp:3134
#9  0x00007f2f09cd2eab in KParts::ReadOnlyPart::started (this=0xbb15b0, _t1=0x0) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs_build/kparts/part.moc:201
#10 0x00007f2efc5d336b in KHTMLRun (this=0x1032910, part=0xbb15b0, child=0x752be0, url=@0x7fff12acd7f0, args=@0x752c40, browserArgs=@0x752c48, hideErrorDialog=true)
    at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_run.cpp:43
#11 0x00007f2efc5ab830 in KHTMLPart::requestObject (this=0xbb15b0, child=0x752be0, url=@0x7fff12acd7f0, _args=@0x7fff12acd8e0, browserArgs=@0x7fff12acd8a0)
    at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:4208
#12 0x00007f2efc5b34ab in KHTMLPart::requestFrame (this=0xbb15b0, frame=0x43ac410, url=@0x7fff12acd950, frameName=@0x7fff12acd940, params=@0x7fff12acd930, isIFrame=true)
    at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:4130
#13 0x00007f2efc68cdc0 in DOM::HTMLIFrameElementImpl::computeContent (this=0x43ac410) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/html/html_baseimpl.cpp:784
#14 0x00007f2efc6ad8fd in DOM::HTMLPartContainerElementImpl::computeContentIfNeeded (this=0x43ac410) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/html/html_objectimpl.cpp:90
#15 0x00007f2efc6adbba in DOM::HTMLPartContainerElementImpl::close (this=0x43ac410) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/html/html_objectimpl.cpp:81
#16 0x00007f2efc662460 in khtml::KHTMLParser::popOneBlock (this=0x19442a0, delBlock=true) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/html/htmlparser.cpp:1758
#17 0x00007f2efc662564 in khtml::KHTMLParser::freeBlock (this=0x19442a0) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/html/htmlparser.cpp:1791
#18 0x00007f2efc6629bd in ~KHTMLParser (this=0x19442a0) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/html/htmlparser.cpp:191
#19 0x00007f2efc669b2d in ~HTMLTokenizer (this=0x3d531f0) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/html/htmltokenizer.cpp:2082
#20 0x00007f2efc609c4e in DOM::DocumentImpl::detach (this=0x2482360) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/xml/dom_docimpl.cpp:1544
#21 0x00007f2efc5afbee in KHTMLPart::clear (this=0xbb15b0) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:1548
#22 0x00007f2efc5be5ee in ~KHTMLPart (this=0xbb15b0) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:601
#23 0x00007f2efc5aff1a in KHTMLPart::clear (this=0xfb8410) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:1587
#24 0x00007f2efc5be5ee in ~KHTMLPart (this=0xfb8410) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/khtml/khtml_part.cpp:601
#25 0x00007f2f0a6007e0 in ~KonqView (this=0xb64810) at /var/tmp/portage/kde-base/konqueror-4.2.2/work/konqueror-4.2.2/konqueror/src/konqview.cpp:132
#26 0x00007f2f0a608a08 in KonqViewManager::clear (this=0x6c4ea0) at /var/tmp/portage/kde-base/konqueror-4.2.2/work/konqueror-4.2.2/konqueror/src/konqviewmanager.cpp:652
#27 0x00007f2f0a62fe80 in KonqMainWindow::stayPreloaded (this=0x7348f0) at /var/tmp/portage/kde-base/konqueror-4.2.2/work/konqueror-4.2.2/konqueror/src/konqmainwindow.cpp:5704
#28 0x00007f2f0a632acc in KonqMainWindow::queryExit (this=0x7348f0) at /var/tmp/portage/kde-base/konqueror-4.2.2/work/konqueror-4.2.2/konqueror/src/konqmainwindow.cpp:5162
#29 0x00007f2f08f285b3 in KMainWindow::closeEvent (this=0x7348f0, e=0x7fff12acf140) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/widgets/kmainwindow.cpp:598
#30 0x00007f2f0a642a44 in KonqMainWindow::closeEvent (this=0x7348f0, e=0x7fff12acf140) at /var/tmp/portage/kde-base/konqueror-4.2.2/work/konqueror-4.2.2/konqueror/src/konqmainwindow.cpp:5129
#31 0x00007f2f07225ed1 in QWidget::event (this=0x7348f0, event=0x7fff12acf140) at kernel/qwidget.cpp:7666
#32 0x00007f2f0762d4d7 in QMainWindow::event (this=0x7348f0, event=0x7fff12acf140) at widgets/qmainwindow.cpp:1396
#33 0x00007f2f08f2a909 in KMainWindow::event (this=0x7348f0, ev=0x7fff12acf140) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/widgets/kmainwindow.cpp:1094
#34 0x00007f2f08f682a3 in KXmlGuiWindow::event (this=0x7348f0, ev=0x7fff12acf140) at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/xmlgui/kxmlguiwindow.cpp:131
#35 0x00007f2f0a630455 in KonqMainWindow::event (this=0x7348f0, e=0x7fff12acf140) at /var/tmp/portage/kde-base/konqueror-4.2.2/work/konqueror-4.2.2/konqueror/src/konqmainwindow.cpp:5687
#36 0x00007f2f071ca0ff in QApplicationPrivate::notify_helper (this=0x621d30, receiver=0x7348f0, e=0x7fff12acf140) at kernel/qapplication.cpp:4084
#37 0x00007f2f071cc079 in QApplication::notify (this=0x7fff12ad0020, receiver=0x7348f0, e=0x7fff12acf140) at kernel/qapplication.cpp:4049
#38 0x00007f2f08e5950c in KApplication::notify (this=0x7fff12ad0020, receiver=0x7348f0, event=0x7fff12acf140)
    at /var/tmp/portage/kde-base/kdelibs-4.2.2-r1/work/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#39 0x00007f2f080021e8 in QCoreApplication::notifyInternal (this=0x7fff12ad0020, receiver=0x7348f0, event=0x7fff12acf140) at kernel/qcoreapplication.cpp:598
#40 0x00007f2f071d6239 in QCoreApplication::sendSpontaneousEvent (receiver=0x7348f0, event=0x7fff12acf140) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#41 0x00007f2f072216c7 in QWidgetPrivate::close_helper (this=0x7341d0, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7086
#42 0x00007f2f07233581 in QETWidget::translateCloseEvent (this=0x7348f0) at kernel/qapplication_x11.cpp:5307
#43 0x00007f2f072368f6 in QApplication::x11ClientMessage (this=0x7fff12ad0020, w=0x7348f0, event=0x7fff12acfa00, passive_only=false) at kernel/qapplication_x11.cpp:3082
#44 0x00007f2f07240a69 in QApplication::x11ProcessEvent (this=0x7fff12ad0020, event=0x7fff12acfa00) at kernel/qapplication_x11.cpp:3675
#45 0x00007f2f0726ecfb in x11EventSourceDispatch (s=0x6254f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007f2f03b56b48 in g_main_dispatch (context=0x623e20) at gmain.c:2144
#47 0x00007f2f03b582b8 in IA__g_main_context_dispatch (context=0x623e20) at gmain.c:2697
#48 0x00007f2f03b588fd in g_main_context_iterate (context=0x623e20, block=1, dispatch=1, self=0x621660) at gmain.c:2778
#49 0x00007f2f03b58b3e in IA__g_main_context_iteration (context=0x623e20, may_block=1) at gmain.c:2841
#50 0x00007f2f0802e540 in QEventDispatcherGlib::processEvents (this=0x60d460, flags=@0x7fff12acfe00) at kernel/qeventdispatcher_glib.cpp:323
#51 0x00007f2f0726e54b in QGuiEventDispatcherGlib::processEvents (this=0x60d460, flags=@0x7fff12acfe60) at kernel/qguieventdispatcher_glib.cpp:202
#52 0x00007f2f07fff228 in QEventLoop::processEvents (this=0x7fff12acff20, flags=@0x7fff12acfec0) at kernel/qeventloop.cpp:149
#53 0x00007f2f07fff435 in QEventLoop::exec (this=0x7fff12acff20, flags=@0x7fff12acff30) at kernel/qeventloop.cpp:196
#54 0x00007f2f08002a06 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#55 0x00007f2f071c9efe in QApplication::exec () at kernel/qapplication.cpp:3553
#56 0x00007f2f0a67a161 in kdemain (argc=2, argv=0x7fff12ad0ca8) at /var/tmp/portage/kde-base/konqueror-4.2.2/work/konqueror-4.2.2/konqueror/src/konqmain.cpp:257
#57 0x0000000000400993 in main (argc=2, argv=0x7fff12ad0ca8) at /var/tmp/portage/kde-base/konqueror-4.2.2/work/konqueror_build/konqueror/src/konqueror_dummy.cpp:3
Comment 3 Jaime Torres 2009-05-06 12:32:19 UTC
*** Bug 191588 has been marked as a duplicate of this bug. ***
Comment 4 Maksim Orlovich 2009-06-20 23:55:47 UTC
SVN commit 984511 by orlovich:

Fix crashes when part is clear with an object element on the parser stack

BUG:190008
BUG:197294
BUG:188871


 M  +5 -0      khtml_part.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=984511