Bug #1801
closed
lang/guile from pkgsrc hangs in select
Added by Johannes.Hofmann over 14 years ago.
Updated about 14 years ago.
Description
Hi,
in recent HEAD (as of Sun Aug 8) lang/guile hangs in select.
To reproduce install lang/guile as binary package and run it without
arguments. Normally one should see an interactive prompt.
Compiling it from source fails with a similar problem (lt-guile hangs
in select during the build process).
Johannes
I did some poking here and it looks like our select is doing the right thing, so
I will have to dive the guile source and see what it is trying to do.
"Samuel J. Greear \(via DragonFly issue tracker\)" <sinknull@leaf.dragonflybsd.org> wrote:
Samuel J. Greear <sjg@evilcode.net> added the comment:
I did some poking here and it looks like our select is doing the right thing, so
I will have to dive the guile source and see what it is trying to do.
Thanks for looking into this! I also browsed the guile sources a bit
and they are using a pipe to wakeup one thread hanging in select()
from another thread by sending 1 byte.
But I tried that in a simple test program and it works ok - must be
something different...
PS: I managed to do my tax stuff by building an old kernel :-)
Also available in: Atom
PDF