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-pair-Authenticated: 24.126.73.164 Message-ID: <405C9695.2010609@kegel.com> Date: Sat, 20 Mar 2004 11:08:05 -0800 From: Dan Kegel User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Minimal test case for Make crash bug 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> In-Reply-To: <405C939E.5020909@kegel.com> Content-Type: multipart/mixed; boundary="------------070607040504080508010804" --------------070607040504080508010804 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 --------------070607040504080508010804 Content-Type: text/plain; name="make.exe.stackdump" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="make.exe.stackdump" Exception: STATUS_ACCESS_VIOLATION at eip=6102B0BB eax=00000000 ebx=00000000 ecx=00000000 edx=0000003C esi=00226668 edi=0A07B0B0 ebp=00226610 esp=00226610 program=C:\cygwin\bin\make.exe, pid 3400, thread main cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023 Stack trace: Frame Function Args 00226610 6102B0BB (00000000, 00000000, 00226650, 6101E154) 00226620 610317F4 (00000000, 0000001B, 000000D0, 61093940) 00226650 6101E154 (00226668, 00000058, 002266A0, 0A07C453) 002269C0 6101DEB8 (0A07B0B0, 00000000, 00000001, 00000000) 00226A20 61094FD1 (0A07B0B0, 00000000, 000001B6, 61093882) 00226A40 610E61A6 (0022F208, 0A07B0B0, 00000000, 000001B6) 00226A70 610D5E9C (0022F208, 0A07B0B0, 00413CC1, 61056402) 00226A90 610D5F41 (0A07B0B0, 00413CC1, 00226AD0, 61093882) 00226B80 610882AF (0A07B0B0, 0000000A, 00000007, 00000000) 00226C70 00414EC0 (0A07ADD0, 0000000A, 00000007, 00000000) 00226D60 00414EC0 (0A07ADE0, 0000000A, 00000007, 00000000) 00226E50 00414EC0 (0A07A278, 0000000A, 00000007, 00000000) 00226F40 00414EC0 (0A0796A8, 0000000A, 00000007, 00000000) 00227030 00414EC0 (0A0753E0, 0000000A, 00000007, 00000000) 00227120 00414EC0 (0A0793D8, 0000000A, 00000007, 00000000) 00227210 00414EC0 (0A078888, 0000000A, 00000007, 00000000) End of stack trace (more stack frames may be present) --------------070607040504080508010804 Content-Type: text/plain; charset=us-ascii -- 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/ --------------070607040504080508010804--