Results 1 to 4 of 4

Thread: X Error of failed request - on exit

  1. #1
    Join Date
    Apr 2006
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default X Error of failed request - on exit

    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

  2. #2
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: X Error of failed request - on exit

    I'm afraid I have no hint. You'll have to debug your application (and possibly Qt). See for example:
    About X Protocol Errors

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: X Error of failed request - on exit

    Maybe you use more than one thread in your application?

  4. #4
    Join Date
    Apr 2006
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: X Error of failed request - on exit

    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.

Similar Threads

  1. QHttp request failed
    By xgoan in forum Qt Programming
    Replies: 1
    Last Post: 19th November 2008, 16:47
  2. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.