VTK,OpenGL under X11 v1.0/Panther
VTK,OpenGL under X11 v1.0/Panther
- Subject: VTK,OpenGL under X11 v1.0/Panther
- From: Joey Mukherjee <email@hidden>
- Date: Mon, 17 Nov 2003 15:53:00 -0600
I have an OpenGL application which worked fine under the beta but now
has an odd behavior under the new X11 v1.0/Panther.
The problem is I can only draw once. By "draw", I mean I get the
expected result of my program. But when my program destroys the OpenGL
window, it hangs. Running the program in gdb, and hitting Ctrl-C when
it hangs I see the following output:
(gdb) where
#0 0x90017048 in semaphore_wait_signal_trap ()
#1 0x90002300 in pthread_mutex_lock ()
#2 0x78ead884 in __glXFindDRIScreen ()
#3 0x78ec8ce4 in driMesaFindDrawableByUID ()
#4 0x78ec9ac8 in driAppleSurfaceNotify ()
#5 0x78eb848c in wire_to_event ()
#6 0x85f15278 in _XEnq ()
#7 0x85f148c4 in _XReply ()
#8 0x85f0faa8 in XSync ()
#9 0x78ec8bb0 in __driMesaCollectCallback ()
#10 0x78ecaf20 in x_hash_table_foreach ()
#11 0x78ec8c34 in __driMesaGarbageCollectDrawables ()
#12 0x78ec9868 in driMesaDestroyContext ()
#13 0x78eaa004 in DestroyContext ()
#14 0x001cc878 in vtkXOpenGLRenderWindow::~vtkXOpenGLRenderWindow() ()
As you can see, it is waiting on a semaphore to clear and it never
does. I am sending this message to both the VTK and Apple X11 mailing
list in case the problem is specific to VTK or Apple's OpenGL
implementation. I really don't think its a VTK issue since this all
worked fine in the beta. Naturally, I recompiled everything with the
Panther development tools/libraries.
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.