Re: Blocking when linc does a read



Hi Darin,

On Thu, 8 Nov 2001, Darin Adler wrote:
> I find that Nautilus blocks in linc from time to time. The stack trace
> looks like this:
> 
> #0  0x40be6f44 in __libc_read () from /lib/i686/libc.so.6
> #1  0x409fc6d8 in __DTOR_END__ () at eval.c:41
> #2  0x408bea6b in linc_connection_read (cnx=0x82af840, buf=0x82af840 "",
>     len=12, block_for_full_read=0) at linc-connection.c:370

        Ok - so I re-wrote linc_connection_read, killed the broken way it
was handling EAGAIN, removed a recursion deadlock - and then discovered   
that the problem was simply that we were not setting the non-blocking flag
on all new connections in the ORB :-)

        Anyway - we're cleaner all round; and you'll need a HEAD linc and
ORBit2.
  
        Regards,
  
                Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]