Bug 290080 - Kontact crashed on closing
Summary: Kontact crashed on closing
Status: RESOLVED DUPLICATE of bug 289831
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-29 10:47 UTC by Robby Engelmann
Modified: 2012-01-06 17:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.54 KB, text/plain)
2012-01-03 10:39 UTC, Robby Engelmann
Details
Crash report after installing all dbg-packages related to PIM (6.99 KB, text/plain)
2012-01-03 14:08 UTC, Robby Engelmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Engelmann 2011-12-29 10:47:47 UTC
Application: kontact (4.8 rc1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-030200rc7-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Immediately after I close Kontact it crashes almost every time (see that first after upgrading from KDE 4.7.4 to 4.8RC1 using kubuntu/beta ppa)

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb281d730 (LWP 2534))]

Thread 4 (Thread 0xb16d3b70 (LWP 2535)):
#0  0xb78dd424 in __kernel_vsyscall ()
#1  0xb3dfaa5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb6272cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5a1a883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb5a1a99f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb3df6d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb62650ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb0db2b70 (LWP 2536)):
#0  0xb3df8dbd in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb6272f14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb3d1f723 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3d1fc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb658fb37 in QEventDispatcherGlib::processEvents (this=0x9cc9bc0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0xb65601dd in QEventLoop::processEvents (this=0xb0db22c0, flags=...) at kernel/qeventloop.cpp:149
#6  0xb6560421 in QEventLoop::exec (this=0xb0db22c0, flags=...) at kernel/qeventloop.cpp:201
#7  0xb646390b in QThread::exec (this=0x9cc96d0) at thread/qthread.cpp:498
#8  0xb64639fb in QThread::run (this=0x9cc96d0) at thread/qthread.cpp:565
#9  0xb64667b3 in QThreadPrivate::start (arg=0x9cc96d0) at thread/qthread_unix.cpp:331
#10 0xb3df6d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0xb62650ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xaec96b70 (LWP 2571)):
#0  0xb78dd424 in __kernel_vsyscall ()
#1  0xb625640e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb3d2e34b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3d1f896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3d1fc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb658fb37 in QEventDispatcherGlib::processEvents (this=0xb9152d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb65601dd in QEventLoop::processEvents (this=0xaec96290, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6560421 in QEventLoop::exec (this=0xaec96290, flags=...) at kernel/qeventloop.cpp:201
#8  0xb646390b in QThread::exec (this=0xba92aa8) at thread/qthread.cpp:498
#9  0xb6540e2d in QInotifyFileSystemWatcherEngine::run (this=0xba92aa8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb64667b3 in QThreadPrivate::start (arg=0xba92aa8) at thread/qthread_unix.cpp:331
#11 0xb3df6d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb62650ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb281d730 (LWP 2534)):
[KCrash Handler]
#7  deref (this=0x1c) at /usr/include/qt4/QtCore/qatomic_i386.h:132
#8  ~QSharedDataPointer (this=0xad9aa58, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:90
#9  Akonadi::Entity::~Entity (this=0xad9aa58, __in_chrg=<optimized out>) at ../../akonadi/entity.cpp:64
#10 0xb447620b in Akonadi::Item::~Item (this=0xad9aa58, __in_chrg=<optimized out>) at ../../akonadi/item.cpp:131
#11 0xb4460c7e in ~QHashNode (this=0xad9aa48, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:216
#12 QHash<long long, Akonadi::Item>::deleteNode2 (node=0xad9aa48) at /usr/include/qt4/QtCore/qhash.h:519
#13 0xb6484b2a in QHashData::free_helper (this=0xa8855e8, node_delete=0xb4460c60 <QHash<long long, Akonadi::Item>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:271
#14 0xb445482d in freeData (x=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:568
#15 ~QHash (this=0xa0c1888, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:284
#16 ~QHash (this=0xa0c1888, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel_p.cpp:92
#17 Akonadi::EntityTreeModelPrivate::~EntityTreeModelPrivate (this=0xa0c1880, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel_p.cpp:92
#18 0xb444b0b1 in Akonadi::EntityTreeModel::~EntityTreeModel (this=0x9fe5668, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel.cpp:82
#19 0xb444b1c2 in Akonadi::EntityTreeModel::~EntityTreeModel (this=0x9fe5668, __in_chrg=<optimized out>) at ../../akonadi/entitytreemodel.cpp:83
#20 0xb6575841 in QObjectPrivate::deleteChildren (this=0x9fbca20) at kernel/qobject.cpp:1955
#21 0xb657a439 in QObject::~QObject (this=0xa0774c8, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#22 0xaf740923 in KMKernel::~KMKernel() () from /usr/lib/libkmailprivate.so.4
#23 0xaf740a72 in KMKernel::~KMKernel() () from /usr/lib/libkmailprivate.so.4
#24 0xaf89b7e5 in ?? () from /usr/lib/kde4/kmailpart.so
#25 0xaf89b902 in ?? () from /usr/lib/kde4/kmailpart.so
#26 0xb7872878 in KontactInterface::Plugin::~Plugin (this=0x9e0b860, __vtt_parm=0xafa47b24, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#27 0xafa390a5 in ?? () from /usr/lib/kde4/kontact_kmailplugin.so
#28 0xafa390f2 in ?? () from /usr/lib/kde4/kontact_kmailplugin.so
#29 0xb78a36e7 in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#30 0xb78a3862 in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#31 0xb65745f3 in qDeleteInEventHandler (o=0x9b016d8) at kernel/qobject.cpp:3986
#32 0xb6579b80 in QObject::event (this=0x9b016d8, e=0xc78fd78) at kernel/qobject.cpp:1200
#33 0xb6b16c62 in QWidget::event (this=0x9b016d8, event=0xc78fd78) at kernel/qwidget.cpp:8754
#34 0xb6f394cc in QMainWindow::event (this=0x9b016d8, event=0xc78fd78) at widgets/qmainwindow.cpp:1478
#35 0xb76ee5a4 in KMainWindow::event (this=0x9b016d8, ev=0xc78fd78) at ../../kdeui/widgets/kmainwindow.cpp:1084
#36 0xb7736a02 in KXmlGuiWindow::event (this=0x9b016d8, ev=0xc78fd78) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#37 0xb6abcd54 in notify_helper (e=0xc78fd78, receiver=0x9b016d8, this=0x9b0ac80) at kernel/qapplication.cpp:4486
#38 QApplicationPrivate::notify_helper (this=0x9b0ac80, receiver=0x9b016d8, e=0xc78fd78) at kernel/qapplication.cpp:4458
#39 0xb6ac21a8 in QApplication::notify (this=0x9b0ac80, receiver=0x9b016d8, e=0xc78fd78) at kernel/qapplication.cpp:4451
#40 0xb7612fa1 in KApplication::notify (this=0xbfb62ee4, receiver=0x9b016d8, event=0xc78fd78) at ../../kdeui/kernel/kapplication.cpp:311
#41 0xb656119e in QCoreApplication::notifyInternal (this=0xbfb62ee4, receiver=0x9b016d8, event=0xc78fd78) at kernel/qcoreapplication.cpp:787
#42 0xb6564f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9adbd28) at kernel/qcoreapplication.cpp:1428
#44 0xb65650ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#45 0xb658f6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=0x9b01380) at kernel/qeventdispatcher_glib.cpp:277
#47 0xb3d1f25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb3d1f990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb3d1fc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb658fada in QEventDispatcherGlib::processEvents (this=0x9adcc30, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#51 0xb6b74e3a in QGuiEventDispatcherGlib::processEvents (this=0x9adcc30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0xb65601dd in QEventLoop::processEvents (this=0xbfb62e44, flags=...) at kernel/qeventloop.cpp:149
#53 0xb6560421 in QEventLoop::exec (this=0xbfb62e44, flags=...) at kernel/qeventloop.cpp:201
#54 0xb656519d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#55 0xb6aba8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#56 0x0804ac91 in ?? ()
#57 0xb61ac113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#58 0x0804b1c1 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2012-01-02 19:42:13 UTC
>#22 0xaf740923 in KMKernel::~KMKernel() () from /usr/lib/libkmailprivate.so.4
>#23 0xaf740a72 in KMKernel::~KMKernel() () from /usr/lib/libkmailprivate.so.4

As you're sometimes able to reproduce the crash, please install the debug package for kmail to get a better backtrace
Comment 2 Robby Engelmann 2012-01-03 10:39:25 UTC
Created attachment 67375 [details]
New crash information added by DrKonqi

kontact (4.8 rc1) on KDE Platform 4.7.95 (4.8 RC1 (4.7.95) using Qt 4.7.4

- What I was doing when the application crashed:
Closing Kontact leads to crash in 4.8RC1, not absolutely sure whether it is the same like before

-- Backtrace (Reduced):
#11 0xb6436e53 in qRealloc (ptr=0xc43cbd8, size=512) at global/qmalloc.cpp:65
#12 0xb648a836 in QString::realloc (this=0x9f3c6f8, alloc=246) at tools/qstring.cpp:1320
#13 0xb648accd in QString::append (this=0x9f3c6f8, str=...) at tools/qstring.cpp:1535
#14 0xb64deb01 in write (data=..., this=0x11665f68) at io/qtextstream.cpp:915
#15 putString (number=false, s=..., this=0x11665f68) at io/qtextstream.cpp:996
Comment 3 Robby Engelmann 2012-01-03 14:08:54 UTC
Created attachment 67383 [details]
Crash report after installing all dbg-packages related to PIM
Comment 4 Christophe Marin 2012-01-06 17:41:59 UTC
fixed in 4.8RC2

*** This bug has been marked as a duplicate of bug 289831 ***