This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rebase segmentation fault

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:

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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]