RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Segfault with current CVS when installing any package

From: Jeff Johnson <n3npq@mac.com>
Date: Sun 21 Oct 2007 - 17:24:03 CEST
Message-Id: <5871C6AD-A55F-4625-A6FA-1A5BAF92270E@mac.com>

On Oct 21, 2007, at 9:37 AM, Bernhard Rosenkraenzer wrote:

> Installing any package with current CVS rpm (on Linux, glibc 2.6.1,  
> gcc 4.3)
> results in a segfault.
>
> The segfault occurs in headerGetExtension(), he->t at the time is
> RPM_STRING_TYPE, he->p.str is non-NULL, but invalid (probably  
> uninitialized).
> tagName(he->tag) at the time of the crash is Sha1header.
>
> headerGetExtension is called from addTE() when the crash occurs.  
> (addTE is
> called from rpmteNew, which in turn is called from  
> rpmtsAddInstallElement).

Yup.

Try
	cvs up -D "7 days ago"
this bug is going be a pain to find.

73 de Jeff
Received on Sun Oct 21 17:25:25 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.