www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/09/23/23:14:32

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Subject: RE: new 'temp' directory in CVS cinstall contains dependency WIP
MIME-Version: 1.0
Date: Mon, 24 Sep 2001 13:23:22 +1000
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
Message-ID: <EA18B9FA0FE4194AA2B4CDB91F73C0EF7A33@itdomain002.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: new 'temp' directory in CVS cinstall contains dependency WIP
Thread-Index: AcFEi3+E7SVYlAHQRTOHe94r5kz0fwAG9LvQ
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <gp AT familiehaase DOT de>, <cygwin-apps AT cygwin DOT com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C144A8.438FDD90
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



> -----Original Message-----
> From: Gerrit P. Haase [mailto:gp AT familiehaase DOT de]
> The bug:
> =3D=3D=3D=3D=3D=3D=3D=3D
> (gdb) run
> Starting program:=20
> /cygdrive/d/ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors
> /cygnus/setup.exe
> warning: LOG: 2 2001/09/23 21:52:50 Starting cygwin install,=20
> version 2.98
> warning: LOG: 0 Current Directory: d:\
> warning: LOG: 0 source: from cwd
> warning: LOG: 0 Selected local directory:=20
> D:\ftp.uni-erlangen.de\pub\pc\gnuwin32\cygwin\mirrors\cygnus
> warning: LOG: 0 mbox yesno: Warning: we recommend you do NOT=20
> use the root of your hard drive as the cygwin root.
>   Proceed anyway?
> warning: LOG: 0 root: H:\ binary system
> warning: LOG: 1 get_url_to_string ./setup.ini
> warning: setup_version is 2.78.2.9, our_version is 2.98
>=20
> Program received signal SIGSEGV, Segmentation fault.
> strcasecmp (sz1=3D0x563cf0 "ash", sz2=3D0x563cf0 "ash")

can you do a bt here please?

If the calling fn is choose.cc:903, please try the attached patch.

If that fixes it, you have a bug in strcasecmp where it won't compare
the same string. This is _bad_. However my patch should be ok to apply
regardless.

Rob

------_=_NextPart_001_01C144A8.438FDD90
Content-Type: application/octet-stream;
	name="setupfix.patch"
Content-Transfer-Encoding: base64
Content-Description: setupfix.patch
Content-Disposition: attachment;
	filename="setupfix.patch"

SW5kZXg6IGNob29zZS5jYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3ZzL3NyYy9zcmMvd2luc3Vw
L2NpbnN0YWxsL2Nob29zZS5jYyx2CnJldHJpZXZpbmcgcmV2aXNpb24gMi40NwpkaWZmIC11IC1w
IC1yMi40NyBjaG9vc2UuY2MKLS0tIGNob29zZS5jYwkyMDAxLzA4LzA1IDAxOjM4OjQ2CTIuNDcK
KysrIGNob29zZS5jYwkyMDAxLzA5LzI0IDAzOjEyOjU1CkBAIC04OTksMTQgKzg5OSwxNCBAQCBf
dmlldzo6aW5zZXJ0X3VuZGVyIChpbnQgbGluZW4sIHBpY2tfbGluCiAgIC8qIHBhcnQgMiAtIGlu
c2VydCBpbiBzb3J0ZWQgb3JkZXIgaW4gdGhlIGJ1Y2tldCAqLwogICB3aGlsZSAobiA8IG5saW5l
cykKICAgICB7Ci0gICAgICBpZiAobGluZXNbbl0uZ2V0X2NhdGVnb3J5ICgpIHx8IChsaW5lc1tu
XS5nZXRfcGtnICgpCi0JICAmJiBzdHJjYXNlY21wIChsaW5lLmdldF9wa2cgKCktPm5hbWUsIGxp
bmVzW25dLmdldF9wa2cgKCktPm5hbWUpIDwgMCkpCisgICAgICBpZiAobGluZXNbbl0uZ2V0X3Br
ZyAoKSA9PSBsaW5lLmdldF9wa2cgKCkpCiAJewotCSAgaW5zZXJ0X2F0IChuLCBsaW5lKTsKIAkg
IG4gPSBubGluZXM7CiAJfQotICAgICAgZWxzZSBpZiAobGluZXNbbl0uZ2V0X3BrZyAoKSA9PSBs
aW5lLmdldF9wa2cgKCkpCisgICAgICBlbHNlIGlmIChsaW5lc1tuXS5nZXRfY2F0ZWdvcnkgKCkg
fHwgKGxpbmVzW25dLmdldF9wa2cgKCkKKwkgICYmIHN0cmNhc2VjbXAgKGxpbmUuZ2V0X3BrZyAo
KS0+bmFtZSwgbGluZXNbbl0uZ2V0X3BrZyAoKS0+bmFtZSkgPCAwKSkKIAl7CisJICBpbnNlcnRf
YXQgKG4sIGxpbmUpOwogCSAgbiA9IG5saW5lczsKIAl9CiAgICAgICBuKys7Cg==

------_=_NextPart_001_01C144A8.438FDD90--

- Raw text -


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