PDA

View Full Version : X Error of failed request - on exit



VorosM
11th April 2006, 09:36
Hi Everybody,

If I compile my program with qt4.1.1, I get this error message when I exit.

X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 18 (X_ChangeProperty)
Resource id in failed request: 0x0
...

If I compile the same code with qt4.0.0 or qt4.0.1, this error never appears.

My program is a GUI application, used for creating and displaying Pixmaps. I'm using XFree86 Version 4.3.0.1.

Could you please offer me a hint, what the problem might be?

Thanks for your time
Miklós

dimitri
11th April 2006, 21:16
I'm afraid I have no hint. You'll have to debug your application (and possibly Qt). See for example:
About X Protocol Errors (http://www.lesstif.org/bugs.html#Protocol)

jacek
11th April 2006, 22:01
Maybe you use more than one thread in your application?

VorosM
12th April 2006, 10:22
Thank you for your replies.

I'm not using threads - only some emulation by processEvents() - not to make the gui look dead, while working.

I'll go on with debugging - thanks for the tip.