Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 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 Reply-To: cygwin AT cygwin DOT com To: Dan Kegel cc: cygwin AT cygwin DOT com Subject: Re: Minimal test case for Make crash bug In-Reply-To: <405C9695.2010609@kegel.com> Message-ID: References: <405C00BF DOT 3090507 AT kegel DOT com> <405C06C4 DOT 7030508 AT kegel DOT com> <405C6C4B DOT 90409 AT kegel DOT com> <405C939E DOT 5020909 AT kegel DOT com> <405C9695 DOT 2010609 AT kegel DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: 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 AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/