Bug 317604

Summary: Kontact crashes on closing
Product: [Applications] korganizer Reporter: jolay <jolay606>
Component: todoviewAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: winter
Priority: NOR    
Version: 4.9.5   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jolay 2013-03-30 13:38:02 UTC
Application: kontact (4.9.5)
KDE Platform Version: 4.9.5 "release 8" (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.8.1-30-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Open kontact, then close it

up to date OpenSUSE 
openSUSE 12.2 (x86_64)  KDE :  4.9.5 "release 8"

uname -a
Linux linux-n1dn 3.8.1-30-desktop #1 SMP PREEMPT Fri Mar 1 13:02:38 UTC 2013 (fe5c73e) x86_64 x86_64 x86_64 GNU/Linux

zypper info libqt4 kontact
Information for package libqt4:

Repository: @System
Name: libqt4
Version: 4.8.4-12.1
Arch: x86_64
Vendor: obs://build.opensuse.org/openSUSE:Tumbleweed
Installed: Yes
Status: up-to-date
Installed Size: 15.2 MiB
Summary: C++ Program Library, Core Components
Description: 
Qt is a set of libraries for developing applications.

This package contains base tools, like string, xml, and network
handling.

Information for package kontact:

Repository: @System
Name: kontact
Version: 4.9.5-5.3
Arch: x86_64
Vendor: obs://build.opensuse.org/openSUSE:Tumbleweed
Installed: Yes
Status: up-to-date

Some possible duplicates have been marked as solved since 4.9 (I suppose kontact version ???). However libqt4 refers to 4.8.4 while kontact to 4.9.5...

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4bfd043780 (LWP 15390))]

Thread 3 (Thread 0x7f4be4620700 (LWP 15391)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4bf9848437 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f4bfa24d2c0 <WTF::pageheap_memory>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007f4bf9848469 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007f4bf4e5ce0e in start_thread (arg=0x7f4be4620700) at pthread_create.c:305
#4  0x00007f4bfa5aa2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f4be3d07700 (LWP 15392)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x7f4bdc000a60, decr=1) at pthread_mutex_unlock.c:47
#1  0x00007f4bf48ecad1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4bf48af34b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4bf48af9eb in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f4bf48afbe4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f4bfad1e166 in QEventDispatcherGlib::processEvents (this=0x7f4bdc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f4bfacee97f in QEventLoop::processEvents (this=this@entry=0x7f4be3d06e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4bfaceec08 in QEventLoop::exec (this=0x7f4be3d06e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4bfabf10e0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f4bfabf40bc in QThreadPrivate::start (arg=0x1d60e70) at thread/qthread_unix.cpp:338
#10 0x00007f4bf4e5ce0e in start_thread (arg=0x7f4be3d07700) at pthread_create.c:305
#11 0x00007f4bfa5aa2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f4bfd043780 (LWP 15390)):
[KCrash Handler]
#6  count (this=0x98) at ../../src/corelib/tools/qvector.h:259
#7  QAbstractItemModelPrivate::removePersistentIndexData (this=0x0, data=data@entry=0x54e1720) at kernel/qabstractitemmodel.cpp:550
#8  0x00007f4bfacea7e9 in QPersistentModelIndexData::destroy (data=0x54e1720) at kernel/qabstractitemmodel.cpp:83
#9  0x00007f4bfacea91f in QPersistentModelIndex::~QPersistentModelIndex (this=0x553ced0, __in_chrg=<optimized out>) at kernel/qabstractitemmodel.cpp:155
#10 0x00007f4bfac0fccb in QHashData::free_helper (this=0x54e17c0, node_delete=0x7f4bfbc27940 <QHash<QPersistentModelIndex, QHashDummyValue>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275
#11 0x00007f4bfbc47dbb in freeData (x=<optimized out>, this=<optimized out>) at ../../src/corelib/tools/qhash.h:570
#12 ~QHash (this=0x2a4d190, __in_chrg=<optimized out>) at ../../src/corelib/tools/qhash.h:283
#13 ~QSet (this=0x2a4d190, __in_chrg=<optimized out>) at ../../src/corelib/tools/qset.h:54
#14 ~QTreeViewPrivate (this=0x2a4cd50, __in_chrg=<optimized out>) at ../../src/gui/itemviews/qtreeview_p.h:96
#15 QTreeViewPrivate::~QTreeViewPrivate (this=0x2a4cd50, __in_chrg=<optimized out>) at ../../src/gui/itemviews/qtreeview_p.h:96
#16 0x00007f4bfad061cc in cleanup (pointer=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#17 ~QScopedPointer (this=0x255c678, __in_chrg=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#18 QObject::~QObject (this=0x255c670, __in_chrg=<optimized out>) at kernel/qobject.cpp:816
#19 0x00007f4bfb740440 in QWidget::~QWidget (this=0x255c670, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1556
#20 0x00007f4b8e08dee7 in ~KOTodoViewView (this=0x255c670, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.9.5/korganizer/views/todoview/kotodoviewview.h:32
#21 KOTodoViewView::~KOTodoViewView (this=0x255c670, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.9.5/korganizer/views/todoview/kotodoviewview.h:32
#22 0x00007f4bfad02352 in QObjectPrivate::deleteChildren (this=0x33b62b0) at kernel/qobject.cpp:1916
#23 0x00007f4bfb7403a4 in QWidget::~QWidget (this=0x33e3a30, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#24 0x00007f4b8e081399 in KOTodoView::~KOTodoView (this=0x33e3a30, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.9.5/korganizer/views/todoview/kotodoview.cpp:282
#25 0x00007f4bfad02352 in QObjectPrivate::deleteChildren (this=0x3416b00) at kernel/qobject.cpp:1916
#26 0x00007f4bfb7403a4 in QWidget::~QWidget (this=0x2c11070, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#27 0x00007f4bfbb48a79 in QSplitter::~QSplitter (this=0x2c11070, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#28 0x00007f4bfad02352 in QObjectPrivate::deleteChildren (this=0x34168c0) at kernel/qobject.cpp:1916
#29 0x00007f4bfb7403a4 in QWidget::~QWidget (this=0x33bb950, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#30 0x00007f4bfbb48a79 in QSplitter::~QSplitter (this=0x33bb950, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#31 0x00007f4bfad02352 in QObjectPrivate::deleteChildren (this=0x33c4040) at kernel/qobject.cpp:1916
#32 0x00007f4bfb7403a4 in QWidget::~QWidget (this=0x34184b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1681
#33 0x00007f4b8dff0f18 in ~CalendarViewBase (this=0x34184b0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.9.5/korganizer/interfaces/korganizer/calendarviewbase.h:38
#34 CalendarView::~CalendarView (this=0x34184b0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.9.5/korganizer/calendarview.cpp:252
#35 0x00007f4b8dff0fb9 in CalendarView::~CalendarView (this=0x34184b0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.9.5/korganizer/calendarview.cpp:262
#36 0x00007f4b8dfd97de in ActionManager::~ActionManager (this=0x2a52890, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.9.5/korganizer/actionmanager.cpp:139
#37 0x00007f4b8dfd98e9 in ActionManager::~ActionManager (this=0x2a52890, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.9.5/korganizer/actionmanager.cpp:141
#38 0x00007f4b8e72d5ec in KOrganizerPart::~KOrganizerPart (this=0x3413ca0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.9.5/korganizer/korganizer_part.cpp:101
#39 0x00007f4b8e72d6a9 in KOrganizerPart::~KOrganizerPart (this=0x3413ca0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.9.5/korganizer/korganizer_part.cpp:107
#40 0x00007f4bfc83c57e in KontactInterface::Plugin::~Plugin (this=0x1e985a0, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.9.5/kontactinterface/plugin.cpp:90
#41 0x00007f4be24f5ed2 in KOrganizerPlugin::~KOrganizerPlugin (this=0x1e985a0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.9.5/kontact/plugins/korganizer/korganizerplugin.cpp:92
#42 0x00007f4be24f5f19 in KOrganizerPlugin::~KOrganizerPlugin (this=0x1e985a0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.9.5/kontact/plugins/korganizer/korganizerplugin.cpp:94
#43 0x00007f4bfcc74586 in Kontact::MainWindow::~MainWindow (this=this@entry=0x1d3cd00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.9.5/kontact/src/mainwindow.cpp:294
#44 0x00007f4bfcc746e9 in Kontact::MainWindow::~MainWindow (this=0x1d3cd00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.9.5/kontact/src/mainwindow.cpp:296
#45 0x00007f4bfad04638 in QObject::event (this=0x1d3cd00, e=<optimized out>) at kernel/qobject.cpp:1184
#46 0x00007f4bfb74586a in QWidget::event (this=0x1d3cd00, event=0x79415a0) at kernel/qwidget.cpp:8845
#47 0x00007f4bfbb0a55b in QMainWindow::event (this=0x1d3cd00, event=0x79415a0) at widgets/qmainwindow.cpp:1478
#48 0x00007f4bfc4fbeb8 in KXmlGuiWindow::event (this=0x1d3cd00, ev=0x79415a0) at /usr/src/debug/kdelibs-4.9.5/kdeui/xmlgui/kxmlguiwindow.cpp:126
#49 0x00007f4bfb6f685c in QApplicationPrivate::notify_helper (this=this@entry=0x1bb5510, receiver=receiver@entry=0x1d3cd00, e=e@entry=0x79415a0) at kernel/qapplication.cpp:4562
#50 0x00007f4bfb6facda in QApplication::notify (this=0x7fffb12e35f0, receiver=0x1d3cd00, e=0x79415a0) at kernel/qapplication.cpp:4423
#51 0x00007f4bfc40a636 in KApplication::notify (this=0x7fffb12e35f0, receiver=0x1d3cd00, event=0x79415a0) at /usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#52 0x00007f4bfacefc2e in QCoreApplication::notifyInternal (this=0x7fffb12e35f0, receiver=receiver@entry=0x1d3cd00, event=event@entry=0x79415a0) at kernel/qcoreapplication.cpp:946
#53 0x00007f4bfacf3591 in sendEvent (event=0x79415a0, receiver=0x1d3cd00) at kernel/qcoreapplication.h:231
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b81350) at kernel/qcoreapplication.cpp:1570
#55 0x00007f4bfad1dfb3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=0x1bbcd30) at kernel/qeventdispatcher_glib.cpp:279
#57 0x00007f4bf48af7f5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#58 0x00007f4bf48afb28 in ?? () from /usr/lib64/libglib-2.0.so.0
#59 0x00007f4bf48afbe4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#60 0x00007f4bfad1e146 in QEventDispatcherGlib::processEvents (this=0x1b86b80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#61 0x00007f4bfb796bee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f4bfacee97f in QEventLoop::processEvents (this=this@entry=0x7fffb12e3460, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f4bfaceec08 in QEventLoop::exec (this=0x7fffb12e3460, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007f4bfacf38a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#65 0x0000000000403649 in main (argc=1, argv=0x7fffb12e3738) at /usr/src/debug/kdepim-4.9.5/kontact/src/main.cpp:219

This bug may be a duplicate of or related to bug 309747, bug 316952, bug 289252.

Possible duplicates by query: bug 316952, bug 309747, bug 303548, bug 302805, bug 299000.

Reported using DrKonqi
Comment 1 Allen Winter 2013-05-08 23:40:35 UTC
reassigning to KOrganizer
Comment 2 Allen Winter 2013-05-08 23:41:03 UTC
this crash in todoview was fixed in KDE 4.10