Bug 157685

Summary: Crash after switching virtual desktops after activating JS debugger
Product: [Applications] konqueror Reporter: Oliver Putz <Regnaron>
Component: kjsAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andresbajotierra, benedict, justin.zobel, maksim
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Oliver Putz 2008-02-11 21:15:12 UTC
Version:           4.00.61 (KDE 4.0.61 >= 20080207) (using 4.00.61 (KDE 4.0.61 >= 20080207), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.23-gentoo-r6

What I did: I had several konqueror instances on several virtual desktops open. In one instance I activated the JavaScript debugger and checked "report errors". (Both were deactivated before)
After I switched to another virtual desktop, some konqueror instance (I guess the one I switched to) crashed with the following backtrace (kdebase r772956):

Application: Konqueror (konqueror), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb6370a10 (LWP 8327)]
[KCrash handler]
#6  QString (this=0xbfc49d1c, other=@0x14)
    at /usr/include/qt4/QtCore/qstring.h:662
#7  0xb4531dcc in KJSDebugger::DebugDocument::name (this=0x0)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/ecma/debugger/debugdocument.cpp:60
#8  0xb45286c4 in KJSDebugger::DebugWindow::enterContext (this=0x888bd98, 
    exec=0xbfc49da8, sourceId=55, lineno=118, function=0xb15dd3a0, 
    args=@0xbfc49e68)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/ecma/debugger/debugwindow.cpp:675
#9  0xb4770378 in KJS::FunctionImp::callAsFunction (this=0xb15dd3a0, 
    exec=0x8c2cc4c, thisObj=0xb15dfbc0, args=@0xbfc49e68)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kjs/function.cpp:154
#10 0xb47778bb in KJS::JSObject::call (this=0xb15dd3a0, exec=0x8c2cc4c, 
    thisObj=0xb15dfbc0, args=@0xbfc49e68)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kjs/object.cpp:99
#11 0xb450edaf in KJS::JSEventListener::handleEvent (this=0x90564b0, 
    evt=@0xbfc49eb4)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/ecma/kjs_events.cpp:100
#12 0xb4362bf6 in DOM::NodeImpl::handleLocalEvents (this=0x8fd5ddc, 
    evt=0x85d3eb8, useCapture=false)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/xml/dom_nodeimpl.cpp:700
#13 0xb43643bf in DOM::NodeImpl::dispatchGenericEvent (
    this=<value optimized out>, evt=0x85d3eb8)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/xml/dom_nodeimpl.cpp:480
#14 0xb4362d4b in DOM::NodeImpl::dispatchEvent (this=0x86232b0, 
    evt=0x85d3eb8, exceptioncode=@0xbfc4a07c, tempEvent=true)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/xml/dom_nodeimpl.cpp:421
#15 0xb42cdd14 in KHTMLView::dispatchMouseEvent (this=0x8c2d0a8, eventId=8, 
    targetNode=0x86232b0, targetNodeNonShared=0x86232b0, cancelable=false, 
    detail=0, _mouse=<value optimized out>, setUnder=true, mouseEventType=4, 
    orient=0)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/khtmlview.cpp:3579
#16 0xb42d4917 in KHTMLView::mouseMoveEvent (this=0x8c2d0a8, 
    _mouse=0xbfc4aaa4)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/khtmlview.cpp:1289
#17 0xb696e7cf in QWidget::event (this=0x8c2d0a8, event=0xbfc4aaa4)
    at kernel/qwidget.cpp:6123
#18 0xb6cb1073 in QFrame::event (this=0x8c2d0a8, e=0xbfc4aaa4)
    at widgets/qframe.cpp:655
#19 0xb42d336f in KHTMLView::widgetEvent (this=0x8c2d0a8, e=0xbfc4aaa4)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/khtmlview.cpp:2277
#20 0xb42d64ae in KHTMLView::eventFilter (this=0x8c2d0a8, o=0x8c2cf48, 
    e=0xbfc4aaa4)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/khtml/khtmlview.cpp:2139
#21 0xb691bd9b in QApplicationPrivate::notify_helper (this=0x8058cd0, 
    receiver=0x8c2cf48, e=0xbfc4aaa4) at kernel/qapplication.cpp:3548
#22 0xb691da2c in QApplication::notify (this=0xbfc4b248, receiver=0x8c2cf48, 
    e=0xbfc4aaa4) at kernel/qapplication.cpp:3255
#23 0xb785d763 in KApplication::notify (this=0xbfc4b248, receiver=0x8c2cf48, 
    event=0xbfc4aaa4)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/kernel/kapplication.cpp:311
#24 0xb727ad7b in QCoreApplication::notifyInternal (this=0xbfc4b248, 
    receiver=0x8c2cf48, event=0xbfc4aaa4) at kernel/qcoreapplication.cpp:530
#25 0xb6981628 in QETWidget::translateMouseEvent (this=0x8c2cf48, 
    event=0xbfc4acac)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:203
#26 0xb6980deb in QApplication::x11ProcessEvent (this=0xbfc4b248, 
    event=0xbfc4ae68) at kernel/qapplication_x11.cpp:3073
#27 0xb69a5c45 in QEventDispatcherX11::processEvents (this=0x8058790, 
    flags=@0xbfc4af54) at kernel/qeventdispatcher_x11.cpp:125
#28 0xb727a191 in QEventLoop::processEvents (this=0xbfc4afc0, 
    flags=@0xbfc4af88) at kernel/qeventloop.cpp:140
#29 0xb727a29a in QEventLoop::exec (this=0xbfc4afc0, flags=@0xbfc4afc8)
    at kernel/qeventloop.cpp:186
#30 0xb727c626 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:759
#31 0xb691b487 in QApplication::exec () at kernel/qapplication.cpp:3053
#32 0xb7f03657 in kdemain (argc=4, argv=0xbfc4b5c4)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/src/konqmain.cpp:218
#33 0x080487e2 in main (argc=)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase_build/apps/konqueror/src/konqueror_dummy.cpp:3
#34 0xb6588fdc in __libc_start_main (main=0x80487c0 <main>, argc=4, 
    ubp_av=0xbfc4b5c4, init=0x8048810 <__libc_csu_init>, 
    fini=0x8048800 <__libc_csu_fini>, rtld_fini=0xb7f28100 <_dl_fini>, 
    stack_end=0xbfc4b5bc) at libc-start.c:229
#35 0x08048731 in _start ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Maksim Orlovich 2008-08-26 23:11:25 UTC
*** Bug 157677 has been marked as a duplicate of this bug. ***
Comment 2 Maksim Orlovich 2008-08-26 23:31:13 UTC
Mostly addressed in:
http://lists.kde.org/?l=kde-commits&m=121978525732664&w=2
Comment 3 Dario Andres 2009-05-29 20:47:27 UTC
@Maksim: is this a duplicate/related of bug 157936? Thanks
Comment 4 Justin Zobel 2020-12-03 22:29:36 UTC
Thank you for the report, Oliver.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 5 Bug Janitor Service 2020-12-18 04:34:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2021-01-02 04:34:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!