[Bug 221221] New: KMail does not start up properly when started with the KDE session

Alex Merry kde at randomguy3.me.uk
Mon Jan 4 10:52:24 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=221221

           Summary: KMail does not start up properly when started with the
                    KDE session
           Product: kmail
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kde at randomguy3.me.uk


Version:           1.13.0 (SVN r1069428) (using Devel)
Compiler:          gcc version 4.4.2 20091208 (prerelease) (GCC) 
OS:                Linux
Installed from:    Compiled sources

This happens almost every time I log in to KDE when KMail was running at last
logout.  However, sometimes KMail fails to run at all, and sometimes I will get
an "Akonadi failed to start message", causing KMail to quit.

I logged in to a KDE desktop, having last logged out with KMail still running. 
When start-up has finished, no KMail window is visible, and there is no KMail
icon in the notification area (note: I've set KMail to only display in the
notification area when I have unread email).

`pidof kmail`, however, shows that KMail is running, and it responds to D-Bus
messages.

`kquitapp kmail` makes the KMail window appear briefly before KMail quits.

`qdbus org.kde.kmail /kmail/kmail_mainwindow_1 show` shows a window of the
correct size, but almost entirely blank.  All the widgets appear to occupy the
same space in the top left corner of the window.

My set-up for KMail is that I have several IMAP accounts (one running on
localhost, and another four accounts spread across three servers), all with
passwords saved in KWallet, and Akonadi is managing my address book (as a VCF
file).

My best guess is that KMail gets stuck in an inner event loop during startup. 
I'll try to get a backtrace next time this happens to see where.

One final thing: when I do `kquitapp kmail` when KMail is in this state, I get
the following crash:

Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x000000000300b0a0 in ?? ()
#6  0x00007fccbf366772 in qDeleteAll<QList<KIO::Slave*>::const_iterator>
(begin=..., end=...) at
/home/kde-devel/qt/include/QtCore/../../../src/qt/src/corelib/tools/qalgorithms.h:322
#7  0x00007fccbf364e2f in qDeleteAll<QList<KIO::Slave*> > (c=...) at
/home/kde-devel/qt/include/QtCore/../../../src/qt/src/corelib/tools/qalgorithms.h:330
#8  0x00007fccbf364921 in ~ProtocolInfo (this=0x3009250, __in_chrg=<value
optimized out>) at /home/kde-devel/src/KDE/kdelibs/kio/kio/scheduler.cpp:168
#9  0x00007fccbf36661b in qDeleteAll<QHash<QString,
KIO::SchedulerPrivate::ProtocolInfo*>::const_iterator> (begin=..., end=...)
    at
/home/kde-devel/qt/include/QtCore/../../../src/qt/src/corelib/tools/qalgorithms.h:322
#10 0x00007fccbf364d60 in qDeleteAll<KIO::SchedulerPrivate::ProtocolInfoDict>
(c=...) at
/home/kde-devel/qt/include/QtCore/../../../src/qt/src/corelib/tools/qalgorithms.h:330
#11 0x00007fccbf3647b8 in ~SchedulerPrivate (this=0x210ec10, __in_chrg=<value
optimized out>) at /home/kde-devel/src/KDE/kdelibs/kio/kio/scheduler.cpp:101
#12 0x00007fccbf35fbbc in destroy () at
/home/kde-devel/src/KDE/kdelibs/kio/kio/scheduler.cpp:206
#13 0x00007fccbf292099 in ~KCleanUpGlobalStatic (this=0x7fccbf6dbbd8,
__in_chrg=<value optimized out>) at
/home/kde-devel/src/KDE/kdelibs/kdecore/kernel/kglobal.h:62
#14 0x00007fccbc684af2 in __run_exit_handlers () from /lib/libc.so.6
#15 0x00007fccbc684b45 in exit () from /lib/libc.so.6
#16 0x00007fccbc66eb74 in __libc_start_main () from /lib/libc.so.6
#17 0x00000000004026d9 in _start ()

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list