Bug 206203

Summary: Rpm crashed on (invalid?) package
Product: [Fedora] Fedora Reporter: Søren Sandmann Pedersen <sandmann>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: kem, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-27 13:34:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Søren Sandmann Pedersen 2006-09-12 21:30:43 UTC
Description of problem:

rpm crashed when I attempted to install the soon-to-be attached package. Then I
tried again, and it crashed again. Then I tried once again; this time it just
hung forever.


Version-Release number of selected component (if applicable):

4.4.2-32 (the one that will be in fc6 test3, I believe)

I have only seen it once.

Additional info:

Log:

[ssp@localhost i386]$ sudo rpm -Uvh --force
compiz-0.0.13-0.25.20060817git.fc6.i386.rpm
error: rpmdbNextIterator: skipping h#    2481 Header SHA1 digest: BAD
Expected(e6731a836c8c6060756f7be5f382c548d05fb4a9) !=
(3eeca1e5551d956e72bf373ba879d1f16a67966c)
Segmentation fault
[ssp@localhost i386]$
[ssp@localhost i386]$ sudo rpm -Uvh --force
compiz-0.0.13-0.25.20060817git.fc6.i386.rpm
error: rpmdbNextIterator: skipping h#    2481 region trailer: BAD, tag
2037609573 type 1834972474 offset -1868720741 count 1668570994
Segmentation fault
[ssp@localhost i386]$ sudo rpm -Uvh --force
compiz-0.0.13-0.25.20060817git.fc6.i386.rpm
Segmentation fault

Comment 1 Jeff Johnson 2006-09-12 22:16:46 UTC
The hang is easy to fix. You *must* do
   rm f /var/lib/rpm/__db*
after every exceptional (like a segfault or a kill -9) termination
of rpm.

The package is failing sanity checks on tag values and is likely
boogered up because of how you (or someone else) copied the
package.

If you give me a ptr to the package, I'll fix the segfault and verify
exactly what is wrong with the package.

Comment 2 Jeff Johnson 2007-01-04 03:48:10 UTC
No reproducer == NOTABUG

Comment 3 Panu Matilainen 2007-06-27 13:34:52 UTC
Unable to fix without a reproducer.