From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30332 invoked by alias); 18 Jul 2017 15:49:05 -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 30315 invoked by uid 89); 18 Jul 2017 15:49:04 -0000 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 Received: from mail-yw0-f181.google.com (HELO mail-yw0-f181.google.com) (209.85.161.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Jul 2017 15:49:03 +0000 Received: by mail-yw0-f181.google.com with SMTP id a12so9182607ywh.3 for ; Tue, 18 Jul 2017 08:49:02 -0700 (PDT) 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 Received: by 10.37.2.200 with HTTP; Tue, 18 Jul 2017 08:49:00 -0700 (PDT) In-Reply-To: <20170717090522.GB3345@calimero.vinschen.de> References: <20170717083549.GA3345@calimero.vinschen.de> <20170717090522.GB3345@calimero.vinschen.de> From: Erik Bray Date: Tue, 18 Jul 2017 16:30:00 -0000 Message-ID: Subject: Re: rebase segmentation fault To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg00266.txt.bz2 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