btrfs device stats /dev/mapper/ext4 SEGV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-progs.git

I can repeatedly get the following SEGV from running "btrfs device stats" on a 
device node for an Ext3/4 filesystem.  This happens with the version of the 
code downloaded from the above GIT repository as well as with an older 
version.  Obviously the command in question is not going to do anything useful 
when run against a non-BTRFS filesystem, but it should do something other than 
crash.

Program received signal SIGSEGV, Segmentation fault.
0x000000000045842d in get_fs_info (path=0x7fffffffce60 "/boot", 
    fi_args=0x7fffffffe6c0, di_ret=0x7fffffffe6b8) at utils.c:1560
1560                    fi_args->max_id = fs_devices_mnt->latest_devid;
(gdb) bt
#0  0x000000000045842d in get_fs_info (path=0x7fffffffce60 "/boot", 
    fi_args=0x7fffffffe6c0, di_ret=0x7fffffffe6b8) at utils.c:1560
#1  0x0000000000408576 in cmd_dev_stats (argc=2, argv=0x7fffffffec78)
    at cmds-device.c:331
#2  0x0000000000404177 in handle_command_group (grp=0x684660, argc=2, 
    argv=0x7fffffffec78) at btrfs.c:154
#3  0x0000000000408830 in cmd_device (argc=3, argv=0x7fffffffec70)
    at cmds-device.c:410
#4  0x000000000040450e in main (argc=3, argv=0x7fffffffec70) at btrfs.c:296

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux