Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » X Window System error
X Window System error [message #35389] Thu, 09 February 2012 05:51 Go to next message
navinv is currently offline  navinv
Messages: 8
Registered: September 2010
Promising Member
Hello,

I use UPP on Debian Squeeze 64bit.
Recently I upgrade to UPP (4193) 64bit from UPP (3211) 64bit.
All my projects are working fine except one, which is compiling OK and creating an executable file, but when I execute it, it displays an error

The program '<unknown>' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 123 error_code 176 request_code 155 minor_code 7)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


I tried to find the problem, with no success. Its working great in 3211 but gives this error in 4193. I wanted to know whether this bug is in uppsrc code or I have made some stupid mistake.

Regards
Re: X Window System error [message #35391 is a reply to message #35389] Thu, 09 February 2012 07:28 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi navinv,

Are you using GridCtrl package in your project? If yes, this error might be the same as I was getting a while ago, see this thread for details. It was solved in version 4454, so you might need to upgrade or backport the changes (it is just two lines, described in the linked thread).

Best regards,
Honza
Re: X Window System error [message #35398 is a reply to message #35391] Thu, 09 February 2012 16:52 Go to previous message
navinv is currently offline  navinv
Messages: 8
Registered: September 2010
Promising Member
Thanks Jan,

Thank you very much. The solution worked like a charm.
That was a relief, knowing that I didn't made any mistakes and my code is OK.
Previous Topic: Problem with transparent label and menubar
Next Topic: [SOLVED] Background in dockable GL objects
Goto Forum:
  


Current Time: Sat May 04 11:43:16 CEST 2024

Total time taken to generate the page: 0.03137 seconds