Bug 208701 - Tar downgrade causes segmentation fault
Summary: Tar downgrade causes segmentation fault
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tar
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Ben Levenson
URL:
Whiteboard:
: 209254 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-30 12:26 UTC by Robert Scheck
Modified: 2013-01-10 04:05 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-10-04 08:26:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fixed patch (156.73 KB, patch)
2006-10-01 07:55 UTC, Peter Vrabec
no flags Details | Diff

Description Robert Scheck 2006-09-30 12:26:08 UTC
Description of problem:
Using tar downgrade (with bumped Epoch) from Rawhide of today:

# rpmbuild -ba pam.spec
Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.5285
+ umask 022
+ cd /usr/src/rpm/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/rpm/BUILD
+ rm -rf Linux-PAM-0.99.6.2
+ /usr/bin/bzip2 -dc /usr/src/rpm/SOURCES/Linux-PAM-0.99.6.2.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Linux-PAM-0.99.6.2
+ /usr/bin/bzip2 -dc /usr/src/rpm/SOURCES/pam-redhat-0.99.6-2.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/gzip -dc /usr/src/rpm/SOURCES/db-4.3.29.tar.gz
+ tar -xf -
/var/tmp/rpm-tmp.5285: line 43: 16565 Done                    /bin/gzip -dc /
usr/src/rpm/SOURCES/db-4.3.29.tar.gz
     16566 Segmentation fault      | tar -xf -
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.5285 (%prep)


Fehler beim Bauen des RPMS:
    Fehler-Status beim Beenden von /var/tmp/rpm-tmp.5285 (%prep)
# 

And when switching back to tar-1.15.91-1, everything works fine.

Version-Release number of selected component (if applicable):
tar-1.15.1-17

How reproducible:
Everytime, see above.

Actual results:
Tar downgrade causes segmentation fault

Expected results:
Either a fix or a tar upgrade... ;-)

Comment 1 Peter Vrabec 2006-10-01 07:55:33 UTC
Created attachment 137494 [details]
fixed patch

problem was in uninitialized structure.

Comment 4 Peter Vrabec 2006-10-04 08:23:09 UTC
*** Bug 209254 has been marked as a duplicate of this bug. ***

Comment 5 Peter Vrabec 2006-10-04 08:26:52 UTC
fixed in tar-1.15.1-18


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