[Bug 171275] kmail crashes on startup with ASSERT: "s->parsed == false" in kdelibs4/kcmdlineargs.cpp

B. Broeksema b.broeksema at home.nl
Thu Oct 2 21:51:09 BST 2008


http://bugs.kde.org/show_bug.cgi?id=171275


B  Broeksema b broeksema home nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b.broeksema at home.nl




--- Comment #4 from B. Broeksema <b broeksema home nl>  2008-10-02 22:51:00 ---
The problem with this bug is that it seem to occur when there is a dangling
kmail dbus session. I think that is the *real* bug. The point is that I'm not
able to reproduce that, although it just happened to me once also. What I had
by then is still a kmail session registered to dbus. But when trying to browse
the session using qdbusviewer it just froze qdbusviewer. 

However, when this does occur, the next thing happens when you try to start
kmail (the problem is in libkdepim/pimapplication.cpp I think):

Because their is a kmail session registered at dbus the test at line 70 will
pass.

Next the arguments are parsed at line 73, after this point it is not allowed to
add more options to it.

The problem starts when the test at line 93 fails and return
KUniqueApplication::start(); gets called.

Workarounds are: refuse to start when the test fails or call
KUniqueApplication::addCmdLineOptions() before the saveAppArgs() call in line
73.

But as said, these are just workarounds.


-- 
Configure bugmail: http://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