Application: kmail (4.11 pre) KDE Platform Version: 4.10.60 Qt Version: 4.8.4 Operating System: Linux 3.7.1-gentoo+ i686 Distribution (Platform): Gentoo Packages -- Information about the crash: - What I was doing when the application crashed: 1. start kmail 2. in konsole, run "kquitapp konsole" 3. kmail crashes PS: I'm creating a new report since I find this is much easier to reproduce than suggested duplicate. The crash can be reproduced every time. -- Backtrace: Application: KMail (kmail), signal: Aborted Using host libthread_db library "/lib/libthread_db.so.1". [Current thread is 1 (Thread 0xb15ad740 (LWP 31015))] Thread 2 (Thread 0xaf7ddb40 (LWP 32644)): #0 0xb7718424 in __kernel_vsyscall () #1 0xb5809bdc in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:171 #2 0xb5e0757c in __pthread_cond_wait (cond=0xb39bfb50, mutex=0xb39bfb38) at forward.c:149 #3 0xb32bc6d3 in ?? () from /usr/lib/qt4/libQtWebKit.so.4 #4 0xb32bc7ef in ?? () from /usr/lib/qt4/libQtWebKit.so.4 #5 0xb5805dff in start_thread (arg=0xaf7ddb40) at pthread_create.c:308 #6 0xb5dfa19e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:132 Thread 1 (Thread 0xb15ad740 (LWP 31015)): [KCrash Handler] #7 0xb7718424 in __kernel_vsyscall () #8 0xb5d3b93f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63 #9 0xb5d3d205 in __GI_abort () at abort.c:90 #10 0xb6025ffa in qt_message_output (msgType=QtFatalMsg, buf=0x8fd7a28 "QWidget: Must construct a QApplication before a QPaintDevice") at global/qglobal.cpp:2323 #11 0xb60261b9 in qt_message (msgType=QtFatalMsg, msg=0xb6b24560 "QWidget: Must construct a QApplication before a QPaintDevice", ap=0xbf9bee84 "\004\b\004") at global/qglobal.cpp:2369 #12 0xb60262b8 in qFatal (msg=0xb6b24560 "QWidget: Must construct a QApplication before a QPaintDevice") at global/qglobal.cpp:2552 #13 0xb644ebfe in QWidgetPrivate::QWidgetPrivate (this=0x923a730, version=264196) at kernel/qwidget.cpp:325 #14 0xb692a0a7 in QDialogPrivate (this=0x923a730) at ../../include/QtGui/private/../../../src/gui/dialogs/qdialog_p.h:77 #15 QDialog::QDialog (this=0x94f0058, parent=0x0, f=...) at dialogs/qdialog.cpp:260 #16 0xb73cf7c6 in KDialog::KDialog (this=0x94f0058, parent=0x0, flags=...) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/dialogs/kdialog.cpp:190 #17 0xb73e3834 in KMessageBox::errorListWId (parent_id=0, text=..., strlist=..., caption=..., options=...) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/dialogs/kmessagebox.cpp:840 #18 0xb73e3c06 in KMessageBox::error (parent=0x0, text=..., caption=..., options=...) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/dialogs/kmessagebox.cpp:821 #19 0xb4df6f5c in MailCommon::Kernel::emergencyExit (this=0x921ff08, reason=...) at /tmp/portage/kde-base/kmail-9999/work/kmail-9999/mailcommon/mailkernel.cpp:218 #20 0xb4df73e1 in MailCommon::Kernel::createDefaultCollectionDone (this=0x921ff08, job=0x923a468) at /tmp/portage/kde-base/kmail-9999/work/kmail-9999/mailcommon/mailkernel.cpp:175 #21 0xb4df7cb5 in qt_static_metacall (_a=0xbf9bf1e8, _o=0x921ff08, _c=<optimized out>, _id=<optimized out>) at /tmp/portage/kde-base/kmail-9999/work/kmail-9999_build/mailcommon/mailkernel.moc:59 #22 MailCommon::Kernel::qt_static_metacall (_o=0x921ff08, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf9bf1e8) at /tmp/portage/kde-base/kmail-9999/work/kmail-9999_build/mailcommon/mailkernel.moc:51 #23 0xb615e121 in QMetaObject::activate (sender=0x923a468, m=0xb726e48c <KJob::staticMetaObject>, local_signal_index=3, argv=0xbf9bf1e8) at kernel/qobject.cpp:3539 #24 0xb70b8705 in KJob::result (this=0x923a468, _t1=0x923a468) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999_build/kdecore/kjob.moc:208 #25 0xb70b8758 in KJob::emitResult (this=0x923a468) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdecore/jobs/kjob.cpp:318 #26 0xb70b8825 in KJob::kill (this=0x923a468, verbosity=KJob::EmitResult) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdecore/jobs/kjob.cpp:117 #27 0xb52ddda0 in Akonadi::Session::clear() () from /usr/lib/libakonadi-kde.so.4 #28 0xb52ddefd in Akonadi::Session::~Session() () from /usr/lib/libakonadi-kde.so.4 #29 0xb52ddf62 in Akonadi::Session::~Session() () from /usr/lib/libakonadi-kde.so.4 #30 0xb52de4f3 in ?? () from /usr/lib/libakonadi-kde.so.4 #31 0xb602f3b8 in QThreadStorageData::finish (p=0x8f7a164) at thread/qthreadstorage.cpp:203 #32 0xb6149777 in QCoreApplicationPrivate::~QCoreApplicationPrivate (this=0x8ff7eb0, __in_chrg=<optimized out>) at kernel/qcoreapplication.cpp:470 #33 0xb63fec03 in QApplicationPrivate::~QApplicationPrivate (this=0x8ff7eb0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:222 #34 0xb63feda2 in QApplicationPrivate::~QApplicationPrivate (this=0x8ff7eb0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:226 #35 0xb6161feb in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62 #36 ~QScopedPointer (this=0xbf9bf5a8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100 #37 QObject::~QObject (this=0xbf9bf5a4, __in_chrg=<optimized out>) at kernel/qobject.cpp:816 #38 0xb6149584 in QCoreApplication::~QCoreApplication (this=0xbf9bf5a4, __in_chrg=<optimized out>) at kernel/qcoreapplication.cpp:830 #39 0xb63fe92f in QApplication::~QApplication (this=0xbf9bf5a4, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1098 #40 0xb748c448 in KApplication::~KApplication (this=0xbf9bf5a4, __in_chrg=<optimized out>) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:894 #41 0xb7494238 in KUniqueApplication::~KUniqueApplication (this=0xbf9bf5a4, __in_chrg=<optimized out>) at /mnt/personal/build/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kuniqueapplication.cpp:347 #42 0xb6f88a58 in KontactInterface::PimUniqueApplication::~PimUniqueApplication() () from /usr/lib/libkontactinterface.so.4 #43 0x0804a555 in main (argc=<error reading variable: Cannot access memory at address 0x7927>, argv=<error reading variable: Cannot access memory at address 0x792b>) at /tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/main.cpp:152 Possible duplicates by query: bug 294971. Reported using DrKonqi
$ kquitapp konsole kquitapp(11479): "Application konsole could not be found using service org.kde.konsole and path /MainApplication." did you mean kquitapp kmail maybe?
(In reply to comment #1) > $ kquitapp konsole > kquitapp(11479): "Application konsole could not be found using service > org.kde.konsole and path /MainApplication." > > > did you mean kquitapp kmail maybe? Ah, sorry for the typo, I do mean "kquitapp kmail" .
Git commit d7616058871333919aa32c8741441ea31ba41b06 by Allen Winter. Committed on 13/01/2013 at 19:39. Pushed by winterz into branch 'KDE/4.10'. in emergencyExit(), don't attempt to create a KMessageBox unless we have a qApp. FIXED-IN: 4.10 M +3 -1 mailcommon/mailkernel.cpp http://commits.kde.org/kdepim/d7616058871333919aa32c8741441ea31ba41b06