Bug 146218 - Crash when dismissing javascript error on www.infoworld.com
Summary: Crash when dismissing javascript error on www.infoworld.com
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 20:47 UTC by Olivier Vitrat
Modified: 2008-06-06 00:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Vitrat 2007-05-31 20:47:25 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Debian stable Packages

Reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=424045

Steps to reproduce:

Go to konqueror JS settings, and select "Enable debugger" and "Report
errors".
Go to http://www.infoworld.com/article/07/05/14/open-source-microsoft_1.html
Get JS error dialog containing "Parse error at (unknown) line 2"
Click "OK" to dismiss JS error dialog.
Crash.

I can reproduce this with 100% of the time with konq 4:3.5.6.dfsg.2-2 on
my desktop and on my desktop and laptop computers, both running up-to-date
debian unstable.

Stack trace follows:

Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1232361776 (LWP 15140)]
[KCrash handler]
#6  0xb5ff929d in KJS::KJSDebugWin::exception (this=0x86261c8, 
    exec=0xbfd7e974, value=@0xbfd7e100, inTryCatch=false)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./khtml/ecma/kjs_debugwin.cpp:828
#7  0xb5d20c54 in KJS::ExecState::setException (this=0xbfd7e974, 
    e=@0xbfd7e100)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/interpreter.cpp:364
#8  0xb5d3edc6 in KJS::FunctionImp::call (this=0x8ef3b58, exec=0xbfd7e974, 
    thisObj=@0xbfd7e1c0, args=@0xbfd7e1b4)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/function.cpp:388
#9  0xb5d3fa4e in KJS::Object::call (this=0xbfd7e1c8, exec=0xbfd7e974, 
    thisObj=@0xbfd7e1c0, args=@0xbfd7e1b4)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/object.cpp:73
#10 0xb5d56012 in KJS::FunctionCallNode::evaluate (this=0x8b37ff8, 
    exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:870
#11 0xb5d5312e in KJS::ExprStatementNode::execute (this=0x8b38050, 
    exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:1980
#12 0xb5d4f508 in KJS::SourceElementsNode::execute (this=0x8b38080, 
    exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:3091
#13 0xb5d24849 in KJS::BlockNode::execute (this=0x8b380b8, exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:1942
#14 0xb5d52fbb in KJS::IfNode::execute (this=0x8b380e8, exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:2021
#15 0xb5d4f508 in KJS::SourceElementsNode::execute (this=0x8b38120, 
    exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:3091
#16 0xb5d24849 in KJS::BlockNode::execute (this=0x8b38158, exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:1942
#17 0xb5d51630 in KJS::ForInNode::execute (this=0x8b38188, exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:2306
#18 0xb5d4f508 in KJS::SourceElementsNode::execute (this=0x8b381d0, 
    exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:3091
#19 0xb5d24849 in KJS::BlockNode::execute (this=0x8e5f6b8, exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:1942
#20 0xb5d52fbb in KJS::IfNode::execute (this=0x8e5f6e8, exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:2021
#21 0xb5d4f5a8 in KJS::SourceElementsNode::execute (this=0x8e5eca8, 
    exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:3097
#22 0xb5d24849 in KJS::BlockNode::execute (this=0x8e5f758, exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:1942
#23 0xb5d51d65 in KJS::ForNode::execute (this=0x8b38010, exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:2199
#24 0xb5d4f508 in KJS::SourceElementsNode::execute (this=0x8e5f788, 
    exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:3091
#25 0xb5d24849 in KJS::BlockNode::execute (this=0x8e5f9d0, exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:1942
#26 0xb5d3d086 in KJS::DeclaredFunctionImp::execute (this=0x8ef3be8, 
    exec=0xbfd7e974)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/function.cpp:597
#27 0xb5d3ec01 in KJS::FunctionImp::call (this=0x8ef3be8, exec=0xbfd7ed18, 
    thisObj=@0xbfd7ea50, args=@0xbfd7ea44)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/function.cpp:372
#28 0xb5d3fa4e in KJS::Object::call (this=0xbfd7ea58, exec=0xbfd7ed18, 
    thisObj=@0xbfd7ea50, args=@0xbfd7ea44)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/object.cpp:73
#29 0xb5d56012 in KJS::FunctionCallNode::evaluate (this=0x8e5fab0, 
    exec=0xbfd7ed18)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:870
#30 0xb5d5312e in KJS::ExprStatementNode::execute (this=0x8e5fac8, 
    exec=0xbfd7ed18)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:1980
#31 0xb5d4f5a8 in KJS::SourceElementsNode::execute (this=0x891c3b0, 
    exec=0xbfd7ed18)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:3097
#32 0xb5d24849 in KJS::BlockNode::execute (this=0x8f0b688, exec=0xbfd7ed18)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/nodes.cpp:1942
#33 0xb5d59bea in KJS::InterpreterImp::evaluate (this=0x85c8c88, 
    code=@0xbfd7ee00, thisV=@0xbfd7ee04)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/internal.cpp:904
#34 0xb5d59f4a in KJS::Interpreter::evaluate (this=0x864ba80, 
    code=@0xbfd7ee00, thisV=@0xbfd7ee04)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kjs/interpreter.cpp:166
#35 0xb600ef96 in KJS::KJSProxyImpl::evaluate (this=0x857b838, 
    filename=@0xbfd7eeb4, baseLine=1, str=@0xbfd7f038, n=@0xbfd7ef48, 
    completion=0xbfd7ee98)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./khtml/ecma/kjs_proxy.cpp:164
#36 0xb5e6f89c in KHTMLPart::executeScript (this=0x885f1a8, 
    filename=@0xbfd7ef50, baseLine=1, n=@0xbfd7ef48, script=@0xbfd7f038)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./khtml/khtml_part.cpp:1155
#37 0xb5ef86a2 in khtml::HTMLTokenizer::scriptExecution (this=0x86b2b10, 
    str=@0xbfd7f038, scriptURL=@0xbfd7f034, baseLine=0)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./khtml/html/htmltokenizer.cpp:452
#38 0xb5f0409a in khtml::HTMLTokenizer::notifyFinished (this=0x86b2b10)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./khtml/html/htmltokenizer.cpp:1755
#39 0xb5fc1104 in khtml::CachedScript::checkNotify (this=0x8e88e08)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./khtml/misc/loader.cpp:369
#40 0xb5fc818f in khtml::CachedScript::data (this=0x8e88e08, 
    buffer=@0x8e8a87c, eof=true)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./khtml/misc/loader.cpp:361
#41 0xb5fc693e in khtml::Loader::slotFinished (this=0x85c7400, job=0x8e8c508)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./khtml/misc/loader.cpp:1204
#42 0xb5fc70fc in khtml::Loader::qt_invoke (this=0x85c7400, _id=2, 
    _o=0xbfd7f1d4) at ./loader.moc:260
#43 0xb7275e1b in QObject::activate_signal (this=0x8e8c508, clist=0x8e8c3e8, 
    o=0xbfd7f1d4) at kernel/qobject.cpp:2356
#44 0xb7aa668e in KIO::Job::result (this=0x8e8c508, t0=0x8e8c508)
    at ./jobclasses.moc:162
#45 0xb7ae8d9c in KIO::Job::emitResult (this=0x8e8c508)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kio/kio/job.cpp:235
#46 0xb7ae921e in KIO::SimpleJob::slotFinished (this=0x8e8c508)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kio/kio/job.cpp:601
#47 0xb7ae993d in KIO::TransferJob::slotFinished (this=0x8e8c508)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kio/kio/job.cpp:971
#48 0xb7ae89ba in KIO::TransferJob::qt_invoke (this=0x8e8c508, _id=17, 
    _o=0xbfd7f54c) at ./jobclasses.moc:1071
#49 0xb7275e1b in QObject::activate_signal (this=0x8740a60, clist=0x85d1d60, 
    o=0xbfd7f54c) at kernel/qobject.cpp:2356
#50 0xb72768ac in QObject::activate_signal (this=0x8740a60, signal=6)
    at kernel/qobject.cpp:2325
#51 0xb7aa1c3c in KIO::SlaveInterface::finished (this=0x8740a60)
    at ./slaveinterface.moc:226
#52 0xb7b06733 in KIO::SlaveInterface::dispatch (this=0x8740a60, _cmd=104, 
    rawdata=@0xbfd7f760)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kio/kio/slaveinterface.cpp:243
#53 0xb7b0ecb8 in KIO::SlaveInterface::dispatch (this=0x8740a60)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kio/kio/slaveinterface.cpp:173
#54 0xb7ab609b in KIO::Slave::gotInput (this=0x8740a60)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kio/kio/slave.cpp:300
#55 0xb7aff160 in KIO::Slave::qt_invoke (this=0x8740a60, _id=4, _o=0xbfd7f888)
    at ./slave.moc:113
#56 0xb7275e1b in QObject::activate_signal (this=0x8611578, clist=0x86bed18, 
    o=0xbfd7f888) at kernel/qobject.cpp:2356
#57 0xb7276722 in QObject::activate_signal (this=0x8611578, signal=2, 
    param=19) at kernel/qobject.cpp:2449
#58 0xb75ffd1f in QSocketNotifier::activated (this=0x8611578, t0=19)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:85
#59 0xb72985c6 in QSocketNotifier::event (this=0x8611578, e=0xbfd7fbe0)
    at kernel/qsocketnotifier.cpp:258
#60 0xb720dcf2 in QApplication::internalNotify (this=0xbfd7ff1c, 
    receiver=0x8611578, e=0xbfd7fbe0) at kernel/qapplication.cpp:2635
#61 0xb720fb0f in QApplication::notify (this=0xbfd7ff1c, receiver=0x8611578, 
    e=0xbfd7fbe0) at kernel/qapplication.cpp:2358
#62 0xb78e3cce in KApplication::notify (this=0xbfd7ff1c, receiver=0x8611578, 
    event=0xbfd7fbe0)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kdecore/kapplication.cpp:550
#63 0xb71a14c1 in QApplication::sendEvent (receiver=0x8611578, 
    event=0xbfd7fbe0) at ../include/qapplication.h:520
#64 0xb7200079 in QEventLoop::activateSocketNotifiers (this=0x80bf2a0)
    at kernel/qeventloop_unix.cpp:578
#65 0xb71b57f4 in QEventLoop::processEvents (this=0x80bf2a0, flags=4)
    at kernel/qeventloop_x11.cpp:383
#66 0xb7228245 in QEventLoop::enterLoop (this=0x80bf2a0)
    at kernel/qeventloop.cpp:198
#67 0xb7228066 in QEventLoop::exec (this=0x80bf2a0)
    at kernel/qeventloop.cpp:145
#68 0xb720f88b in QApplication::exec (this=0xbfd7ff1c)
    at kernel/qapplication.cpp:2758
#69 0xb66a95d5 in kdemain (argc=2, argv=0x8081188)
    at /tmp/buildd/kdebase-3.5.6.dfsg.2/./konqueror/konq_main.cc:206
#70 0xb7f75524 in kdeinitmain (argc=2, argv=0x8081188) at konqueror_dummy.cc:3
#71 0x0804e457 in launch (argc=2, _name=0x8076544 "konqueror", 
    args=0x8076556 "", cwd=0x0, envc=1, envs=0x8076567 "", reset_env=false, 
    tty=0x0, avoid_loops=false, 
    startup_id_str=0x807656c "adam-1;1179237984;481533;4450_TIME2416945365")
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kinit/kinit.cpp:673
#72 0x0804ecef in handle_launcher_request (sock=9)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kinit/kinit.cpp:1240
#73 0x0804f0b2 in handle_requests (waitForPid=0)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kinit/kinit.cpp:1443
#74 0x080502d1 in main (argc=5, argv=0xbfd809e4, envp=0xbfd809fc)
    at /tmp/buildd/kdelibs-3.5.6.r1.dfsg.1/./kinit/kinit.cpp:1909
#75 0xb7cd9ebc in __libc_start_main () from /lib/i686/cmov/libc.so.6
#76 0x0804b911 in _start ()
Comment 1 Eduardo Robles Elvira 2008-06-06 00:41:21 UTC
The bug is not reproducible in KDE 4. Closing this bug as WORKSFORME as JS support has been reworked in KDE 4 and we won't fix KDE 3.5 anymore. Please reopen if it still happens in kde-4.0.5 or kde-4.1 when it's out. Thanks for the report!