Summary: | Crash when loading http://blog.kagou.fr/post/2008/06/13/Cest-la-police in khtml::RenderFlow::addChildWithContinuation | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Sébastien Durand <sunseb> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | andresbajotierra, kpiette, zahl |
Priority: | NOR | ||
Version: | 4.2.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sébastien Durand
2009-03-27 08:22:49 UTC
Here using: Qt: 4.5.0 + qt-copy-patches-936035 KDE: 4.2.67 (KDE 4.2.67 (KDE 4.3 >= 20090318)) kdelibs svn rev. 944348 / kdebase svn rev. 944348 on ArchLinux i686 - Kernel 2.6.28.7 Konqueror crashes. Valgrind log: ==3236== ==3236== Invalid read of size 1 ==3236== at 0xAAF28F0: khtml::RenderFlow::addChildWithContinuation(khtml::RenderObject*, khtml::RenderObject*) (render_object.h:318) ==3236== by 0xAA258D5: DOM::NodeImpl::createRendererIfNeeded() (dom_nodeimpl.cpp:1081) ==3236== by 0xAA2FC31: DOM::ElementImpl::attach() (dom_elementimpl.cpp:834) ==3236== by 0xAA28A89: DOM::NodeBaseImpl::insertBefore(DOM::NodeImpl*, DOM::NodeImpl*, int&) (dom_nodeimpl.cpp:1399) ==3236== by 0xABD5797: DOMNodeProtoFunc::callAsFunction(KJS::ExecState*, KJS::JSObject*, KJS::List const&) (kjs_dom.cpp:640) ==3236== by 0xAF28BEC: KJS::JSObject::call(KJS::ExecState*, KJS::JSObject*, KJS::List const&) (object.cpp:69) ==3236== by 0xAF4525A: KJS::Machine::runBlock(KJS::ExecState*, WTF::Vector<unsigned char, 0u> const&, KJS::ExecState*) (codes.def:1192) ==3236== by 0xAF24E71: KJS::FunctionImp::callAsFunction(KJS::ExecState*, KJS::JSObject*, KJS::List const&) (function.cpp:144) ==3236== by 0xAF28BEC: KJS::JSObject::call(KJS::ExecState*, KJS::JSObject*, KJS::List const&) (object.cpp:69) ==3236== by 0xAF221AE: KJS::FunctionImp::construct(KJS::ExecState*, KJS::List const&) (function.cpp:320) ==3236== by 0xAF459B5: KJS::Machine::runBlock(KJS::ExecState*, WTF::Vector<unsigned char, 0u> const&, KJS::ExecState*) (codes.def:1213) ==3236== by 0xAF24E71: KJS::FunctionImp::callAsFunction(KJS::ExecState*, KJS::JSObject*, KJS::List const&) (function.cpp:144) ==3236== Address 0x1b is not stack'd, malloc'd or (recently) free'd Backtrace: Application: Konqueror (konqueror), signal Segmentation fault [KCrash Handler] #6 khtml::RenderFlow::addChildWithContinuation (this=0x99710b0, newChild=0x997121c, beforeChild=0x0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/rendering/render_object.h:318 #7 0xb2f918d6 in DOM::NodeImpl::createRendererIfNeeded (this=0x9d04918) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/xml/dom_nodeimpl.cpp:1081 #8 0xb2f9bc32 in DOM::ElementImpl::attach (this=0x9d04918) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/xml/dom_elementimpl.cpp:834 #9 0xb2f94a8a in DOM::NodeBaseImpl::insertBefore (this=0x9b321a8, newChild=0x9d04918, refChild=0x9860478, exceptioncode=@0xbfed63b8) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/xml/dom_nodeimpl.cpp:1399 #10 0xb3141798 in DOMNodeProtoFunc::callAsFunction (this=0xb1866a60, exec=0xbfed6ad0, thisObj=0xb1850900, args=@0xbfed6a54) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/ecma/kjs_dom.cpp:640 #11 0xb2dc2bed in KJS::JSObject::call (this=0x9bd38c4, exec=0xbfed6ad0, thisObj=0xb1850900, args=@0xbfed6a54) at /home/kde-devel/kde/src/KDE/kdelibs/kjs/object.cpp:69 #12 0xb2ddf25b in KJS::Machine::runBlock (exec=0xbfed6ad0, codeBlock=@0x99712a0, parentExec=0xbfed72a0) at codes.def:1192 #13 0xb2dbee72 in KJS::FunctionImp::callAsFunction (this=0xb1919c20, exec=0xbfed72a0, thisObj=0xb185b300, args=@0xbfed7224) at /home/kde-devel/kde/src/KDE/kdelibs/kjs/function.cpp:144 #14 0xb2dc2bed in KJS::JSObject::call (this=0x9bd38c4, exec=0xbfed72a0, thisObj=0xb185b300, args=@0xbfed7224) at /home/kde-devel/kde/src/KDE/kdelibs/kjs/object.cpp:69 #15 0xb2dbc1af in KJS::FunctionImp::construct (this=0xb1919c20, exec=0xbfed72a0, args=@0xbfed7224) at /home/kde-devel/kde/src/KDE/kdelibs/kjs/function.cpp:320 #16 0xb2ddf9b6 in KJS::Machine::runBlock (exec=0xbfed72a0, codeBlock=@0x99712a0, parentExec=0x993bcf8) at codes.def:1213 #17 0xb2dbee72 in KJS::FunctionImp::callAsFunction (this=0xb191aae0, exec=0x993bcf8, thisObj=0xb1920000, args=@0xbfed73e8) at /home/kde-devel/kde/src/KDE/kdelibs/kjs/function.cpp:144 #18 0xb2dc2bed in KJS::JSObject::call (this=0x9bd38c4, exec=0x993bcf8, thisObj=0xb1920000, args=@0xbfed73e8) at /home/kde-devel/kde/src/KDE/kdelibs/kjs/object.cpp:69 #19 0xb31a4a3d in KJS::JSEventListener::handleEvent (this=0x9951dd0, evt=@0xbfed7420) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/ecma/kjs_events.cpp:106 #20 0xb2f7c33d in DOM::DocumentImpl::defaultEventHandler (this=0x985df98, evt=0x9ceaa88) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/xml/dom_docimpl.cpp:2745 #21 0xb2f9513f in DOM::NodeImpl::dispatchWindowEvent (this=0x985dfa4, _id=16, canBubbleArg=<value optimized out>, cancelableArg=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/xml/dom_nodeimpl.cpp:567 #22 0xb2fedf53 in DOM::HTMLDocumentImpl::close (this=0x985df98) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/html/html_documentimpl.cpp:249 #23 0xb2f08ff1 in KHTMLPart::checkEmitLoadEvent (this=0x979f0f0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:2471 #24 0xb2f10d24 in KHTMLPart::checkCompleted (this=0x979f0f0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:2392 #25 0xb2f11090 in KHTMLPart::slotLoaderRequestDone (this=0x979f0f0, dl=0x95f3ee8, obj=0x9bb1cb0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/khtml_part.cpp:2246 #26 0xb2f3d872 in KHTMLPart::qt_metacall (this=0x979f0f0, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfed76a8) at /home/kde-devel/kde/build/KDE/kdelibs/khtml/khtml_part.moc:315 #27 0xb747a4c1 in QMetaObject::activate (sender=0x97a2d70, from_signal_index=<value optimized out>, to_signal_index=5, argv=0xbfed76a8) at kernel/qobject.cpp:3066 #28 0xb747aad2 in QMetaObject::activate (sender=0x97a2d70, m=0xb341f1dc, local_signal_index=1, argv=0xbfed76a8) at kernel/qobject.cpp:3143 #29 0xb30fc7e9 in khtml::Loader::requestDone (this=0x97a2d70, _t1=0x95f3ee8, _t2=0x9bb1cb0) at /home/kde-devel/kde/build/KDE/kdelibs/khtml/loader.moc:153 #30 0xb3101bdb in khtml::Loader::slotFinished (this=0x97a2d70, job=0x9bdd5d0) at /home/kde-devel/kde/src/KDE/kdelibs/khtml/misc/loader.cpp:1409 #31 0xb3107e07 in khtml::Loader::qt_metacall (this=0x97a2d70, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfed781c) at /home/kde-devel/kde/build/KDE/kdelibs/khtml/loader.moc:131 #32 0xb747a4c1 in QMetaObject::activate (sender=0x9bdd5d0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0xbfed781c) at kernel/qobject.cpp:3066 #33 0xb747aad2 in QMetaObject::activate (sender=0x9bdd5d0, m=0xb779e8a8, local_signal_index=3, argv=0xbfed781c) at kernel/qobject.cpp:3143 #34 0xb764a733 in KJob::result (this=0x9bdd5d0, _t1=0x9bdd5d0) at /home/kde-devel/kde/build/KDE/kdelibs/kdecore/kjob.moc:188 #35 0xb764abd9 in KJob::emitResult (this=0x9bdd5d0) at /home/kde-devel/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:294 #36 0xb7d6bd55 in KIO::SimpleJob::slotFinished (this=0x9bdd5d0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/job.cpp:485 #37 0xb7d6cfc3 in KIO::TransferJob::slotFinished (this=0x9bdd5d0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/job.cpp:962 #38 0xb7d6e0ab in KIO::TransferJob::qt_metacall (this=0x9bdd5d0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfed7a58) at /home/kde-devel/kde/build/KDE/kdelibs/kio/jobclasses.moc:343 #39 0xb747a4c1 in QMetaObject::activate (sender=0x9892f38, from_signal_index=<value optimized out>, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3066 #40 0xb747aad2 in QMetaObject::activate (sender=0x9892f38, m=0xb7f21a24, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3143 #41 0xb7e34a67 in KIO::SlaveInterface::finished (this=0x9892f38) at /home/kde-devel/kde/build/KDE/kdelibs/kio/slaveinterface.moc:165 #42 0xb7e387a7 in KIO::SlaveInterface::dispatch (this=0x9892f38, _cmd=104, rawdata=@0xbfed7c24) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:175 #43 0xb7e34f47 in KIO::SlaveInterface::dispatch (this=0x9892f38) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:91 #44 0xb7e2539d in KIO::Slave::gotInput (this=0x9892f38) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slave.cpp:322 #45 0xb7e27833 in KIO::Slave::qt_metacall (this=0x9892f38, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfed7d38) at /home/kde-devel/kde/build/KDE/kdelibs/kio/slave.moc:76 #46 0xb747a4c1 in QMetaObject::activate (sender=0x985ed58, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3066 #47 0xb747aad2 in QMetaObject::activate (sender=0x985ed58, m=0xb7f1e3c0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143 #48 0xb7d324b7 in KIO::Connection::readyRead (this=0x985ed58) at /home/kde-devel/kde/build/KDE/kdelibs/kio/connection.moc:86 #49 0xb7d33e13 in KIO::ConnectionPrivate::dequeue (this=0x985e390) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/connection.cpp:82 #50 0xb7d341f6 in KIO::Connection::qt_metacall (this=0x985ed58, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9a143b8) at /home/kde-devel/kde/build/KDE/kdelibs/kio/connection.moc:73 #51 0xb7472e6b in QMetaCallEvent::placeMetaCall (this=0x9b47f50, object=0x985ed58) at kernel/qobject.cpp:489 #52 0xb74750c0 in QObject::event (this=0x985ed58, e=0x9b47f50) at kernel/qobject.cpp:1115 #53 0xb6b9100c in QApplicationPrivate::notify_helper (this=0x94835e0, receiver=0x985ed58, e=0x9b47f50) at kernel/qapplication.cpp:4084 #54 0xb6b99bbf in QApplication::notify (this=0xbfed8688, receiver=0x985ed58, e=0x9b47f50) at kernel/qapplication.cpp:3631 #55 0xb79baacd in KApplication::notify (this=0xbfed8688, receiver=0x985ed58, event=0x9b47f50) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307 #56 0xb746411b in QCoreApplication::notifyInternal (this=0xbfed8688, receiver=0x985ed58, event=0x9b47f50) at kernel/qcoreapplication.cpp:598 #57 0xb7467ad3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9451c60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #58 0xb7467cdd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132 #59 0xb748ed6f in postEventSourceDispatch (s=0x9485918) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #60 0xb630e311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #61 0xb63119a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #62 0xb6311b61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #63 0xb748ea58 in QEventDispatcherGlib::processEvents (this=0x94835a0, flags={i = -1074953272}) at kernel/qeventdispatcher_glib.cpp:323 #64 0xb6c29535 in QGuiEventDispatcherGlib::processEvents (this=0x94835a0, flags={i = -1074953224}) at kernel/qguieventdispatcher_glib.cpp:202 #65 0xb7462b5a in QEventLoop::processEvents (this=0xbfed8460, flags={i = -1074953160}) at kernel/qeventloop.cpp:149 #66 0xb7462d1a in QEventLoop::exec (this=0xbfed8460, flags={i = -1074953112}) at kernel/qeventloop.cpp:196 #67 0xb7467da1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880 #68 0xb6b90d37 in QApplication::exec () at kernel/qapplication.cpp:3553 #69 0xb80a451f in kdemain (argc=2, argv=0xbfed8a04) at /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqmain.cpp:257 #70 0x08048732 in main (argc=-1287566232, argv=0x98f73a0) at /home/kde-devel/kde/build/KDE/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3 *** Bug 190387 has been marked as a duplicate of this bug. *** This works for me under 4.2.90.... |