Bug 157677 - Crash while saving kjs settings
Summary: Crash while saving kjs settings
Status: RESOLVED DUPLICATE of bug 157685
Alias: None
Product: konqueror
Classification: Applications
Component: kjs (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-11 19:38 UTC by benedict
Modified: 2008-08-26 23:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description benedict 2008-02-11 19:38:44 UTC
Version:           4.00.61 (KDE 4.0.61 >= 20080207) (using 4.00.61 (KDE 4.0.61 >= 20080207), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.22-gentoo-r9

Settings -> Configure Konqueror -> Java & Java Script -> Java Script -> Enable debugging

Crash with this backtrace

Application: Konqueror (konqueror), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x2b5f3d939390 (LWP 27707)]
[KCrash handler]
#5  QString (this=0x7fff747e8b10, other=@0x28)
    at /usr/include/qt4/QtCore/qstring.h:662
#6  0x00002b5f44d31a4d in KJSDebugger::DebugDocument::name (
    this=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/ecma/debugger/debugdocument.cpp:60
#7  0x00002b5f44d29cd3 in KJSDebugger::DebugWindow::enterContext (
    this=0x29516c0, exec=0x7fff747e8c10, sourceId=5, lineno=140, 
    function=0x2b5f46ed3b40, args=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/ecma/debugger/debugwindow.cpp:675
#8  0x00002b5f442e9baf in KJS::FunctionImp::callAsFunction (
    this=0x2b5f46ed3b40, exec=0x7fff747e8f30, thisObj=0x2b5f46ec0000, 
    args=@0x7fff747e8d40)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kjs/function.cpp:154
#9  0x00002b5f442efb05 in KJS::JSObject::call (this=0x2b5f46ed3b40, 
    exec=0x7fff747e8f30, thisObj=0x2b5f46ec0000, args=@0x7fff747e8d40)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kjs/object.cpp:99
#10 0x00002b5f442b8975 in KJS::FunctionCallReferenceNode::evaluate (
    this=0x2a47a10, exec=0x7fff747e8f30)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kjs/nodes.cpp:1038
#11 0x00002b5f442b4a97 in KJS::ExprStatementNode::execute (this=0x2a47a40, 
    exec=0x7fff747e8f30)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kjs/nodes.cpp:2168
#12 0x00002b5f442b40fb in KJS::SourceElementsNode::execute (this=0x2a47a70, 
    exec=0x7fff747e8f30)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kjs/nodes.cpp:2973
#13 0x00002b5f442b2fca in KJS::BlockNode::execute (
    this=<value optimized out>, exec=0x7fff747e8f30)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kjs/nodes.cpp:2145
#14 0x00002b5f442f3dbe in KJS::Interpreter::evaluate (this=0xe917b0, 
    sourceURL=@0x7fff747e9110, startingLineNumber=1, 
    code=<value optimized out>, codeLength=<value optimized out>, 
    thisV=0x2b5f46ec0000)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kjs/interpreter.cpp:501
#15 0x00002b5f442f3eb6 in KJS::Interpreter::evaluate (this=0xe917b0, 
    sourceURL=@0x7fff747e9110, startingLineNumber=1, code=@0x7fff747e9100, 
    thisV=0x2b5f46ec0000)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kjs/interpreter.cpp:442
#16 0x00002b5f44d019b2 in KJS::KJSProxyImpl::evaluate (this=0xdf9740, 
    filename=<value optimized out>, baseLine=1, str=@0x292c420, 
    n=<value optimized out>, completion=0x7fff747e91c0)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/ecma/kjs_proxy.cpp:157
#17 0x00002b5f44b5eaf2 in KHTMLPart::executeScript (this=0xb847c0, 
    n=@0x7fff747e92a0, script=@0x292c420)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/khtml_part.cpp:1228
#18 0x00002b5f44ced15f in KJS::ScheduledAction::execute (this=0x292c410, 
    window=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/ecma/kjs_window.cpp:2182
#19 0x00002b5f44ced398 in KJS::WindowQObject::timerEvent (this=0xe86c80)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/ecma/kjs_window.cpp:2348
#20 0x00002b5f3a372786 in QObject::event (this=0xe86c80, e=0x28)
    at kernel/qobject.cpp:1086
#21 0x00002b5f3ae8551a in QApplicationPrivate::notify_helper (this=0xe60380, 
    receiver=0xe86c80, e=0x7fff747e99f0) at kernel/qapplication.cpp:3556
#22 0x00002b5f3ae86a57 in QApplication::notify (this=0x7fff747e9f60, 
    receiver=0xe86c80, e=0x7fff747e99f0) at kernel/qapplication.cpp:3497
#23 0x00002b5f378aded3 in KApplication::notify (this=0x7fff747e9f60, 
    receiver=0xe86c80, event=0x7fff747e99f0)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/kernel/kapplication.cpp:311
#24 0x00002b5f3a362780 in QCoreApplication::notifyInternal (
    this=0x7fff747e9f60, receiver=0xe86c80, event=0x7fff747e99f0)
    at kernel/qcoreapplication.cpp:530
#25 0x00002b5f3a387f99 in QTimerInfoList::activateTimers (this=0x61ff88)
    at kernel/qcoreapplication.h:200
#26 0x00002b5f3a388a3b in QEventDispatcherUNIX::processEvents (this=0x61e0a0, 
    flags=@0x7fff747e9c50) at kernel/qeventdispatcher_unix.cpp:890
#27 0x00002b5f3af0285b in QEventDispatcherX11::processEvents (this=0x61e0a0, 
    flags=@0x7fff747e9ca0) at kernel/qeventdispatcher_x11.cpp:145
#28 0x00002b5f3a361da8 in QEventLoop::processEvents (
    this=<value optimized out>, flags=<value optimized out>)
    at kernel/qeventloop.cpp:140
#29 0x00002b5f3a361ebd in QEventLoop::exec (this=0x7fff747e9d10, 
    flags=@0x7fff747e9d20) at kernel/qeventloop.cpp:186
#30 0x00002b5f3a363f1e in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:759
#31 0x00002b5f3657e636 in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/src/konqmain.cpp:218
#32 0x00002b5f3c476b74 in __libc_start_main (main=0x400980 <main>, argc=4, 
    ubp_av=0x7fff747ea8e8, init=<value optimized out>, 
    fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff747ea8d8) at libc-start.c:229
#33 0x00000000004008e9 in _start ()
#0  0x00002b5f3c4eb7b0 in __nanosleep_nocancel () from /lib64/libc.so.6
Comment 1 Eduardo Robles Elvira 2008-06-05 18:41:33 UTC
It works fine here in KDE > 4.1 beta 1 (SVN trunk rev 817151). Can you confirm if it's still happening to you in any recent version of KDE 4?
Comment 2 benedict 2008-06-05 21:05:45 UTC
I've checked it with kde-4.0.80 and had crash for first time with this backtrace:

Application: Konqueror (konqueror), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x2ba7c71beba0 (LWP 1523)]
[KCrash handler]
#5  QString (this=0x7fffeba62f70, other=@0x28)
    at /usr/include/qt4/QtCore/qstring.h:676
#6  0x00002ba7cbf53f4d in KJSDebugger::DebugDocument::name (
    this=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/khtml/ecma/debugger/debugdocument.cpp:77
#7  0x00002ba7cbf4bd53 in KJSDebugger::DebugWindow::enterContext (
    this=0x145ec70, exec=0x7fffeba63010, sourceId=6, lineno=21, 
    function=0x2aaaaca6c680, args=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/khtml/ecma/debugger/debugwindow.cpp:684
#8  0x00002ba7cc5c6d13 in KJS::FunctionImp::callAsFunction (
    this=0x2aaaaca6c680, exec=0x933ba0, thisObj=<value optimized out>, 
    args=@0x7fffeba63270)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/kjs/function.cpp:114
#9  0x00002ba7cc5ca535 in KJS::JSObject::call (this=0x2aaaaca6c680, 
    exec=0x933ba0, thisObj=0x2aaaacb53540, args=@0x7fffeba63270)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/kjs/object.cpp:99
#10 0x00002ba7cbf3828e in KJS::JSEventListener::handleEvent (this=0x12414d0, 
    evt=@0x7fffeba632e0)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/khtml/ecma/kjs_events.cpp:106
#11 0x00002ba7cbd99f53 in DOM::NodeImpl::handleLocalEvents (this=0x1089d10, 
    evt=0x147c090, useCapture=false)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/khtml/xml/dom_nodeimpl.cpp:727
#12 0x00002ba7cbd9b5eb in DOM::NodeImpl::dispatchGenericEvent (
    this=<value optimized out>, evt=0x147c090)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/khtml/xml/dom_nodeimpl.cpp:510
#13 0x00002ba7cbd9a095 in DOM::NodeImpl::dispatchEvent (this=0x1089e60, 
    evt=0x147c090, exceptioncode=@0x7fffeba6359c, tempEvent=true)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/khtml/xml/dom_nodeimpl.cpp:450
#14 0x00002ba7cbd1f7cd in KHTMLView::dispatchMouseEvent (this=0xbac2c0, 
    eventId=7, targetNode=0x1089e60, 
    targetNodeNonShared=<value optimized out>, cancelable=false, detail=0, 
    _mouse=0x7fffeba645f0, setUnder=true, mouseEventType=4, orient=0)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/khtml/khtmlview.cpp:3585
#15 0x00002ba7cbd25e9c in KHTMLView::mouseMoveEvent (this=0xbac2c0, 
    _mouse=0x7fffeba645f0)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/khtml/khtmlview.cpp:1313
#16 0x00002ba7c4197d0f in QWidget::event (this=0xbac2c0, event=0x7fffeba645f0)
    at kernel/qwidget.cpp:6912
#17 0x00002ba7c44bf366 in QFrame::event (this=0xbac2c0, e=0x7fffeba645f0)
    at widgets/qframe.cpp:657
#18 0x00002ba7cbd24bec in KHTMLView::widgetEvent (this=0xbac2c0, 
    e=0x7fffeba645f0)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/khtml/khtmlview.cpp:2295
#19 0x00002ba7cbd2758f in KHTMLView::eventFilter (this=0xbac2c0, o=0x724660, 
    e=0x7fffeba645f0)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/khtml/khtmlview.cpp:2159
#20 0x00002ba7c35ee0cc in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x724660, event=0x7fffeba645f0)
    at kernel/qcoreapplication.cpp:694
#21 0x00002ba7c414331f in QApplicationPrivate::notify_helper (this=0x61a3f0, 
    receiver=0x724660, e=0x7fffeba645f0) at kernel/qapplication.cpp:3768
#22 0x00002ba7c414736f in QApplication::notify (this=<value optimized out>, 
    receiver=0x724660, e=0x7fffeba645f0) at kernel/qapplication.cpp:3501
#23 0x00002ba7c0672e23 in KApplication::notify (this=0x7fffeba65150, 
    receiver=0x724660, event=0x7fffeba645f0)
    at /var/tmp/portage/kde-base/kdelibs-4.0.80/work/kdelibs-4.0.80/kdeui/kernel/kapplication.cpp:311
#24 0x00002ba7c35edcf8 in QCoreApplication::notifyInternal (
    this=0x7fffeba65150, receiver=0x724660, event=0x7fffeba645f0)
    at kernel/qcoreapplication.cpp:587
#25 0x00002ba7c4148d2e in QApplicationPrivate::sendMouseEvent (
    receiver=0x724660, event=0x7fffeba645f0, alienWidget=0x724660, 
    nativeWidget=0x6f6150, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x2ba7c4aff6b0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#26 0x00002ba7c41ab5eb in QETWidget::translateMouseEvent (this=0x6f6150, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4133
#27 0x00002ba7c41aa303 in QApplication::x11ProcessEvent (this=0x7fffeba65150, 
    event=0x7fffeba64cb0) at kernel/qapplication_x11.cpp:3255
#28 0x00002ba7c41cf052 in QEventDispatcherX11::processEvents (this=0x615470, 
    flags=@0x7fffeba64e80) at kernel/qeventdispatcher_x11.cpp:134
#29 0x00002ba7c35ed0b5 in QEventLoop::processEvents (
    this=<value optimized out>, flags=@0x7fffeba64ec0)
    at kernel/qeventloop.cpp:149
#30 0x00002ba7c35ed21a in QEventLoop::exec (this=0x7fffeba64f00, 
    flags=@0x7fffeba64f10) at kernel/qeventloop.cpp:200
#31 0x00002ba7c35ef350 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#32 0x00002ba7bf311d53 in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /var/tmp/portage/kde-base/konqueror-4.0.80/work/konqueror-4.0.80/apps/konqueror/src/konqmain.cpp:236
#33 0x00002ba7c5c24b74 in __libc_start_main (main=0x400990 <main>, argc=2, 
    ubp_av=0x7fffeba65b68, init=<value optimized out>, 
    fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fffeba65b58) at libc-start.c:229
#34 0x00000000004008f9 in _start ()
#0  0x00002ba7c5c997e1 in nanosleep () from /lib64/libc.so.6

 
After first crash all sequent efforts to reproduce it was failed.
Comment 3 Maksim Orlovich 2008-08-26 23:11:25 UTC

*** This bug has been marked as a duplicate of bug 157685 ***