This is the mail archive of the cygwin@cygwin.com 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]

Autoreply: Re: cygwin programs: realloc() segfault with library v1.3.1


Your message has encountered delivery problems.


Your message reads:

Received: from mail.my-world.ch (mail.my-world.ch [212.254.209.203]) by mail.my-world.ch
 (Rockliffe SMTPRA 4.5.4) with SMTP id <B0001216537@mail.my-world.ch> for <daniel-probst@my-mail.ch>;
 Mon, 30 Apr 2001 19:27:24 +0200
Received: FROM sourceware.cygnus.com BY mail.my-world.ch ; Mon Apr 30 19:27:24 2001 +0200
Received: (qmail 25867 invoked by alias); 30 Apr 2001 17:12:21 -0000
Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-daniel-probst=my-mail.ch@sources.redhat.com>
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Received: (qmail 25846 invoked from network); 30 Apr 2001 17:12:20 -0000
Received: from unknown (HELO cygnus.com) (205.180.230.5)
  by sourceware.cygnus.com with SMTP; 30 Apr 2001 17:12:20 -0000
Received: from rtl.cygnus.com (loony.cygnus.com [205.180.230.181])
	by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id KAA17341;
	Mon, 30 Apr 2001 10:12:17 -0700 (PDT)
Received: (from cgf@localhost)
	by rtl.cygnus.com (8.11.2/8.8.7) id f3UHD9f30990;
	Mon, 30 Apr 2001 13:13:09 -0400
Date: Mon, 30 Apr 2001 13:13:09 -0400
From: Christopher Faylor <cgf@redhat.com>
To: Cygwin Mailing List <cygwin@cygwin.com>
Cc: thunder@ngforever.de
Subject: Re: cygwin programs: realloc() segfault with library v1.3.1
Message-ID: <20010430131309.F30741@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: Cygwin Mailing List <cygwin@cygwin.com>,
	thunder@ngforever.de
References: <001001c0d192$1cb70240$0101a8c0@luckynet.adm>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <001001c0d192$1cb70240$0101a8c0@luckynet.adm>; from thunder@ngforever.de on Mon, Apr 30, 2001 at 09:21:33AM -0700

On Mon, Apr 30, 2001 at 09:21:33AM -0700, Thunder from the hill wrote:
>I hate this mailer! I think I should better use another one.
>
>Again, this is the failing source code. Whenever realloc() is used in
>sendfile(), the MicroHTTPD segfaults.

I'm sorry but this test case is way too complicated to debug.

The only advice I can give is that it is unlikely that there is a problem
with realloc.  SIGSEGVs are usually an indication of some sort of memory
corruption like overrunning a 20 byte array with 24 bytes of info.

realloc SIGSEGVs can come about as a result of attempts to realloc a block
that was not malloced or at least not malloced using a malloc that is
associated with realloc.

If you can pare this down into twenty lines or so, then maybe someone would
be willing to take a look at it.  I don't think that anyone has the time
to attempt to debug a program of this size, however.

Sorry.
cgf

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



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


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