[kde-linux] Plasma Applets

Kevin Krammer kevin.krammer at gmx.at
Fri Dec 5 07:54:47 UTC 2008


On Thursday 04 December 2008, David Baron wrote:
> I have an applet which seems to work fine in the plasmoid viewer.
>
> If I add it to the panel or the desktop, it will also work but will crash
> plasma on next login. It will sometimes crash when it is triggered by the
> events it monitors as well but usually will work on first install.
>
> If I leave the viewer up for a period of time, it will sometimes crash
> there as well. This time I get a lengthy dump. Here is a tiny excerpt:
>
> X Error: BadGC (invalid GC parameter) 13
>   Major opcode: 60 (X_FreeGC)
>   Resource id:  0x3a032e2
> X Error: RenderBadPicture (invalid Picture parameter) 179
>   Extension:    156 (RENDER)
>   Minor opcode: 7 (RenderFreePicture)
>   Resource id:  0x3a031d1
> X Error: BadPixmap (invalid Pixmap parameter) 4
>   Major opcode: 54 (X_FreePixmap)
>   Resource id:  0x3a031d0
> X Error: RenderBadPicture (invalid Picture parameter) 179
>   Extension:    156 (RENDER)
>   Minor opcode: 7 (RenderFreePicture)
>   Resource id:  0x3a032db
>
> I am running KDE4 from experimental/backports and Debian Sid.
> I have an older mx400 nvidia card.
>
> I had thought that the multithreadedness of the applet was the problem but
> at "idle", only one background thread is going. That nvidia is most likely
> the culprit. The viewer might be OK if I do not resize it.

Make sure non of the worker threads paints to widgets or pixmaps, only the 
main loop thread.

Cheers,
Kevin


-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20081205/fe361952/attachment.sig>


More information about the kde-linux mailing list