XML KAction problem.

Simon Hausmann hausmann at kde.org
Tue Sep 24 17:57:06 BST 2002


On Tue, Sep 24, 2002 at 12:31:57PM -0400, Zack Rusin wrote:
> Ave,
> 
> after updating qt-copy and kdelibs we found out that make_it_cool KMail 
> has been crashing at the start. A little surprised we started debugging 
> it. Don found and fixed the problem which was the fact that one can't 
> use KAction's before createGUI is called anymore. Unfortunately this 
> problem isn't make_it_cool KMail specific as other KDE applications use 
> KAction's before calling createGUI as well. For example try ark from 
> kdeutils and try opening any archive with it - you'll see it crash. I'm 
> attaching the backtrace. I'm not sure what might be causing that crush. 
> It seems that one of the QDockWindow's stored in dockWindows in 
> qdockarea.cpp is destroyed at some point and never removed/set to 0. 
> This might cause serious problems as I'm not sure how many applications 
> use KAction's before calling createGUI and it's hard to predict how 

What's your revision of qdockwindow.cpp? (I'm asking because I fixed
a bug there which caused dangling pointers in QMainWindow's
dockwindow list)

Simon




More information about the kde-core-devel mailing list