Frank Goenninger wrote:
> In addition to the GDB session below I tried some more analysis on the  
> Lisp side:
> 
> CL-USER> (foreign-symbol-pointer "glGetError")
> 2510410464
> CL-USER> (foreign-funcall-pointer (foreign-symbol-pointer  
> "glGetError") () :void :unsigned-int)
> Received signal number 10 (Bus error)

Wouldn't a "get" function either take or return a pointer?  Perhaps
you're passing data of the wrong size that's getting interpreted as a
pointer and then clobbered.

mfh

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to