I just did a fresh install of Mandriva Linux and updated to rpm 5.2 now,
and this happens:
[r...@localhost rpm]# valgrind rpm --rebuilddb -vvv --rpmdbdebug
==23457== Memcheck, a memory error detector
==23457== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==23457== Using Valgrind
On Nov 17, 2009, at 12:40 PM, Per Øyvind Karlsen wrote:
> I just did a fresh install of Mandriva Linux and updated to rpm 5.2 now,
> and this happens:
>
Yup. Attached patch avoids the segfault:
Index: rpmdb/header_internal.c
===
R
2009/11/17 Jeff Johnson
>
> On Nov 17, 2009, at 12:40 PM, Per Øyvind Karlsen wrote:
>
> > I just did a fresh install of Mandriva Linux and updated to rpm 5.2 now,
> > and this happens:
> >
>
> Yup. Attached patch avoids the segfault:
>
> Index: rpmdb/header_internal.c
> ==
On Nov 17, 2009, at 12:49 PM, Per Øyvind Karlsen wrote:
>
>
> 2009/11/17 Jeff Johnson
>
> On Nov 17, 2009, at 12:40 PM, Per Øyvind Karlsen wrote:
>
> > I just did a fresh install of Mandriva Linux and updated to rpm 5.2 now,
> > and this happens:
> >
>
> Yup. Attached patch avoids the segfa
2009/11/17 Jeff Johnson
>
> On Nov 17, 2009, at 12:49 PM, Per Øyvind Karlsen wrote:
>
>
>
> 2009/11/17 Jeff Johnson
>
>>
>> On Nov 17, 2009, at 12:40 PM, Per Øyvind Karlsen wrote:
>>
>> > I just did a fresh install of Mandriva Linux and updated to rpm 5.2 now,
>> > and this happens:
>> >
>>
>> Y
On Nov 17, 2009, at 12:49 PM, Per Øyvind Karlsen wrote:
>
> D: == DSA pubkey id dd684d7a 26752624 (h#1)
>
> D: rpmdb: read h# 769 Header V3 DSA signature: OK, key ID 26752624
>
> error: rpmdb: damaged header #769 retrieved -- skipping.
2009/11/18 Jeff Johnson
>
> On Nov 17, 2009, at 12:49 PM, Per Øyvind Karlsen wrote:
>
>
> D: == DSA pubkey id dd684d7a 26752624
> (h#1)
> D: rpmdb: read h# 769 Header V3 DSA signature: OK, key ID
> 26752624
> error: rpmdb: damaged header #769 retrieved --
> skipping.
> D: rpmdb: read
On Nov 17, 2009, at 7:56 PM, Per Øyvind Karlsen wrote:
>
> hmm, I might've misunderstood you..?
> I provided you with the rpmdb that I had rebuilt with --rebuilddb, where only
> rpm -qa foo\* didn't work.. I should've perhaps provided you the one that
> resulted in segfaults with --rebuilddb e