On May 17, 2009, at 3:38 PM, Patrik Husfloen wrote:

Need to remember to use "Reply to all", sorry Ramana.

Maybe I'm missing something obvious, but I get a "Bus error" [1] when
trying to run this on osx (10.5.7).

I don't have 10.5 but let's try something.

Apply the following patch (one line change), do make install,
then try the script again.  You should see lots of traces to
opengl calls.  Which one causes the crash?

Aziz,,,

=== modified file 'lib/ypsilon-compat.ikarus.ss'
--- lib/ypsilon-compat.ikarus.ss        2009-04-13 13:43:20 +0000
+++ lib/ypsilon-compat.ikarus.ss        2009-05-17 13:56:30 +0000
@@ -287,7 +287,7 @@
                       (convert-type return-type)
                       (list (convert-type arg-type*) ...))
                     (lookup-shared-object lib 'foreign-name))])
-             (lambda (t* ...)
+             (trace-lambda 'foreign-name (t* ...)
(let ([u* (convert-arg x foreign-name t* arg- type*)] ...)
                  (let ([v (callout u* ...)])
                    (convert-out-arg x foreign-name t* u* arg-type*)



Reply via email to