Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 20 Mar 2004 14:19:55 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Dan Kegel <dank@kegel.com>
cc: cygwin@cygwin.com
Subject: Re: Minimal test case for Make crash bug
In-Reply-To: <405C9695.2010609@kegel.com>
Message-ID: <Pine.GSO.4.56.0403201417370.26885@slinky.cs.nyu.edu>
References: <405C00BF.3090507@kegel.com> <405C06C4.7030508@kegel.com> <405C6C4B.90409@kegel.com> <405C939E.5020909@kegel.com> <405C9695.2010609@kegel.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed
Content-ID: <Pine.GSO.4.56.0403201417372.26885@slinky.cs.nyu.edu>
X-Scanned-By: MIMEDefang 2.39

On Sat, 20 Mar 2004, Dan Kegel wrote:

> Dan Kegel wrote:
> > Got it.  I'm attaching a minimal test case.  glibc's makefile
> > requires that Make be able to handle 140 levels of include recursion,
> > but cygwin Make crashes after about 130 -- unless you're running
> > under gdb or strace, in which case it works fine.
> > To repeat the bug, just unpack the two attachments and run 'make'.
> > If you have the bug, it will crash; otherwise it will echo a list
> > of 140 words.
>
> Christopher Faylor wrote:
> > You should probably investigate using the CYGWIN environment variable
> > "error_start" field:
> >
> > http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
> >
> > Also, please send the output of the stackdump file here.
>
> I'm attaching make.exe.stackdump (another new feature of cygwin, cool).
>
> Sadly, error_start didn't seem to be able to start gdb:
>
> $ export CYGWIN=error_start:/usr/bin/gdb
> $ make
> *** starting debugger for pid 2156, tid 496
>        4 [main] make 2488 try_to_debug: Failed to start debugger: Win32
> error 3
> *** continuing pid 2156 from debugger call (0)
> Signal 11
>
> but hopefully the stackdump file will give you what you need.
> - Dan

$ net helpmsg 3
The system cannot find the path specified.

I believe that the path after "error_start:" should be a Win32 path.
This could be better documented on the above page.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

