Bug 287108 - Konqueror crashes when closing multiple tabs
Summary: Konqueror crashes when closing multiple tabs
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.7.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-11-20 21:46 UTC by Marcus U
Modified: 2018-10-27 03:40 UTC (History)
1 user (show)

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 Marcus U 2011-11-20 21:46:18 UTC
Application: konqueror (4.7.3 (4.7.3))
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.8.0
Operating System: Linux 3.1.1-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Closed a number of tabs in Konqueror. I'm always able to reproduce the crash by opening enough tabs (~20) and closing as many as I can in rapid succession; however, in most real scenarios the crashes seem to be fairly random, sometimes occurring when I close only a single tab out of 2-3.

- Custom settings of the application:
AdBlocK enabled with Fanboy's list and EasyList, "Open URL on middle click" in mouse behaviour disabled to allow autoscrolling (not sure if these are of any help).

The crash can be reproduced every time.

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

Thread 7 (Thread 0x7f772f869700 (LWP 4540)):
#0  0x00007fffcd7ff8de in ?? ()
#1  0x0000003e874041f1 in __GI_clock_gettime (clock_id=1, tp=0x7f772f868a80) at ../sysdeps/unix/clock_gettime.c:100
#2  0x0000003f02ad2004 in do_gettime (frac=0x7f772f868a98, sec=0x7f772f868a90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x0000003f02ba6f9d in QTimerInfoList::updateCurrentTime (this=0x7f77280020d0) at kernel/qeventdispatcher_unix.cpp:343
#5  0x0000003f02ba72d3 in QTimerInfoList::timerWait (this=0x7f77280020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x0000003f02ba5d6c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f772f868b7c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003f02ba5e15 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x0000003e85c44012 in g_main_context_prepare (context=0x7f77280009a0, priority=0x7f772f868be8) at gmain.c:2746
#9  0x0000003e85c44e1d in g_main_context_iterate (context=0x7f77280009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#10 0x0000003e85c4544c in g_main_context_iteration (context=0x7f77280009a0, may_block=1) at gmain.c:3136
#11 0x0000003f02ba6896 in QEventDispatcherGlib::processEvents (this=0x7f77280013e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#12 0x0000003f02b76c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003f02b76ed7 in QEventLoop::exec (this=0x7f772f868d10, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000003f02a78ad7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x0000003f089b1c4e in KIO::NameLookUpThread::run (this=0x4c9cb00) at /usr/src/debug/kdelibs-4.7.3/kio/kio/hostinfo.cpp:226
#16 0x0000003f02a7bb1b in QThreadPrivate::start (arg=0x4c9cb00) at thread/qthread_unix.cpp:298
#17 0x0000003e86807d90 in start_thread (arg=0x7f772f869700) at pthread_create.c:309
#18 0x0000003e860eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f772e0ae700 (LWP 4544)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f123973cc in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3f12d90f80) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x0000003f123974f9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x0000003e86807d90 in start_thread (arg=0x7f772e0ae700) at pthread_create.c:309
#4  0x0000003e860eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f772d8ad700 (LWP 4545)):
#0  0x0000003e860e6443 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003e85c44f88 in g_main_context_poll (n_fds=1, fds=0x7f77240013e0, priority=<optimized out>, timeout=8248, context=0x7f77240009a0) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f77240009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x0000003e85c4544c in g_main_context_iteration (context=0x7f77240009a0, may_block=1) at gmain.c:3136
#4  0x0000003f02ba6896 in QEventDispatcherGlib::processEvents (this=0x7f77240008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x0000003f02b76c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003f02b76ed7 in QEventLoop::exec (this=0x7f772d8acd40, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003f02a78ad7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x0000003f02a7bb1b in QThreadPrivate::start (arg=0x24ba0c0) at thread/qthread_unix.cpp:298
#9  0x0000003e86807d90 in start_thread (arg=0x7f772d8ad700) at pthread_create.c:309
#10 0x0000003e860eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f76df7fe700 (LWP 4643)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007f772c32d411 in queue_processor(void*) () from /usr/lib64/IcedTeaPlugin.so
#2  0x0000003e86807d90 in start_thread (arg=0x7f76df7fe700) at pthread_create.c:309
#3  0x0000003e860eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f76deffd700 (LWP 4644)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007f772c32d411 in queue_processor(void*) () from /usr/lib64/IcedTeaPlugin.so
#2  0x0000003e86807d90 in start_thread (arg=0x7f76deffd700) at pthread_create.c:309
#3  0x0000003e860eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f76de7fc700 (LWP 4645)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00007f772c32d411 in queue_processor(void*) () from /usr/lib64/IcedTeaPlugin.so
#2  0x0000003e86807d90 in start_thread (arg=0x7f76de7fc700) at pthread_create.c:309
#3  0x0000003e860eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f773f412840 (LWP 4533)):
[KCrash Handler]
#6  0x0000003f05352b5d in KXMLGUIClient::~KXMLGUIClient (this=0x2a78880, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.7.3/kdeui/xmlgui/kxmlguiclient.cpp:95
#7  0x0000003f0ae23f7a in KParts::Part::~Part (this=0x2a78860, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdelibs-4.7.3/kparts/part.cpp:190
#8  0x0000003f0ae24069 in KParts::Part::~Part (this=0x2a78860, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdelibs-4.7.3/kparts/part.cpp:213
#9  0x0000003f096446f3 in KonqView::~KonqView (this=0x1adcaa0, __in_chrg=<optimized out>) at /usr/src/debug/kde-baseapps-4.7.3/konqueror/src/konqview.cpp:123
#10 0x0000003f096449c9 in KonqView::~KonqView (this=0x1adcaa0, __in_chrg=<optimized out>) at /usr/src/debug/kde-baseapps-4.7.3/konqueror/src/konqview.cpp:131
#11 0x0000003f0964ddbf in KonqViewManager::removeTab (this=0x16ab300, currentFrame=0x2dae818, emitAboutToRemoveSignal=<optimized out>) at /usr/src/debug/kde-baseapps-4.7.3/konqueror/src/konqviewmanager.cpp:428
#12 0x0000003f096892fa in KonqMainWindow::removeTab (this=0x15b11f0, tabIndex=<optimized out>) at /usr/src/debug/kde-baseapps-4.7.3/konqueror/src/konqmainwindow.cpp:2464
#13 0x0000003f096969d0 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x15b11f0, _c=<optimized out>) at /usr/src/debug/kde-baseapps-4.7.3/x86_64-redhat-linux-gnu/konqueror/src/konqmainwindow.moc:390
#14 KonqMainWindow::qt_static_metacall (_o=0x15b11f0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-baseapps-4.7.3/x86_64-redhat-linux-gnu/konqueror/src/konqmainwindow.moc:303
#15 0x0000003f02b909e6 in QObject::event (this=0x15b11f0, e=<optimized out>) at kernel/qobject.cpp:1194
#16 0x0000003f044197bb in QWidget::event (this=0x15b11f0, event=0x7001010) at kernel/qwidget.cpp:8809
#17 0x0000003f047eb25b in QMainWindow::event (this=0x15b11f0, event=0x7001010) at widgets/qmainwindow.cpp:1478
#18 0x0000003f0534bc98 in KXmlGuiWindow::event (this=0x15b11f0, ev=0x7001010) at /usr/src/debug/kdelibs-4.7.3/kdeui/xmlgui/kxmlguiwindow.cpp:126
#19 0x0000003f09678dfc in KonqMainWindow::event (this=0x15b11f0, e=0x7001010) at /usr/src/debug/kde-baseapps-4.7.3/konqueror/src/konqmainwindow.cpp:5583
#20 0x0000003f043c96f4 in notify_helper (e=0x7001010, receiver=0x15b11f0, this=0x150a870) at kernel/qapplication.cpp:4518
#21 QApplicationPrivate::notify_helper (this=0x150a870, receiver=0x15b11f0, e=0x7001010) at kernel/qapplication.cpp:4490
#22 0x0000003f043ce573 in QApplication::notify (this=0x7fffcd7ad450, receiver=0x15b11f0, e=0x7001010) at kernel/qapplication.cpp:4379
#23 0x0000003f05250396 in KApplication::notify (this=0x7fffcd7ad450, receiver=0x15b11f0, event=0x7001010) at /usr/src/debug/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#24 0x0000003f02b77b4c in QCoreApplication::notifyInternal (this=0x7fffcd7ad450, receiver=0x15b11f0, event=0x7001010) at kernel/qcoreapplication.cpp:876
#25 0x0000003f02b7b5da in sendEvent (event=0x7001010, receiver=0x15b11f0) at kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14e7070) at kernel/qcoreapplication.cpp:1500
#27 0x0000003f02ba6403 in sendPostedEvents () at kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x15112d0) at kernel/qeventdispatcher_glib.cpp:279
#29 0x0000003e85c44a7d in g_main_dispatch (context=0x15100e0) at gmain.c:2425
#30 g_main_context_dispatch (context=0x15100e0) at gmain.c:2995
#31 0x0000003e85c45278 in g_main_context_iterate (context=0x15100e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#32 0x0000003e85c4544c in g_main_context_iteration (context=0x15100e0, may_block=1) at gmain.c:3136
#33 0x0000003f02ba682f in QEventDispatcherGlib::processEvents (this=0x14e8530, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#34 0x0000003f0446c43e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#35 0x0000003f02b76c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x0000003f02b76ed7 in QEventLoop::exec (this=0x7fffcd7aac20, flags=...) at kernel/qeventloop.cpp:204
#37 0x0000003f088bf920 in KIO::AccessManager::createRequest (this=<optimized out>, op=<optimized out>, req=..., outgoingData=<optimized out>) at /usr/src/debug/kdelibs-4.7.3/kio/kio/accessmanager.cpp:334
#38 0x00007f772e64a5c9 in KDEPrivate::MyNetworkAccessManager::createRequest (this=0x1704430, op=QNetworkAccessManager::PostOperation, req=..., outgoingData=0x17b0ca0) at /usr/src/debug/kwebkitpart-1.2/src/networkaccessmanager.cpp:86
#39 0x0000003f03461905 in QNetworkAccessManager::post (this=0x1704430, request=<optimized out>, data=<optimized out>) at access/qnetworkaccessmanager.cpp:617
#40 0x0000003f1203160a in WebCore::QNetworkReplyHandler::sendNetworkRequest (this=0x929c3c0, manager=0x1704430, request=<optimized out>) at ../../../Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:644
#41 0x0000003f12033d31 in WebCore::QNetworkReplyHandler::start (this=0x929c3c0) at ../../../Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:679
#42 0x0000003f12032b38 in flush (this=0x929c3f8) at ../../../Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:195
#43 WebCore::QNetworkReplyHandlerCallQueue::flush (this=0x929c3f8) at ../../../Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:187
#44 0x0000003f1202f30c in setLoadingDeferred (deferred=false, this=0x929c3c0) at ../../../Source/WebCore/platform/network/qt/QNetworkReplyHandler.h:122
#45 WebCore::ResourceHandle::loadResourceSynchronously (context=<optimized out>, request=<optimized out>, error=<optimized out>, response=<optimized out>, data=<optimized out>) at ../../../Source/WebCore/platform/network/qt/ResourceHandleQt.cpp:170
#46 0x0000003f11df5025 in WebCore::FrameLoader::loadResourceSynchronously (this=0x7f76c957b078, request=..., storedCredentials=(anonymous namespace)::AllowStoredCredentials, error=..., response=..., data=...) at ../../../Source/WebCore/loader/FrameLoader.cpp:2884
#47 0x0000003f122cc2a2 in WebCore::DocumentThreadableLoader::loadRequest (this=0x7f76bbaf3320, request=..., securityCheck=<optimized out>) at ../../../Source/WebCore/loader/DocumentThreadableLoader.cpp:365
#48 0x0000003f122cee98 in (anonymous namespace)::DocumentThreadableLoader::DocumentThreadableLoader (this=0x7f76bbaf3320, document=0x7f76d02de800, client=<optimized out>, blockingBehavior=(anonymous namespace)::DocumentThreadableLoader::LoadSynchronously, request=..., options=<optimized out>, optionalOutgoingReferrer=...) at ../../../Source/WebCore/loader/DocumentThreadableLoader.cpp:80
#49 0x0000003f122cf46e in WebCore::DocumentThreadableLoader::loadResourceSynchronously (document=0x7f76d02de800, request=..., client=..., options=...) at ../../../Source/WebCore/loader/DocumentThreadableLoader.cpp:54
#50 0x0000003f1201771b in WebCore::XMLHttpRequest::createRequest (this=0x7f76bf209dc0, ec=@0x7fffcd7aba68) at ../../../Source/WebCore/xml/XMLHttpRequest.cpp:662
#51 0x0000003f1201cc4c in WebCore::XMLHttpRequest::send (this=0x7f76bf209dc0, body=..., ec=@0x7fffcd7aba68) at ../../../Source/WebCore/xml/XMLHttpRequest.cpp:536
#52 0x0000003f11b0294e in WebCore::JSXMLHttpRequest::send (this=0x7f76c43c20d0, exec=0x7f7733ce0380) at ../../../Source/WebCore/bindings/js/JSXMLHttpRequestCustom.cpp:128
#53 0x0000003f119c39cb in WebCore::jsXMLHttpRequestPrototypeFunctionSend (exec=<optimized out>) at ../../WebCore/generated/JSXMLHttpRequest.cpp:511
#54 0x00007f76e00001e8 in ?? ()
#55 0x00007f7733ce0380 in ?? ()
#56 0x00007f76e017f4f6 in ?? ()
#57 0x00007f76e0150e78 in ?? ()
#58 0x00007f76c43c20d0 in ?? ()
#59 0x00007f76bca5aae8 in ?? ()
#60 0x00007f7733cb61d0 in ?? ()
#61 0x00007f7600000002 in ?? ()
#62 0x0000003f00000010 in ?? ()
#63 0x0000000000000000 in ?? ()

Reported using DrKonqi
Comment 1 Marcus U 2011-11-21 01:49:59 UTC
Update & correction: the only way I've been able to successfully reproduce this bug is by opening a lot of photos in tabs on facebook and then closing them - this works every time. I have encountered crashes under similar circumstances when browsing other sites but have not been able to reproduce the crash so far.
Comment 2 Dawit Alemayehu 2011-11-21 18:47:43 UTC
(In reply to comment #1)
> Update & correction: the only way I've been able to successfully reproduce this
> bug is by opening a lot of photos in tabs on facebook and then closing them -
> this works every time. I have encountered crashes under similar circumstances
> when browsing other sites but have not been able to reproduce the crash so far.

How many is "lot of photos" ? I personally have not been able to reproduce this yet.
Comment 3 Marcus U 2011-11-22 00:29:45 UTC
Around ~20 always does it for me, though sometimes it crashes on only one.

I did some further testing and it only appears to be more likely to do it with WebKit set as the default rendering engine - with KHTML I had to literally open some ~50 tabs and jackhammer the middle button to get it to crash, and even then it only does it occasionally.
Comment 4 Dawit Alemayehu 2013-01-05 07:19:54 UTC
I still have not been able reproduce this issue. Do you still get this crash with a more recent version of KDE, v4.9.x or higher ?
Comment 5 Andrew Crouthamel 2018-09-24 01:55:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-10-27 03:40:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!