Bug 41142 - [Qt] Web Inspector: inspector/debugger-pause-on-debugger-statement.html times out on Qt
Summary: [Qt] Web Inspector: inspector/debugger-pause-on-debugger-statement.html times...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Major
Assignee: Yury Semikhatsky
URL:
Keywords: Qt, QtTriaged
: 41147 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-24 03:15 PDT by Yury Semikhatsky
Modified: 2014-01-29 09:12 PST (History)
15 users (show)

See Also:


Attachments
Patch (1.87 KB, patch)
2010-08-17 07:55 PDT, Yury Semikhatsky
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Semikhatsky 2010-06-24 03:15:53 PDT
Web Inspector: inspector/debugger-pause-on-debugger-statement.html times out on Qt
Comment 2 Csaba Osztrogonác 2010-06-24 04:46:36 PDT
*** Bug 41147 has been marked as a duplicate of this bug. ***
Comment 3 Csaba Osztrogonác 2010-06-24 04:48:51 PDT
The test skipped to make buildbot happy:
http://trac.webkit.org/changeset/61754
Comment 4 Yury Semikhatsky 2010-06-25 04:47:11 PDT
The problem is reproducible only on Qt Release build. The test passes without errors in debug mode. Below is the stack trace that I observe:



GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/yurys/WebKit/WebKitBuild/Release/bin/DumpRenderTree...(no debugging symbols found)...done.
(gdb) r
Starting program: /home/yurys/WebKit/WebKitBuild/Release/bin/DumpRenderTree LayoutTests/inspector/debugger-pause-on-debugger-statement.html
[Thread debugging using libthread_db enabled]
[New Thread 0xb4f7ab70 (LWP 1789)]
[New Thread 0xb4659b70 (LWP 1790)]
[New Thread 0xb3cffb70 (LWP 1791)]
[Thread 0xb3cffb70 (LWP 1791) exited]
[Thread 0xb4659b70 (LWP 1790) exited]

Program received signal SIGTSTP, Stopped (user).
0xb7fe2430 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe2430 in __kernel_vsyscall ()
#1  0xb5c70b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb543e4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0xb54310ac in ?? () from /lib/libglib-2.0.so.0
#4  0xb54314b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb5ff45d5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb63fa135 in ?? () from /usr/lib/libQtGui.so.4
#7  0xb5fcb841 in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb777b4f4 in WebCore::EventLoop::cycle() () from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#9  0xb72a40b1 in WebCore::ScriptDebugServer::pauseIfNeeded(WebCore::Page*) ()
   from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#10 0xb799d076 in JSC::Interpreter::debug(JSC::ExecState*, JSC::DebugHookID, int, int) ()
   from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#11 0xb79a224f in cti_op_debug () from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#12 0xb269eb96 in ?? ()
#13 0xb799d7fa in JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, JSC::JSValue*) () from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#14 0xb79b80d0 in JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) ()
   from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#15 0xb72a993f in WebCore::ScheduledAction::executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue, WebCore::ScriptExecutionContext*)
    () from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#16 0xb72aa1e3 in WebCore::ScheduledAction::execute(WebCore::Document*) () from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#17 0xb75afa3b in WebCore::DOMTimer::fired() () from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#18 0xb764dd41 in WebCore::ThreadTimers::sharedTimerFiredInternal() () from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#19 0xb764de2d in WebCore::ThreadTimers::sharedTimerFired() () from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#20 0xb778a846 in WebCore::SharedTimerQt::timerEvent(QTimerEvent*) () from /home/yurys/WebKit/WebKitBuild/Release/lib/libQtWebKit.so.4
#21 0xb5fd9254 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#22 0xb633a4dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb634105e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0xb5fc8a3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0xb5ff7d66 in ?? () from /usr/lib/libQtCore.so.4
#26 0xb5ff4917 in ?? () from /usr/lib/libQtCore.so.4
#27 0xb542d5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0xb54312d8 in ?? () from /lib/libglib-2.0.so.0
#29 0xb54314b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0xb5ff45d5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0xb63fa135 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb5fc7059 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0xb5fc74aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0xb5fcb69f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#35 0xb633a577 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#36 0x0806d964 in main ()
(gdb) quit
Comment 5 Yury Semikhatsky 2010-08-17 07:52:54 PDT
The issues should have been resolved in https://trac.webkit.org/changeset/65315
Comment 6 Yury Semikhatsky 2010-08-17 07:55:45 PDT
Created attachment 64590 [details]
Patch
Comment 7 Yury Semikhatsky 2010-08-17 08:03:43 PDT
Comment on attachment 64590 [details]
Patch

Clearing flags on attachment: 64590

Committed r65503: <http://trac.webkit.org/changeset/65503>
Comment 8 Yury Semikhatsky 2010-08-17 08:03:56 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 WebKit Review Bot 2010-08-17 08:59:07 PDT
http://trac.webkit.org/changeset/65503 might have broken Qt Linux Release
Comment 10 Yury Semikhatsky 2010-08-17 09:00:23 PDT
Reverted in r65507.
Comment 11 Csaba Osztrogonác 2010-08-17 09:08:27 PDT
Most of the unskipped tests pass, only two tests still fail:
inspector/debugger-breakpoints-not-activated-on-reload.html
inspector/debugger-cyclic-ref.html

http://build.webkit.org/results/Qt%20Linux%20Release/r65504%20%2817928%29/results.html

I propose to unskip passing tests and file a new bug for two failing tests.