[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thread + Socket + Pipes Bug?
From: |
Robert Marlow |
Subject: |
Thread + Socket + Pipes Bug? |
Date: |
07 Aug 2003 15:58:10 +0800 |
Hi
I've been spending ages on this bug and can't figure it out. I'm pretty
sure it's not a bug in something I've done so I'm submitting it here as
a possible guile bug. If it's not a bug in guile, many apologies but
please let me know what's gone wrong.
I've attached two trimmed-down scripts which reproduce the bug. If you
place them in the same directory and run buggy.scm then you should be
able to connect to tcp port 6008 and start dumping data. The bug occurs
when you do this, crashing with an error as follows:
ERROR: In procedure select:
ERROR: Bad file descriptor
In my playing around I seem to have narrowed it down to being caused by
select working on one thread and a pipe being written to on another
thread. I couldn't determine much more than that. I do know the bug
occurs on both Solaris and GNU/Linux.
I hate to be whiney but my progress here at work is pretty well at a
standstill until either this bug is resolved or I dump guile and settle
for something like perl (which I really, really don't want to do). So
please help.
--
Regards,
Robert Marlow
buggy.scm
Description: Text Data
buggy-companion.scm
Description: Text Data
- Thread + Socket + Pipes Bug?,
Robert Marlow <=
- Message not available
- Re: Thread + Socket + Pipes Bug?, Robert Marlow, 2003/08/07
- Re: Thread + Socket + Pipes Bug?, Neil Jerram, 2003/08/10
- Re: Thread + Socket + Pipes Bug?, bobstopper, 2003/08/11
- Re: Thread + Socket + Pipes Bug?, Neil Jerram, 2003/08/12
- Re: Thread + Socket + Pipes Bug?, Robert Marlow, 2003/08/14
- Re: Thread + Socket + Pipes Bug?, Neil Jerram, 2003/08/15
- Re: Thread + Socket + Pipes Bug?, Robert Marlow, 2003/08/14