From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 Description of problem: rebuilding the rpm database segfaults. rpm -qa works fine. I've attempted to use t38454 to fix it but it's not working. Here is the output with debugging on: [root@john rpm]# rpm --rebuilddb +++ RMW Packages Get Packages key (0x805a8c0,4) data (0x805a8d0,4) "#0" 38f rc 0 Get Packages key (0x805a8c0,4) data (0x805d290,9320) "#4" 44000000 rc 0 +++ RMW Packages WRITECURSOR Get Packages key (0xbffff5dc,4) data (0x8061b70,9320) "#0" deadbeef rc -30990 Segmentation fault [root@john rpm]# Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. run rpm --rebuilddb on my corrupt database 2. watch it segfault. Actual Results: [root@john rpm]# rpm --rebuilddb +++ RMW Packages Get Packages key (0x805a8c0,4) data (0x805a8d0,4) "#0" 38f rc 0 Get Packages key (0x805a8c0,4) data (0x805d290,9320) "#4" 44000000 rc 0 +++ RMW Packages WRITECURSOR Get Packages key (0xbffff5dc,4) data (0x8061b70,9320) "#0" deadbeef rc -30990 Segmentation fault [root@john rpm]# Expected Results: It rebuilds succesfully. Additional info:
What version of rpm? If not rpm-4.1, then try a --rebuilddb with rpm-4.1.
Closing due to inactivity. If this issue still occurs with current releases, please reopen and set the release in which you've encountered the problem.