• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems with OpenGL / Apple-DRI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with OpenGL / Apple-DRI


  • Subject: Re: Problems with OpenGL / Apple-DRI
  • From: Joey Mukherjee <email@hidden>
  • Date: Mon, 17 Feb 2003 13:20:00 -0600

On Monday, February 17, 2003, at 12:43  PM, John Harper wrote:

On Monday, February 17, 2003, at 8:01, Joey Mukherjee wrote:
On one of my applications, I am seeing a new error message which is crashing one of my progams:

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 129 (Apple-DRI)
Minor opcode of failed request: 3 ()
Value in failed request: 0xa0000d
Serial number of failed request: 629
Current serial number in output stream: 631

it looks like it's trying to destroy a GL surface that's already been destroyed, causing the error condition.


Is this application freely available?

Yes it is. However, it might be quite a bit of work to install it. If you want to install it anyway, let me know, its no problem.


The application is a space physics data analysis software available at http://www.sddas.org . The application in question is written by me, but I make use of the VTK software available at http://www.visualizationtoolkit.org . I embed (via VTK) an OpenGL render window into a XtWidget and when I destroy the widget, I do the following:

                XWithdrawWindow (XtDisplay (w), XtWindow (w), 0);
                XtUnmapWidget (w);
                XtDestroyWidget (w);

The first time through, this works fine. The second time, it dies with the above error. This did not occur with the 0.1beta, Tenon Xtools, or XDarwin/Oroborus combos from before.

BTW, how did you get what the error code meant? Is that something I could have found myself somewhere?

When linking, I see the following warnings/errors ( I also include the link line in case it helps any):

cc -o Contour -g -ansi -D__EXTENSIONS__ -Wall -DSwRI_DB -L/usr/X11R6/lib Contour.o batch.o -Lbxgui -lgui -Lmisc -lmisc -Lfileio -lfileio -Lplots -lplots -L../libIDFSObjs -lIDFSObjs -L/Users/joey/sddas/graphics/lib -lcont -lmaps -lplt -lgraf -lgdrv -lgraf -L/Users/joey/sddas/sddas/lib -lhlpclient -lPlotBoxAtt -lViewer -lmisc -lViewer
-lBlocksCDE -lBlocks -lmisc -lgui -lbase_SCF -lPidfUtil -lnewPidf
-lPromoteX -lantX -lbase_idfs -lVIDF -lserver -ldB -lCfg -lant -lvtkLocal
-lvtkHybrid -lvtkRendering -lvtkImaging -lvtkGraphics
-lvtkFiltering -lvtkIO -lvtkCommon -lvtkftgl -lvtkfreetype -L/Users/joey/sddas/VTK/bin -L/usr/X11R6/lib -lGL -lobjc -framework OpenGL -framework Cocoa -lvtkftgl
-lfreetype -lXm -L/Users/joey/Desktop/darwin-extras/langinfo -llanginfo -lXt -lXext -lX11 -ll -lm -lstdc++ -bind_at_load


ld: warning multiple definitions of symbol _glGetColorTableEXT
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib(gll_api.o) definition of _glGetColorTableEXT
/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glGetColorTableEXT
ld: warning multiple definitions of symbol _glGetColorTableParameterfvEXT
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib(gll_api.o) definition of _glGetColorTableParameterfvEXT
/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glGetColorTableParameterfvEXT
ld: warning multiple definitions of symbol _glGetColorTableParameterivEXT
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib(gll_api.o) definition of _glGetColorTableParameterivEXT
/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glGetColorTableParameterivEXT
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _glGetColorTableEXT used from dynamic library /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glGetColorTableParameterfvEXT used from dynamic library /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
symbol _glGetColorTableParameterivEXT used from dynamic library /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib(gll_api.o) not from earlier dynamic library /usr/X11R6/lib/libGL.1.dylib(dri_dispatch.o)
ld: warning dynamic shared library: /usr/X11R6/lib/libXext.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1


Thanks for any ideas!

Joey
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Problems with OpenGL / Apple-DRI (From: John Harper <email@hidden>)

  • Prev by Date: Re: x11 & mouse buttons
  • Next by Date: Keymapping question
  • Previous by thread: Re: Problems with OpenGL / Apple-DRI
  • Next by thread: Keymapping question
  • Index(es):
    • Date
    • Thread