Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 13:22:44 -0400 (EDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/ORBit Makefile ports/devel/ORBit/files         patch-src::IIOP::giop-msg-buffer.c
Message-ID:  <Pine.NEB.3.96L.1011026132132.88508E-100000@fledge.watson.org>
In-Reply-To: <200110261306.f9QD61O73080@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Are you exceeding UIO_MAXIOV entries in the array?  Right now, I think
it's 35, which for dynamically generated entries, could be too small.
That error will result in EINVAL, and is documented in the man page.



Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
robert@fledge.watson.org      NAI Labs, Safeport Network Services

On Fri, 26 Oct 2001, Maxim Sobolev wrote:

> sobomax     2001/10/26 06:06:01 PDT
> 
>   Modified files:
>     devel/ORBit          Makefile 
>   Added files:
>     devel/ORBit/files    patch-src::IIOP::giop-msg-buffer.c 
>   Log:
>   Fix a rather weird incompatibility between ORBit and FreeBSD. It appears that
>   FreeBSD's writev(2) implementation is rather unreliable when large number of
>   vectors is submitted - it returns EINVAL despite the fact that all arguments
>   are pretty valid. This caused serious problems with GNOME's oaf and prevented
>   Nautilus from working properly. The problem disappeared when I've replaced
>   writev(2) call with appropriate loop based around ordinary write(2). Perhaps
>   this should be investigated and the real source of the problem fixed instead,
>   but I do not have a time for this right now. For those who interested I'm
>   ready to provide a step-by step instruction on how to reproduce the bug.
>   
>   Special thanks to:	andersca @ nautilus#irc.gnome.org
>   
>   Revision  Changes    Path
>   1.49      +1 -1      ports/devel/ORBit/Makefile
>   1.1       +24 -0     ports/devel/ORBit/files/patch-src::IIOP::giop-msg-buffer.c (new)
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011026132132.88508E-100000>