Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 18 Jun 2005 01:05:25 +0200 Message-Id: <510189412@web.de> MIME-Version: 1.0 From: Andreas Eibach <ae_cygwin AT web DOT de> To: cygwin AT cygwin DOT com Subject: Re: Sensitive/critical bug found? Content-Type: text/plain; charset=iso-8859-1 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j5HN5dSN010677 cygwin AT cygwin DOT com schrieb am 18.06.05 00:41:39: > > $ find . -name '*' | xargs grep -i 'threads_got_initialized' > out2.log > > > > ATTENTION. out2.log will grow and grow ... and grew more than 2 GB here, > > until I got a "No space left on device". > > <http://cygwin.com/acronyms/#PEBKAC>, and not Cygwin-specific, either. *grin*. This fits. > Of > course grep would look for "threads_got_initialized" in every file in the > current directory, *including out2.log*! And it'll keep appending the > results to that same out2.log. *bangs head* Arrrrr...and I got unix experience since about 10 years now! But it's always that simple, ultra-primitive things that cause these sorts of "deadlocks" (which are remotely related to that, I think :)) Many thanks. $ find . -name '*.[ch]' | xargs grep -i 'threads_got_initialized' > out2.log "fixed" (laugh) this. -Andreas _________________________________________________________________________ Mit der Gruppen-SMS von WEB.DE FreeMail k�nnen Sie eine SMS an alle Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179 -- 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/