XML KAction problem.

Simon Hausmann hausmann at kde.org
Tue Sep 24 23:51:00 BST 2002


On Tue, Sep 24, 2002 at 02:35:11PM -0400, Zack Rusin wrote:
> On Tuesday 24 September 2002 12:57, Simon Hausmann wrote:
> > 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)
> 
> 1.18. I seem to have the latest qt-copy compiled.

Hm, strange, very strange. Can you try if reverting my patch changes
anything?

I admit I'm puzzled. I'm currently short of time, so I probably
won't be able to try to reproduce and debug it before the weekend
:-( (but maybe you could remind me then, preferably on IRC? :)

Simon




More information about the kde-core-devel mailing list