btrfs-progs v3.14 mkfs.btrfs bug: --features long-option segfaults, -O short-option OK

2014-04-16 Thread Duncan
Using btrfs-progs v3.14: mkfs.btrfs ... --features ... segfaults. mkfs.btrfs ... -O ... works fine. * I used other long options, so it's not simply a problem parsing long options. * I tried the long option with various features; none worked, including --features list-all with no other

Re: btrfs-progs v3.14 mkfs.btrfs bug: --features long-option segfaults, -O short-option OK

2014-04-16 Thread Holger Hoffstätte
On Wed, 16 Apr 2014 06:41:44 +, Duncan wrote: Using btrfs-progs v3.14: mkfs.btrfs ... --features ... segfaults. Can reproduce (also with glibc 2.19 on Gentoo ;-) and building with debug found: (gdb) bt #0 0x76f3aaea in strlen () from /lib64/libc.so.6 #1 0x76f3a82e

Re: btrfs-progs v3.14 mkfs.btrfs bug: --features long-option segfaults, -O short-option OK

2014-04-16 Thread Holger Hoffstätte
On Wed, 16 Apr 2014 07:48:53 +, Holger Hoffstätte wrote: On Wed, 16 Apr 2014 06:41:44 +, Duncan wrote: Using btrfs-progs v3.14: mkfs.btrfs ... --features ... segfaults. Can reproduce (also with glibc 2.19 on Gentoo ;-) and building with debug found: (gdb) bt #0