This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sensitive/critical bug found?



cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]