Received: with ECARTIS (v1.0.0; list xfs); Thu, 21 Feb 2008 01:53:39 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-r574664 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m1L9rZIr029370 for ; Thu, 21 Feb 2008 01:53:36 -0800 X-ASG-Debug-ID: 1203587640-50cf004f0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from lucidpixels.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id CC050E811EB for ; Thu, 21 Feb 2008 01:54:01 -0800 (PST) Received: from lucidpixels.com (lucidpixels.com [75.144.35.66]) by cuda.sgi.com with ESMTP id 3cdVYZEAqosU5TAE for ; Thu, 21 Feb 2008 01:54:01 -0800 (PST) Received: by lucidpixels.com (Postfix, from userid 1001) id 829481C000267; Thu, 21 Feb 2008 04:54:00 -0500 (EST) Date: Thu, 21 Feb 2008 04:54:00 -0500 (EST) From: Justin Piszcz To: xfs@oss.sgi.com X-ASG-Orig-Subj: xfs_db on non-XFS FS causes a core dump (2.9.5-1) Subject: xfs_db on non-XFS FS causes a core dump (2.9.5-1) Message-ID: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Barracuda-Connect: lucidpixels.com[75.144.35.66] X-Barracuda-Start-Time: 1203587641 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.0 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.42741 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV 0.91.2/5907/Wed Feb 20 23:22:33 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 14553 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: jpiszcz@lucidpixels.com Precedence: bulk X-list: xfs Checking fragmentation on a non-XFS filesystem causes xfs_db to core dump. # xfs_db -c frag -f /dev/sda xfs_db: unexpected XFS SB magic number 0xfaeb2101 xfs_db: read failed: Invalid argument xfs_db: data size check failed cache_node_purge: refcount was 1, not zero (node=0x80dd670) xfs_db: cannot read root inode (22) cache_node_purge: refcount was 1, not zero (node=0x80dd770) xfs_db: cannot read realtime bitmap inode (22) Segmentation fault (core dumped) # dpkg -l | grep xfsprogs ii xfsprogs 2.9.5-1 Core was generated by `xfs_db -c frag -f /dev/sda'. Program terminated with signal 11, Segmentation fault. #0 0xb7ef3350 in pthread_mutex_lock () from /lib/libpthread.so.0 (gdb) bt #0 0xb7ef3350 in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0x080ab31a in ?? () #2 0x0000001c in ?? () #3 0x38006590 in ?? () #4 0x00000000 in ?? () # xfs_db -c frag -f /dev/sda2 actual 208581, ideal 197229, fragmentation factor 5.44%