[Bug 290617] New: KMail (Kontact) crashes on quit

Matthias Kretz kretz at kde.org
Wed Jan 4 18:41:59 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=290617

           Summary: KMail (Kontact) crashes on quit
           Product: kontact
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kretz at kde.org


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.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

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

Kontact was running for a few hours. It crashed when I shut it down via Ctrl+Q.

Akonadi is configured to check two IMAP accounts, where one of them is a Kolab
server (and configured as such). The non-Kolab IMAP account also contains
"groupware folders", i.e. a folder where contacts are stored.

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

Thread 5 (Thread 0x7f5ead83f700 (LWP 16649)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5ec412ac2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f5ec412ad59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f5ebf90eefc in start_thread (arg=0x7f5ead83f700) at
pthread_create.c:304
#4  0x00007f5ec4e3889d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5eacf3e700 (LWP 16650)):
#0  0x00007f5ec4e2c773 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5ebf43cf68 in g_main_context_poll (n_fds=1, fds=0x2296060,
timeout=2108, context=0x22947f0, priority=<optimized out>) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0x22947f0, block=<optimized out>,
dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007f5ebf43d429 in g_main_context_iteration (context=0x22947f0,
may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f5ec5594f3e in QEventDispatcherGlib::processEvents (this=0x22945b0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5ec5568cf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5ec5568ef7 in QEventLoop::exec (this=0x7f5eacf3dde0, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007f5ec548027f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#8  0x00007f5ec5482d05 in QThreadPrivate::start (arg=0x2293cc0) at
thread/qthread_unix.cpp:331
#9  0x00007f5ebf90eefc in start_thread (arg=0x7f5eacf3e700) at
pthread_create.c:304
#10 0x00007f5ec4e3889d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5e5fad3700 (LWP 18571)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f5ec548311e in wait (time=30000, this=0x31bcfe0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x35e8250, time=30000) at
thread/qwaitcondition_unix.cpp:160
#3  0x00007f5ec547781f in QThreadPoolThread::run (this=0x2db06f0) at
concurrent/qthreadpool.cpp:140
#4  0x00007f5ec5482d05 in QThreadPrivate::start (arg=0x2db06f0) at
thread/qthread_unix.cpp:331
#5  0x00007f5ebf90eefc in start_thread (arg=0x7f5e5fad3700) at
pthread_create.c:304
#6  0x00007f5ec4e3889d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5e51b2d700 (LWP 18583)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f5ec548311e in wait (time=30000, this=0x2d5a4e0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2d5a410, time=30000) at
thread/qwaitcondition_unix.cpp:160
#3  0x00007f5ec547781f in QThreadPoolThread::run (this=0x2d6c8e0) at
concurrent/qthreadpool.cpp:140
#4  0x00007f5ec5482d05 in QThreadPrivate::start (arg=0x2d6c8e0) at
thread/qthread_unix.cpp:331
#5  0x00007f5ebf90eefc in start_thread (arg=0x7f5e51b2d700) at
pthread_create.c:304
#6  0x00007f5ec4e3889d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5ec78c47a0 (LWP 16648)):
[KCrash Handler]
#6  deref (this=0x20) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133
#7  ~QString (this=0x8a86ab0, __in_chrg=<optimized out>) at
/usr/include/qt4/QtCore/qstring.h:883
#8  ~AddrSpec (this=0x8a86aa8, __in_chrg=<optimized out>) at
../../kmime/kmime_header_parsing.h:54
#9  ~Mailbox (this=0x8a86aa0, __in_chrg=<optimized out>) at
../../kmime/kmime_header_parsing.h:68
#10 node_destruct (to=0x7bb95f8, from=0x7bb95f8, this=<optimized out>) at
/usr/include/qt4/QtCore/qlist.h:418
#11 QList<KMime::Types::Mailbox>::free (data=0x7bb95e0, this=<optimized out>)
at /usr/include/qt4/QtCore/qlist.h:744
#12 0x00007f5ebc1062a8 in ~Address (this=0x3638ca0, __in_chrg=<optimized out>)
at ../../kmime/kmime_header_parsing.h:172
#13 node_destruct (to=0x8227e00, from=0x8227898, this=<optimized out>) at
/usr/include/qt4/QtCore/qlist.h:418
#14 QList<KMime::Types::Address>::free (data=0x8227880, this=<optimized out>)
at /usr/include/qt4/QtCore/qlist.h:744
#15 0x00007f5ebc10d63b in ~AddressListPrivate (this=0x25eaad0,
__in_chrg=<optimized out>) at ../../kmime/kmime_headers_p.h:62
#16 KMime::Headers::Generics::AddressListPrivate::~AddressListPrivate
(this=0x25eaad0, __in_chrg=<optimized out>) at ../../kmime/kmime_headers_p.h:62
#17 0x00007f5ebc0fd2f1 in KMime::Headers::Base::~Base (this=0x7239f90,
__in_chrg=<optimized out>) at ../../kmime/kmime_headers.cpp:164
#18 0x00007f5ebc0fdd89 in KMime::Headers::To::~To (this=0x7239f90,
__in_chrg=<optimized out>) at ../../kmime/kmime_headers.cpp:2281
#19 0x00007f5ebc0f7b23 in
qDeleteAll<QList<KMime::Headers::Base*>::const_iterator> (end=<optimized out>,
begin=<optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#20 qDeleteAll<QList<KMime::Headers::Base*> > (c=...) at
/usr/include/qt4/QtCore/qalgorithms.h:330
#21 KMime::Content::~Content (this=0x2dbfc90, __in_chrg=<optimized out>) at
../../kmime/kmime_content.cpp:93
#22 0x00007f5ebc111b79 in KMime::Message::~Message (this=0x2dbfc90,
__in_chrg=<optimized out>) at ../../kmime/kmime_message.cpp:46
#23 0x00007f5e5105e682 in ?? () from /usr/lib/kde4/akonadi_serializer_mail.so
#24 0x00007f5ec1c1ce96 in ~clone_ptr (this=0x71277c0, __in_chrg=<optimized
out>) at ../../akonadi/item_p.h:48
#25 ~TypedPayload (this=0x71277c0, __in_chrg=<optimized out>) at
../../akonadi/item_p.h:119
#26 _Destroy<Akonadi::_detail::TypedPayload> (__pointer=0x71277c0) at
/usr/include/c++/4.6/bits/stl_construct.h:94
#27 __destroy<Akonadi::_detail::TypedPayload*> (__last=<optimized out>,
__first=<optimized out>) at /usr/include/c++/4.6/bits/stl_construct.h:104
#28 _Destroy<Akonadi::_detail::TypedPayload*> (__last=<optimized out>,
__first=<optimized out>) at /usr/include/c++/4.6/bits/stl_construct.h:127
#29 _Destroy<Akonadi::_detail::TypedPayload*, Akonadi::_detail::TypedPayload>
(__last=0x71277d0, __first=<optimized out>) at
/usr/include/c++/4.6/bits/stl_construct.h:153
#30 ~vector (this=0x7776a98, __in_chrg=<optimized out>) at
/usr/include/c++/4.6/bits/stl_vector.h:350
#31 ~ItemPrivate (this=0x7776a50, __in_chrg=<optimized out>) at
../../akonadi/item_p.h:203
#32 Akonadi::ItemPrivate::~ItemPrivate (this=0x7776a50, __in_chrg=<optimized
out>) at ../../akonadi/item_p.h:204
#33 0x00007f5ec549e4da in QHashData::free_helper (this=0x66285a0,
node_delete=0x7f5ec1c05fb0 <QHash<long long,
Akonadi::Item>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:271
#34 0x00007f5ec1bfb2f8 in freeData (x=<optimized out>, this=<optimized out>) at
/usr/include/qt4/QtCore/qhash.h:568
#35 ~QHash (this=0x2acb8a0, __in_chrg=<optimized out>) at
/usr/include/qt4/QtCore/qhash.h:284
#36 ~QHash (this=0x2acb8a0, __in_chrg=<optimized out>) at
../../akonadi/entitytreemodel_p.cpp:92
#37 Akonadi::EntityTreeModelPrivate::~EntityTreeModelPrivate (this=0x2acb890,
__in_chrg=<optimized out>) at ../../akonadi/entitytreemodel_p.cpp:92
#38 0x00007f5ec1bf2911 in Akonadi::EntityTreeModel::~EntityTreeModel
(this=0x293cb40, __in_chrg=<optimized out>) at
../../akonadi/entitytreemodel.cpp:82
#39 0x00007f5ec1bf29f9 in Akonadi::EntityTreeModel::~EntityTreeModel
(this=0x293cb40, __in_chrg=<optimized out>) at
../../akonadi/entitytreemodel.cpp:83
#40 0x00007f5ec557bd75 in QObjectPrivate::deleteChildren (this=0x2a0e900) at
kernel/qobject.cpp:1955
#41 0x00007f5ec5581349 in QObject::~QObject (this=0x2a17040,
__in_chrg=<optimized out>) at kernel/qobject.cpp:946
#42 0x00007f5e6498d3ad in KMKernel::~KMKernel (this=0x2a17040,
__in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:226
#43 0x00007f5e6498d519 in KMKernel::~KMKernel (this=0x2a17040,
__in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:236
#44 0x00007f5e64cc2645 in KMailPart::~KMailPart (this=0x28629c0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../kmail/kmail_part.cpp:138
#45 0x00007f5e64cc2739 in KMailPart::~KMailPart (this=0x28629c0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../kmail/kmail_part.cpp:140
#46 0x00007f5ec70c031e in KontactInterface::Plugin::~Plugin (this=0x28fb1e0,
__vtt_parm=<optimized out>, __in_chrg=<optimized out>) at
../../kontactinterface/plugin.cpp:90
#47 0x00007f5e65e62abf in KMailPlugin::~KMailPlugin (this=0x28fb1e0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#48 0x00007f5e65e62ae9 in KMailPlugin::~KMailPlugin (this=0x28fb1e0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#49 0x00007f5ec74f5b17 in Kontact::MainWindow::~MainWindow (this=0x248cbf0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../../kontact/src/mainwindow.cpp:288
#50 0x00007f5ec74f5c79 in Kontact::MainWindow::~MainWindow (this=0x248cbf0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../../kontact/src/mainwindow.cpp:290
#51 0x00007f5ec5580a88 in QObject::event (this=0x248cbf0, e=<optimized out>) at
kernel/qobject.cpp:1200
#52 0x00007f5ec5fba6eb in QWidget::event (this=0x248cbf0, event=0x94ca870) at
kernel/qwidget.cpp:8754
#53 0x00007f5ec637cceb in QMainWindow::event (this=0x248cbf0, event=0x94ca870)
at widgets/qmainwindow.cpp:1478
#54 0x00007f5ec6d7ad08 in KXmlGuiWindow::event (this=0x248cbf0, ev=0x94ca870)
at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#55 0x00007f5ec5f6a424 in notify_helper (e=0x94ca870, receiver=0x248cbf0,
this=0x2285890) at kernel/qapplication.cpp:4486
#56 QApplicationPrivate::notify_helper (this=0x2285890, receiver=0x248cbf0,
e=0x94ca870) at kernel/qapplication.cpp:4458
#57 0x00007f5ec5f6f291 in QApplication::notify (this=0x7fff51a37210,
receiver=0x248cbf0, e=0x94ca870) at kernel/qapplication.cpp:4365
#58 0x00007f5ec6c7ea46 in KApplication::notify (this=0x7fff51a37210,
receiver=0x248cbf0, event=0x94ca870) at ../../kdeui/kernel/kapplication.cpp:311
#59 0x00007f5ec5569afc in QCoreApplication::notifyInternal
(this=0x7fff51a37210, receiver=0x248cbf0, event=0x94ca870) at
kernel/qcoreapplication.cpp:787
#60 0x00007f5ec556d51f in sendEvent (event=0x94ca870, receiver=0x248cbf0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#61 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x22586b0) at kernel/qcoreapplication.cpp:1428
#62 0x00007f5ec5594a73 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#63 postEventSourceDispatch (s=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:277
#64 0x00007f5ebf43ca5d in g_main_dispatch (context=0x2287c60) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#65 g_main_context_dispatch (context=0x2287c60) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#66 0x00007f5ebf43d258 in g_main_context_iterate (context=0x2287c60,
block=<optimized out>, dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#67 0x00007f5ebf43d429 in g_main_context_iteration (context=0x2287c60,
may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#68 0x00007f5ec5594ed6 in QEventDispatcherGlib::processEvents (this=0x225a170,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#69 0x00007f5ec601207e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#70 0x00007f5ec5568cf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#71 0x00007f5ec5568ef7 in QEventLoop::exec (this=0x7fff51a371a0, flags=...) at
kernel/qeventloop.cpp:201
#72 0x00007f5ec556d789 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1064
#73 0x0000000000403629 in main (argc=1, argv=0x7fff51a37838) at
../../../kontact/src/main.cpp:218

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list