FS#29701 - btrfs-convert segfaults

Attached to Project: Arch Linux
Opened by Mike Swanson (chungy) - Tuesday, 01 May 2012, 22:24 GMT
Last edited by Allan McRae (Allan) - Saturday, 02 June 2012, 11:28 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
btrfs-convert segfaults on trying to convert an ext4 volume to btrfs. The following shows up in /var/log/kernel.log:
May 1 15:16:17 localhost kernel: [ 9376.251983] btrfs-convert[4820] general protection ip:7f1890798058 sp:7fff7fb89390 error:0 in libext2fs.so.2.4[7f189077a000+40000]

Additional info:
Following packages are installed,
btrfs-progs 0.19.20120328-2
e2fsprogs 1.42.2-1

Steps to reproduce:
This seems to happen on any ext4 volume I've tried (I don't know if the issue manifests for ext2 or ext3 volumes as well). It's simple to see it fail by making a test volume/file, eg:
1. fallocate -l 10g filesystem.img
2. mkfs.ext4 ./filesystem.img
3. btrfs-convert ./filesystem.img
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 02 June 2012, 11:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  e3fsprogs-1.42.3
Comment by Tom Gundersen (tomegun) - Tuesday, 08 May 2012, 12:54 GMT
I reported this upstream (on IRC), so hopefully we'll see a fix soon. Thanks for reporting :-)
Comment by Matt Peterson (ricochet1k) - Monday, 14 May 2012, 22:06 GMT
Upgrading e2fsprogs to the latest version (I used e2fsprogs-git from AUR) fixes this problem.
Comment by Allan McRae (Allan) - Saturday, 02 June 2012, 11:26 GMT
I am assuming the latest version of e2fsprogs being referred to is 1.42.3 and so this is fixed.

Loading...