This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in ln / cygwin1.dll


> >> >When I run 'make -f Makefile.cvs' with QT3, I find that ln segfaults
> >trying
> >> >to create a symlink. I've included the output of strace showing the
> >problem,
> >> >output of cygcheck and also the stackdump ln produces. I can reproduce
> >this,
> >> >so if you need any more information, please ask. The problem occurs
with
> >the
> >> >latest Cygwin CVS.
> >> >ln is 'ln (fileutils) 4.1'.
> >> >cygwin is 'CYGWIN_NT-5.0 ADVENT02 1.3.11(0.52/3/2) 2002-05-03 15:18
i686
> >> >unknown'
> >>
> >> You're using a locally built version of cygwin.  Please run it under
gdb
> >> and pinpoint where the problem is occurring.  You may find the
techniques
> >> in how-to-debug-cygwin.txt useful.
> >As far as I can tell, it's caused by the fact that more than 1024
arguments
> >are being passed to ln and in exec.cc, argv is declared as 1024 elements.
Is
> >there any reason this limit shouldn't be upped to, say, 2048 elements? If
> >not, can this change be made in CVS please.
>
> Where, specifically, is the segv occurring?
My original guess at the cause was incorrect. See my post in cygwin-patches
for more details. Less than 1024 arguments were being passed to ln. However
the value _was_ more than the 256 limit in spawn.cc.

Regards
Chris



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]