Crash: blocking JS and deleting a window
Maks Orlovich
mo002j at mail.rochester.edu
Fri Oct 11 23:00:30 BST 2002
Koos Vriezen wrote:
> On Sat, 5 Oct 2002, Simon Hausmann wrote:
>
<snip>
Just stumbled on a potentially related problem (well, at least in a sense of
messageboxes getting created from JS), so I think I'll throw it out here in
case it's useful for this discussion:
<html>
<head>
<title>Weird crash</title>
<script type="text/javascript" language="javascript">
function processMemo( theForm )
{
confirm("Crash");
theForm.submit();
}
</script>
</head>
<body>
<form action="http://mail.rochester.edu/~mo002j/test" method=
"get">
<input type="text" onblur=
"javascript:processMemo( this.form)"> <input type="text"
onblur="javascript:processMemo( this.form)">
</form>
</body>
</html>
Crashes on mouseout from one field to an another one with:
#0 0x41069099 in wait4 () from /lib/libc.so.6
#1 0x410e3bd8 in __DTOR_END__ () from /lib/libc.so.6
#2 0x40efb072 in waitpid () from /lib/libpthread.so.0
#3 0x405b383c in KCrash::defaultCrashHandler ()
from /opt/kde-cvs/lib/libkdecore.so.4
#4 0x40ef8a74 in pthread_sighandler () from /lib/libpthread.so.0
#5 <signal handler called>
#6 0x417fdceb in khtml::RenderRoot::docHeight ()
from /opt/kde-cvs/lib/libkhtml.so.4
#7 0x41772d63 in KHTMLView::timerEvent () from
/opt/kde-cvs/lib/libkhtml.so.4
#8 0x4091d515 in QObject::event (this=0x8314f00, e=0xbfffcd00)
at kernel/qobject.cpp:666
#9 0x4094ee88 in QWidget::event (this=0x8314f00, e=0xbfffcd00)
at kernel/qwidget.cpp:4293
#10 0x408cd719 in QApplication::internalNotify (this=0xbfffebc8,
receiver=0x8314f00, e=0xbfffcd00) at kernel/qapplication.cpp:2290
#11 0x408cd313 in QApplication::notify (this=0xbfffebc8, receiver=0x8314f00,
e=0xbfffcd00) at kernel/qapplication.cpp:2213
#12 0x40552415 in KApplication::notify () from
/opt/kde-cvs/lib/libkdecore.so.4
#13 0x40cb4144 in QApplication::sendEvent (receiver=0x8314f00,
event=0xbfffcd00) at
.moc/debug-shared-mt/../../kernel/qapplication.h:475
#14 0x408af065 in QEventLoop::activateTimers (this=0x80a6728)
at kernel/qeventloop_unix.cpp:524
#15 0x4088aec0 in QEventLoop::processEvents (this=0x80a6728, flags=4)
at kernel/qeventloop_x11.cpp:305
#16 0x408e01f0 in QEventLoop::enterLoop (this=0x80a6728)
at kernel/qeventloop.cpp:188
#17 0x408cd9a5 in QApplication::enter_loop (this=0xbfffebc8)
at kernel/qapplication.cpp:2441
#18 0x40a69885 in QDialog::exec (this=0x838e588) at dialogs/qdialog.cpp:359
#19 0x403f2d8c in createKMessageBox () from /opt/kde-cvs/lib/libkdeui.so.4
#20 0x403f3e6f in KMessageBox::warningYesNo ()
from /opt/kde-cvs/lib/libkdeui.so.4
#21 0x41ac2407 in KJS::WindowFunc::tryCall ()
from /opt/kde-cvs/lib/kde3/kjs_html.so
#22 0x41a7e99d in KJS::DOMFunction::call ()
from /opt/kde-cvs/lib/kde3/kjs_html.so
#23 0x41b9f341 in KJS::Object::call () from /opt/kde-cvs/lib/libkjs.so.1
#24 0x41b7b83b in KJS::FunctionCallNode::value ()
from /opt/kde-cvs/lib/libkjs.so.1
#25 0x41b80207 in KJS::ExprStatementNode::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#26 0x41b85746 in KJS::SourceElementNode::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#27 0x41b859ce in KJS::SourceElementsNode::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#28 0x41b859e4 in KJS::SourceElementsNode::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#29 0x41b84c9a in KJS::FunctionBodyNode::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#30 0x41b9b846 in KJS::DeclaredFunctionImp::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#31 0x41b9aef5 in KJS::FunctionImp::call () from
/opt/kde-cvs/lib/libkjs.so.1
#32 0x41b9f341 in KJS::Object::call () from /opt/kde-cvs/lib/libkjs.so.1
#33 0x41b7b83b in KJS::FunctionCallNode::value ()
from /opt/kde-cvs/lib/libkjs.so.1
#34 0x41b80207 in KJS::ExprStatementNode::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#35 0x41b83d7f in KJS::LabelNode::execute () from
/opt/kde-cvs/lib/libkjs.so.1
#36 0x41b85746 in KJS::SourceElementNode::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#37 0x41b859ce in KJS::SourceElementsNode::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#38 0x41b84c9a in KJS::FunctionBodyNode::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#39 0x41b9b846 in KJS::DeclaredFunctionImp::execute ()
from /opt/kde-cvs/lib/libkjs.so.1
#40 0x41b9aef5 in KJS::FunctionImp::call () from
/opt/kde-cvs/lib/libkjs.so.1
#41 0x41b9f341 in KJS::Object::call () from /opt/kde-cvs/lib/libkjs.so.1
#42 0x41ae4c1d in KJS::JSEventListener::handleEvent ()
from /opt/kde-cvs/lib/kde3/kjs_html.so
#43 0x417a36da in DOM::NodeImpl::handleLocalEvents ()
from /opt/kde-cvs/lib/libkhtml.so.4
#44 0x417a2e30 in DOM::NodeImpl::dispatchGenericEvent ()
from /opt/kde-cvs/lib/libkhtml.so.4
#45 0x417a2c5d in DOM::NodeImpl::dispatchEvent ()
from /opt/kde-cvs/lib/libkhtml.so.4
#46 0x417a3101 in DOM::NodeImpl::dispatchHTMLEvent ()
from /opt/kde-cvs/lib/libkhtml.so.4
#47 0x417a037c in DOM::DocumentImpl::setFocusNode ()
from /opt/kde-cvs/lib/libkhtml.so.4
#48 0x417703be in KHTMLView::focusNextPrevNode ()
from /opt/kde-cvs/lib/libkhtml.so.4
#49 0x4176fb55 in KHTMLView::focusNextPrevChild ()
from /opt/kde-cvs/lib/libkhtml.so.4
#50 0x4094c1f5 in QWidget::focusNextPrevChild (this=0x8347de0, next=true)
at kernel/qwidget.cpp:3101
#51 0x4094c1f5 in QWidget::focusNextPrevChild (this=0x83484f0, next=true)
at kernel/qwidget.cpp:3101
#52 0x4094c1f5 in QWidget::focusNextPrevChild (this=0x837b748, next=true)
at kernel/qwidget.cpp:3101
#53 0x4094ddd0 in QWidget::hide (this=0x837b748) at kernel/qwidget.cpp:3734
#54 0x417f4a42 in khtml::RenderWidget::~RenderWidget ()
from /opt/kde-cvs/lib/libkhtml.so.4
#55 0x417f5790 in khtml::RenderFormElement::~RenderFormElement ()
from /opt/kde-cvs/lib/libkhtml.so.4
#56 0x41862dc4 in khtml::RenderLineEdit::~RenderLineEdit ()
from /opt/kde-cvs/lib/libkhtml.so.4
#57 0x417f49f3 in khtml::RenderWidget::detach ()
from /opt/kde-cvs/lib/libkhtml.so.4
#58 0x417a3b5f in DOM::NodeImpl::detach () from
/opt/kde-cvs/lib/libkhtml.so.4
#59 0x417a4764 in DOM::NodeBaseImpl::detach ()
from /opt/kde-cvs/lib/libkhtml.so.4
#60 0x417a4754 in DOM::NodeBaseImpl::detach ()
from /opt/kde-cvs/lib/libkhtml.so.4
#61 0x417a4754 in DOM::NodeBaseImpl::detach ()
from /opt/kde-cvs/lib/libkhtml.so.4
#62 0x417a4754 in DOM::NodeBaseImpl::detach ()
from /opt/kde-cvs/lib/libkhtml.so.4
#63 0x417a4754 in DOM::NodeBaseImpl::detach ()
from /opt/kde-cvs/lib/libkhtml.so.4
#64 0x4179d369 in DOM::DocumentImpl::detach ()
from /opt/kde-cvs/lib/libkhtml.so.4
#65 0x4177809a in KHTMLPart::clear () from /opt/kde-cvs/lib/libkhtml.so.4
#66 0x4177a00a in KHTMLPart::begin () from /opt/kde-cvs/lib/libkhtml.so.4
#67 0x417784b2 in KHTMLPart::slotData () from /opt/kde-cvs/lib/libkhtml.so.4
#68 0x4178d645 in KHTMLPart::qt_invoke () from
/opt/kde-cvs/lib/libkhtml.so.4
#69 0x4091fc5a in QObject::activate_signal (this=0x83840a8, clist=0x83862c0,
o=0xbfffe274) at kernel/qobject.cpp:2191
#70 0x40141f4f in KIO::TransferJob::data () from
/opt/kde-cvs/lib/libkio.so.4
#71 0x40133f19 in KIO::TransferJob::slotData ()
from /opt/kde-cvs/lib/libkio.so.4
#72 0x40142494 in KIO::TransferJob::qt_invoke ()
from /opt/kde-cvs/lib/libkio.so.4
#73 0x4091fc5a in QObject::activate_signal (this=0x8347398, clist=0x82bc818,
o=0xbfffe3a8) at kernel/qobject.cpp:2191
#74 0x40129c8a in KIO::SlaveInterface::data ()
from /opt/kde-cvs/lib/libkio.so.4
#75 0x40128960 in KIO::SlaveInterface::dispatch ()
from /opt/kde-cvs/lib/libkio.so.4
#76 0x4012850d in KIO::SlaveInterface::dispatch ()
from /opt/kde-cvs/lib/libkio.so.4
#77 0x40125ba3 in KIO::Slave::gotInput () from /opt/kde-cvs/lib/libkio.so.4
#78 0x40127ddf in KIO::Slave::qt_invoke () from /opt/kde-cvs/lib/libkio.so.4
#79 0x4091fc5a in QObject::activate_signal (this=0x824c8e8, clist=0x8351470,
o=0xbfffe634) at kernel/qobject.cpp:2191
#80 0x4091fef2 in QObject::activate_signal (this=0x824c8e8, signal=2,
param=14)
at kernel/qobject.cpp:2256
#81 0x40bc66ca in QSocketNotifier::activated (this=0x824c8e8, t0=14)
at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:86
#82 0x4093b0ea in QSocketNotifier::event (this=0x824c8e8, e=0xbfffe86c)
at kernel/qsocketnotifier.cpp:268
#83 0x408cd719 in QApplication::internalNotify (this=0xbfffebc8,
receiver=0x824c8e8, e=0xbfffe86c) at kernel/qapplication.cpp:2290
#84 0x408ccaef in QApplication::notify (this=0xbfffebc8, receiver=0x824c8e8,
e=0xbfffe86c) at kernel/qapplication.cpp:2054
#85 0x40552415 in KApplication::notify () from
/opt/kde-cvs/lib/libkdecore.so.4
#86 0x40cb4144 in QApplication::sendEvent (receiver=0x824c8e8,
event=0xbfffe86c) at
.moc/debug-shared-mt/../../kernel/qapplication.h:475
#87 0x408af1c6 in QEventLoop::activateSocketNotifiers (this=0x80a6728)
at kernel/qeventloop_unix.cpp:544
#88 0x4088aeac in QEventLoop::processEvents (this=0x80a6728, flags=4)
at kernel/qeventloop_x11.cpp:301
#89 0x408e01f0 in QEventLoop::enterLoop (this=0x80a6728)
at kernel/qeventloop.cpp:188
#90 0x408e0135 in QEventLoop::exec (this=0x80a6728)
at kernel/qeventloop.cpp:138
#91 0x408cd915 in QApplication::exec (this=0xbfffebc8)
at kernel/qapplication.cpp:2409
#92 0x414214ae in main () from /opt/kde-cvs/lib/konqueror.so
#93 0x0804cfa6 in launch ()
#94 0x0804de58 in handle_launcher_request ()
#95 0x0804e3aa in handle_requests ()
#96 0x0804f37f in main ()
#97 0x40fde9ed in __libc_start_main () from /lib/libc.so.6
(Thanks to wheels for confirming and the bt)...
Thanks,
-Maksim
More information about the kfm-devel
mailing list