Bug 482894
Summary: | segfault in e4fsprogs stats if device is not opened | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Andrew Hecox <ahecox> | ||||
Component: | e4fsprogs | Assignee: | Eric Sandeen <esandeen> | ||||
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE <qe-baseos-auto> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.3 | ||||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-09-02 10:03:49 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
Andrew Hecox
2009-01-28 18:19:50 UTC
Created attachment 330267 [details]
check for open fs before referencing
I didn't check fedora's sources, I'd guess the issue is there too. It appears that this is a regression: [root@mythbox ~]# debugfs debugfs 1.40.4 (31-Dec-2007) debugfs: stats stats: Filesystem not open debugfs: but: [root@mythbox2 ~]# debugfs sdebugfs 1.41.3 (12-Oct-2008) debugfs: stats Segmentation fault Thanks for the report Andrew! Patch seems about right, I think this change: commit 8fdf29117f922419bd5b3f741e5d554b1d5b8893 Author: Jose R. Santos <jrs.com> Date: Sun Oct 21 21:03:57 2007 -0500 Make debugfs uninit block group aware which added the: + gdt_csum = EXT2_HAS_RO_COMPAT_FEATURE(current_fs->super, + EXT4_FEATURE_RO_COMPAT_GDT_CSUM); before the open fs check is what broke it. Needs upstream fixing too. -Eric oh geez, I didn't even notice the check was later. ...lunch time patching. Thanks Eric. I've sent a patch upstream & committed to rawhide so far. Thanks Andrew! s/b fixed in e2fsprogs-1.41.4-2.el5 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/RHBA-2009-1413.html |