Bug 309747 - Crash on quitting Kontact
Summary: Crash on quitting Kontact
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 14:06 UTC by Antonis Kanouras
Modified: 2013-03-18 19:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.42 KB, text/plain)
2013-01-11 10:49 UTC, jolay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonis Kanouras 2012-11-08 14:06:21 UTC
Application: kontact (4.9.2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.2.0-0.bpo.3-amd64 x86_64
Distribution: Ubuntu 12.10

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

I pressed Ctrl-Q while on Kmail's tab to quit Kontact. Previously I had been editing entries in the Tasks tab.

Note: pay no attention to the kernel version reported, this is a Kubuntu Quantal LTSP container running on Debian Squeeze with the 3.2.0 kernel from squeeze-backports.

Feel free to ask me for more details, I can even provide a core dump if needed (provided it crashes again of course :) ).

Thank you,
Antonis Kanouras

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7accffa7c0 (LWP 27465))]

Thread 4 (Thread 0x7f7ab0ea0700 (LWP 27474)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7ac985cb2d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f7aca21d280 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2499
#2  0x00007f7ac985cc39 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1622
#3  0x00007f7ac4dace9a in start_thread (arg=0x7f7ab0ea0700) at pthread_create.c:308
#4  0x00007f7aca587cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7ab0587700 (LWP 27476)):
#0  0x00007f7aca57c303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7ac48ddd84 in g_main_context_poll (n_fds=1, fds=0x7f7aa80029c0, timeout=2763, context=0x7f7aa80009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f7aa80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3285
#3  0x00007f7ac48ddea4 in g_main_context_iteration (context=0x7f7aa80009a0, may_block=1) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3351
#4  0x00007f7acacfcc16 in QEventDispatcherGlib::processEvents (this=0x7f7aa80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f7acaccd2bf in QEventLoop::processEvents (this=this@entry=0x7f7ab0586dc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7acaccd548 in QEventLoop::exec (this=0x7f7ab0586dc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7acabceb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f7acabd1aec in QThreadPrivate::start (arg=0xcd3c60) at thread/qthread_unix.cpp:338
#9  0x00007f7ac4dace9a in start_thread (arg=0x7f7ab0587700) at pthread_create.c:308
#10 0x00007f7aca587cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7a62546700 (LWP 27480)):
#0  0x00007f7aca57c303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7ac48ddd84 in g_main_context_poll (n_fds=1, fds=0x7f7a5c0029b0, timeout=-1, context=0x7f7a5c0009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f7a5c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3285
#3  0x00007f7ac48ddea4 in g_main_context_iteration (context=0x7f7a5c0009a0, may_block=1) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3351
#4  0x00007f7acacfcc16 in QEventDispatcherGlib::processEvents (this=0x7f7a5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f7acaccd2bf in QEventLoop::processEvents (this=this@entry=0x7f7a62545d90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7acaccd548 in QEventLoop::exec (this=0x7f7a62545d90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7acabceb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f7acacad9af in QInotifyFileSystemWatcherEngine::run (this=0x11e1f60) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f7acabd1aec in QThreadPrivate::start (arg=0x11e1f60) at thread/qthread_unix.cpp:338
#10 0x00007f7ac4dace9a in start_thread (arg=0x7f7a62546700) at pthread_create.c:308
#11 0x00007f7aca587cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7accffa7c0 (LWP 27465)):
[KCrash Handler]
#6  count (this=0x98) at ../../include/QtCore/../../src/corelib/tools/qvector.h:259
#7  QAbstractItemModelPrivate::removePersistentIndexData (this=0x0, data=data@entry=0x13f3670) at kernel/qabstractitemmodel.cpp:550
#8  0x00007f7acacc9129 in QPersistentModelIndexData::destroy (data=0x13f3670) at kernel/qabstractitemmodel.cpp:83
#9  0x00007f7acacc925f in QPersistentModelIndex::~QPersistentModelIndex (this=0x8131980, __in_chrg=<optimized out>) at kernel/qabstractitemmodel.cpp:155
#10 0x00007f7acabed6cb in QHashData::free_helper (this=0x64ea420, node_delete=0x7f7acbbe5570 <QHash<QPersistentModelIndex, QHashDummyValue>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275
#11 0x00007f7acbc059cb in freeData (x=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:570
#12 ~QHash (this=0x6864e80, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:283
#13 ~QSet (this=0x6864e80, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qset.h:54
#14 ~QTreeViewPrivate (this=0x6864a40, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreeview_p.h:96
#15 QTreeViewPrivate::~QTreeViewPrivate (this=0x6864a40, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreeview_p.h:96
#16 0x00007f7acace4ffc in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#17 ~QScopedPointer (this=0x6896da8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#18 QObject::~QObject (this=0x6896da0, __in_chrg=<optimized out>) at kernel/qobject.cpp:817
#19 0x00007f7acb6f9cc0 in QWidget::~QWidget (this=0x6896da0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1552
#20 0x00007f7a3df10967 in ~KOTodoViewView (this=0x6896da0, __in_chrg=<optimized out>) at ../../korganizer/views/todoview/kotodoviewview.h:32
#21 KOTodoViewView::~KOTodoViewView (this=0x6896da0, __in_chrg=<optimized out>) at ../../korganizer/views/todoview/kotodoviewview.h:32
#22 0x00007f7acace1182 in QObjectPrivate::deleteChildren (this=0x686c850) at kernel/qobject.cpp:1908
#23 0x00007f7acb6f9c24 in QWidget::~QWidget (this=0x688e580, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#24 0x00007f7a3df03c99 in KOTodoView::~KOTodoView (this=0x688e580, __in_chrg=<optimized out>) at ../../korganizer/views/todoview/kotodoview.cpp:282
#25 0x00007f7acace1182 in QObjectPrivate::deleteChildren (this=0x675b9a0) at kernel/qobject.cpp:1908
#26 0x00007f7acb6f9c24 in QWidget::~QWidget (this=0x675b970, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#27 0x00007f7acbb08319 in QStackedWidget::~QStackedWidget (this=0x675b970, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:193
#28 0x00007f7acace1182 in QObjectPrivate::deleteChildren (this=0x6753350) at kernel/qobject.cpp:1908
#29 0x00007f7acb6f9c24 in QWidget::~QWidget (this=0x6751c50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#30 0x00007f7acc4a4ba9 in KVBox::~KVBox (this=0x6751c50, __in_chrg=<optimized out>) at ../../kdeui/widgets/kvbox.cpp:29
#31 0x00007f7acace1182 in QObjectPrivate::deleteChildren (this=0x4b3ff20) at kernel/qobject.cpp:1908
#32 0x00007f7acb6f9c24 in QWidget::~QWidget (this=0x4b2f4b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#33 0x00007f7acbb065e9 in QSplitter::~QSplitter (this=0x4b2f4b0, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:1056
#34 0x00007f7acace1182 in QObjectPrivate::deleteChildren (this=0x4b31ee0) at kernel/qobject.cpp:1908
#35 0x00007f7acb6f9c24 in QWidget::~QWidget (this=0x4b31de0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#36 0x00007f7a3de73888 in ~CalendarViewBase (this=0x4b31de0, __in_chrg=<optimized out>) at ../../korganizer/interfaces/korganizer/calendarviewbase.h:38
#37 CalendarView::~CalendarView (this=0x4b31de0, __in_chrg=<optimized out>) at ../../korganizer/calendarview.cpp:252
#38 0x00007f7a3de73929 in CalendarView::~CalendarView (this=0x4b31de0, __in_chrg=<optimized out>) at ../../korganizer/calendarview.cpp:262
#39 0x00007f7a3de5c20e in ActionManager::~ActionManager (this=0x675fd00, __in_chrg=<optimized out>) at ../../korganizer/actionmanager.cpp:139
#40 0x00007f7a3de5c319 in ActionManager::~ActionManager (this=0x675fd00, __in_chrg=<optimized out>) at ../../korganizer/actionmanager.cpp:141
#41 0x00007f7a3e5ae14c in KOrganizerPart::~KOrganizerPart (this=0x4b32e80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../korganizer/korganizer_part.cpp:101
#42 0x00007f7a3e5ae209 in KOrganizerPart::~KOrganizerPart (this=0x4b32e80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../korganizer/korganizer_part.cpp:107
#43 0x00007f7acc7e72be in KontactInterface::Plugin::~Plugin (this=0xed32d0, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#44 0x00007f7aae5cd102 in TodoPlugin::~TodoPlugin (this=0xed32d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/korganizer/todoplugin.cpp:89
#45 0x00007f7aae5cd149 in TodoPlugin::~TodoPlugin (this=0xed32d0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/korganizer/todoplugin.cpp:91
#46 0x00007f7accc1def6 in Kontact::MainWindow::~MainWindow (this=this@entry=0xcbbe80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:291
#47 0x00007f7accc1e059 in Kontact::MainWindow::~MainWindow (this=0xcbbe80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:293
#48 0x00007f7acace3468 in QObject::event (this=0xcbbe80, e=<optimized out>) at kernel/qobject.cpp:1176
#49 0x00007f7acb6ff0da in QWidget::event (this=0xcbbe80, event=0xac2c7d0) at kernel/qwidget.cpp:8830
#50 0x00007f7acbac81cb in QMainWindow::event (this=0xcbbe80, event=0xac2c7d0) at widgets/qmainwindow.cpp:1478
#51 0x00007f7acc4a9778 in KXmlGuiWindow::event (this=0xcbbe80, ev=0xac2c7d0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#52 0x00007f7acb6afe9c in QApplicationPrivate::notify_helper (this=this@entry=0xb1eee0, receiver=receiver@entry=0xcbbe80, e=e@entry=0xac2c7d0) at kernel/qapplication.cpp:4562
#53 0x00007f7acb6b430a in QApplication::notify (this=0x7fffa066b530, receiver=0xcbbe80, e=0xac2c7d0) at kernel/qapplication.cpp:4423
#54 0x00007f7acc3b81d6 in KApplication::notify (this=0x7fffa066b530, receiver=0xcbbe80, event=0xac2c7d0) at ../../kdeui/kernel/kapplication.cpp:311
#55 0x00007f7acacce56e in QCoreApplication::notifyInternal (this=0x7fffa066b530, receiver=receiver@entry=0xcbbe80, event=event@entry=0xac2c7d0) at kernel/qcoreapplication.cpp:915
#56 0x00007f7acacd23f1 in sendEvent (event=0xac2c7d0, receiver=0xcbbe80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#57 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xadd380) at kernel/qcoreapplication.cpp:1539
#58 0x00007f7acacfca63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#59 postEventSourceDispatch (s=s@entry=0xb15170) at kernel/qeventdispatcher_glib.cpp:279
#60 0x00007f7ac48ddab5 in g_main_dispatch (context=0xb1f170) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:2715
#61 g_main_context_dispatch (context=context@entry=0xb1f170) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3219
#62 0x00007f7ac48ddde8 in g_main_context_iterate (context=context@entry=0xb1f170, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3290
#63 0x00007f7ac48ddea4 in g_main_context_iteration (context=0xb1f170, may_block=1) at /build/buildd/glib2.0-2.34.0/./glib/gmain.c:3351
#64 0x00007f7acacfcbf6 in QEventDispatcherGlib::processEvents (this=0xadec10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#65 0x00007f7acb754c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#66 0x00007f7acaccd2bf in QEventLoop::processEvents (this=this@entry=0x7fffa066b3a0, flags=...) at kernel/qeventloop.cpp:149
#67 0x00007f7acaccd548 in QEventLoop::exec (this=0x7fffa066b3a0, flags=...) at kernel/qeventloop.cpp:204
#68 0x00007f7acacd2708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#69 0x0000000000403339 in main (argc=1, argv=0x7fffa066b678) at ../../../kontact/src/main.cpp:219

This bug may be a duplicate of or related to bug 303548.

Possible duplicates by query: bug 303548, bug 302805, bug 299000, bug 298723, bug 290114.

Reported using DrKonqi
Comment 1 jolay 2013-01-11 10:49:57 UTC
Created attachment 76383 [details]
New crash information added by DrKonqi

kontact (4.8.5) on KDE Platform 4.8.5 (4.8.5) "release 2" using Qt 4.8.4

- What I was doing when the application crashed:

Read e-mails in Kmail/Kontact mostly on IMAP accounts, delete some of them, then quit immediately.
(close the Kontact window with mouse clic on the X button decoration)

May be some IMAP syncs were still running ?

-- Backtrace (Reduced):
#5  QAbstractItemModelPrivate::removePersistentIndexData (this=0x16c8e40, data=data@entry=0x33c7750) at kernel/qabstractitemmodel.cpp:550
#6  0x00007ff9040c37b9 in QPersistentModelIndexData::destroy (data=0x33c7750) at kernel/qabstractitemmodel.cpp:83
#7  0x00007ff9040c38ef in QPersistentModelIndex::~QPersistentModelIndex (this=0x33c6b50, __in_chrg=<optimized out>) at kernel/qabstractitemmodel.cpp:155
#8  0x00007ff903fe8c9b in QHashData::free_helper (this=0x33c6760, node_delete=0x7ff905000940 <QHash<QPersistentModelIndex, QHashDummyValue>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:275
#9  0x00007ff905020dbb in freeData (x=<optimized out>, this=<optimized out>) at ../../src/corelib/tools/qhash.h:570
Comment 2 Sergio Martins 2013-03-18 19:50:45 UTC
Was fixed in 4.9