no forks involved.
pthreads, sockets, read(), write() mostly.

i did not build guile. didn't realize that it came with --with-threads=no. maybe i should try recompiling myself. hmm..

thanks.

On 11/4/06, Rob Browning <[EMAIL PROTECTED]> wrote:
"anoop aryal" <[EMAIL PROTECTED]> writes:

> yeah, when i was trying to embed guile into something i was working
> on, gcc complained that gmp.h couldn't be found. i installed
> libgmp3-dev manually.
>
> on another note, i'm getting seg faults - this is a pthread app. if
> i find out the cause of it - works fine if guile isn't
> embedded. i'll write up another bug report. or if you have any ideas
> on what i should be looking for, i'll be glad to help debug this..

Did you build Guile yourself, and if so, did you change the
--with-threads=no setting?  I believe that a threaded Guile 1.8 may
have problems, at least if fork is used ( i.e. open-*-pipe, system,
etc.).

(Of course fork is generally a problem for any threaded app that
doesn't plan very carefully (or doesn't just avoid fork altogether).)

--
Rob Browning
rlb @ defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4

Reply via email to