Bug 285599 - nonvisible thread of kmail crashes while kde logout
Summary: nonvisible thread of kmail crashes while kde logout
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 285748 294971 302252 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-02 21:47 UTC by Jakub Ladman
Modified: 2017-01-07 22:03 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.05 KB, text/plain)
2011-11-22 15:26 UTC, Antonio Sánchez
Details
New crash information added by DrKonqi (4.80 KB, text/plain)
2011-12-27 06:46 UTC, MK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Ladman 2011-11-02 21:47:22 UTC
Application: kmail (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

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

loging out of kde
Kmail have trouble to load data from akonadi database or what.
There was kmail with all three sections of the main window clear white (not any folder, not any messages, not any message preview)

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7fa3cb6247a0 (LWP 10714))]

Thread 3 (Thread 0x7fa3abd6e700 (LWP 10715)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3bd8fac2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa3bd8fad59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa3c6545efc in start_thread (arg=0x7fa3abd6e700) at pthread_create.c:304
#4  0x00007fa3c899f89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa3a8cfb700 (LWP 10718)):
#0  0x00007fa3c6548034 in __pthread_mutex_lock (mutex=0x1243ac8) at pthread_mutex_lock.c:61
#1  0x00007fa3c13e8023 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa3c13e8dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa3c13e9429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa3c9311f3e in QEventDispatcherGlib::processEvents (this=0x1229da0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fa3c92e5cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa3c92e5ef7 in QEventLoop::exec (this=0x7fa3a8cfadb0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fa3c91fd27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fa3c92c8cbf in QInotifyFileSystemWatcherEngine::run (this=0x1240e10) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fa3c91ffd05 in QThreadPrivate::start (arg=0x1240e10) at thread/qthread_unix.cpp:331
#10 0x00007fa3c6545efc in start_thread (arg=0x7fa3a8cfb700) at pthread_create.c:304
#11 0x00007fa3c899f89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa3cb6247a0 (LWP 10714)):
[KCrash Handler]
#6  0x00007fa3c88f43a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fa3c88f7b0b in __GI_abort () at abort.c:92
#8  0x00007fa3c91f643b in qt_message_output (msgType=<optimized out>, buf=0xc54578 "QWidget: Must construct a QApplication before a QPaintDevice") at global/qglobal.cpp:2315
#9  0x00007fa3c91f67ef in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7fa3c9e97ba0 "QWidget: Must construct a QApplication before a QPaintDevice", ap=0x7fff501f8e88) at global/qglobal.cpp:2361
#10 0x00007fa3c91f6994 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2544
#11 0x00007fa3c985e64e in QWidgetPrivate::QWidgetPrivate (this=0xfdce70, version=263940) at kernel/qwidget.cpp:314
#12 0x00007fa3c9ccdcaa in QDialogPrivate (this=0xfdce70) at ../../include/QtGui/private/../../../src/gui/dialogs/qdialog_p.h:77
#13 QDialog::QDialog (this=0xf765c0, parent=0x0, f=<optimized out>) at dialogs/qdialog.cpp:260
#14 0x00007fa3caf90039 in KDialog::KDialog (this=0xf765c0, parent=<optimized out>, flags=<optimized out>) at ../../kdeui/dialogs/kdialog.cpp:190
#15 0x00007fa3cafa10c7 in KMessageBox::errorListWId (parent_id=0, text=..., strlist=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:840
#16 0x00007fa3cafa13c5 in KMessageBox::error (parent=<optimized out>, text=..., caption=..., options=<optimized out>) at ../../kdeui/dialogs/kmessagebox.cpp:821
#17 0x00007fa3c48c8545 in MailCommon::Kernel::emergencyExit(QString const&) () from /usr/lib/libmailcommon.so.4
#18 0x00007fa3c48c88fe in MailCommon::Kernel::createDefaultCollectionDone(KJob*) () from /usr/lib/libmailcommon.so.4
#19 0x00007fa3c48c8ff4 in MailCommon::Kernel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libmailcommon.so.4
#20 0x00007fa3c92f9eba in QMetaObject::activate (sender=0xcfa780, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff501f9380) at kernel/qobject.cpp:3278
#21 0x00007fa3caa685b2 in KJob::result (this=<optimized out>, _t1=0xcfa780) at ./kjob.moc:194
#22 0x00007fa3caa685f0 in KJob::emitResult (this=0xcfa780) at ../../kdecore/jobs/kjob.cpp:312
#23 0x00007fa3caa6869e in KJob::kill (this=0xcfa780, verbosity=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:112
#24 0x00007fa3c56ef447 in Akonadi::Session::clear() () from /usr/lib/libakonadi-kde.so.4
#25 0x00007fa3c56ef7eb in Akonadi::Session::~Session() () from /usr/lib/libakonadi-kde.so.4
#26 0x00007fa3c56ef839 in Akonadi::Session::~Session() () from /usr/lib/libakonadi-kde.so.4
#27 0x00007fa3c91fe301 in QThreadStorageData::finish (p=0x9324b0) at thread/qthreadstorage.cpp:202
#28 0x00007fa3c92e9cfd in QCoreApplicationPrivate::~QCoreApplicationPrivate (this=0x97a430, __in_chrg=<optimized out>) at kernel/qcoreapplication.cpp:347
#29 0x00007fa3c9816429 in QApplicationPrivate::~QApplicationPrivate (this=0x97a430, __in_chrg=<optimized out>) at kernel/qapplication.cpp:221
#30 0x00007fa3c92fe39b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#31 ~QScopedPointer (this=0x7fff501f97e8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#32 QObject::~QObject (this=0x7fff501f97e0, __in_chrg=<optimized out>) at kernel/qobject.cpp:818
#33 0x00007fa3c9820f87 in QApplication::~QApplication (this=0x7fff501f97e0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1093
#34 0x0000000000402c07 in ?? ()
#35 0x00007fa3c88df30d in __libc_start_main (main=0x4021a0, argc=3, ubp_av=0x7fff501f9c38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff501f9c28) at libc-start.c:226
#36 0x00000000004030b5 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-18 23:07:56 UTC
*** Bug 285748 has been marked as a duplicate of this bug. ***
Comment 2 Antonio Sánchez 2011-11-22 15:26:22 UTC
Created attachment 65941 [details]
New crash information added by DrKonqi

kmail (4.7.2) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

Logging out KDE. 

KMail showed all panels empty, with no accounts. Trying to reopen session; clash when closing.

-- Backtrace (Reduced):
#6  0x00007fd313bf03a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fd313bf3b0b in __GI_abort () at abort.c:92
[...]
#11 0x00007fd314b5a64e in QWidgetPrivate::QWidgetPrivate (this=0x121b280, version=263940) at kernel/qwidget.cpp:314
#12 0x00007fd314fc9caa in QDialogPrivate (this=0x121b280) at ../../include/QtGui/private/../../../src/gui/dialogs/qdialog_p.h:77
#13 QDialog::QDialog (this=0x1329a30, parent=0x0, f=<optimized out>) at dialogs/qdialog.cpp:260
Comment 3 MK 2011-12-27 06:46:34 UTC
Created attachment 67148 [details]
New crash information added by DrKonqi

kmail (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

shutting down kde while kmail was still starting

-- Backtrace (Reduced):
#6  0x00007ff5907f13a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007ff5907f4b0b in __GI_abort () at abort.c:92
[...]
#11 0x00007ff59175b64e in QWidgetPrivate::QWidgetPrivate (this=0x29e1880, version=263940) at kernel/qwidget.cpp:314
#12 0x00007ff591bcacaa in QDialogPrivate (this=0x29e1880) at ../../include/QtGui/private/../../../src/gui/dialogs/qdialog_p.h:77
#13 QDialog::QDialog (this=0x28fc860, parent=0x0, f=<optimized out>) at dialogs/qdialog.cpp:260
Comment 4 Jekyll Wu 2012-07-03 16:41:41 UTC
*** Bug 294971 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2012-07-10 08:18:25 UTC
*** Bug 302252 has been marked as a duplicate of this bug. ***
Comment 6 Denis Kurz 2016-09-24 18:00:04 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 7 Denis Kurz 2017-01-07 22:03:06 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.