[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnome-components
Subject:    Re: Blocking when linc does a read
From:       Michael Meeks <michael () ximian ! com>
Date:       2001-11-12 1:52:59
[Download RAW message or body]


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

_______________________________________________
gnome-components-list mailing list
gnome-components-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-components-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic