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 Date: Thu, 28 Jul 2005 10:17:46 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Dave Korn cc: cygwin AT cygwin DOT com Subject: RE: Bug identified [was RE: perl - segfault on "free unused scalar"] In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 28 Jul 2005, Dave Korn wrote: > ----Original Message---- > >From: Igor Pechtchanski > >Sent: 28 July 2005 14:58 > > > Hmm, but shouldn't this code fail regardless of the value of > > heap_chunk_in_mb? Why does increasing heap_chunk_in_mb make this > > succeed? > > Perhaps it only makes it succeed if you increase heap_chunk_in_mb > until that initial heap chunk is big enough? Perhaps just because the > memory map gets re-arranged and dll_list::alloc manages to find a page > in between the dll and the heap? You could always check it out in a > debugger if you like; I've got to leave this for the moment because I > was doing that in my lunchbreak, which is long over now :-( Dave, I'm unfortunately not set up to do this kind of debugging ATM (heavy use of Cygwin for real work, and no other available machine, so can't play with heap_chunk_in_mb). That's why I appreciate your doing this. If you are interested in pursuing this later, it would be nice to find out how this behavior relates to the value of heap_chunk_in_mb. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/