delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/01/11:46:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 1 Mar 2001 11:43:27 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Cc: fenneckeeprog AT caramail DOT com
Subject: Re: pilot-link and debugers
Message-ID: <20010301114327.H1326@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, fenneckeeprog AT caramail DOT com
References: <983446105012936 AT caramail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <983446105012936@caramail.com>; from fenneckeeprog@caramail.com on Thu, Mar 01, 2001 at 10:28:25AM +0000

On Thu, Mar 01, 2001 at 10:28:25AM +0000, Fennec Keeprog wrote:
>I would like to know if anyone ever tried to compile pilot- link with
>cygwin?  I've tried and it seems to work well (with few warnings ...)
>in fact it works well and i can acces files and do other things ...
>but on some functions (like saving things to files) it make a
>segmentation fault.  I found with gdb that it was on a simple
>free(thing) but...

This is usually a symptom of a program bug.  Some versions of malloc/free
are forgiving of this kind scenario:

a = malloc (20);
.
.
.
free (a);
.
.
.
free (a);

The double free is wrong and Cygwin's version of malloc will have problems
with this.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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