delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/22/07:29:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: Fri, 22 Aug 2003 13:28:51 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: It's a snapshot
Message-ID: <20030822112851.GP7858@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030822075537 DOT GB32665 AT cygbert DOT vinschen DOT de> <E19q8zE-0005U2-00 AT russ DOT local>
Mime-Version: 1.0
In-Reply-To: <E19q8zE-0005U2-00@russ.local>
User-Agent: Mutt/1.4.1i

On Fri, Aug 22, 2003 at 06:17:40AM -0400, Russell O'Connor wrote:
> Corinna Vinschen writes:
> > It's a border case.  I don't know if it's worth to wait for the fix.
> > It would be nice if I could reproduce it under a debugger :-(
> 
> If you are referring to "malloc returns overlapping buffers", I was
> able to get it to fail under the debugger by increasing the malloc
> size in the test case from 8000 to 16000.  It then segfaults instead
> of returning overlapping buffers, but that's presumably a bug too, and
> likely a different manifestation of the same bug.
> 
> I know that the stack trace for that case in my original post was not
> too useful because there was no debugging information in the cygwin
> dll, but I've since built cygwin from CVS and gotten a proper stack
> trace.  Unfortunately, it's at work and I won't be back there till
> Monday.  But if it would be useful to you I'll make an extra trip in.

Thanks for the offer but that's probably not necessary.  I could
already find a workaround (not a solution, though).  It looks like
you're right with your suspicion that mmap using malloc somehow
messes up things but this needs further debugging.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


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