[Chicken-users] embedding question / seg fault

2011-01-14 Thread David Dreisigmeyer
OS X 10.6.6 with Chicken 4.6.0 Hi, I was trying our the embedding example under CHICKEN_yield here: http://wiki.call-cc.org/man/4/Embedding I keep getting a seg fault and this seems to be the offending line: CHICKEN_get_error_message(buffer, 255); If I comment that out there's no seg fault.

Re: [Chicken-users] embedding question / seg fault

2011-01-14 Thread Felix
From: David Dreisigmeyer dwdreisigme...@gmail.com Subject: [Chicken-users] embedding question / seg fault Date: Fri, 14 Jan 2011 09:59:55 -0500 OS X 10.6.6 with Chicken 4.6.0 Hi, I was trying our the embedding example under CHICKEN_yield here: http://wiki.call-cc.org/man/4/Embedding

Re: [Chicken-users] embedding question / seg fault

2011-01-14 Thread Alan Post
On Fri, Jan 14, 2011 at 11:53:09PM +0100, Felix wrote: From: David Dreisigmeyer dwdreisigme...@gmail.com FYI, I'm trying to call Chicken commands from Python using Cython. Interesting idea. Keep us informed about your progress, please. +1. This is something I'd be able to use

Re: [Chicken-users] embedding question / seg fault

2011-01-14 Thread David Dreisigmeyer
Thanks Felix. I looked at this post: http://www.mail-archive.com/chicken-users@nongnu.org/msg11218.html but I don't see what the resolution would be. Would it be easier to just avoid using define and stick to define-external?  Is there any particular reason to use define? Sorry, I don't

Re: [Chicken-users] embedding question / seg fault

2011-01-14 Thread David Dreisigmeyer
I tried this with Gambit-C but couldn't quite make it work correctly. Right now I'm planning on going through the Sage/ECL Cython files to see how they get it to work. On Fri, Jan 14, 2011 at 6:29 PM, Alan Post alanp...@sunflowerriver.org wrote: On Fri, Jan 14, 2011 at 11:53:09PM +0100, Felix