Mail Archives: cygwin/2009/03/26/15:32:15
--- Gio 26/3/09, Christopher Faylor ha scritto:
> Da: Christopher Faylor=20
> Oggetto: Re: [1.7] makeinfo : too many open files
> A: cygwin AT cygwin DOT com
> Data: Gioved=EC 26 marzo 2009, 18:09
>=20
> -----Segue allegato-----
>=20
> On Thu, Mar 26, 2009 at 04:23:40PM
> +0100, Corinna Vinschen wrote:
> >On Mar 26 12:36, Marco Atzeri wrote:
> >>=20
> >> 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
> >>=20
> >> On cygwin-1.5 the same exact command on the same
> files
> >> completes successfully.
> >>=20
> >> Full strace is uploaded on
> >> http://matzeri.altervista.org/strace/
> >>=20
> >> 1.6M=A0=A0=A0makeinfo15_strace
> >> 3.1M=A0=A0=A0makeinfo17_strace
> >> 270K=A0=A0=A0makeinfo_strace.tar.xz (both
> compressed)
> >>=20
> >>=20
> >> $makeinfo -I.. octave-a4.texi
> >>=20
> >> octave-a4.texi:621: @include `package.texi': No
> such file or directory.
> >> octave-a4.texi:632: @include `dynamic.texi': No
> such file or directory.
> >>=20
> >>=20
> >> $ 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:
> >
> >=A0 seterrno_from_win_error:
> /ext/build/netrel/src/cygwin-1.7.0-44/winsup/cygwin/cygheap.cc:140
> windows error 487
> >
> >error 487 =3D=3D "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.=A0 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.=A0
> 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.
>=20
> ldd /bin/makeinfo.exe
>=20
> might also be useful.
>=20
> cgf
>=20
$ ldd /usr/bin/makeinfo.exe=20
ntdll.dll =3D> /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c900000)
kernel32.dll =3D> /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000)
cygwin1.dll =3D> /usr/bin/cygwin1.dll (0x61000000)
ADVAPI32.DLL =3D> /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77dd0000)
RPCRT4.dll =3D> /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e70000)
cygintl-8.dll =3D> /usr/bin/cygintl-8.dll (0x6f5c0000)
cygiconv-2.dll =3D> /usr/bin/cygiconv-2.dll (0x674c0000)
and exactly the same for cygwin-1.5
Regards
Marco
--
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/
- Raw text -