Bug 431920 - yum segfaults when doing a yum update in F9-Alpha
Summary: yum segfaults when doing a yum update in F9-Alpha
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-07 20:28 UTC by Josef Bacik
Modified: 2014-01-21 23:01 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-07 21:31:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Josef Bacik 2008-02-07 20:28:30 UTC
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 20:29:17 UTC
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 20:36:49 UTC
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 20:45:30 UTC
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 20:49:57 UTC
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 21:31:07 UTC
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.