Version: KMail: 1.10.90 (using Devel) OS: Linux Installed from: Compiled sources $ gdb --args kmail --nofork GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... (gdb) run Starting program: /usr/bin/kmail --nofork [Thread debugging using libthread_db enabled] [New Thread 0x7f9100749750 (LWP 419)] kmail(419): The kwalletd service has been disabled kmail(419): The kwalletd service has been disabled kmail(419): The kwalletd service has been disabled kmail(419): The kwalletd service has been disabled kmail(419): The kwalletd service has been disabled kmail(419): The kwalletd service has been disabled kmail(419): The kwalletd service has been disabled kmail(419): The kwalletd service has been disabled "/usr/bin/kmail(419)" Error in thread 140260754626384 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/kmail(419)" Error in thread 140260754626384 : "QLocalSocket::connectToServer: Invalid name" kmail(419) <unnamed>::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/bugabundo/.kde/share/apps/nepomuk/socket" kmail(419) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop" kmail(419) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit [New Thread 0x7f90e5cdb950 (LWP 449)] kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419): The kwalletd service has been disabled kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" kmail(419) KIO::SlavePrivate::SlavePrivate: Connection server not listening, could not connect kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419) KToolInvocation::klauncher: klauncher not running... launching kdeinit kdeinit4: Aborting. bind() failed: : Permission denied Could not bind to socket '/tmp/ksocket-bugabundo/kdeinit4__0' kmail(419): couldn't create slave: "Cannot talk to klauncher: The name org.kde.klauncher was not provided by any .service files" Object::disconnect: Unexpected null parameter Object::disconnect: Unexpected null parameter Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f9100749750 (LWP 419)] 0x00007f90f8da5540 in KIO::Slave::isAlive () from /usr/lib/libkio.so.5 (gdb) $ kmail --version Qt: 4.4.3 KDE: 4.1.80 (KDE 4.1.80 (KDE 4.2 Beta1)) KMail: 1.10.90 $ apt-cache show kmail Package: kmail Priority: optional Section: mail Installed-Size: 10016 Maintainer: Kubuntu Developers <kubuntu-devel@lists.ubuntu.com> Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Architecture: amd64 Source: kdepim Version: 4:4.1.73-0ubuntu2 Replaces: kmail-kde4, kmailcvt (<< 4:3.90.0) Provides: imap-client, mail-reader Depends: akonadi-kde, kdebase-runtime (>= 4:4.1.73), kdelibs5 (>= 4:4.1.73), kdepimlibs5 (>= 4:4.1.2), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libgpg-error0 (>= 1.4), libgpgme11 (>= 1.1.6), libical0, libkdepim4 (= 4:4.1.73-0ubuntu2), libkleo4 (= 4:4.1.73-0ubuntu2), libkpgp4 (= 4:4.1.73-0ubuntu2), libksieve4 (= 4:4.1.73-0ubuntu2), libldap-2.4-2 (>= 2.4.7), libmimelib4 (= 4:4.1.73-0ubuntu2), libphonon4 (>> 4:4.2.0), libqt4-dbus (>= 4.4.3), libqt4-designer (>= 4.4.3), libqt4-network (>= 4.4.3), libqt4-qt3support (>= 4.4.3), libqt4-svg (>= 4.4.3), libqt4-xml (>= 4.4.3), libqtcore4 (>= 4.4.3), libqtgui4 (>= 4.4.3), libsasl2-2, libstdc++6 (>= 4.1.1), phonon (>> 4:4.2.0), perl Recommends: gnupg, gnupg-agent, pinentry-qt4 | pinentry-qt | pinentry-x11 Suggests: kaddressbook, procmail, kleopatra | bogofilter | annoyance-filter | spambayes | bsfilter | crm114, clamav | f-prot-installer Conflicts: kmail-kde4 Filename: pool/main/k/kdepim/kmail_4.1.73-0ubuntu2_amd64.deb Size: 3512756 MD5sum: b9f6eedf6f097c157bbed0e822b4de54 SHA1: dfcf82c61dae4b2ed2770df638ce3ea2149bf56b SHA256: 7db3327ef37af386180c1065830dda37dad731528616535e9633548146df5c80 Description: KDE Email client KMail is a fully-featured email client that fits nicely into the KDE desktop. It has features such as support for IMAP, POP3, multiple accounts, mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. . This package is part of KDE, and a component of the KDE PIM module. See the 'kde' and 'kdepim' packages for more information. Homepage: http://kontact.kde.org/kmail/ Bugs: mailto:ubuntu-users@lists.ubuntu.com Origin: Ubuntu Task: kubuntu-desktop, edubuntu-desktop-kde
(gdb) bt #0 0x00007f201a49e540 in KIO::Slave::isAlive () from /usr/lib/libkio.so.5 #1 0x00007f201a4955a9 in ?? () from /usr/lib/libkio.so.5 #2 0x00007f201cf66195 in MailTransport::SmtpJob::~SmtpJob () from /usr/lib/libmailtransport.so.4 #3 0x00007f2018acede5 in QObject::event () from /usr/lib/libQtCore.so.4 #4 0x00007f201942ac3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #5 0x00007f20194329ba in QApplication::notify () from /usr/lib/libQtGui.so.4 #6 0x00007f202187dbfb in KApplication::notify () from /usr/lib/libkdeui.so.5 #7 0x00007f2018abfd81 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #8 0x00007f2018ac0a1a in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4 #9 0x00007f2018ae84f3 in ?? () from /usr/lib/libQtCore.so.4 #10 0x00007f2012e601ab in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #11 0x00007f2012e6396d in ?? () from /usr/lib/libglib-2.0.so.0 #12 0x00007f2012e63b2b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #13 0x00007f2018ae817f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #14 0x00007f20194bca8f in ?? () from /usr/lib/libQtGui.so.4 #15 0x00007f2018abe6a2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #16 0x00007f2018abe82d in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #17 0x00007f2018ac0cdd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #18 0x000000000040327b in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdepim-4.1.73/kmail/main.cpp:146
can't reproduce, switching offline/online works well here on svn trunk Quitting kmail offline and restarting it works as expected, I get a dialog about how I want to work, offline or online and whatever I choose I get no crash.
setting chmod u+x on /tmp/ksocket-bugabundo/ helps.