Bug 671056 - yum upgrade aborts with SIGFPE in rpm
Summary: yum upgrade aborts with SIGFPE in rpm
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-20 04:50 UTC by Mamoru TASAKA
Modified: 2011-05-24 13:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-05-24 13:39:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
output of yum upgrade (3.64 KB, text/plain)
2011-01-20 04:50 UTC, Mamoru TASAKA
no flags Details
gdb log from generated core file (48.73 KB, text/plain)
2011-01-20 04:52 UTC, Mamoru TASAKA
no flags Details
result of mount (3.39 KB, text/plain)
2011-01-20 09:10 UTC, Mamoru TASAKA
no flags Details

Description Mamoru TASAKA 2011-01-20 04:50:14 UTC
Created attachment 474386 [details]
output of yum upgrade

Description of problem:
env LANG=C yum -y upgrade Thunar
was killed with SIGFPE as attached 

Version-Release number of selected component (if applicable):
rpm-4.9.0-0.beta1.1.fc15.i686
python-2.7.1-4.fc15.i686

How reproducible:
100%

Steps to Reproduce:
1. See attached
2.
3.

Comment 1 Mamoru TASAKA 2011-01-20 04:52:22 UTC
Created attachment 474387 [details]
gdb log from generated core file

Comment 2 Panu Matilainen 2011-01-20 08:36:44 UTC
Interesting. It's obvious that it crashes on division by zero but how it comes to that... What does 'mount' say on this system?

Comment 3 Mamoru TASAKA 2011-01-20 09:10:00 UTC
Created attachment 474410 [details]
result of mount

You mean this?

Comment 4 Panu Matilainen 2011-01-20 10:33:11 UTC
Yup, thats the one. Can you also post the output of the reproducer case with rpm debugging enabled? Ie "LANG=C yum --rpmverbosity=debug -y upgrade Thunar"

Do you get this crash on all rpm operations (I suppose yes) or is it somehow specific to Thunar?

Comment 5 Mamoru TASAKA 2011-01-20 12:38:36 UTC
(In reply to comment #4)
> Can you also post the output of the reproducer case with
> rpm debugging enabled? Ie "LANG=C yum --rpmverbosity=debug -y upgrade Thunar"

It seems that this does not show any different outputs compared to
my comment 0. Perhaps "--rpmverbosity=debug" works when actual transaction
is run.

By the way
# find /var/cache/yum/ -name Thunar\*rpm -or -name exo\*rpm -or -name xfce4-panel\*rpm | xargs rpm -Uvh --test

succeeds (i.e. without killed with SIGFPE)
 
> Do you get this crash on all rpm operations (I suppose yes) or is it somehow
> specific to Thunar?

For this case (i.e. yum -y upgrade Thunar), currently 100% reproducible,
however 
- As written above # rpm -Uvh --test succeeds
- And actually after this issue occured I already installed python-debuginfo,
  rpm-debuginfo with # rpm -ivh without any error.

Comment 6 Panu Matilainen 2011-01-21 12:23:10 UTC
Yum behaving differently from rpm here seems highly peculiar and I haven't been able to reproduce it. I plugged the division by zero for now so the crash should be gone in rpm-4.9.0-0.beta1.3.fc15, but this wants further investigation (the current fix feels more like treating the symptom than the disease).

Comment 7 Mamoru TASAKA 2011-01-21 16:09:55 UTC
With rpm-4.9.0-0.beta1.3.fc15.i686 this issue seems no longer
reproducible, thank you (with rpm-4.9.0-0.beta1.1.fc15.i686 it
was still reproducible).

Comment 8 Panu Matilainen 2011-05-24 13:39:05 UTC
Hmm, I thought I'd already closed this one (been fixed for quite a while now)


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