Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 485761 - GFS2: gfs2_tool df segfault on non-4K block size
GFS2: gfs2_tool df segfault on non-4K block size
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gfs2-utils (Show other bugs)
5.3
All Linux
low Severity medium
: rc
: ---
Assigned To: Robert Peterson
Cluster QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-16 13:00 EST by Robert Peterson
Modified: 2010-01-11 22:42 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-09-02 07:02:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to fix the problem (498 bytes, patch)
2009-02-16 13:01 EST, Robert Peterson
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1337 normal SHIPPED_LIVE Low: gfs2-utils security and bug fix update 2009-09-01 06:41:56 EDT

  None (edit)
Description Robert Peterson 2009-02-16 13:00:42 EST
Description of problem:
When a non-default block size is used for a gfs2_file system, the
gfs2_tool df command will segfault.

Version-Release number of selected component (if applicable):
RHEL5.3

How reproducible:
Always

Steps to Reproduce:
1. mkfs.gfs2 with -b 1024
2. mount -tgfs2 /dev/device /mnt/gfs2
3. gfs2_tool df /mnt/gfs2
  
Actual results:
[root@z1 ~]# gfs2_tool df /mnt/gfs2
Segmentation fault

Expected results:
No Segfault

Additional info:
Comment 1 Robert Peterson 2009-02-16 13:01:56 EST
Created attachment 332076 [details]
Patch to fix the problem

This patch fixes the problem.
Comment 2 Robert Peterson 2009-02-16 13:03:23 EST
Easy fix; I recommend we get this in asap.  I'll let management and/or
QE decide whether I should z-stream it.
Comment 3 Robert Peterson 2009-02-17 13:56:43 EST
The patch was tested on system roth-01.  It has been pushed to the
master branch of the gfs2-utils git tree and the RHEL5 branch of the
cluster.git tree for inclusion into 5.4.  Changing status to MODIFIED.
Comment 6 Jan Stodola 2009-07-24 06:28:51 EDT
No Segmentation fault on RHEL5.4 Snapshot 3, gfs2-utils-0.1.61-1.el5, arch: x86_64 in kvm. Tested with block sizes 512, 1024, 2048 and 4096.
Moving to VERIFIED.
Comment 8 errata-xmlrpc 2009-09-02 07:02:49 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-1337.html

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