From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56399 invoked by alias); 9 Jan 2018 17:53:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 56384 invoked by uid 89); 9 Jan 2018 17:53:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=party, Setup, H*F:U*cygwin, functioning X-HELO: smtp5-g21.free.fr Received: from smtp5-g21.free.fr (HELO smtp5-g21.free.fr) (212.27.42.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 09 Jan 2018 17:53:43 +0000 Received: from [192.168.0.11] (unknown [78.224.52.79]) by smtp5-g21.free.fr (Postfix) with ESMTPS id 368105FFE8; Tue, 9 Jan 2018 18:53:41 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: rebase segmentation fault From: Denis Excoffier In-Reply-To: <20170717090522.GB3345@calimero.vinschen.de> Date: Tue, 09 Jan 2018 17:53:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <95B5E5C0-BA3B-4680-ABC4-F55E7060C72A@Denis-Excoffier.org> References: <20170717083549.GA3345@calimero.vinschen.de> <20170717090522.GB3345@calimero.vinschen.de> To: The Cygwin Mailing List X-SW-Source: 2018-01/txt/msg00069.txt.bz2 > On 2017-07-17 11:05, Corinna Vinschen wrote: >=20 > On Jul 17 10:35, Corinna Vinschen wrote: >> 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. >>=20 >> Patches welcome! >=20 > Never mind: >=20 > https://sourceware.org/git/?p=3Dcygwin-apps/rebase.git;a=3Dcommitdiff;h= =3Da7d415a >=20 Hello, Please someone to build a new version of the rebase package with this modif= ication included? Thanks in advance, Denis Excoffier. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple