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:
Created attachment 332076 [details] Patch to fix the problem This patch fixes the problem.
Easy fix; I recommend we get this in asap. I'll let management and/or QE decide whether I should z-stream it.
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.
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.
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