Re: guile-gnome2 - Segmentation fault

2010-07-09 Thread Andy Wingo
On Tue 06 Jul 2010 16:37, Patrick Bernaud writes: > Hi David, > > David Pirotte writes: > > [...] > > Does it crashes for you [any guile-gnome user willing to try?] too? > > Yes it does for me too. > > In versions of gtk >= 2.11, tree iterators (GtkTreeIter) are allocated > through the GSlice

Re: Best way to call a user defined hook (written in guile) from C when the hook need plenty parameters

2010-07-09 Thread Andy Wingo
On Mon 05 Jul 2010 21:18, Neil Jerram writes: > ri...@happyleptic.org writes: > >> (define (hook-helper %s) (lambda () #\t)) >> >> where %s is the long list of parameters (foo bar baz...) that's inserted by >> the C program. >> And : >> >> (define (hook . args) (local-eval (cons print-user-field

Re: Thread and guile environment

2010-07-09 Thread Andy Wingo
On Mon 05 Jul 2010 09:23, ri...@happyleptic.org writes: > Suppose I have a multithreaded C program. Isn't the guile environment supposed > to be shared amongst all threads ? That's what I understood from reading the > docs anyway. > > Yet this simple exemple shows the opposite (see the 3 attached

Re: Jumping back to REPL prompt on ^C

2010-07-09 Thread Andy Wingo
Hi Neil & Taylor, On Sun 04 Jul 2010 21:52, Neil Jerram writes: > Taylor Venable writes: > >> Hi there, I'm writing a piece of code with a web server component, and >> part of that being that I want to jump back to the REPL when one hits >> ^C. So it would go something like this: >> >> scheme@

Re: Jumping back to REPL prompt on ^C

2010-07-09 Thread Andy Wingo
On Thu 08 Jul 2010 21:31, Andy Wingo writes: >>> Except *sometimes* when I hit ^C I ended up with an error that stops >>> the guile program completely, seemingly due to the readline library >>> that I've enabled in the REPL. When I simplify my test I'm able to >>> get the same fatal error all th

Re: Thread and guile environment

2010-07-09 Thread Cedric Cellier
-[ Thu, Jul 08, 2010 at 08:48:33PM +0100, Andy Wingo ] > Interestingly, the first thread has you in (guile-user), but the second > has you in (guile). So you don't see the full definition of format, nor > do you see hug. Interresting indeed. Is there a definition of these modules and their pur

Re: Thread and guile environment

2010-07-09 Thread Andy Wingo
On Fri 09 Jul 2010 17:54, Cedric Cellier writes: > -[ Thu, Jul 08, 2010 at 08:48:33PM +0100, Andy Wingo ] >> Interestingly, the first thread has you in (guile-user), but the second >> has you in (guile). So you don't see the full definition of format, nor >> do you see hug. > > Interresting i

Re: Thread and guile environment

2010-07-09 Thread Neil Jerram
Andy Wingo writes: > On Mon 05 Jul 2010 09:23, ri...@happyleptic.org writes: > >> Suppose I have a multithreaded C program. Isn't the guile environment >> supposed >> to be shared amongst all threads ? That's what I understood from reading the >> docs anyway. >> >> Yet this simple exemple shows