delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/16/11:11:37

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Cc: <libtool-patches AT gnu DOT org>
References: <20070225191816 DOT GB2990 AT iam DOT uni-bonn DOT de> <45E3B6CA DOT 50600 AT cwilson DOT fastmail DOT fm> <20070227220200 DOT GC2982 AT iam DOT uni-bonn DOT de> <20070307222815 DOT 5072 DOT qmail AT iam DOT uni-bonn DOT de> <45FAB925 DOT 9090200 AT cwilson DOT fastmail DOT fm>
Subject: RE: mdemo ltdl failure
Date: Fri, 16 Mar 2007 16:11:03 -0000
Message-ID: <01ff01c767e5$b2148750$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <45FAB925.9090200@cwilson.fastmail.fm>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 16 March 2007 15:35, Charles Wilson wrote:

>>>>> Well, it's failing all the time for me, but I'm not sure it's a >
>>> segfault. What does "Hangup" mean, when reported by the shell after >
>>> executing the app: Good question, I don't know.

  It means SIGHUP.

> I've (almost) tracked down the error: it is caused by yet another bug in
> newlib's argz_insert() (or possibly realloc()! ), as called by
> lt_argz_insert:

  This thread should probably be on the newlib list then.

> What's odd is that this bug in argz_insert() is very ticklish: it
> triggers on "tests/mdemo/Makefile", but not when argz_insert is called
> with "./tests/mdemo/Makefile".

  Isn't that just exactly what you would expect, given that you're talking
about sorting things in ascii order?  The period collates very early in ascii
sort order, whereas a lower-case t comes much later; hence if you specify the
'.' you get the makefile at the start of the list instead of the end.

> I need to verify this using a debug-built cygwin kernel, but it looks
> like within newlib's argz_insert(), the call to realloc() is not
> operating correctly in this instance.

  Sounds like it should be quite easy to PPAST then.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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