Bug 290109 - Kontact crashes on exit
Summary: Kontact crashes on exit
Status: RESOLVED DUPLICATE of bug 289693
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 16:57 UTC by Peter Hedlund
Modified: 2012-01-04 13:13 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 Peter Hedlund 2011-12-29 16:57:02 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.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

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

Kontact crashed on exit after selecting Ctrl+Q. I had previously been moving messages between folders in KMail.

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

Thread 6 (Thread 0x7f5c80a2f700 (LWP 8073)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5c970a5c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f5c970a5d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f5c92889efc in start_thread (arg=0x7f5c80a2f700) at pthread_create.c:304
#4  0x00007f5c97db389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f5c8022e700 (LWP 8074)):
#0  0x00007f5c97da7773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5c923b7f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5c923b8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5c9850ff3e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f5c984e3cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f5c984e3ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f5c983fb27f in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f5c983fdd05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f5c92889efc in start_thread (arg=0x7f5c8022e700) at pthread_create.c:304
#9  0x00007f5c97db389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5c2f924700 (LWP 8089)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f5c2f923ad0 in ?? ()
#2  0x00007fffe0ddc7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7f5c33083700 (LWP 8146)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f5c983fe11e in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f5c983f281f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f5c983fdd05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f5c92889efc in start_thread (arg=0x7f5c33083700) at pthread_create.c:304
#5  0x00007f5c97db389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5c31b78700 (LWP 8148)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f5c983fe11e in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f5c983f281f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f5c983fdd05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f5c92889efc in start_thread (arg=0x7f5c31b78700) at pthread_create.c:304
#5  0x00007f5c97db389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5c9a8487a0 (LWP 8072)):
[KCrash Handler]
#6  malloc_consolidate (av=0x7f5c9806c1c0) at malloc.c:5161
#7  0x00007f5c97d4b659 in malloc_consolidate (av=0x7f5c9806c1c0) at malloc.c:5115
#8  _int_free (av=0x7f5c9806c1c0, p=<optimized out>) at malloc.c:5034
#9  0x00007f5c97d4ed7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#10 0x00007f5c984194da in QHashData::free_helper(void (*)(QHashData::Node*)) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f5c94b76310 in ?? () from /usr/lib/libakonadi-kde.so.4
#12 0x00007f5c94b6d911 in Akonadi::EntityTreeModel::~EntityTreeModel() () from /usr/lib/libakonadi-kde.so.4
#13 0x00007f5c94b6d9f9 in Akonadi::EntityTreeModel::~EntityTreeModel() () from /usr/lib/libakonadi-kde.so.4
#14 0x00007f5c984f6d75 in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007f5c984fc349 in QObject::~QObject() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007f5c37cd13ad in KMKernel::~KMKernel() () from /usr/lib/libkmailprivate.so.4
#17 0x00007f5c37cd1519 in KMKernel::~KMKernel() () from /usr/lib/libkmailprivate.so.4
#18 0x00007f5c7c26e645 in ?? () from /usr/lib/kde4/kmailpart.so
#19 0x00007f5c7c26e739 in ?? () from /usr/lib/kde4/kmailpart.so
#20 0x00007f5c9a03b31e in KontactInterface::Plugin::~Plugin() () from /usr/lib/libkontactinterface.so.4
#21 0x00007f5c7d208abf in ?? () from /usr/lib/kde4/kontact_kmailplugin.so
#22 0x00007f5c7d208ae9 in ?? () from /usr/lib/kde4/kontact_kmailplugin.so
#23 0x00007f5c9a470b17 in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#24 0x00007f5c9a470c79 in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#25 0x00007f5c984fba88 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f5c98f356eb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007f5c992f7ceb in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f5c99cf5d08 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007f5c98ee5424 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007f5c98eea291 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f5c99bf9a46 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#32 0x00007f5c984e4afc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007f5c984e851f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007f5c9850fa73 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007f5c923b7a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f5c923b8258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f5c923b8429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f5c9850fed6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007f5c98f8d07e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#40 0x00007f5c984e3cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x00007f5c984e3ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#42 0x00007f5c984e8789 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#43 0x0000000000403629 in ?? ()
#44 0x00007f5c97cf330d in __libc_start_main (main=0x402b40, argc=1, ubp_av=0x7fffe0ca4d48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe0ca4d38) at libc-start.c:226
#45 0x0000000000403b71 in _start ()

Possible duplicates by query: bug 288234.

Reported using DrKonqi
Comment 1 Søren Holm 2011-12-30 23:34:14 UTC
I see the same issue.

I can reproducere every time like this.

1. Move an email from one folder to another.
2. Close kontact immediately after moving the email,
3. kontact will now crash
Comment 2 Christophe Marin 2012-01-04 13:13:04 UTC

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