Re: Guile 1.8 Garbage Collection Question

2011-10-25 Thread Cedric Cellier
I cant see anything wrong with your function, so I suspect there is something wrong with the function you pass your string to. Maybe it's trying to write into s but does write out of bounds insead, damaging the heap ?? Note: it is my understanding that s is allocated on C's heap and so will not

Re: bug#9593: Problems compiling guile on OS X, while generating guile-procedures.texi

2011-10-25 Thread Ian Holmes
Hi Andy, I tried using 'brew' (Mac OS X HomeBrew package manager) again and, unlike the first time I tried it, it worked. It looks like they (HomeBrew) reverted to version 1.8.7 of guile, in between my first attempt to do it & my eventual successful attempt. Thanks for your help, Ian On Thu, Oct

RE: Guile 1.8 Garbage Collection Question

2011-10-25 Thread Whitlock, Bradley D
I had a copy-paste error in the second function listing, it should be this: SCM_DEFINE (libguile_fst_writer_emit_value, "libguile-fst-writer-emit-value", 3,0,0, (SCM scm_ctx, SCM scm_fsthandle, SCM scm_val), "Write a change on fstHandle")

Guile 1.8 Garbage Collection Question

2011-10-25 Thread Whitlock, Bradley D
I have built Guile 1.8.8.2 on MinGW. I have wrapped some gtkwave code with Guile and have a memory issue. The following code apparently never frees 's', but I am not sure why. SCM_DEFINE (libguile_fst_writer_emit_value, "libguile-fst-writer-emit-value", 3,0,0,