[PATCH] fix process spinning out of control

Dawit A. adawit at kde.org
Thu Feb 24 13:47:48 GMT 2005


On Wednesday 23 February 2005 21:52, George Staikos wrote:
> When nspluginviewer is running and the konqueror window crashes or is
> killed with signal 9, the viewer process doesn't exit and thinks it's still
> embedded, resulting in an infinite loop of X errors.  It uses quite a bit
> of CPU, and looks like this:
>
> X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  144
>   Minor opcode:  3
>   Resource id:  0x3c00023
> X Error: BadWindow (invalid Window parameter) 3
>   Major opcode:  3
>   Minor opcode:  0
>   Resource id:  0x3c00023
> X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  144
>   Minor opcode:  3
>   Resource id:  0x3c00023
> X Error: BadWindow (invalid Window parameter) 3
>   Major opcode:  3
>   Minor opcode:  0
>   Resource id:  0x3c00023
> X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  144
>   Minor opcode:  3
>   Resource id:  0x3c00023
>
> [etc]
>
> This patch changes the viewer to keep track of the dcop clients that are
> connected to it and kills their plugins when they go away.  If all clients
> go away, it exits.  I think this is a major fix and important for 3.4.  Any
> objections (other than removing the debug output)?

I'll like to see this patch applied since it has happened to me on numerous 
occasions. Please apply.

> (There was a bug reported against this, and while the real problem is that
> Konqueror crashes, this should be fixed...)

-- 
Regards,
Dawit A.
"Preach what you practice, practice what you preach"




More information about the kde-core-devel mailing list