Bug 181817 - The application Kontact (kontact) crashed and caused the signal 6 (SIGABRT)
Summary: The application Kontact (kontact) crashed and caused the signal 6 (SIGABRT)
Status: RESOLVED DUPLICATE of bug 174839
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: 2009-01-24 23:08 UTC by Jean-Christophe Dubois
Modified: 2009-01-25 23:50 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 Jean-Christophe Dubois 2009-01-24 23:08:48 UTC
Version:            (using KDE 4.1.96)
OS:                Linux
Installed from:    Ubuntu Packages

Kontact crashed as I was in kmail and trying to wipe out the the deleted messages in the trash bin.

Application : Kontact (kontact), signal SIGABRT
[Current thread is 0 (LWP 6813)]

Thread 2 (Thread 0xb0550b90 (LWP 7281)):
#0  0xb7ff4430 in __kernel_vsyscall ()
#1  0xb5a1ac01 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5cea150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5c1a6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb534950f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5a227ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4ac26c0 (LWP 6813)):
[KCrash Handler]
#6  0xb7ff4430 in __kernel_vsyscall ()
#7  0xb596c880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb596e248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5c12795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb5c12872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb5c12915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb14ad4e9 in ?? () from /usr/lib/libkmailprivate.so.4
#13 0xb0ff7d63 in ?? () from /usr/lib/libkmailprivate.so.4
#14 0xb5d1fa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb5d207e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb5d5a7a7 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#17 0xb5d2640e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#18 0xb5d1a53f in QObject::event () from /usr/lib/libQtCore.so.4
#19 0xb61d28ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#20 0xb61da72e in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0xb6cf304d in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0xb5d0ae61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#23 0xb5d38d81 in ?? () from /usr/lib/libQtCore.so.4
#24 0xb5d35520 in ?? () from /usr/lib/libQtCore.so.4
#25 0xb4fd96f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb4fdcda3 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb4fdcf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb5d35478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb626cea5 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb5d0952a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0xb5d096ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0xb5d0bda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0xb61d2767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#34 0x0804c072 in _start ()
Comment 1 Dario Andres 2009-01-24 23:54:53 UTC
Can you reproduce this bug? If you can, can you start Kontact from Konsole, try to reproduce the crash, and then paste the shell output from Konsole here? (the "ASSERT" line). Thanks you
Comment 2 Jean-Christophe Dubois 2009-01-25 09:59:01 UTC
I am not sure it will be so easy to reproduce especialy if I need to run it from a konsole (that's not my usual way of starting it, but I will try to remember to do it).

One thing I can add is that the "empty trash bin" feature was not working OK shortly before it crashed. Asking for it seems to have no effect whatsoever on the content of the trash bin which was keeping all the deleted email in it. This is on the second or third request to empty the trash bin that kontact went belly up with SIGABRT.
Comment 3 Dario Andres 2009-01-25 13:30:02 UTC
It's easy. You need to:

- Close Kontact-

- Open Konsole
- Type "kontact" and press Return
Kontact will start
- Try to reproduce the crash
Kontact will crash
- Go back to the Konsole window and check the output...
It should be an "Assert" line (one of the last ones)..., 
- Copy that "ASSERT" line and paste it here.

If you don't want to do this, you'll need to download a bunch of packages to get debug symbols.
Comment 4 Jean-Christophe Dubois 2009-01-25 14:16:47 UTC
Andrés,

I know how to do it. It is just that it is easy to forget to do it on one session and then miss a crash ...

So I am going to try another way by puting a shell wrapper arround the kontact binary. Something like:

#!/bin/sh
kontact.org > /tmp/kontact.log 2>&1

I guess that should do it and next time it happens I will have the traces in /tmp/kontact.log.
Comment 5 Jean-Christophe Dubois 2009-01-25 23:46:39 UTC
Andrés,

So here is the kontact log output when it get SIGABORT:

....
Format info for openpgp/mime:
  Signing keys:
  SplitInfo #0 encryption keys:
  SplitInfo #0 recipients: "Dubois, Emmanuelle" <toto@titi.net>
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setWorldTransform: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setWorldTransform: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setWorldTransform: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setWorldTransform: Painter not active
ASSERT: "mCurrentItemToRestoreAfterViewItemJobStep->isViewable()" in file /build/buildd/kdepim-4.1.96/kmail/messagelistview/core/model.cpp, line 3778
*** KMail got signal 6 (Crashing)
KCrash: Application 'kontact.org' crashing...
Comment 6 Jean-Christophe Dubois 2009-01-25 23:47:31 UTC
Andrés,

So here is the kontact log output when it get SIGABORT:

....
Format info for openpgp/mime:
  Signing keys:
  SplitInfo #0 encryption keys:
  SplitInfo #0 recipients: "Dubois, Emmanuelle" <toto@titi.net>
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setWorldTransform: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setWorldTransform: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setWorldTransform: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setWorldTransform: Painter not active
ASSERT: "mCurrentItemToRestoreAfterViewItemJobStep->isViewable()" in file /build/buildd/kdepim-4.1.96/kmail/messagelistview/core/model.cpp, line 3778
*** KMail got signal 6 (Crashing)
KCrash: Application 'kontact.org' crashing...
Comment 7 Dario Andres 2009-01-25 23:50:06 UTC
Thanks a lot :)

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