delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/11/16:35:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <200005112134.QAA20487@hp2.xraylith.wisc.edu>
To: DJ Delorie <dj AT delorie DOT com>, tprince AT computer DOT org,
cygwin AT sourceware DOT cygnus DOT com
Subject: Re: GCC snapshots and mmap problem [Re: GDB hangs on Win2K]
In-reply-to: Your message of "Thu, 11 May 2000 12:20:11 CDT."
<200005111720 DOT MAA19448 AT hp2 DOT xraylith DOT wisc DOT edu>
Date: Thu, 11 May 2000 16:34:51 -0500
From: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>

Mumit Khan <khan AT nanotech DOT wisc DOT EDU> writes:
> DJ Delorie <dj AT delorie DOT com> writes:
> > 
> > > There seems to be a problem in mmap I've trying to find for days
> > > now with no luck. Essentially, ./stage1/xgcc is hanging when
> > > garbage collecting (compiling fold-const.c), and the only solution
> > > for now is to configure with --with-gc=simple which works but
> > > really slows down compilation.
> > 
> > Saw that myself, except mine crashed all the time instead of hanging.
> > It might be the new /dev/zero code, too.

Quick followup -- the bug is in list::erase in mmap.cc, which has an
obvious infinite loop (ditto for does map::erase). I'll provide a patch 
after I do a bit of testing and a bit of hunting for other potential 
problems. As an aside, for user code that does a lot of mmap/munmap, 
it's also very inefficient, but that certainly can be remedied over 
time.

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019