Summary: | konqueror crashes while executing javascript library | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Fabio Erculiani <lxnay> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | aiacovitti, andreas_nordal_4, kevin.l.hobbs, kollix, widearc |
Priority: | NOR | ||
Version: | 4.8.5 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
example HTML page making konqi crash
New crash information added by DrKonqi |
Description
Fabio Erculiani
2011-07-12 14:21:29 UTC
Can reproduce with 4.6.5. Due to above line break, the example file is attached now. Backtrace: Application: Konqueror (konqueror), signal: Segmentation fault [KCrash Handler] #7 khtml::HTMLTokenizer::scriptHandler (this=0x8d06d28) at /usr/src/debug/kdelibs-4.6.5/khtml/html/htmltokenizer.cpp:485 #8 0xb20acc01 in khtml::HTMLTokenizer::parseRawContent (this=0x8d06d28, src=...) at /usr/src/debug/kdelibs-4.6.5/khtml/html/htmltokenizer.cpp:379 #9 0xb20aff3c in khtml::HTMLTokenizer::parseTag (this=0x8d06d28, src=...) at /usr/src/debug/kdelibs-4.6.5/khtml/html/htmltokenizer.cpp:1527 #10 0xb20b05a6 in khtml::HTMLTokenizer::write (this=0x8d06d28, str=..., appendData=false) at /usr/src/debug/kdelibs-4.6.5/khtml/html/htmltokenizer.cpp:1798 #11 0xb2055c32 in DOM::DocumentImpl::write (this=0x8d04208, text=...) at /usr/src/debug/kdelibs-4.6.5/khtml/xml/dom_docimpl.cpp:1687 #12 0xb223caf7 in KJS::HTMLDocFunction::callAsFunction (this=0xafb71a40, exec=0xbfcad0fc, thisObj=0xbfcacce0, args=...) at /usr/src/debug/kdelibs-4.6.5/khtml/ecma/kjs_html.cpp:135 #13 0xb1dd5ccb in call (exec=0xbfcad0fc, codeBlock=..., parentExec=0x0) at /usr/src/debug/kdelibs-4.6.5/kjs/object.h:626 #14 KJS::Machine::runBlock (exec=0xbfcad0fc, codeBlock=..., parentExec=0x0) at codes.def:1223 #15 0xb1d8904c in KJS::FunctionBodyNode::execute (this=0x8cc8aa8, exec=0xbfcad0fc) at /usr/src/debug/kdelibs-4.6.5/kjs/nodes.cpp:927 #16 0xb1dbc880 in KJS::Interpreter::evaluate (this=0x8c51a98, sourceURL=..., startingLineNumber=4, code=0x8cc69a8, codeLength=543, thisV=0xafb80000) at /usr/src/debug/kdelibs-4.6.5/kjs/interpreter.cpp:564 #17 0xb1dbca3a in KJS::Interpreter::evaluate (this=0x8c51a98, sourceURL=..., startingLineNumber=4, code=..., thisV=0xafb80000) at /usr/src/debug/kdelibs-4.6.5/kjs/interpreter.cpp:504 #18 0xb2268933 in KJSProxy::evaluate (this=0x8c554a0, filename=..., baseLine=0, str=..., n=..., completion=0xbfcad2fc) at /usr/src/debug/kdelibs-4.6.5/khtml/ecma/kjs_proxy.cpp:126 #19 0xb1fd2ad3 in KHTMLPart::executeScript (this=0x8b17518, filename=..., baseLine=-1, n=..., script=...) at /usr/src/debug/kdelibs-4.6.5/khtml/khtml_part.cpp:1279 #20 0xb20a7903 in khtml::HTMLTokenizer::scriptExecution (this=0x8c39240, str=..., scriptURL=..., baseLine=0) at /usr/src/debug/kdelibs-4.6.5/khtml/html/htmltokenizer.cpp:517 #21 0xb20ab172 in khtml::HTMLTokenizer::scriptHandler (this=0x8c39240) at /usr/src/debug/kdelibs-4.6.5/khtml/html/htmltokenizer.cpp:470 #22 0xb20acc01 in khtml::HTMLTokenizer::parseRawContent (this=0x8c39240, src=...) at /usr/src/debug/kdelibs-4.6.5/khtml/html/htmltokenizer.cpp:379 #23 0xb20aff3c in khtml::HTMLTokenizer::parseTag (this=0x8c39240, src=...) at /usr/src/debug/kdelibs-4.6.5/khtml/html/htmltokenizer.cpp:1527 #24 0xb20b05a6 in khtml::HTMLTokenizer::write (this=0x8c39240, str=..., appendData=true) at /usr/src/debug/kdelibs-4.6.5/khtml/html/htmltokenizer.cpp:1798 #25 0xb1fd349b in KHTMLPart::write (this=0x8b17518, data= 0x8c3e6d0 "<head>\n</head>\n\n<body>\n <script>\n var evalFunction = \"<sc\"+\"ript>window.evalProxy = function(param){eval(param);};</sc\"+\"ript>\";\n\n var _body = document.getElementsByTagName(\"BODY\")[0];\n var iFrame"..., len=<value optimized out>) at /usr/src/debug/kdelibs-4.6.5/khtml/khtml_part.cpp:2093 #26 0xb1fc910e in KHTMLPart::slotData (this=0x8b17518, kio_job=0x8c151e8, data=...) at /usr/src/debug/kdelibs-4.6.5/khtml/khtml_part.cpp:1741 #27 0xb1ff63d4 in KHTMLPart::qt_metacall (this=0x8b17518, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfcada94) at /usr/src/debug/kdelibs-4.6.5/build/khtml/khtml_part.moc:278 #28 0xb686c5fd in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #29 0xb687c7fc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #30 0xb7164c3d in KIO::TransferJob::data (this=0x8c151e8, _t1=0x8c151e8, _t2=...) at /usr/src/debug/kdelibs-4.6.5/build/kio/jobclasses.moc:388 #31 0xb7164ca8 in KIO::TransferJob::slotData (this=0x8c151e8, _data=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/job.cpp:1012 #32 0xb726c803 in KIO::TransferJob::qt_metacall (this=0x8c151e8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcadc28) at /usr/src/debug/kdelibs-4.6.5/build/kio/jobclasses.moc:368 #33 0xb686c5fd in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #34 0xb687c7fc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #35 0xb7179fb5 in KIO::SlaveInterface::data (this=0x8c273c0, _t1=...) at /usr/src/debug/kdelibs-4.6.5/build/kio/slaveinterface.moc:146 #36 0xb72aa478 in KIO::SlaveInterface::dispatch (this=0x8c273c0, _cmd=100, rawdata=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/slaveinterface.cpp:161 #37 0xb723b0fa in KIO::SlaveInterface::dispatch (this=0x8c273c0) at /usr/src/debug/kdelibs-4.6.5/kio/kio/slaveinterface.cpp:89 #38 0xb723a058 in KIO::Slave::gotInput (this=0x8c273c0) at /usr/src/debug/kdelibs-4.6.5/kio/kio/slave.cpp:348 #39 0xb723f95c in KIO::Slave::qt_metacall (this=0x8c273c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcadf0c) at /usr/src/debug/kdelibs-4.6.5/build/kio/slave.moc:82 #40 0xb686c5fd in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #41 0xb687c7fc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #42 0xb715b275 in KIO::Connection::readyRead (this=0x8c09990) at /usr/src/debug/kdelibs-4.6.5/build/kio/connection.moc:92 #43 0xb723f6ca in KIO::ConnectionPrivate::dequeue (this=0x8ae77f0) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:82 #44 0xb723f79f in KIO::Connection::qt_metacall (this=0x8c09990, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x88c9118) at /usr/src/debug/kdelibs-4.6.5/build/kio/connection.moc:79 #45 0xb686c5fd in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #46 0xb68770e5 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4 #47 0xb687b37f in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #48 0xb5cfb6e4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #49 0xb5d044a7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #50 0xb6d9a0f1 in KApplication::notify (this=0xbfcae930, receiver=0x8c09990, event=0x8ba5010) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311 #51 0xb6865d5e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #52 0xb6869aec in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #53 0xb6869c3c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #54 0xb68943b4 in ?? () from /usr/lib/libQtCore.so.4 #55 0xb53fbb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #56 0xb53fc350 in ?? () from /usr/lib/libglib-2.0.so.0 #57 0xb53fc60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #58 0xb689453b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #59 0xb5db21ca in ?? () from /usr/lib/libQtGui.so.4 #60 0xb686503d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #61 0xb6865269 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #62 0xb6869d10 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #63 0xb5cf93e4 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #64 0xb782b38f in kdemain (argc=2, argv=0xbfcaebe4) at /usr/src/debug/kdebase-4.6.5/konqueror/src/konqmain.cpp:219 #65 0x0804860b in main (argc=2, argv=0xbfcaebe4) at /usr/src/debug/kdebase-4.6.5/build/konqueror/src/konqueror_dummy.cpp:3 Created attachment 61889 [details]
example HTML page making konqi crash
*** Bug 290985 has been marked as a duplicate of this bug. *** Created attachment 71479 [details] New crash information added by DrKonqi konqueror (4.8.3 (4.8.3)) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1 - What I was doing when the application crashed: I was trying to open this page with KHTML view mode: http://translate.google.com/translate_tools This does not happen when viewing the same page with WebKit view mode. -- Backtrace (Reduced): #6 khtml::HTMLTokenizer::scriptHandler (this=0xdfb7860) at ../../khtml/html/htmltokenizer.cpp:483 #7 0x00007fa97b920ed1 in khtml::HTMLTokenizer::parseRawContent (this=0xdfb7860, src=...) at ../../khtml/html/htmltokenizer.cpp:379 #8 0x00007fa97b9235f5 in khtml::HTMLTokenizer::parseTag (this=0xdfb7860, src=...) at ../../khtml/html/htmltokenizer.cpp:1528 #9 0x00007fa97b9240b5 in khtml::HTMLTokenizer::write (this=0xdfb7860, str=..., appendData=<optimized out>) at ../../khtml/html/htmltokenizer.cpp:1797 #10 0x00007fa97b8c8063 in DOM::DocumentImpl::write (this=0xc5f0c00, text=...) at ../../khtml/xml/dom_docimpl.cpp:1687 *** Bug 302702 has been marked as a duplicate of this bug. *** *** Bug 307054 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 209107 *** |