Bug 326987 - Konqueror crashed on closing tabs
Summary: Konqueror crashed on closing tabs
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.17.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-11-01 10:56 UTC by kavol
Modified: 2014-05-08 09:48 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 kavol 2013-11-01 10:56:25 UTC
Application: konqueror (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.11.6-200.fc19.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

I was just closing some unused tabs and Konqueror crashed during that. Doesn't seem to be reliably reproducible :-(

Note that DrKonqi suggests some duplicates but only one mentions Konqueror crash and the backtrace differs (and I really don't have nVidia card), so I wonder how did the search work (sorry if I missed some real duplicate).

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

Thread 7 (Thread 0x7f33fcc6a700 (LWP 22150)):
#0  0x000000322d0bd3ad in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000322d0bd244 in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:137
#2  0x00000035f7acd0a8 in WTF::TCMalloc_PageHeap::scavengerThread (this=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2582
#3  0x00000035f7acd389 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#4  0x000000322d807c53 in start_thread (arg=0x7f33fcc6a700) at pthread_create.c:308
#5  0x000000322d0f5e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f33b8b90700 (LWP 22151)):
#0  0x000000322d809b11 in __GI___pthread_mutex_lock (mutex=0x7f33b4000a60) at pthread_mutex_lock.c:95
#1  0x000000322f487251 in g_mutex_lock (mutex=mutex@entry=0x7f33b40009a0) at gthread-posix.c:210
#2  0x000000322f4477a9 in g_main_context_prepare (context=context@entry=0x7f33b40009a0, priority=priority@entry=0x7f33b8b8fbe8) at gmain.c:3330
#3  0x000000322f448013 in g_main_context_iterate (context=context@entry=0x7f33b40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3681
#4  0x000000322f4481fc in g_main_context_iteration (context=0x7f33b40009a0, may_block=1) at gmain.c:3762
#5  0x000000360aba7166 in QEventDispatcherGlib::processEvents (this=0x7f33b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x000000360ab78ecf in QEventLoop::processEvents (this=this@entry=0x7f33b8b8fd20, flags=...) at kernel/qeventloop.cpp:149
#7  0x000000360ab791c5 in QEventLoop::exec (this=this@entry=0x7f33b8b8fd20, flags=...) at kernel/qeventloop.cpp:204
#8  0x000000360aa7866f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x000000360aa7ad0f in QThreadPrivate::start (arg=0xd305a0) at thread/qthread_unix.cpp:338
#10 0x000000322d807c53 in start_thread (arg=0x7f33b8b90700) at pthread_create.c:308
#11 0x000000322d0f5e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f33b2dc4700 (LWP 22187)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00000035f7afd186 in WTF::ThreadCondition::timedWait (this=this@entry=0x7f33b95b94a0, mutex=..., absoluteTime=1383302967.1570671) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:400
#2  0x00000035f780da6a in waitForRelativeTimeWhileHoldingLock (relative=1, this=0x7f33b95b9398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:89
#3  waitForRelativeTime (relative=1, this=0x7f33b95b9398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:99
#4  JSC::BlockAllocator::blockFreeingThreadMain (this=0x7f33b95b9398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:113
#5  0x00000035f7afcba6 in WTF::wtfThreadEntryPoint (param=0x178cf30) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#6  0x000000322d807c53 in start_thread (arg=0x7f33b2dc4700) at pthread_create.c:308
#7  0x000000322d0f5e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f33abdce700 (LWP 22231)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f33abded3ab in queue_processor(void*) () from /usr/lib64/IcedTeaPlugin.so
#2  0x000000322d807c53 in start_thread (arg=0x7f33abdce700) at pthread_create.c:308
#3  0x000000322d0f5e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f33ab5cd700 (LWP 22232)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f33abded3ab in queue_processor(void*) () from /usr/lib64/IcedTeaPlugin.so
#2  0x000000322d807c53 in start_thread (arg=0x7f33ab5cd700) at pthread_create.c:308
#3  0x000000322d0f5e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f33aadcc700 (LWP 22233)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f33abded3ab in queue_processor(void*) () from /usr/lib64/IcedTeaPlugin.so
#2  0x000000322d807c53 in start_thread (arg=0x7f33aadcc700) at pthread_create.c:308
#3  0x000000322d0f5e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f3408b7e8c0 (LWP 22149)):
[KCrash Handler]
#6  0x000000322d035a19 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x000000322d037128 in __GI_abort () at abort.c:90
#8  0x000000322d075d47 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x322d17e628 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:196
#9  0x000000322d07c72c in malloc_printerr (ptr=<optimized out>, str=0x322d17bd18 "corrupted double-linked list", action=3) at malloc.c:4937
#10 malloc_consolidate (av=av@entry=0x322d3ba780 <main_arena>) at malloc.c:4114
#11 0x000000322d07cfd6 in _int_free (av=0x322d3ba780 <main_arena>, p=0x4c18410, have_lock=0) at malloc.c:4006
#12 0x000000360c879245 in QImageData::~QImageData (this=0x4d16b30, __in_chrg=<optimized out>) at image/qimage.cpp:226
#13 0x000000360c8792cb in QImage::~QImage (this=0x42ac1c0, __in_chrg=<optimized out>) at image/qimage.cpp:1283
#14 0x000000360c8a1261 in QRasterPixmapData::~QRasterPixmapData (this=0x42ac190, __in_chrg=<optimized out>) at image/qpixmap_raster.cpp:93
#15 0x000000360c8a1299 in QRasterPixmapData::~QRasterPixmapData (this=0x42ac190, __in_chrg=<optimized out>) at image/qpixmap_raster.cpp:95
#16 0x000000360c892bda in ~QExplicitlySharedDataPointer (this=0x31afcf0, __in_chrg=<optimized out>) at ../../src/corelib/tools/qshareddata.h:166
#17 QPixmap::~QPixmap (this=0x31afce0, __in_chrg=<optimized out>) at image/qpixmap.cpp:347
#18 0x000000360c892c09 in QPixmap::~QPixmap (this=0x31afce0, __in_chrg=<optimized out>) at image/qpixmap.cpp:350
#19 0x00007f33ba3d3330 in Okular::Page::deletePixmaps() () from /lib64/libokularcore.so.3
#20 0x00007f33ba3d3ae9 in Okular::Page::~Page() () from /lib64/libokularcore.so.3
#21 0x00007f33ba3c5dfe in Okular::Document::closeDocument() () from /lib64/libokularcore.so.3
#22 0x00007f33ba69f277 in Okular::Part::closeUrl(bool) () from /usr/lib64/kde4/okularpart.so
#23 0x00007f33ba69fb3a in Okular::Part::~Part() () from /usr/lib64/kde4/okularpart.so
#24 0x00007f33ba69fb99 in Okular::Part::~Part() () from /usr/lib64/kde4/okularpart.so
#25 0x00000035f44449b4 in KonqView::~KonqView (this=0x1b73440, __in_chrg=<optimized out>) at /usr/src/debug/kde-baseapps-4.11.2/konqueror/src/konqview.cpp:130
#26 0x00000035f4444c99 in KonqView::~KonqView (this=0x1b73440, __in_chrg=<optimized out>) at /usr/src/debug/kde-baseapps-4.11.2/konqueror/src/konqview.cpp:138
#27 0x00000035f4449557 in KonqViewManager::removeTab (this=0x990b50, currentFrame=currentFrame@entry=0x1b6d998, emitAboutToRemoveSignal=emitAboutToRemoveSignal@entry=true) at /usr/src/debug/kde-baseapps-4.11.2/konqueror/src/konqviewmanager.cpp:428
#28 0x00000035f44774c7 in KonqMainWindow::removeTab (this=0x98d730, tabIndex=<optimized out>) at /usr/src/debug/kde-baseapps-4.11.2/konqueror/src/konqmainwindow.cpp:2601
#29 0x00000035f44916dc in KonqMainWindow::qt_static_metacall (_o=0x98d730, _id=22149, _a=0x6, _c=<optimized out>) at /usr/src/debug/kde-baseapps-4.11.2/x86_64-redhat-linux-gnu/konqueror/src/konqmainwindow.moc:389
#30 0x000000360ab8df78 in QMetaObject::activate (sender=sender@entry=0xc91050, m=m@entry=0x360d291400 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff486031b0) at kernel/qobject.cpp:3547
#31 0x000000360ce0eb22 in QAbstractButton::clicked (this=this@entry=0xc91050, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#32 0x000000360cb74703 in QAbstractButtonPrivate::emitClicked (this=this@entry=0xc94ad0) at widgets/qabstractbutton.cpp:548
#33 0x000000360cb75903 in QAbstractButtonPrivate::click (this=this@entry=0xc94ad0) at widgets/qabstractbutton.cpp:541
#34 0x000000360cb759ec in QAbstractButton::mouseReleaseEvent (this=0xc91050, e=0x7fff486036b0) at widgets/qabstractbutton.cpp:1123
#35 0x000000360cc2c6ca in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#36 0x000000360c817b1e in QWidget::event (this=0xc91050, event=0x7fff486036b0) at kernel/qwidget.cpp:8376
#37 0x000000360c7c84dc in QApplicationPrivate::notify_helper (this=0x6619d0, receiver=0xc91050, e=0x7fff486036b0) at kernel/qapplication.cpp:4562
#38 0x000000360c7cebdd in QApplication::notify (this=this@entry=0x7fff48603fe0, receiver=receiver@entry=0xc91050, e=e@entry=0x7fff486036b0) at kernel/qapplication.cpp:4105
#39 0x00000035f063fe9a in KApplication::notify (this=0x7fff48603fe0, receiver=0xc91050, event=0x7fff486036b0) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#40 0x000000360ab7a26d in QCoreApplication::notifyInternal (this=0x7fff48603fe0, receiver=0xc91050, event=0x7fff486036b0) at kernel/qcoreapplication.cpp:949
#41 0x000000360c7ce393 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xc91050, event=event@entry=0x7fff486036b0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0xc91050, buttonDown=buttonDown@entry=0x360d2a3258 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#42 0x000000360c83f92b in QETWidget::translateMouseEvent (this=this@entry=0xc91050, event=event@entry=0x7fff48603a20) at kernel/qapplication_x11.cpp:4538
#43 0x000000360c83e39c in QApplication::x11ProcessEvent (this=0x7fff48603fe0, event=event@entry=0x7fff48603a20) at kernel/qapplication_x11.cpp:3661
#44 0x000000360c864e54 in x11EventSourceDispatch (s=s@entry=0x663330, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#45 0x000000322f447e06 in g_main_dispatch (context=0x661cf0) at gmain.c:3054
#46 g_main_context_dispatch (context=context@entry=0x661cf0) at gmain.c:3630
#47 0x000000322f448158 in g_main_context_iterate (context=context@entry=0x661cf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#48 0x000000322f4481fc in g_main_context_iteration (context=0x661cf0, may_block=1) at gmain.c:3762
#49 0x000000360aba7145 in QEventDispatcherGlib::processEvents (this=0x62da20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#50 0x000000360c864fc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#51 0x000000360ab78ecf in QEventLoop::processEvents (this=this@entry=0x7fff48603e00, flags=...) at kernel/qeventloop.cpp:149
#52 0x000000360ab791c5 in QEventLoop::exec (this=this@entry=0x7fff48603e00, flags=...) at kernel/qeventloop.cpp:204
#53 0x000000360ab7e45b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#54 0x000000360c7c6c9c in QApplication::exec () at kernel/qapplication.cpp:3823
#55 0x00000035f44b17ae in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-baseapps-4.11.2/konqueror/src/konqmain.cpp:227
#56 0x000000322d021b75 in __libc_start_main (main=0x4008a0 <main(int, char**)>, argc=2, ubp_av=0x7fff48604188, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff48604178) at libc-start.c:274
#57 0x00000000004008d1 in _start ()

Possible duplicates by query: bug 325445, bug 325075, bug 324099, bug 322518, bug 321764.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2013-11-01 22:59:59 UTC
Can you at least reproduce it randomly? or not at all?
Comment 2 kavol 2013-11-02 09:38:39 UTC
(In reply to comment #1)
> Can you at least reproduce it randomly? or not at all?

I haven't experienced such a crash since ... but seeing this got reassigned to Okular, I believe I've seen this problem in the past; I should have looked at Okular problems in the possible duplicates list (if there were any - the list in the initial comment is way shorter than what I got in DrKonqi?)

if it happens again, be sure that I'll try to report again - possibly leading here ... is there any more information (that can be found afterwards, if I don't remember the exact url that was in the closed tab etc.) I can append to help investigating next time? xsession-errors?
Comment 3 Christoph Feck 2013-11-17 17:01:53 UTC
Since this is a probably a memory double free(), a valgrind trace would be nice. For more information, please see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_Valgrind
Comment 4 Albert Astals Cid 2014-05-08 09:48:42 UTC
No answer in more than 6 months