[cffi-devel] Fwd: Bus error ... ?! Help, please ... Additional info 2

Martin Simmons martin at lispworks.com
Fri May 8 19:54:19 UTC 2009


>>>>> On Fri, 08 May 2009 21:21:42 +0200, Frank Goenninger said:
> 
> Another piece of info that makes me look - shocked:
> 
> 1. I loaded the cl-opengl OpenGL bindings from common-lisp.net once  
> again.
> 2. I just started my lisp process and loaded the cl-opengl package via  
> ASDF
> 3. A simple (gl:get-error) results in exactly the same error - but no  
> other package is loaded, so I am assuming cl-opengl is not the root  
> cause of this.

I think the problem is that OpenGL on the Mac must be connected to a rendering
engine in the thread where you call it.  I get crashes with the LispWorks
OpenGL code too unless I call glGetString from the event loop thread after
starting the OpenGL demo.

__Martin




More information about the cffi-devel mailing list