X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 26 Mar 2009 13:09:41 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [1.7] makeinfo : too many open files Message-ID: <20090326170941.GA18772@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <898542 DOT 11658 DOT qm AT web25006 DOT mail DOT ukl DOT yahoo DOT com> <20090326152340 DOT GN12738 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090326152340.GN12738@calimero.vinschen.de> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, Mar 26, 2009 at 04:23:40PM +0100, Corinna Vinschen wrote: >On Mar 26 12:36, Marco Atzeri wrote: >> >> Dear All, >> building the documentation for octave with makeinfo >> I hit on cygwin-1.7 a similar issue than >> http://cygwin.com/ml/cygwin/2009-02/msg00564.html >> >> On cygwin-1.5 the same exact command on the same files >> completes successfully. >> >> Full strace is uploaded on >> http://matzeri.altervista.org/strace/ >> >> 1.6M makeinfo15_strace >> 3.1M makeinfo17_strace >> 270K makeinfo_strace.tar.xz (both compressed) >> >> >> $makeinfo -I.. octave-a4.texi >> >> octave-a4.texi:621: @include `package.texi': No such file or directory. >> octave-a4.texi:632: @include `dynamic.texi': No such file or directory. >> >> >> $ makeinfo -P.. octave-a4.texi >> octave-a4.texi:621: @include `package.texi': Too many open files. >> octave-a4.texi:632: @include `dynamic.texi': Too many open files > >The 1.7 strace shows a weird error message: > > seterrno_from_win_error: /ext/build/netrel/src/cygwin-1.7.0-44/winsup/cygwin/cygheap.cc:140 windows error 487 > >error 487 == "Attempt to access invalid address." > >It happens when trying to raise the size of the cygheap (used for >internal datastructures like file descriptor data) which apparently >occurs as a result of using so many files. The only reason I can think >of why this might occur is a collision with a DLL loaded at an address >not far from the end of Cygwin's cygheap, so that trying to VirtualAlloc >more memory, to make the cygheap bigger, fails. The default size of the >cygheap in 1.7.0-44 is ~900K and ends at 0x61300000. > >Maybe rebasing the DLLs makeinfo is linked against (cygiconv-2.dll, >cygintl-8.dll) helps? > >If not, it might be helpful if you could send a link to a tar archive >with all necessary input texi files to run makeinfo as above. ldd /bin/makeinfo.exe might also be useful. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/