weirdo crash

Ravikiran Rajagopal ravi at ee.eng.ohio-state.edu
Sat Feb 1 05:05:41 GMT 2003


-----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-----





More information about the kde-core-devel mailing list