Bug 140548 - KJS hangs in KJS::XMLHttpRequest and makes Konqueror unresponsive
Summary: KJS hangs in KJS::XMLHttpRequest and makes Konqueror unresponsive
Status: RESOLVED REMIND
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: 3.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-24 13:55 UTC by Krzysztof Lichota
Modified: 2008-06-04 17:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of frozen Konqueror window (179.86 KB, image/png)
2007-01-24 13:57 UTC, Krzysztof Lichota
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Lichota 2007-01-24 13:55:29 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages

I was browsing these 2 pages using Konqueror:
http://blogs.msdn.com/michael_howard/archive/2007/01/10/why-windows-vista-is-unaffected-by-the-vml-bug.aspx
http://blogs.msdn.com/michael_howard/archive/2005/12/06/500629.aspx

At some point (might have been after hibernating/unhibernating a few times, I am not sure), Konqueror stopped responding to keyboard and mouse events. It redraws just fine (no freeze), but I cannot do anything with the GUI.

I have attached debugger to it and it seems some internal processEvents loop is running inside processing XMLHttpRequest. Here is the full backtrace:
(gdb) thread apply all bt

Thread 1 (Thread -1230649664 (LWP 20722)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x4226308d in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6daaa8d in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#3  0xb6e1ea2f in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#4  0xb6e04a79 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#5  0xb7a7fecf in KIO::NetAccess::enter_loop (this=0xbff5f760) at netaccess.cpp:498
#6  0xb7ac34b5 in KIO::NetAccess::synchronousRunInternal (this=0xbff5f760, job=0x89a0a98, window=0xfffffdfe,
    data=0xbff5f84c, finalURL=0xbff5f824, metaData=0xbff5f85c) at netaccess.cpp:479
#7  0xb7ac35e2 in KIO::NetAccess::synchronousRun (job=0xfffffdfe, window=0xfffffdfe, data=0xfffffdfe, finalURL=0xfffffdfe,
    metaData=0xfffffdfe) at netaccess.cpp:277
#8  0xb63714fe in KJS::XMLHttpRequest::send (this=0x89a0508, _body=@0xfffffdfe) at xmlhttprequest.cpp:386
#9  0xb6396c51 in KJS::XMLHttpRequestProtoFunc::tryCall (this=0xfffffdfe, exec=0xbff600d4, thisObj=@0xbff5fc60,
    args=@0xbff5fc54) at xmlhttprequest.cpp:745
#10 0xb6398784 in KJS::DOMFunction::call (this=0x80e00b4, exec=0xbff600d4, thisObj=@0xfffffdfe, args=@0xfffffdfe)
    at kjs_binding.cpp:136
#11 0xb60bff8f in KJS::Object::call (this=0xfffffdfe, exec=0xbff600d4, thisObj=@0xfffffdfe, args=@0xfffffdfe)
    at object.cpp:73
#12 0xb60ce4a6 in KJS::FunctionCallNode::evaluate (this=0x87313e8, exec=0xbff600d4) at nodes.cpp:870
#13 0xb60d0ba8 in KJS::ExprStatementNode::execute (this=0x8731400, exec=0xbff600d4) at nodes.cpp:1980
#14 0xb60d533d in KJS::SourceElementsNode::execute (this=0x87312f8, exec=0xbff600d4) at nodes.cpp:3097
#15 0xb60d0a30 in KJS::BlockNode::execute (this=0x8731468, exec=0xbff600d4) at nodes.cpp:1942
#16 0xb60d4d51 in KJS::TryNode::execute (this=0x8731520, exec=0xbff600d4) at nodes.cpp:2871
#17 0xb60d533d in KJS::SourceElementsNode::execute (this=0x8730590, exec=0xbff600d4) at nodes.cpp:3097
#18 0xb60d0a30 in KJS::BlockNode::execute (this=0x8731720, exec=0xbff600d4) at nodes.cpp:1942
#19 0xb60d6331 in KJS::DeclaredFunctionImp::execute (this=0xfffffdfe, exec=0xfffffdfe) at function.cpp:588
#20 0xb60bc93d in KJS::FunctionImp::call (this=0x86fd380, exec=0x86ec398, thisObj=@0x80e00b4, args=@0x888863c)
    at function.cpp:363
#21 0xb635693f in KJS::ScheduledAction::execute (this=0x8888638, window=0x86ee1c0) at kjs_window.cpp:1946
#22 0xb6360310 in KJS::WindowQObject::timerEvent (this=0x81e9968) at kjs_window.cpp:2091
#23 0xb6e6d270 in QObject::event () from /usr/lib/libqt-mt.so.3
#24 0xb6e05f3e in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#25 0xb6e0613a in QApplication::notify () from /usr/lib/libqt-mt.so.3
#26 0xb759f1cd in KApplication::notify (this=0xbff60888, receiver=0x81e9968, event=0xbff60528) at kapplication.cpp:550
#27 0xb6d97157 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#28 0xb6df792b in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#29 0xb6daaf67 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#30 0xb6e1ea2f in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#31 0xb6e1e952 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#32 0xb6e04a4d in QApplication::exec () from /usr/lib/libqt-mt.so.3
#33 0xb7ebe17f in kdemain () from /usr/lib/libkdeinit_konqueror.so
#34 0x421b5ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#35 0x080483b5 in ?? ()
Comment 1 Krzysztof Lichota 2007-01-24 13:57:09 UTC
Created attachment 19395 [details]
Screenshot of frozen Konqueror window

This is screenshot of hanging Konqueror window. It looks OK, but it does not
react to mouse hovering over links or menus, etc.
Comment 2 Michael Leupold 2008-04-20 15:22:58 UTC
Unfortunately the page's design has changed and the old version's includes are not available on www.archive.org. Have you been able to reproduce this bug on another page or do you think you could provide a testcase for it?
Comment 3 Jaime Torres 2008-06-04 10:26:41 UTC
Waiting for an answer.
Comment 4 Krzysztof Lichota 2008-06-04 17:38:29 UTC
I cannot reproduce this behaviour and I am not using this version of
Konqueror any more (I am using 3.5.2 currently), so please close the
bug.