[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: weirdo crash
From:       Ravikiran Rajagopal <ravi () ee ! eng ! ohio-state ! edu>
Date:       2003-02-01 5:05:41
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

> There's been a long running crash in noatun (and I'm told also in Kopete) > 
> that I believe have KJanusWidget to blame.

[snip]

> What's going on, from what I know, is that noatun destroys the config window 
> of winskin and charlatan, resulting in the KJanusWidget noticing windows are 
> gone, doing something bad.  Then QWidgetStack tries to clean up, and finds a 
> stray pointer in its widget list.

This is the problem that should have been fixed by the addition of the 
function KJanusWidget::removePage(), specifically by the call to 
removeWidget(). It fixed (what I believe is an) identical problem for my 
application. Could you please check whether the code posted in
  http://lists.kde.org/?l=kde-core-devel&m=103678273823118&w=2
crashes for you too?

I believe that this is actually a Qt problem. Reverting back to an old version 
of QWidgetStack (prior to the new event filter stuff) makes everything work 
fine for me. I filed a bug report; after a little discussion, the bug was 
assigned very low priority as the removePage() function provided a workaround 
and as I could not come up with a pure Qt example that crashed.

Ravi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+O1WwbI8Y8y0oVXcRAu+0AJ0ULITZqTkIOLENNTYLHYTJ8WESbgCfdso8
eaDv4cEfCKlzuPxQfEbLap4=
=0A3P
-----END PGP SIGNATURE-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic