Bug #1801

lang/guile from pkgsrc hangs in select

Added by Johannes.Hofmann almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:sjg% Done:

0%

Category:-
Target version:-

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

History

#1 Updated by sjg almost 4 years ago

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.

#2 Updated by Johannes.Hofmann almost 4 years ago

"Samuel J. Greear \(via DragonFly issue tracker\)" <> wrote:
>
> Samuel J. Greear <> 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