From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; 0.7)
I've been trying to use RedCarpet from Ximian for the past week. However,
it never succeeds to install the packages it downloads because rpm crashes
on most of the rpm's it downloads. This also happens with the rpm-4.0-4 it
downloads, so I can not upgrade to a working rpm.
Therefor I have compiled rpm myself from the source rpm-4.0-4 src rpm.
Also this crashes, however, now I can use gdb.
It crashes in transaction.c at line 802 because otherStates = 0.
Note that approximately half of the rpm files I downloaded recently do not
crash and half of them do. I have no clue why otherStates ==0, but if you
need more information, or you can not reproduce, I can play some more with gdb.
Steps to Reproduce:
1.download for instance GConf-0.12-100_helix_2001020808.i386.rpm2.
2.su (become root)
3.rpm -Uvvh GConf-0.12-100_helix_2001020808.i386.rpm
Actual Results: Segmentation fault
Expected Results: No crash, but installation of the package
output just before segfault
D: installing binary packages
D: getting list of mounted filesystems
D: opening db index /var/lib/rpm/Group create mode=0x42
D: opening db index /var/lib/rpm/Triggername create mode=0x42
Um, try the rpm-4.0.2 packages at
as there are several known miscompilations of rpm with gcc-2.96
Meanwhile, you probably have packages in your database that are
missing the file states tag. That will cause segfaults, but never should
have happened, and how you got into that state needs to be understood.
I can tell you how to work around, but I need to be on the same sources
as you to tell you what will be needed.
It's not really a big problem, I will reinstall Red Hat 7.0 and try to
see if it works ok. However, I've done this already yesterday, and the only
packages I've installed afterwards where the one that Red Carpet tried to
download and install.
And the first one is rpm-4.0-4. And sometime after that, I got into problems...
This problem is both caused and fixed by rpm-4.0.2. Install that version.