bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34433] NSOpenGLPixelFormatAttribute completely broken


From: julian
Subject: [bug #34433] NSOpenGLPixelFormatAttribute completely broken
Date: Thu, 29 Sep 2011 13:01:16 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50

URL:
  <http://savannah.gnu.org/bugs/?34433>

                 Summary: NSOpenGLPixelFormatAttribute completely broken
                 Project: GNUstep
            Submitted by: julian_
            Submitted on: Do 29 Sep 2011 13:01:13 GMT
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

any usage of NSOpenGLPixelFormatAttribute is completely broken and leads to
segfaults. just add this to any executed code of a gnustep app:


        NSOpenGLPixelFormatAttribute attribs[] = {
                NSOpenGLPFAColorSize, (NSOpenGLPixelFormatAttribute) 24,
                NSOpenGLPFADepthSize, (NSOpenGLPixelFormatAttribute) 24,
NSOpenGLPFAWindow,
                (NSOpenGLPixelFormatAttribute) 0 };
        NSOpenGLPixelFormat *pixelFormat = [[NSOpenGLPixelFormat alloc]
initWithAttributes:attribs];



the requested attributes are irrelevant, it will always lead to a segfault
here:

Program received signal SIGSEGV, Segmentation fault.
0x01333db4 in -[XGGLPixelFormat initWithAttributes:] (self=0x8570370, 
    _cmd=0x8050660, attribs=0xbfffd830) at XGGLFormat.m:344
344           visualinfo = glXGetVisualFromFBConfig(display,fbconfig[0]);


at least thats the case on ubuntu 11.04, either on actual hardware with
working opengl or even just in a vmware virtual machine. true for a-few-months
old gnustep as well as for SVN trunk as of yesterday.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34433>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]