X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Mail-Handler: MailHop Outbound by DynDNS X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/FJqf4CgO+CwFbFvaRpsNQ Date: Mon, 25 Jun 2012 00:31:10 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: crash on latest cygwin snapshot Message-ID: <20120625043110.GA28607@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4FE786DA DOT 2050208 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FE786DA.2050208@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Sun, Jun 24, 2012 at 11:30:02PM +0200, marco atzeri wrote: >Cgf, Corinna, > >while building latest atlas I hit a bug that is crashing all the >running cygwin process. >It crashes on 20120619 snapshot and also latest cvs source. >No issue on 20120611 snapshot. > >The binary to replicate and a extract of the strace's is at >http://matzeri.altervista.org/works/atlas/ > >on W7/64 just run this command >--------------------------------------------------------------------- > ./xprobe_comp -v 2 -o atlconf.txt -O 9 -A 25 -Si nof77 0 -V 448 -Fa >ic '-fno-common' -Fa sm '-fno-common' -Fa dm '-fno-common' -Fa sk >'-fno-common' -Fa dk '-fno-common' -Fa xc '-fno-common' -Fa gc >'-fno-common' -Fa if '-fno-common' -b 32 -d b . >---------------------------------------------------------------------- > >no stackdump is generated. I think I need a better test case. No matter what DLL I use, if I put the above in a shell script (adding a '\' to the end of each line) and execute it, I get the below output and my process table fills up /usr/bin/sh processes. If I reduce my PATH to just /usr/bin, the xprobe_comp sits there and I get lots and lots of /usr/bin/sh processes showing up in ps output and eventually I have to power-cycle my system to recover. cgf The script: #!/bin/sh ./xprobe_comp -v 2 -o atlconf.txt -O 9 -A 25 -Si nof77 0 -V 448 -Fa \ ic '-fno-common' -Fa sm '-fno-common' -Fa dm '-fno-common' -Fa sk \ '-fno-common' -Fa dk '-fno-common' -Fa xc '-fno-common' -Fa gc \ '-fno-common' -Fa if '-fno-common' -b 32 -d b . The output: User Override Compilers: 'none' : 'none' '-fno-common' 'none' : 'none' '-fno-common' 'none' : 'none' '-fno-common' 'none' : 'none' '-fno-common' 'none' : 'none' '-fno-common' 'none' : 'none' '-fno-common' 'none' : 'none' '-fno-common' 'none' : 'none' '-fno-common' sh: -c: line 0: syntax error near unexpected token `(' sh: -c: line 0: `find $HOME/local /cygdrive/c/Program\ Files\ (x86)/PC\ Connectivity\ Solution /cygdrive/c/Program\ Files\ (x86)/NVIDIA\ Corporation/PhysX/Common /cygdrive/c/Program\ Files/Common\ Files/Microsoft\ Shared/Windows\ Live /cygdrive/c/Program\ Files\ (x86)/Common\ Files/Microsoft\ Shared/Windows\ Live /usr/bin /usr/local/bin /cygdr ive/c/Windows/system32 /cygdrive/c/Windows /cygdrive/c/Windows/System32/Wbem /cygdrive/c/Windows/System32/WindowsPo werShell/v1.0 /cygdrive/c/Program\ Files\ (x86)/Windows\ Live/Shared /cygdrive/c/Program\ Files/WIDCOMM/Bluetooth\ Software /cygdrive/c/Program\ Files/WIDCOMM/Bluetooth\ Software/syswow64 /cygdrive/c/Program\ Files\ (x86)/software .jessies.org/terminator/Resources/terminator/bin -name '*gcc*' -exec ./xisgcc '{}' \; > /tmp/t4580.0 2>&1' ierr=256 in command='find $HOME/local /cygdrive/c/Program\ Files\ (x86)/PC\ Connectivity\ Solution /cygdrive/c/Prog ram\ Files\ (x86)/NVIDIA\ Corporation/PhysX/Common /cygdrive/c/Program\ Files/Common\ Files/Microsoft\ Shared/Windo ws\ Live /cygdrive/c/Program\ Files\ (x86)/Common\ Files/Microsoft\ Shared/Windows\ Live /usr/bin /usr/local/bin /c ygdrive/c/Windows/system32 /cygdrive/c/Windows /cygdrive/c/Windows/System32/Wbem /cygdrive/c/Windows/System32/Windo wsPowerShell/v1.0 /cygdrive/c/Program\ Files\ (x86)/Windows\ Live/Shared /cygdrive/c/Program\ Files/WIDCOMM/Bluetoo th\ Software /cygdrive/c/Program\ Files/WIDCOMM/Bluetooth\ Software/syswow64 /cygdrive/c/Program\ Files\ (x86)/soft ware.jessies.org/terminator/Resources/terminator/bin -name '*gcc*' -exec ./xisgcc '{}' \;'! OUTPUT: ======= cat: /tmp/t4580.0: No such file or directory -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple