Summary: | konqueror crash in khtml::HTMLTokenizer::reset | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Martin Koller <kollix> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | andresbajotierra, finex, friesoft, m.costacano, phwidmer, skunk |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Martin Koller
2007-05-19 10:28:05 UTC
Hit this one as well, via http://www.n-oreal.de/safedataframe.html?fsrc=http://www.n-oreal.de/tft-monitore/samsung/22-zoll/samsung-syncmaster-tft-226cw.html Konqueror claims the site is loaded in the statusbar, but displays nothing. When hitting the reload button, it crashes reproducibly. Searching the open bugs for "khtml::HTMLTokenizer::reset" there are a handful of other ones - maybe dupes, didn't check. *** Bug 166882 has been marked as a duplicate of this bug. *** *** Bug 159031 has been marked as a duplicate of this bug. *** *** Bug 161082 has been marked as a duplicate of this bug. *** Bug #159031 looks like a nice backtrace. And: ------- Additional Comment #6 From Maksim Orlovich 2008-07-05 14:00 ------- This means a child frame is somehow restored before the parent one. Which I hope is the case here, because the description of triggering the bug in this report is slightly different than all the dups. I hit this one too. I opened a new page, which was taking a bit of time to load fully, and hit Back to go to the previous one---boom. Something about Konqueror still parsing the page at that point, possibly? konqueror(10171)/khtml (part) KHTMLPart::closeUrl: was still parsing... calling end konqueror: /scratch/kdesvn/kdelibs/khtml/html/htmltokenizer.cpp:164: void khtml::HTMLTokenizer::reset(): Assertion `m_executingScript == 0' failed. Program received signal SIGABRT, Aborted. 0x00002b89c3f1e07b in raise () from /lib/libc.so.6 Backtrace: #0 0x00002b89c3f1e07b in raise () from /lib/libc.so.6 #1 0x00002b89c3f1f84e in abort () from /lib/libc.so.6 #2 0x00002b89c3f17af4 in __assert_fail () from /lib/libc.so.6 #3 0x00002aaaab272392 in khtml::HTMLTokenizer::reset (this=0x1d17aba0) at /scratch/kdesvn/kdelibs/khtml/html/htmltokenizer.cpp:164 #4 0x00002aaaab273734 in ~HTMLTokenizer (this=0x27bb) at /scratch/kdesvn/kdelibs/khtml/html/htmltokenizer.cpp:2056 #5 0x00002aaaab225bc7 in DOM::DocumentImpl::detach (this=0x22d9e670) at /scratch/kdesvn/kdelibs/khtml/xml/dom_docimpl.cpp:1365 #6 0x00002aaaab1c6a7e in KHTMLPart::clear (this=0x10f869a0) at /scratch/kdesvn/kdelibs/khtml/khtml_part.cpp:1452 #7 0x00002aaaab1eed17 in ~KHTMLPart (this=0x10f869a0) at /scratch/kdesvn/kdelibs/khtml/khtml_part.cpp:531 #8 0x00002aaaab1c684d in KHTMLPart::clear (this=0xbea5da0) at /scratch/kdesvn/kdelibs/khtml/khtml_part.cpp:1491 #9 0x00002aaaab1c9808 in KHTMLPart::begin (this=0xbea5da0, url=@0x7fffea354b50, xOffset=0, yOffset=0) at /scratch/kdesvn/kdelibs/khtml/khtml_part.cpp:1888 #10 0x00002aaaab40d957 in KJS::Window::getValueProperty ( this=<value optimized out>, exec=0x7fffea355630, token=<value optimized out>) at /scratch/kdesvn/kdelibs/khtml/ecma/kjs_window.cpp:728 #11 0x00002aaaab77e2f5 in KJS::JSObject::get (this=0x2aaaaacb0b80, exec=0x7fffea355630, propertyName=@0x11285058) at /scratch/kdesvn/kdelibs/kjs/property_slot.h:46 #12 0x00002aaaab795ae4 in KJS::Machine::runBlock (exec=0x7fffea355630, codeBlock=<value optimized out>, parentExec=0x0) at codes.def:680 #13 0x00002aaaab74acf1 in KJS::FunctionBodyNode::execute (this=0x22d45010, exec=0x7fffea355630) at /scratch/kdesvn/kdelibs/kjs/nodes.cpp:927 #14 0x00002aaaab781de9 in KJS::Interpreter::evaluate (this=0x22e417e0, sourceURL=@0x7fffea355940, startingLineNumber=58, code=0x172542d0, codeLength=<value optimized out>, thisV=0x2aaaaacb2180) at /scratch/kdesvn/kdelibs/kjs/interpreter.cpp:557 #15 0x00002aaaab781f03 in KJS::Interpreter::evaluate (this=0x27bb, sourceURL=@0x6, startingLineNumber=-1, code=<value optimized out>, thisV=<value optimized out>) at /scratch/kdesvn/kdelibs/kjs/interpreter.cpp:499 #16 0x00002aaaab4217cd in KJS::KJSProxyImpl::evaluate (this=0x14f9f220, filename=@0x7fffea355a60, baseLine=58, str=@0x7fffea355df0, n=<value optimized out>, completion=0x7fffea355a20) at /scratch/kdesvn/kdelibs/khtml/ecma/kjs_proxy.cpp:157 #17 0x00002aaaab1eda72 in KHTMLPart::executeScript (this=0x10f869a0, filename=@0x7fffea355bc0, baseLine=58, n=@0x7fffea355bb0, script=@0x7fffea355df0) at /scratch/kdesvn/kdelibs/khtml/khtml_part.cpp:1223 #18 0x00002aaaab271dd1 in khtml::HTMLTokenizer::scriptExecution ( this=0x1d17aba0, str=@0x7fffea355df0, scriptURL=<value optimized out>, baseLine=57) at /scratch/kdesvn/kdelibs/khtml/html/htmltokenizer.cpp:475 #19 0x00002aaaab276df1 in khtml::HTMLTokenizer::scriptHandler (this=0x1d17aba0) at /scratch/kdesvn/kdelibs/khtml/html/htmltokenizer.cpp:428 #20 0x00002aaaab27834e in khtml::HTMLTokenizer::parseSpecial (this=0x1d17aba0, src=@0x1d17b0f0) at /scratch/kdesvn/kdelibs/khtml/html/htmltokenizer.cpp:344 #21 0x00002aaaab27a1c5 in khtml::HTMLTokenizer::parseTag (this=0x1d17aba0, src=@0x1d17b0f0) at /scratch/kdesvn/kdelibs/khtml/html/htmltokenizer.cpp:1537 #22 0x00002aaaab27c14a in khtml::HTMLTokenizer::write (this=0x1d17aba0, str=@0x2, appendData=<value optimized out>) at /scratch/kdesvn/kdelibs/khtml/html/htmltokenizer.cpp:1791 #23 0x00002aaaab1c3faa in KHTMLPart::write (this=<value optimized out>, data=0x22d72bf8 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n\n<html>\n\n<head>\n<title>Google Ads</title>\n\n<style type=\"text/css\">\n<!--\n\t@import url(/common/stylesheets/spon"..., len=<value optimized out>) at /scratch/kdesvn/kdelibs/khtml/khtml_part.cpp:1974 #24 0x00002aaaab1cad94 in KHTMLPart::slotData (this=0x10f869a0, kio_job=<value optimized out>, data=@0x7fffea356ec0) at /scratch/kdesvn/kdelibs/khtml/khtml_part.cpp:1664 #25 0x00002aaaab1ed5d3 in KHTMLPart::qt_metacall (this=0x10f869a0, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0x7fffea356a80) at /scratch/kdesvn/build/kdelibs/khtml/khtml_part.moc:264 #26 0x00002b89c1bbe62d in QMetaObject::activate (sender=0x9b34c30, from_signal_index=40, to_signal_index=40, argv=0x7fffea356a80) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3013 #27 0x00002b89c1bbea83 in QMetaObject::activate (sender=0x9b34c30, m=0x2b89c106d140, local_signal_index=0, argv=0x7fffea356a80) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3086 #28 0x00002b89c0d9a694 in KIO::TransferJob::data (this=0x27bb, _t1=0x9b34c30, _t2=<value optimized out>) at /scratch/kdesvn/build/kdelibs/kio/jobclasses.moc:356 #29 0x00002b89c0daba68 in KIO::TransferJob::qt_metacall (this=0x9b34c30, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffea356c10) at /scratch/kdesvn/build/kdelibs/kio/jobclasses.moc:337 #30 0x00002b89c1bbe62d in QMetaObject::activate (sender=0x1c89ae80, from_signal_index=4, to_signal_index=4, argv=0x7fffea356c10) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3013 #31 0x00002b89c1bbea83 in QMetaObject::activate (sender=0x1c89ae80, m=0x2b89c1072540, local_signal_index=0, argv=0x7fffea356c10) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3086 #32 0x00002b89c0e5fe62 in KIO::SlaveInterface::data (this=0x27bb, _t1=<value optimized out>) at /scratch/kdesvn/build/kdelibs/kio/slaveinterface.moc:138 #33 0x00002b89c0e634ee in KIO::SlaveInterface::dispatch (this=0x1c89ae80, _cmd=100, rawdata=@0x7fffea356ec0) at /scratch/kdesvn/kdelibs/kio/kio/slaveinterface.cpp:163 #34 0x00002b89c0e60157 in KIO::SlaveInterface::dispatch (this=0x1c89ae80) at /scratch/kdesvn/kdelibs/kio/kio/slaveinterface.cpp:91 #35 0x00002b89c0e4f8c3 in KIO::Slave::gotInput (this=0x1c89ae80) at /scratch/kdesvn/kdelibs/kio/kio/slave.cpp:319 #36 0x00002b89c0e504fa in KIO::Slave::qt_metacall (this=0x1c89ae80, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffea357020) at /scratch/kdesvn/build/kdelibs/kio/slave.moc:75 #37 0x00002b89c1bbe62d in QMetaObject::activate (sender=0x6b25400, from_signal_index=4, to_signal_index=4, argv=0x0) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3013 #38 0x00002b89c1bbea83 in QMetaObject::activate (sender=0x6b25400, m=0x2b89c106be40, local_signal_index=0, argv=0x0) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3086 #39 0x00002b89c0d6a677 in KIO::ConnectionPrivate::dequeue (this=0x6b25460) at /scratch/kdesvn/kdelibs/kio/kio/connection.cpp:82 #40 0x00002b89c0d6a9c2 in KIO::Connection::qt_metacall (this=0x6b25400, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x1ffc6430) at /scratch/kdesvn/build/kdelibs/kio/connection.moc:72 #41 0x00002b89c1bb8cad in QMetaCallEvent::placeMetaCall (this=0x220a3f50, object=0x6b25400) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:535 #42 0x00002b89c1bbd834 in QObject::event (this=0x6b25400, e=0x220a3f50) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1137 #43 0x00002b89c253c5c5 in QApplicationPrivate::notify_helper (this=0x5196b0, receiver=0x6b25400, e=0x220a3f50) at /scratch/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3800 #44 0x00002b89c253c8e7 in QApplication::notify (this=0x7fffea357f30, receiver=0x6b25400, e=0x220a3f50) at /scratch/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3392 #45 0x00002b89c128b51b in KApplication::notify (this=0x7fffea357f30, receiver=0x6b25400, event=0x220a3f50) at /scratch/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311 #46 0x00002b89c1baa8e4 in QCoreApplication::notifyInternal ( this=0x7fffea357f30, receiver=0x6b25400, event=0x220a3f50) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587 #47 0x00002b89c1bae1b3 in QCoreApplication::sendEvent (receiver=0x6b25400, event=0x220a3f50) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215 #48 0x00002b89c1baae99 in QCoreApplicationPrivate::sendPostedEvents ( receiver=0x0, event_type=0, data=0x502de0) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1199 #49 0x00002b89c1bab062 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1095 #50 0x00002b89c1bd91c9 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:220 #51 0x00002b89c1bd8201 in postEventSourceDispatch (s=0x51ccf0) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:211 #52 0x00002b89c4fef913 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #53 0x00002b89c4ff275d in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #54 0x00002b89c4ff2c7e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #55 0x00002b89c1bd7852 in QEventDispatcherGlib::processEvents (this=0x514510, flags=@0x7fffea357be0) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325 #56 0x00002b89c25db6e7 in QGuiEventDispatcherGlib::processEvents ( this=0x514510, flags=@0x7fffea357c40) at /scratch/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204 #57 0x00002b89c1ba7878 in QEventLoop::processEvents (this=0x7fffea357cf0, flags=@0x7fffea357ca0) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:149 #58 0x00002b89c1ba7a73 in QEventLoop::exec (this=0x7fffea357cf0, flags=@0x7fffea357d00) at /scratch/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:196 #59 0x00002b89c1bab16e in QCoreApplication::exec () at /scratch/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:849 #60 0x00002b89c253c326 in QApplication::exec () at /scratch/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3330 #61 0x00002b89c09362bf in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /scratch/kdesvn/kdebase/apps/konqueror/src/konqmain.cpp:227 #62 0x00002b89c3f0b4ca in __libc_start_main () from /lib/libc.so.6 #63 0x000000000040075a in _start () at ../sysdeps/x86_64/elf/start.S:113 Bug 170185 has a test case that easily reproduces this same assertion failure, in the context of going back in the browser history. (Now I'm getting this crash upon restoration of an autosaved session... oh Konqui, why must you try me so?) Bug 180203 may be related to this. I'm not able to reproduce this crash. Someone is able using KDE 4.3 or trunk? As I did not hit this problem since a long time, it would be ok for me to close it. |