Bug 73006 - [Qt] Webkit burns cpu together with X when viewing certain sites
Summary: [Qt] Webkit burns cpu together with X when viewing certain sites
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 00:15 PST by Andras Mantia
Modified: 2014-02-03 03:19 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andras Mantia 2011-11-23 00:15:36 PST
This is the upstream report for http://bugs.kde.org/284633 .  Using webkit as the rendering engine for Konqueror stresses Xorg and the CPU.
An example link is: http://forum.softpedia.com/index.php?showforum=197 .
Tested with Qt 4.8, flash plugin 11.1.102.55, 64 bit.

What I found:
- it doesn't happen with an adblocker
- it doesn't happen with privoxy (that also filters out flash ads)
- it doesn't happen with export QT_NO_GLIB=1

The backtrace while this happens looks like this:
Program received signal SIGINT, Interrupt.
0x00007ffff4439dcd in read () from /lib64/libpthread.so.0
(gdb) bt
#0  0x00007ffff4439dcd in read () from /lib64/libpthread.so.0
#1  0x00007fffed1176ad in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fffed115cf2 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007fffed11723f in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#4  0x00007ffff2a1d0bd in _XReply () from /usr/lib64/libX11.so.6
#5  0x00007ffff2a002f0 in XGetGeometry () from /usr/lib64/libX11.so.6
#6  0x00007fff9795b591 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#7  0x00007fff979312a4 in gdk_window_get_geometry () from
/usr/lib64/libgdk-x11-2.0.so.0
#8  0x00007fff97929b40 in gdk_screen_get_monitor_at_window () from
/usr/lib64/libgdk-x11-2.0.so.0
#9  0x00007fffdf4ac948 in ?? () from
/usr/lib64/browser-plugins/libflashplayer.so
#10 0x00007fffdf4c4373 in ?? () from
/usr/lib64/browser-plugins/libflashplayer.so
#11 0x00007fffdf4aeb22 in ?? () from
/usr/lib64/browser-plugins/libflashplayer.so
#12 0x00007fffdf4aef74 in ?? () from
/usr/lib64/browser-plugins/libflashplayer.so
#13 0x00007fff97ce1958 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#14 0x00007fffed773a14 in g_closure_invoke () from
/usr/lib64/libgobject-2.0.so.0
#15 0x00007fffed78599a in ?? () from /usr/lib64/libgobject-2.0.so.0
#16 0x00007fffed78edf3 in g_signal_emit_valist () from
/usr/lib64/libgobject-2.0.so.0
#17 0x00007fffed78f1c2 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#18 0x00007fff97dfa7c0 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#19 0x00007fff97ce0137 in gtk_main_do_event () from
/usr/lib64/libgtk-x11-2.0.so.0
#20 0x00007fff97932cc4 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#21 0x00007fff9792dc63 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#22 0x00007fff9792fe01 in gdk_window_process_all_updates () from
/usr/lib64/libgdk-x11-2.0.so.0
#23 0x00007fff97c63281 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#24 0x00007fff9790d346 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#25 0x00007fffedeb158d in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#26 0x00007fffedeb1d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fffedeb1f59 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#28 0x00007ffff4860d85 in QEventDispatcherGlib::processEvents (this=0x60d640,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007ffff348f46e in QGuiEventDispatcherGlib::processEvents
(this=0x60d640, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007ffff4821a2a in QEventLoop::processEvents (this=0x7fffffffd0a0,
flags=...) at kernel/qeventloop.cpp:149
#31 0x00007ffff4821bb4 in QEventLoop::exec (this=0x7fffffffd0a0, flags=...) at
kernel/qeventloop.cpp:204
#32 0x00007ffff4824846 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#33 0x00007ffff33b3252 in QApplication::exec () at kernel/qapplication.cpp:3811
#34 0x00007ffff7bab5b2 in kdemain (argc=<optimized out>, argv=<optimized out>)
at
/encrypted/home/andris/development/sources/kde-trunk/kde-baseapps/konqueror/src/konqmain.cpp:227
Comment 1 Andras Mantia 2011-11-23 00:31:10 PST
Same happens with fabcybrowser example if I enable the plugins.
Comment 2 Jocelyn Turcotte 2014-02-03 03:19:18 PST
=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.