[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!)
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!) |
Date: |
Thu, 26 Aug 2010 15:12:40 -0000 |
#340: Spiffy hangs occasionally (again!)
----------------------+-----------------------------------------------------
Reporter: sjamaan | Owner: felix
Type: defect | Status: assigned
Priority: major | Milestone:
Component: wiki | Version: 4.5.x
Resolution: | Keywords: spiffy, wiki, hang, call-cc.org,
infrastructure
----------------------+-----------------------------------------------------
Comment(by felix):
I have finally started to take a look at the scheduler. I haven't a clue
why this situation crops up. Apparently there are entries in the "fd-list"
(the list that holds FDs and the threads waiting for them) for which no
bits where set in the fdsets - these are set just once, when the threads
is blocked for I/O, and then retained. The operations to keep an fdset and
later restore it may be broken (I just use assignment, but this may be
invalid for certain implementations of fdsets), or the fdset and the
fdlist are getting out of sync by some other reason.
I'm trying to provide a patch that simplifies the fdset handling. The
fdset is here always initialized from scratch from the fdlist before doing
the `select(2)` call. Isn't working yet.
--
Ticket URL: <http://bugs.call-cc.org/ticket/340#comment:14>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), (continued)
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/19
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/23
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/24
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/24
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/24
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/25
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/25
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/26
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/26
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/26
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!),
Chicken Trac <=
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/29
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/29
- [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!), Chicken Trac, 2010/08/31