Bug 170388 - Konqueror crashes when using KJS debugger
Summary: Konqueror crashes when using KJS debugger
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: kjs (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 173663 176913 183247 212574 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-04 15:28 UTC by Thomas Wouters
Modified: 2018-10-30 13:06 UTC (History)
6 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 Thomas Wouters 2008-09-04 15:28:57 UTC
Version:            (using KDE 4.1.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

When surfing to http://bugs.kde.org with javascript error warnings enabled, you'll get an error while loading the page.
Click "Debug" to show the JS debug window.
You'll see the line "document.forms['f'].quicksearch.focus();" on line 91.
Copy/paste this line in the console - or you could enter something different as well - and click "enter".
A new tab will show up with a similar result.
Click "continue" and the previous tab will be shown.
Click "continue" once more and you'll get a crash.

Backtrace:

Application: Konqueror (konqueror), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb5f23700 (LWP 25769)]
[KCrash handler]
#6  0xb3ea156a in KJS::Debugger::reportException (this=0x98b9cd0, 
    exec=0x98df488, exceptionVal=0xb2a50de0)
    at /tmp/buildd/kde4libs-4.1.1/kjs/debugger.cpp:127
#7  0xb3e8fceb in KJS::ExecState::setAbruptCompletion (this=0x98df488, comp=
      {comp = KJS::Throw, val = 0xb2a50de0, tar = 0})
    at /tmp/buildd/kde4libs-4.1.1/kjs/ExecState.cpp:179
#8  0xb3e8fd49 in KJS::ExecState::setException (this=0xb43e9d98, e=0x0)
    at /tmp/buildd/kde4libs-4.1.1/kjs/ExecState.cpp:155
#9  0xb3ebd4ea in KJS::Machine::runBlock (exec=0xbfbfc750, 
    codeBlock=@0x98221f4, parentExec=0x98df488) at codes.def:436
#10 0xb3e9e2d0 in KJS::FunctionImp::callAsFunction (this=0xb2a50be0, 
    exec=0x98df488, thisObj=0xb2a60000, args=@0xbfbfc898)
    at /tmp/buildd/kde4libs-4.1.1/kjs/function.cpp:143
#11 0xb3ea43cd in KJS::JSObject::call (this=0x80, exec=0x98df488, 
    thisObj=0xb2a60000, args=@0xbfbfc898)
    at /tmp/buildd/kde4libs-4.1.1/kjs/object.cpp:99
#12 0xb426ed09 in KJS::JSEventListener::handleEvent (this=0x98f4a28, 
    evt=@0xbfbfc8e0)
    at /tmp/buildd/kde4libs-4.1.1/khtml/ecma/kjs_events.cpp:106
#13 0xb406588d in DOM::DocumentImpl::defaultEventHandler (this=0x98e1ad0, 
    evt=0x97c9908)
    at /tmp/buildd/kde4libs-4.1.1/khtml/xml/dom_docimpl.cpp:2699
#14 0xb407f90f in DOM::NodeImpl::dispatchWindowEvent (this=0x98e1adc, _id=16, 
    canBubbleArg=<value optimized out>, cancelableArg=<value optimized out>)
    at /tmp/buildd/kde4libs-4.1.1/khtml/xml/dom_nodeimpl.cpp:565
#15 0xb40d1b43 in DOM::HTMLDocumentImpl::close (this=0x98e1ad0)
    at /tmp/buildd/kde4libs-4.1.1/khtml/html/html_documentimpl.cpp:249
#16 0xb3ff4d5c in KHTMLPart::checkEmitLoadEvent (this=0x96a7d90)
    at /tmp/buildd/kde4libs-4.1.1/khtml/khtml_part.cpp:2353
#17 0xb3ffbcf4 in KHTMLPart::checkCompleted (this=0x96a7d90)
    at /tmp/buildd/kde4libs-4.1.1/khtml/khtml_part.cpp:2274
#18 0xb3ffc080 in KHTMLPart::slotLoaderRequestDone (this=0x96a7d90, 
    dl=0x97ab5c0, obj=0x98bc3a0)
    at /tmp/buildd/kde4libs-4.1.1/khtml/khtml_part.cpp:2128
#19 0xb402c3aa in KHTMLPart::qt_metacall (this=0x96a7d90, 
    _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfbfcba8)
    at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/khtml/khtml_part.moc:314
#20 0xb685b0c0 in QMetaObject::activate (sender=0x96a2290, 
    from_signal_index=5, to_signal_index=5, argv=0xbfbfcba8)
    at kernel/qobject.cpp:3010
#21 0xb685be42 in QMetaObject::activate (sender=0x96a2290, m=0xb43db838, 
    local_signal_index=1, argv=0xbfbfcba8) at kernel/qobject.cpp:3080
#22 0xb41d9149 in khtml::Loader::requestDone (this=0x96a2290, _t1=0x97ab5c0, 
    _t2=0x98bc3a0)
    at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/khtml/loader.moc:150
#23 0xb41de9c3 in khtml::Loader::slotFinished (this=0x96a2290, job=0x95b83a0)
    at /tmp/buildd/kde4libs-4.1.1/khtml/misc/loader.cpp:1404
#24 0xb41e44f7 in khtml::Loader::qt_metacall (this=0x96a2290, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfbfcd1c)
    at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/khtml/loader.moc:129
#25 0xb685b0c0 in QMetaObject::activate (sender=0x95b83a0, 
    from_signal_index=7, to_signal_index=7, argv=0xbfbfcd1c)
    at kernel/qobject.cpp:3010
#26 0xb685be42 in QMetaObject::activate (sender=0x95b83a0, m=0xb76578a8, 
    local_signal_index=3, argv=0xbfbfcd1c) at kernel/qobject.cpp:3080
#27 0xb751ec83 in KJob::result (this=0x95b83a0, _t1=0x95b83a0)
    at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kdecore/kjob.moc:186
#28 0xb751f192 in KJob::emitResult (this=0x95b83a0)
    at /tmp/buildd/kde4libs-4.1.1/kdecore/jobs/kjob.cpp:290
#29 0xb7a87335 in KIO::SimpleJob::slotFinished (this=0x95b83a0)
    at /tmp/buildd/kde4libs-4.1.1/kio/kio/job.cpp:498
#30 0xb7a8a9e3 in KIO::TransferJob::slotFinished (this=0x95b83a0)
    at /tmp/buildd/kde4libs-4.1.1/kio/kio/job.cpp:967
#31 0xb7a8b7bb in KIO::TransferJob::qt_metacall (this=0x95b83a0, 
    _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfbfcf58)
    at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/jobclasses.moc:336
#32 0xb685b0c0 in QMetaObject::activate (sender=0x98239e0, 
    from_signal_index=8, to_signal_index=8, argv=0x0)
    at kernel/qobject.cpp:3010
#33 0xb685be42 in QMetaObject::activate (sender=0x98239e0, m=0xb7c37ce4, 
    local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3080
#34 0xb7b4c3a7 in KIO::SlaveInterface::finished (this=0x98239e0)
    at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/slaveinterface.moc:161
#35 0xb7b50017 in KIO::SlaveInterface::dispatch (this=0x98239e0, _cmd=104, 
    rawdata=@0xbfbfd124)
    at /tmp/buildd/kde4libs-4.1.1/kio/kio/slaveinterface.cpp:175
#36 0xb7b4cb27 in KIO::SlaveInterface::dispatch (this=0x98239e0)
    at /tmp/buildd/kde4libs-4.1.1/kio/kio/slaveinterface.cpp:90
#37 0xb7b3cb5d in KIO::Slave::gotInput (this=0x98239e0)
    at /tmp/buildd/kde4libs-4.1.1/kio/kio/slave.cpp:319
#38 0xb7b3f5a3 in KIO::Slave::qt_metacall (this=0x98239e0, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfbfd238)
    at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/slave.moc:75
#39 0xb685b0c0 in QMetaObject::activate (sender=0x9803b88, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3010
#40 0xb685be42 in QMetaObject::activate (sender=0x9803b88, m=0xb7c34940, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080
#41 0xb7a4e6d7 in KIO::Connection::readyRead (this=0x9803b88)
    at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/connection.moc:84
#42 0xb7a50799 in KIO::ConnectionPrivate::dequeue (this=0x9820fa8)
    at /tmp/buildd/kde4libs-4.1.1/kio/kio/connection.cpp:82
#43 0xb7a50926 in KIO::Connection::qt_metacall (this=0x9803b88, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x995dc70)
    at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/connection.moc:72
#44 0xb685423b in QMetaCallEvent::placeMetaCall (this=0x98bf8c0, 
    object=0x9803b88) at kernel/qobject.cpp:535
#45 0xb6855df9 in QObject::event (this=0x9803b88, e=0x98bf8c0)
    at kernel/qobject.cpp:1140
#46 0xb6ad366c in QApplicationPrivate::notify_helper (this=0x93473a8, 
    receiver=0x9803b88, e=0x98bf8c0) at kernel/qapplication.cpp:3772
#47 0xb6adb43e in QApplication::notify (this=0xbfbfdbd4, receiver=0x9803b88, 
    e=0x98bf8c0) at kernel/qapplication.cpp:3366
#48 0xb782b97d in KApplication::notify (this=0xbfbfdbd4, receiver=0x9803b88, 
    event=0x98bf8c0)
    at /tmp/buildd/kde4libs-4.1.1/kdeui/kernel/kapplication.cpp:311
#49 0xb6846571 in QCoreApplication::notifyInternal (this=0xbfbfdbd4, 
    receiver=0x9803b88, event=0x98bf8c0) at kernel/qcoreapplication.cpp:587
#50 0xb68471e5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x933b6b0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#51 0xb68473fd in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#52 0xb6870f2f in postEventSourceDispatch (s=0x93496d8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#53 0xb626e2f1 in IA__g_main_context_dispatch (context=0x9349658)
    at /tmp/buildd/glib2.0-2.16.4/glib/gmain.c:2012
#54 0xb6271983 in g_main_context_iterate (context=0x9349658, block=1, 
    dispatch=1, self=0x93475e8)
    at /tmp/buildd/glib2.0-2.16.4/glib/gmain.c:2645
#55 0xb6271b41 in IA__g_main_context_iteration (context=0x9349658, 
    may_block=1) at /tmp/buildd/glib2.0-2.16.4/glib/gmain.c:2708
#56 0xb6870b78 in QEventDispatcherGlib::processEvents (this=0x9344ca8, flags=
      {i = -1077946104}) at kernel/qeventdispatcher_glib.cpp:325
#57 0xb6b6c415 in QGuiEventDispatcherGlib::processEvents (this=0x9344ca8, 
    flags={i = -1077946056}) at kernel/qguieventdispatcher_glib.cpp:204
#58 0xb6844c5a in QEventLoop::processEvents (this=0xbfbfd9b0, flags=
      {i = -1077945992}) at kernel/qeventloop.cpp:149
#59 0xb6844e1a in QEventLoop::exec (this=0xbfbfd9b0, flags={i = -1077945928})
    at kernel/qeventloop.cpp:200
#60 0xb68474c5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#61 0xb6ad34e7 in QApplication::exec () at kernel/qapplication.cpp:3304
#62 0xb7eaa5dd in kdemain (argc=1, argv=0xbfbfdef4)
    at /tmp/buildd/kdebase-4.1.1/apps/konqueror/src/konqmain.cpp:227
#63 0x08048592 in main (argc=)
    at /tmp/buildd/kdebase-4.1.1/obj-i486-linux-gnu/apps/konqueror/src/konqueror_dummy.cpp:3
#0  0xb7ee4424 in __kernel_vsyscall ()
Comment 1 Christophe Marin 2008-10-27 11:33:59 UTC
*** Bug 173663 has been marked as a duplicate of this bug. ***
Comment 2 Maksim Orlovich 2008-12-04 20:54:40 UTC
*** Bug 176913 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-09-28 01:57:07 UTC
*** Bug 183247 has been marked as a duplicate of this bug. ***
Comment 4 Tommi Tervo 2009-11-01 08:21:52 UTC
*** Bug 212574 has been marked as a duplicate of this bug. ***
Comment 5 Gérard Talbot (no longer involved) 2011-08-28 01:23:20 UTC
I followed the steps and did not crash: WORKSFORME

By the way, I filed bug 279618 because there is a real javascript error in the page with regards to accessing multiple forms (with same name) collection: Konqueror rightly reports the valid javascript error.

I am using
KDE Platform Version: 4.7.0
Konqueror version: 4.7.0 (KHTML rendering engine)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic-pae i686 (32bits)
Distribution: Kubuntu 11.04
here.

regards, Gérard
Comment 6 Andrew Crouthamel 2018-10-29 22:21:03 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Thomas Wouters 2018-10-30 09:09:33 UTC
Please close this report, I can no longer reproduce the issue.
Comment 8 Andrew Crouthamel 2018-10-30 13:06:22 UTC
Thanks for the update!