Minimal test case for Make crash bug

Igor Pechtchanski pechtcha@cs.nyu.edu
Sat Mar 20 21:40:00 GMT 2004


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/



More information about the Cygwin mailing list