From owner-cvs-all Fri Oct 26 10:22:58 2001 Delivered-To: cvs-all@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id AB75E37B401; Fri, 26 Oct 2001 10:22:49 -0700 (PDT) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id f9QHMiB93565; Fri, 26 Oct 2001 13:22:44 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 26 Oct 2001 13:22:44 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Maxim Sobolev 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 In-Reply-To: <200110261306.f9QD61O73080@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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