Bug 322049 - Konqueror - very slow response precedes crash with high memory usage
Summary: Konqueror - very slow response precedes crash with high memory usage
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdewebkit (show other bugs)
Version: 4.10.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-06 18:38 UTC by wintonian
Modified: 2014-01-09 17:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wintonian 2013-07-06 18:38:57 UTC
Application: konqueror (4.10.4)
KDE Platform Version: 4.10.4
Qt Version: 4.8.4
Operating System: Linux 3.9.6-200.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
- What I was doing when the application crashed:

Scrolling around with Bing Maps. Konqueror started responding very slowly i.e. 2/ 3 seconds after initiating a mouse action, shortly after the taskbar etc. also started responding slowly..

Konqueror just before the crash appeared to be using just over 1.5gb of memory.

these are (or similar symptoms) that I have experienced a few times recently.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fe48bd6d880 (LWP 27678))]

Thread 4 (Thread 0x7fe47df6d700 (LWP 27679)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000036b08a2ab5 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x36b1335a20 <WTF::pageheap_memory>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#2  0x00000036b08a2b09 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#3  0x0000003a67407d15 in start_thread (arg=0x7fe47df6d700) at pthread_create.c:308
#4  0x0000003a66cf248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7fe47fe67700 (LWP 27681)):
#0  0x0000003a66ce99ad in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003a69047d24 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fe4380029c0, timeout=5716, context=0x7fe4380009a0) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7fe4380009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x0000003a69047e44 in g_main_context_iteration (context=0x7fe4380009a0, may_block=1) at gmain.c:3351
#4  0x0000003a72da5fa6 in QEventDispatcherGlib::processEvents (this=0x7fe4380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003a72d765ef in QEventLoop::processEvents (this=this@entry=0x7fe47fe66d00, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003a72d76878 in QEventLoop::exec (this=0x7fe47fe66d00, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003a72c78980 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x0000003a72c7b95c in QThreadPrivate::start (arg=0x1967ad0) at thread/qthread_unix.cpp:338
#9  0x0000003a67407d15 in start_thread (arg=0x7fe47fe67700) at pthread_create.c:308
#10 0x0000003a66cf248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7fe43cabf700 (LWP 27684)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000036b05e8ce9 in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7fe47d6e3398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x00000036b08d123e in WTF::wtfThreadEntryPoint (param=0x1b1fe10) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x0000003a67407d15 in start_thread (arg=0x7fe43cabf700) at pthread_create.c:308
#4  0x0000003a66cf248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7fe48bd6d880 (LWP 27678)):
[KCrash Handler]
#6  QWidget::mapFromGlobal (this=0x20, pos=...) at kernel/qwidget_x11.cpp:1351
#7  0x00000036af43d5da in WebCore::DragClientQt::startDrag () from /lib64/libQtWebKit.so.4
#8  0x00000036afa9951f in WebCore::DragController::doSystemDrag () from /lib64/libQtWebKit.so.4
#9  0x00000036afa997e6 in WebCore::DragController::doImageDrag () from /lib64/libQtWebKit.so.4
#10 0x00000036afa9a17a in WebCore::DragController::startDrag () from /lib64/libQtWebKit.so.4
#11 0x00000036afa9fb71 in WebCore::EventHandler::handleDrag () from /lib64/libQtWebKit.so.4
#12 0x00000036afaa0d08 in WebCore::EventHandler::handleMouseDraggedEvent () from /lib64/libQtWebKit.so.4
#13 0x00000036afaa5cf7 in WebCore::EventHandler::handleMouseMoveEvent () from /lib64/libQtWebKit.so.4
#14 0x00000036afaa87b3 in WebCore::EventHandler::mouseMoved () from /lib64/libQtWebKit.so.4
#15 0x00000036af41651b in QWebPagePrivate::mouseMoveEvent<QMouseEvent> () from /lib64/libQtWebKit.so.4
#16 0x00000036af420616 in QWebPage::event () from /lib64/libQtWebKit.so.4
#17 0x00000036af420728 in QWebView::mouseMoveEvent () from /lib64/libQtWebKit.so.4
#18 0x00000036a4c19f7b in QWidget::event (this=0x19804e0, event=0x7fffd84de970) at kernel/qwidget.cpp:8360
#19 0x00000036af420d07 in QWebView::event () from /lib64/libQtWebKit.so.4
#20 0x00000036a4bca5cc in QApplicationPrivate::notify_helper (this=this@entry=0x14d9420, receiver=receiver@entry=0x19804e0, e=e@entry=0x7fffd84de970) at kernel/qapplication.cpp:4562
#21 0x00000036a4bcf2ab in QApplication::notify (this=<optimized out>, receiver=0x19804e0, e=0x7fffd84de970) at kernel/qapplication.cpp:4105
#22 0x0000003d24846f16 in KApplication::notify (this=0x7fffd84df7b0, receiver=0x19804e0, event=0x7fffd84de970) at /usr/src/debug/kdelibs-4.10.4/kdeui/kernel/kapplication.cpp:311
#23 0x0000003a72d7793e in QCoreApplication::notifyInternal (this=0x7fffd84df7b0, receiver=0x19804e0, event=0x7fffd84de970) at kernel/qcoreapplication.cpp:949
#24 0x00000036a4bcb40b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=0x19804e0, event=0x7fffd84de970, alienWidget=0x19804e0, nativeWidget=0x16501c0, buttonDown=0x36a569e268 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#26 0x00000036a4c45b74 in QETWidget::translateMouseEvent (this=0x16501c0, event=<optimized out>) at kernel/qapplication_x11.cpp:4537
#27 0x00000036a4c44901 in QApplication::x11ProcessEvent (this=0x7fffd84df7b0, event=0x7fffd84df0e0) at kernel/qapplication_x11.cpp:3660
#28 0x00000036a4c6aa5c in x11EventSourceDispatch (s=s@entry=0x14dc970, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#29 0x0000003a69047a55 in g_main_dispatch (context=0x14dc630) at gmain.c:2715
#30 g_main_context_dispatch (context=context@entry=0x14dc630) at gmain.c:3219
#31 0x0000003a69047d88 in g_main_context_iterate (context=context@entry=0x14dc630, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#32 0x0000003a69047e44 in g_main_context_iteration (context=0x14dc630, may_block=1) at gmain.c:3351
#33 0x0000003a72da5f86 in QEventDispatcherGlib::processEvents (this=0x14a9990, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00000036a4c6a73e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#35 0x0000003a72d765ef in QEventLoop::processEvents (this=this@entry=0x7fffd84df4b0, flags=...) at kernel/qeventloop.cpp:149
#36 0x0000003a72d76878 in QEventLoop::exec (this=0x7fffd84df4b0, flags=...) at kernel/qeventloop.cpp:204
#37 0x0000003a72d7b708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#38 0x0000003d270b3f12 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-baseapps-4.10.4/konqueror/src/konqmain.cpp:227
#39 0x0000003a66c21a05 in __libc_start_main (main=0x4008a0 <main(int, char**)>, argc=2, ubp_av=0x7fffd84dfa38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd84dfa28) at libc-start.c:225
#40 0x00000000004008d1 in _start ()

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2014-01-09 11:28:23 UTC
Cannot reproduce this with qtwebkit 2.3.3. Can you check the version of qtwebkit installed on your system? The official version for Fedora 18 seems to be qtwebkit 2.2.2 which is rather old.
Comment 2 wintonian 2014-01-09 17:14:51 UTC
I have since upgraded to F19 which seems to use qtwebkit 2.3.3 (here at least) .

I rarely use Konqueror, tending to use it as a kind of axillary, however I had completely forgotten about this issue so I suggest it may have either system specific (no-one else has complained about it) or fixed in the updated version.

In other words would it be justified to suggest closure on this one?