Bug 206203 - Rpm crashed on (invalid?) package
Summary: Rpm crashed on (invalid?) package
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-12 21:30 UTC by Søren Sandmann Pedersen
Modified: 2014-06-18 09:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-06-27 13:34:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.