Re: Blocking when linc does a read
- From: Michael Meeks <michael ximian com>
- To: Darin Adler <darin eazel com>
- Cc: <gnome-components-list gnome org>, <orbit-list gnome org>
- Subject: Re: Blocking when linc does a read
- Date: Sun, 11 Nov 2001 20:52:59 -0500 (EST)
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]