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 h# 1538 Header V3 DSA signature: OK, key ID 26752624 > error: rpmdb: damaged header #1538 retrieved -- skipping. > ==740== > ==740== Process terminating with default action of signal 11 (SIGSEGV) > ==740== Bad permissions for mapped region at address 0x4217000 > ==740== at 0x4C23414: memcpy (mc_replace_strmem.c:482) > ==740== by 0x6900C8B: __db_goff_rpmdb (db_overflow.c:174) > ==740== by 0x690F487: __db_ret_rpmdb (db_ret.c:46) > ==740== by 0x68E7F1E: __dbc_get_rpmdb (db_cam.c:868) > ==740== by 0x68F8607: __dbc_get_pp_rpmdb (db_iface.c:2095) > ==740== by 0x533A718: db3cget (db3.c:765) > ==740== by 0x53250F9: dbiGet (rpmdb.h:643) > ==740== by 0x532AD5A: rpmmiGet (rpmdb.c:2472) > ==740== by 0x532B2EF: rpmmiNext (rpmdb.c:2563) > ==740== by 0x53303F7: rpmdbRebuild (rpmdb.c:4198) > ==740== by 0x50C2730: rpmtsRebuildDB (rpmts.c:146) > ==740== by 0x404801: main (rpmqv.c:765) > ==740== Invalid free() / delete / delete[] > ==740== at 0x4C21A58: free (vg_replace_malloc.c:325) > ==740== by 0x5D5911A: ??? (in /lib64/libc-2.10.1.so) > ==740== by 0x5D58CB1: ??? (in /lib64/libc-2.10.1.so) > ==740== by 0x4A1D518: _vgnU_freeres (vg_preloaded.c:62) > ==740== by 0x7FEFFF60F: ??? > ==740== by 0x6900C8B: __db_goff_rpmdb (db_overflow.c:174) > ==740== by 0x690F487: __db_ret_rpmdb (db_ret.c:46) > ==740== by 0x68E7F1E: __dbc_get_rpmdb (db_cam.c:868) > ==740== by 0x68F8607: __dbc_get_pp_rpmdb (db_iface.c:2095) > ==740== by 0x533A718: db3cget (db3.c:765) > ==740== by 0x53250F9: dbiGet (rpmdb.h:643) > ==740== by 0x532AD5A: rpmmiGet (rpmdb.c:2472) > ==740== Address 0x403b398 is not stack'd, malloc'd or (recently) free'd > ==740==
(from #rpm irc) There is something funky here. Reverting the rpmmiGet() patch that is doing PROT_READ is fine for now. But if headers can be PROT_READ protected, there's no reason for any signature/digest/sanity checks on header blob's any more. But also try rpm -qavv --nosignature and see if that "works". FWIW, given your /var/lib/rpm/Packages file, I'm able to do rpm -qavv and --rebuilddb using rpm-5.2 on F11 (and some minor debugging patches I can send along if needed) without difficulty. hth 73 de Jeff
smime.p7s
Description: S/MIME cryptographic signature