X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=u4UGClXOIMSK6OEic0I875FU2QMM3oEJMpo72yL3MEIFg5EX2AU1t M2F4n9ltNiv3QMG5f+QwFpw77Bvbd9G/N4Tm27SfNBAMTpj2NjCpesK5q6nrzqmW Fgx7Q5MX75pa6CY97hr92BAqiqPZ956RWTF4MGrbi2WrIyjJVPqb18= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=n6uS28yLvQGDxWHV406Vn4mUbzQ=; b=B/yRx8fTt7gfOvbSqjHv/s0xLqiv 2DE7fv+CBiQYMweoj6EEqtv78Qr1PL/Iu80ojJr/ZHYWR1Hc4+im5loGY+L8mmR6 e5e5gK85jJeakkWfbWj4iekDUhvy27/hNj0L4xATvUvT9tzjBpXKT2Kkot2k70+/ yW4LOQ1PZQ/hP0g= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=welcome!, Hx-languages-length:1032, H*c:application, party X-HELO: drew.franken.de Date: Mon, 17 Jul 2017 10:35:49 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: rebase segmentation fault Message-ID: <20170717083549.GA3345@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) --DocE+STaALJfprDB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 16 19:16, Denis Excoffier wrote: > Hello, >=20 > I have a Cygwin installation under Windows 7 (32 bits). >=20 > After 'rebase-trigger full' and 'Setup', autorebase seems to finish > okay, but the /etc/rebase.db.i386 remains absent after that. Not a > real problem after all (since rebase was functioning well until some > recent date and all is already rebased), but some third party builds > (like e.g. perl) insist on the presence of the /etc/rebase.db.i386 > database. >=20 > Indeed, rebase segfaults in rebase.c and nothing is rebased. This > occurs (see rebase-4.4.2) immediately after "Skip trailing entries as > long as there is no hole." because at some point, all > img_info_list[end].base are equal to 0, the while() is getting always > true, and the variable 'end' is decremented by 1 at every iteration, > until it reaches -1 where the segfault occurs. Patches welcome! Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --DocE+STaALJfprDB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZbHblAAoJEPU2Bp2uRE+gN0YP+wY6u4ZQd52KGEJNRqfgqA2/ JJa8LV0C6YFdshkNclDGcJV0KIC0iLS3rN/D2YSjlT+LzNHR8GylhQbtg/ldugR8 ZLNjGjOoyFxYTZkpS+veG9d/StXH8rzmw3HyCaReBoXfVoAU/5Mkx9ah7daO6lpm 1lQylwkWwRKjawDBriGEGeHtjDRcJm66qCXTO93bgoyfJ25ZKdi4tX7O6299lQ9i dxtKI3A7vmVTpVY1PGoNWR8JW75V4947WRdbRVrRTuyiokcyCmxXncs0+RBNEhGy PDxjqVMDsnoyfe//RHGDWf6C+nnxqNMLheykhaSKA6YEFME+jqBEOoen9kpLV+g8 bNZYG3ZiojBN7glLodwYY3OZxEguTDWweiwEZIEQy4dXLes19eA+1ej4ElexFuZG uMjTSloNirFoHS4rV0ovgRNGJBRocH9FFTsq5qz6BeJahG0Nqc4aBYU59JycYnbc bM64mFRWsEEeUsudPPNIOZdazzOrLmfN4jE/hhKQebVgaiV/kkYVWC7dlgiMGrgY v7u7vkOjAkuzYhIj0XIX5NMbXFThedIbrK17UQGEEUVSSdvXqZCSsZJlXK4D52RP UODgcDr8UdZtjwxJJiyLnMFBvPqs+6Moi3hvqeIoBbou7Ti6ZVQ1uc/n1RXvr1FA BuX9d+Ha9/+0qAb5FIC2 =Us8P -----END PGP SIGNATURE----- --DocE+STaALJfprDB--