Summary: | Konqueror crash in different sites with JS debugger enabled (null QString, KJSDebugger::DebugDocument::name, KJSDebugger::DebugWindow::enterContext) | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Volker Lanz <vl> |
Component: | kjs | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | 12cool725, andresbajotierra, claudiomar.costa, jlieskov, johann-nikolaus, klaus.layer+kde, kollix, komealy, luke-jr+kdebugs, rasasi78 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdelibs/bf19814548dc3d9918e8268963a490a0600529a9 | Version Fixed In: | 4.11.0 |
Sentry Crash Report: |
Description
Volker Lanz
2009-07-02 10:40:43 UTC
Does it crash if you disable the JS debugger? Settings -> Configure konqueror -> Java & JavaScript -> JavaScript -> [ ] Enable debugger Disabling the debugger indeed makes the crash go away. With the debugger enabled, I can't reproduce the crash 100%, but it now happened about three times already. Does seem more likely when planning routes and dragging via-locations around. I just noticed that the new crash reporter tool didn't submit the version. This is on 4.2.90 from Ubuntu packages. I can reproduce this bug with KDE 4.3 RC1 on OpenSUSE Application: Konqueror (kdeinit4), signal: Segmentation fault [KCrash Handler] #6 KJSDebugger::DebugDocument::name (this=0x0) at /usr/include/QtCore/qstring.h:711 #7 0xb29de183 in KJSDebugger::DebugWindow::enterContext (this=0x8416ed0, exec=0xbf8a049c, sourceId=418, lineno=278, function=0xb03b1ee0, args=@0xbf8a0bb4) at /usr/src/debug/kdelibs-4.2.95/khtml/ecma/debugger/debugwindow.cpp:735 #8 0xb25baf8a in KJS::FunctionImp::callAsFunction (this=0xb03b1ee0, exec=0xbf8a0cb0, thisObj=0xb0990000, args=@0xbf8a0bb4) at /usr/src/debug/kdelibs-4.2.95/kjs/function.cpp:135 #9 0xb25bed8d in KJS::JSObject::call (this=0x8416ed0, exec=0xbf8a0cb0, thisObj=0xb0990000, args=@0xbf8a0bb4) at /usr/src/debug/kdelibs-4.2.95/kjs/object.cpp:69 #10 0xb25dc56b in KJS::Machine::runBlock (exec=0xbf8a0cb0, codeBlock=@0xbf8a0430, parentExec=0x0) at codes.def:1192 #11 0xb258dcf5 in KJS::FunctionBodyNode::execute (this=0x9de06b8, exec=0xbf8a0cb0) at /usr/src/debug/kdelibs-4.2.95/kjs/nodes.cpp:928 #12 0xb25c1e62 in KJS::Interpreter::evaluate (this=0x84ab2c0, sourceURL=@0xbf8a0e34, startingLineNumber=0, code=0x9e8c3d0, codeLength=4802, thisV=0xb0990000) at /usr/src/debug/kdelibs-4.2.95/kjs/interpreter.cpp:556 #13 0xb25c2007 in KJS::Interpreter::evaluate (this=0x84ab2c0, sourceURL=@0xbf8a0e34, startingLineNumber=0, code=@0xbf8a0e38, thisV=0xb0990000) at /usr/src/debug/kdelibs-4.2.95/kjs/interpreter.cpp:496 #14 0xb29a51a9 in KJS::KJSProxyImpl::evaluate (this=0x85a9ee8, filename= {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 20900}, alloc = 0, size = 0, data = 0x80532da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 218}, alloc = 0, size = 0, data = 0xb805848e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xbf8a0e94, static codecForCStrings = 0x0}, baseLine=0, str=@0xbf8a0e98, n=@0xbf8a0e8c, completion=0x0) at /usr/src/debug/kdelibs-4.2.95/khtml/ecma/kjs_proxy.cpp:158 #15 0xb27f2bfa in DOM::HTMLScriptElementImpl::evaluateScript (this=0x99e51e0, URL=@0xbf8a0ed8, script=@0xbf8a0ed0) at /usr/src/debug/kdelibs-4.2.95/khtml/html/html_headimpl.cpp:479 #16 0xb27f2d96 in DOM::HTMLScriptElementImpl::notifyFinished (this=0x99e51e0, o=0x9d8f8b8) at /usr/src/debug/kdelibs-4.2.95/khtml/html/html_headimpl.cpp:463 #17 0xb291276d in khtml::CachedScript::checkNotify (this=0x9d8f8b8) at /usr/src/debug/kdelibs-4.2.95/khtml/misc/loader.cpp:390 #18 0xb29160ac in khtml::CachedScript::data (this=0x9d8f8b8, buffer=@0x9d8f914, eof=true) at /usr/src/debug/kdelibs-4.2.95/khtml/misc/loader.cpp:382 #19 0xb2915cd2 in khtml::Loader::slotFinished (this=0x8407418, job=0x9ed3a80) at /usr/src/debug/kdelibs-4.2.95/khtml/misc/loader.cpp:1461 #20 0xb291c0e7 in khtml::Loader::qt_metacall (this=0x8407418, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf8a10dc) at /usr/src/debug/kdelibs-4.2.95/build/khtml/loader.moc:131 #21 0xb7f75788 in QMetaObject::activate (sender=0x9ed3a80, from_signal_index=7, to_signal_index=7, argv=0xbf8a10dc) at kernel/qobject.cpp:3113 #22 0xb7f76412 in QMetaObject::activate (sender=0x9ed3a80, m=0xb7dfbda8, local_signal_index=3, argv=0xbf8a10dc) at kernel/qobject.cpp:3187 #23 0xb7c6d3c3 in KJob::result (this=0x9ed3a80, _t1=0x9ed3a80) at /usr/src/debug/kdelibs-4.2.95/build/kdecore/kjob.moc:188 #24 0xb7c6d869 in KJob::emitResult (this=0x9ed3a80) at /usr/src/debug/kdelibs-4.2.95/kdecore/jobs/kjob.cpp:304 #25 0xb7845805 in KIO::SimpleJob::slotFinished (this=0x9ed3a80) at /usr/src/debug/kdelibs-4.2.95/kio/kio/job.cpp:477 #26 0xb7846143 in KIO::TransferJob::slotFinished (this=0x9ed3a80) at /usr/src/debug/kdelibs-4.2.95/kio/kio/job.cpp:948 #27 0xb78426eb in KIO::TransferJob::qt_metacall (this=0x9ed3a80, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf8a1318) at /usr/src/debug/kdelibs-4.2.95/build/kio/jobclasses.moc:343 #28 0xb7f75788 in QMetaObject::activate (sender=0x985dfa8, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3113 #29 0xb7f76412 in QMetaObject::activate (sender=0x985dfa8, m=0xb7a20f24, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3187 #30 0xb790cd77 in KIO::SlaveInterface::finished (this=0x985dfa8) at /usr/src/debug/kdelibs-4.2.95/build/kio/slaveinterface.moc:165 #31 0xb7910ab7 in KIO::SlaveInterface::dispatch (this=0x985dfa8, _cmd=104, rawdata=@0xbf8a14e4) at /usr/src/debug/kdelibs-4.2.95/kio/kio/slaveinterface.cpp:175 #32 0xb790d257 in KIO::SlaveInterface::dispatch (this=0x985dfa8) at /usr/src/debug/kdelibs-4.2.95/kio/kio/slaveinterface.cpp:91 #33 0xb78fefcd in KIO::Slave::gotInput (this=0x985dfa8) at /usr/src/debug/kdelibs-4.2.95/kio/kio/slave.cpp:322 #34 0xb7901463 in KIO::Slave::qt_metacall (this=0x985dfa8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8a15f8) at /usr/src/debug/kdelibs-4.2.95/build/kio/slave.moc:76 #35 0xb7f75788 in QMetaObject::activate (sender=0x98be918, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113 #36 0xb7f76412 in QMetaObject::activate (sender=0x98be918, m=0xb7a1d860, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187 #37 0xb780a3d7 in KIO::Connection::readyRead (this=0x98be918) at /usr/src/debug/kdelibs-4.2.95/build/kio/connection.moc:86 #38 0xb780bd43 in KIO::ConnectionPrivate::dequeue (this=0x99a4bf0) at /usr/src/debug/kdelibs-4.2.95/kio/kio/connection.cpp:82 #39 0xb780c126 in KIO::Connection::qt_metacall (this=0x98be918, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9470bb8) at /usr/src/debug/kdelibs-4.2.95/build/kio/connection.moc:73 #40 0xb7f6eeab in QMetaCallEvent::placeMetaCall (this=0x948eb50, object=0x98be918) at kernel/qobject.cpp:477 #41 0xb7f70970 in QObject::event (this=0x98be918, e=0x948eb50) at kernel/qobject.cpp:1111 #42 0xb69297fc in QApplicationPrivate::notify_helper (this=0x80adef8, receiver=0x98be918, e=0x948eb50) at kernel/qapplication.cpp:4056 #43 0xb6931aee in QApplication::notify (this=0xbf8a1f58, receiver=0x98be918, e=0x948eb50) at kernel/qapplication.cpp:3603 #44 0xb741d10d in KApplication::notify (this=0xbf8a1f58, receiver=0x98be918, event=0x948eb50) at /usr/src/debug/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302 #45 0xb7f6016b in QCoreApplication::notifyInternal (this=0xbf8a1f58, receiver=0x98be918, event=0x948eb50) at kernel/qcoreapplication.cpp:610 #46 0xb7f60db5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x805a990) at kernel/qcoreapplication.h:213 #47 0xb7f60fad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140 #48 0xb7f8bc8f in postEventSourceDispatch (s=0x80b3920) at kernel/qcoreapplication.h:218 #49 0xb64cf9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #50 0xb64d3083 in ?? () from /usr/lib/libglib-2.0.so.0 #51 0xb64d3241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #52 0xb7f8b8d8 in QEventDispatcherGlib::processEvents (this=0x80aded8, flags={i = -1081467768}) at kernel/qeventdispatcher_glib.cpp:327 #53 0xb69c9cc5 in QGuiEventDispatcherGlib::processEvents (this=0x80aded8, flags={i = -1081467720}) at kernel/qguieventdispatcher_glib.cpp:202 #54 0xb7f5e78a in QEventLoop::processEvents (this=0xbf8a1d30, flags={i = -1081467656}) at kernel/qeventloop.cpp:149 #55 0xb7f5ebd2 in QEventLoop::exec (this=0xbf8a1d30, flags={i = -1081467592}) at kernel/qeventloop.cpp:201 #56 0xb7f61079 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #57 0xb6929677 in QApplication::exec () at kernel/qapplication.cpp:3525 #58 0xb49dd45f in kdemain (argc=2, argv=0x80a0ed0) at /usr/src/debug/kdebase-4.2.95/apps/konqueror/src/konqmain.cpp:257 #59 0x0804e2b0 in launch (argc=2, _name=0x80a146c "/usr/bin/konqueror", args=0x80a1487 "", cwd=0x0, envc=0, envs=0x80a148c "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x80a1490 "t500;1246617704;281805;7440_TIME19578987") at /usr/src/debug/kdelibs-4.2.95/kinit/kinit.cpp:672 #60 0x0804ea8d in handle_launcher_request (sock=7, who=<value optimized out>) at /usr/src/debug/kdelibs-4.2.95/kinit/kinit.cpp:1164 #61 0x0804ef23 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.2.95/kinit/kinit.cpp:1357 #62 0x0804fbca in main (argc=2, argv=0xbf8a2904, envp=0xbf8a2910) at /usr/src/debug/kdelibs-4.2.95/kinit/kinit.cpp:1784 *** Bug 197193 has been marked as a duplicate of this bug. *** *** Bug 200694 has been marked as a duplicate of this bug. *** Bug summary needs to be changed, as bug 200694 had nothing to do with maps.google.com From bug 218124 (which contains lots of useful information): Scenario: --------- 1, echo "http://www.hurriyet.com.tr/spor/" > /tmp/url 2, ulimit -c unlimited 3, konqueror --nocrashhandler `cat /tmp/url` 4, after page is loaded, enable JavaScript debugging: Settings->Configure Konqueror->Java&&JavaScript-> JavaScript tab, check in: v Enable debugger v Report errors Current result: --------------- Once you click "Apply" konqueror crashes with below stack trace. *** Bug 218124 has been marked as a duplicate of this bug. *** Git commit bf19814548dc3d9918e8268963a490a0600529a9 by Bernd Buschinski. Committed on 20/04/2013 at 16:16. Pushed by buschinski into branch 'master'. kjs/debugger: Attach debugger as early as possible, as not all scripts have a direct DOM relation this ensures a valid debugger is attached M +7 -0 khtml/ecma/kjs_proxy.cpp http://commits.kde.org/kdelibs/bf19814548dc3d9918e8268963a490a0600529a9 *** Bug 321247 has been marked as a duplicate of this bug. *** *** Bug 315924 has been marked as a duplicate of this bug. *** *** Bug 235568 has been marked as a duplicate of this bug. *** |