Bug 258511

Summary: KMail2 does not start
Product: [Applications] kmail2 Reporter: Anne-Marie Mahfouf <annma>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED REMIND    
Severity: crash CC: tokoe
Priority: NOR    
Version: 2.0.90   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Anne-Marie Mahfouf 2010-12-01 20:09:00 UTC
Version:           2.0 beta1 (using Devel) 
OS:                Linux

I wanted to test KMail2 from kdepim trunk (running KDE trunk for all other modules) in order to traige bugs. But after building kdepim KMail does not start and hits and assert

Reproducible: Didn't try




(gdb) bt
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb4a93611 in raise () from /lib/i686/libc.so.6
#2  0xb4a94f62 in abort () from /lib/i686/libc.so.6
#3  0xb4d9e589 in qt_message_output (msgType=QtFatalMsg, 
    buf=0x9fa77c8 "ASSERT: \"s->parsed == false\" in file /usr/local/trunk-src/kdelibs/kdecore/kernel/kcmdlineargs.cpp, line 527") at global/qglobal.cpp:2282
#4  0xb4d9e74b in qt_message (msgType=QtFatalMsg, msg=0xb4f4a3c4 "ASSERT: \"%s\" in file %s, line %d", 
    ap=0xbfeb7f34 "\206))�� )�\017\002") at global/qglobal.cpp:2328
#5  0xb4d9eb69 in qFatal (msg=0xb4f4a3c4 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2511
#6  0xb4d9e0ec in qt_assert (assertion=0xb7292986 "s->parsed == false", 
    file=0xb72920c8 "/usr/local/trunk-src/kdelibs/kdecore/kernel/kcmdlineargs.cpp", line=527)
    at global/qglobal.cpp:2027
#7  0xb716c4a0 in KCmdLineArgs::addCmdLineOptions (options=@0xbfeb7fa4, name=@0xbfeb7fbc, id=@0xbfeb7fb8, 
    afterId=@0xbfeb7fb4) at /usr/local/trunk-src/kdelibs/kdecore/kernel/kcmdlineargs.cpp:527
#8  0xb7547049 in KUniqueApplication::addCmdLineOptions ()
    at /usr/local/trunk-src/kdelibs/kdeui/kernel/kuniqueapplication.cpp:92
#9  0xb7547258 in KUniqueApplication::start (flags={i = 0})
    at /usr/local/trunk-src/kdelibs/kdeui/kernel/kuniqueapplication.cpp:119
#10 0xb702e819 in KontactInterface::PimUniqueApplication::start (flags={i = 0})
    at /usr/local/trunk-src/kdepimlibs/kontactinterface/pimuniqueapplication.cpp:121
#11 0xb702e112 in KontactInterface::PimUniqueApplication::start ()
    at /usr/local/trunk-src/kdepimlibs/kontactinterface/pimuniqueapplication.cpp:75
#12 0x0804abcb in main (argc=1, argv=0xbfeb8544) at /usr/local/trunk-src/kdepim/kmail/main.cpp:110
Comment 1 Anne-Marie Mahfouf 2010-12-01 20:14:24 UTC
Revision: 1202626

It asks for the password twice (pop account) then does nothing.
Comment 2 Tobias Koenig 2010-12-12 00:42:51 UTC
Hej Anne-Marie,

works fine here with trunk version from yesterday. Looks more like some bug in kdelibs to me... can you still reproduce? Have you build all, kdesupport/akonadi, kdepimlibs and kdepim? Or only partly?

Ciao,
Tobias
Comment 3 Anne-Marie Mahfouf 2010-12-12 09:29:36 UTC
Hi Tobias,

I built all of trunk.

The problem happened at the first KMail2 run, probably the migration went wrong.
I rm'ed the rc files and then I could start KMail2.
David Faure said the error above happened because an instance of KMail2 was already running (but did not show).

I did not keep it though as 2 days later the mysql database got corrupted and I could not manage to start KMail2 at all.

I reverted to 4.4 branch now and will try a setup with KMail2 in another $KDEDIRS location to test further. You can close this if you want.
Comment 4 Tobias Koenig 2010-12-12 11:48:34 UTC
Hej Anne-Marie,

ok, will do so, feel free to reopen if you can reproduce it later on.

Ciao,
Tobias