Bug 771320

Summary: segfault on machine with not enough free disk space
Product: Red Hat Enterprise Linux 5 Reporter: Petr Sklenar <psklenar>
Component: zipAssignee: Michal Luscon <mluscon>
Status: CLOSED NEXTRELEASE QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 962445 (view as bug list) Environment:
Last Closed: 2013-03-14 16:56:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Sklenar 2012-01-03 10:26:16 UTC
Description of problem:
There is segfault on machine with not enough free disk space

Version-Release number of selected component (if applicable):
zip from rhel58 distro

How reproducible:
deterministic

Steps to Reproduce:
have a machine with few gb free space and then:
0. file4gb=`mktemp`
1. archive4gb=`mktemp`
2. dd if=/dev/zero of=$file4gb bs=1M count=4096
3. zip $archive4gb $file4gb
  
Actual results:

/usr/share/beakerlib//testing.sh: line 728: 20222 Segmentation fault      zip /tmp/tmp.zxcnW18374 /tmp/tmp.ytRDt18371
:: [   FAIL   ] :: Archiving 4GB file (Expected 6, got 139)


Expected results:
zip fail with info msg "not enough free disk space"
but no segfault

Additional info:

Comment 2 RHEL Program Management 2012-06-12 01:21:08 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 3 Michal Luscon 2013-03-14 16:56:25 UTC
RHEL-5.10 (the next RHEL-5 minor release) is going to be the first
production phase 2 [1] release of RHEL-5. Since phase 2 we'll be
addressing only security and critical issues.
This one issue is fixed in RHEL-6 therefore I am closing the bug as
NEXTRELEASE.

[1] https://access.redhat.com/support/policy/updates/errata/