delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/04/11:51:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-WM-Posted-At: avacado.atomice.net; Sat, 4 May 02 16:54:19 +0100
Message-ID: <017c01c1f383$f3cda310$0100a8c0@advent02>
From: "Chris January" <chris AT atomice DOT net>
To: <cygwin AT cygwin DOT com>
References: <011901c1f2fb$1fbf5330$0100a8c0 AT advent02> <20020504042742 DOT GI32261 AT redhat DOT com> <00a201c1f360$133f73a0$0100a8c0 AT advent02> <20020504154451 DOT GE29229 AT redhat DOT com>
Subject: Re: Bug in ln / cygwin1.dll
Date: Sat, 4 May 2002 16:54:19 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

> >> >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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019