Bug 431920 - yum segfaults when doing a yum update in F9-Alpha
yum segfaults when doing a yum update in F9-Alpha
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Panu Matilainen
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-02-07 15:28 EST by Josef Bacik
Modified: 2014-01-21 18:01 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-07 16:31:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Josef Bacik 2008-02-07 15:28:30 EST
Description of problem:
First time I installed F9 i forgot to install kde, so I did a yum groupinstall KDE and after it 
did all of the transaction stuff it started to actually install my packages, and then I got a 
Bus error when it tried to install NSS.  After this my RPM db was gone, rpm --rebuilddb 
wouldn't fix it.  I reinstalled and when it came back up I did a yum update -y.  This made 
it a little farther, installed like 20 packages of the couple hundred it needed to and it gave 
me a Bus error again.  Thankfully the last time I did a ulimit -c unlimited before I started so 
I could get a core, so I'm attaching that.  Unfortunately it died in the middle of glibc this 
time, so I'm having to go into rescue mode and reinstall glibc the fun way.

BTW this is on my powerbook, so its PPC.
Comment 1 Josef Bacik 2008-02-07 15:29:17 EST
Hmm seems the core file is too big (compressed its 29M) so if you have an ftp site you 
want me to drop it onto let me know and I can do that.
Comment 2 seth vidal 2008-02-07 15:36:49 EST
Do you have a copy of the bus error output?

I'm going to reassign this over to rpm b/c if you're in the transaction then it
is in rpm-world most likely.
Comment 3 Josef Bacik 2008-02-07 15:45:30 EST
I don't have a copy of it, it was just in the middle of installing something so it looked 
something like

Installing blah [=============== Bus Error.

and then put me back on my prompt.  The core shows that /usr/bin/python was what 
caused the core dump, if it was rpm wouldn't it say that it was created by /usr/bin/rpm?  
I'm a kernel person so I have I trust you know what you are doing, just wondering :).
Comment 4 seth vidal 2008-02-07 15:49:57 EST
yum doesn't call /usr/bin/rpm - it uses the python library. It is possible it
came from python and was still during the transaction and therefore inside the
rpm library. If you can post the core file somewhere - maybe on
people.redhat.com that'd be helpful.

Comment 5 Josef Bacik 2008-02-07 16:31:07 EST
Well i went into rescue mode, copied the new rpm from rawhide over along with its 
dependancies, muttered a few incantations and sacrificed a goat and now yum is no 
longer segfaulting.  I'll close this as the rawhide packages seem to fix the problem, tho I 
feel for anybody who tries to yum update from a base F-9 Alpha install.

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