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 » U++ Library support » U++ Widgets - General questions or Mixed problems » [SOLVED] OpenGL reference example X11 crash
[SOLVED] OpenGL reference example X11 crash [message #14343] Sat, 23 February 2008 00:00 Go to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi,

I compiled the OpenGL package inside the reference assembly and got a program crash under X11 compiled in debug mode and a total X server crash when compiled in release mode.

I first verified if my GL installation is working with glut examples and it works, so GL library and graphics card is not the problem.

I get the following X11 error message dialog:
X error: BadMatch (invalid parameter attributes)
resource id: 27262979 = 1A00003

and after closing this dialog, a warning one
Heap leaks detected!


I made an xwininfo run on the application window before closing the error dialog:
xwininfo: Window id: 0x1a00001 (has no name)

  Absolute upper-left X:  30
  Absolute upper-left Y:  56
  Relative upper-left X:  6
  Relative upper-left Y:  29
  Width: 682
  Height: 512
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +30+56  -312+56  -312-200  +30-200
  -geometry 682x512+30+56

I hope somebody understands what's going on and can help me trace down the problem.

By the way, is it running under Linux ?

FreeBSD 6, 801.r105

Matthias

[Updated on: Mon, 25 February 2008 21:52]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: window resized has no CALLBACK?
Next Topic: OpenGL and continous animation
Goto Forum:
  


Current Time: Thu Mar 28 12:43:25 CET 2024

Total time taken to generate the page: 0.01107 seconds