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:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; q=dns; s=default; b=xX4ialOOPMhkqjY0B1Q0deUR71Ld 4LIjvz1SbEVqmffjmRAlbd/pEXmXon8bOchuEoctmaw3bbMLjydpkKPVcJAdpz1z srG0GyKT+7kGyEWdBI8aF/ngjm+nPSXoRuw6f2SDOnKBgL/XQ75Y0o8+rb0YP0EN BddyPBz7iDUQqmQ= 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:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; s=default; bh=p5SHe3htYQMxWzXXtxsq5HUVgKE=; b=fj tOd1b6UpVAf8FVqtRTCldlHzt3tCPd/5vxAaH8046m8a7c53xWLrgRurKpJf8bbf o2EWHLoXfcvXd9IkZcJtTEuoZiHq8Vbt/qTjw+iaIj2YXAr7BjlTTgAs95t3kZtk zZDeWc+Z813rWg60WxGawkhRtJH446QQCAWc6H65Y= 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=-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 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, 9 Jan 2018 18:53:40 +0100 Message-Id: <95B5E5C0-BA3B-4680-ABC4-F55E7060C72A@Denis-Excoffier.org> References: <20170717083549 DOT GA3345 AT calimero DOT vinschen DOT de> <20170717090522 DOT GB3345 AT calimero DOT vinschen DOT de> To: The Cygwin Mailing List Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w09Hs09a021622 > On 2017-07-17 11:05, Corinna Vinschen wrote: > > On Jul 17 10:35, Corinna Vinschen wrote: >> On Jul 16 19:16, Denis Excoffier wrote: >>> Hello, >>> >>> I have a Cygwin installation under Windows 7 (32 bits). >>> >>> 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. >>> >>> 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! > > Never mind: > > https://sourceware.org/git/?p=cygwin-apps/rebase.git;a=commitdiff;h=a7d415a > Hello, Please someone to build a new version of the rebase package with this modification 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