Bug 671056

Summary: yum upgrade aborts with SIGFPE in rpm
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-24 13:39:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
output of yum upgrade
none
gdb log from generated core file
none
result of mount none

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)