delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/18/11:49:19

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=WU175ai
FyCePwjs/BKdMn3DapKruIqQqbg9AkV7fNipIJ71298A2vVSkmDu0L1yyY9JIjWL
b2CfsetLEwEj83Ek2ofA8ygr8uYzDxVPlYCyIxx3uFn8IBh1vGhzcLqxQsOohz1b
QTPXtsJjYj7ngbWD74K17MRuaoyARH8GYm8I=
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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=vfzHOCTjjB9sw
IIS/+S0ZXQJRNY=; b=yR+itpgX6NpuUNQeKlWdJ6sW/0KFd3UgWhx66sYgFTtUd
uQAoIWOaiBrBce3f97u7RuhaSD9AxUCbZaQFm3fitw4MpPgaucJ5Roh8Ho7pbDDC
ASI7IwZtcKZcmz3E81cjpJN6mqPCFGtW3POLxyPDhLOIq2RQuVAoyzx8RctWFo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=chase, party
X-HELO: mail-yw0-f181.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=eduopSd4RGKfdoJbZx56iu41Mhumhi14ghFmxLNHP0Q=; b=O/8iPBmpPvRVTlANNueeYR7EjcubcHZPoG1mS/ISUsqRKLjttvhhxYoxjs5/qjndLG mR7DfWxPYaNoNXl7q/NhCZM4iVVV9FU9T0WexBUICoCD5aJkHlK2/xxbHzWBGv0FjJ9M wL/O7deCoazaBgw4vPy3VM+sMQle+js5cGwVIHstzX2a3jxsARaC3A9MNqSp3RH/UNOc uVHf8omfrFtN/y9+nSFV6P6ef8sLRRUQjVixAS57ALod6hCeFfTUQ9EY523aZf5s3qaf xxXH2HYo4L67Y26iRBiCNTZAz+S8WlWUFrdOVqGEqGye04Tv4Wc97QNj1F8KfnGkLkrs iggg==
X-Gm-Message-State: AIVw110TkVYp/hf5YJGCCUQqjwQF5tw5XVOWGrse59kHGpPW0lHN6xJ9 gbrkp4efHupYAsMRZRwGPyQmeuDjPj2L
X-Received: by 10.129.168.200 with SMTP id f191mr1623341ywh.342.1500392941173; Tue, 18 Jul 2017 08:49:01 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <20170717090522.GB3345@calimero.vinschen.de>
References: <EC918951-4A16-4469-B057-5DEC00041699 AT Denis-Excoffier DOT org> <20170717083549 DOT GA3345 AT calimero DOT vinschen DOT de> <20170717090522 DOT GB3345 AT calimero DOT vinschen DOT de>
From: Erik Bray <erik DOT m DOT bray AT gmail DOT com>
Date: Tue, 18 Jul 2017 17:49:00 +0200
Message-ID: <CAOTD34bWPjLbKUJjiyCY23G9ZbjfCkyNepqd3g+0xKc49A+OFw@mail.gmail.com>
Subject: Re: rebase segmentation fault
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Mon, Jul 17, 2017 at 11:05 AM, 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

Thanks! I've been bitten by this in the past as well, but wasn't
sufficiently motivated to chase down the fix once I knew what the
problem was :)

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

- Raw text -


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