Mailinglist Archive: opensuse (4219 mails)

< Previous Next >
Re: [opensuse] rpm segfaulting
  • From: Adi Pircalabu <adi@xxxxxxxxxxxxx>
  • Date: Sat, 02 Dec 2006 04:16:55 +0200
  • Message-id: <4570E217.5010701@xxxxxxxxxxxxx>
Carlos E. R. wrote:
>
> The Saturday 2006-12-02 at 14:00 +0100, Anders Johansson wrote:
>
>> When rpm segfaults, the first thing to try is rpm --rebuilddb
>
> nimrodel:~ # rpm --rebuilddb
> Segmentation fault
> nimrodel:~ #
>
> Seems recursive advice :-P

Not nice :)
Try this:
- boot single user (init 1)
- make sure you have stopped everything related to zmd. Eventually
rename /usr/lib/zmd/zmd.exe (I guess, I don't have it installed,
unfortunately it's still way too horribly broken to use it).
- rm /var/lib/rpm/_db* && rpm --rebuilddb
If it still crashes, try running it using strace, e.g.:
strace -f -ff -F -e trace=open rpm --rebuilddb
In the end, try to do what Anders said: get a core file, install
debuginfo rpm package and send the backtrace to rpm maintainers.

--
Adi Pircalabu


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups