Crash in Qt when resizing windows

Simon Hausmann hausmann at kde.org
Thu Aug 24 06:34:37 BST 2006


On Thursday 24. August 2006 02:48, Matt Rogers wrote:
> Hi,
>
> While resizing the KDevelop main window, I've noticed that I see a lot of
> the following in my debug output:
>
> QPixmap: Invalid pixmap parameters
> QPainter::begin: Cannot paint on a null pixmap

If these turn out to be the source of the problem setting a breaking in Qt 
where the warnings are might help to track down the reason. Or alternatively 
set QT_FATAL_WARNINGS=1 and continue from the core dump :)

> And if I resize the window vertically, then I get a crash with the
> following backtrace:
>
> Using host libthread_db library "/lib64/libthread_db.so.1".
> [Thread debugging using libthread_db enabled]
> [New Thread 47203018661040 (LWP 27716)]
> [New Thread 1090525504 (LWP 27745)]
> [New Thread 1082132800 (LWP 27744)]
> [KCrash handler]
> #5  0x00002aee48e75359 in QX11PaintEngine::updatePen (this=0x108ed720,
>     pen=@0x7fff6294d4d0) at painting/qpaintengine_x11.cpp:1284
> #6  0x00002aee48e7574f in QX11PaintEngine::updateState (this=0x108ed720,
>     state=@0x109b5f90) at painting/qpaintengine_x11.cpp:1123

A valgrind log would be useful, too, for the crash.

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060824/ea141a1a/attachment.sig>


More information about the kde-core-devel mailing list