http://bugzilla.suse.com/show_bug.cgi?id=1018267 Bug ID: 1018267 Summary: btrfs-image segv Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: lpechacek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- SIGSEGV while trying to dump a mounted file system. fm:~ # mount | fgrep sda10 /dev/sda10 on /data type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/) fm:~ # btrfs filesystem show /dev/sda10 Label: none uuid: d8c4713c-36dc-4727-a9cb-a2aa743aadb9 Total devices 1 FS bytes used 127.08GiB devid 1 size 355.26GiB used 131.07GiB path /dev/sda10 fm:~ # btrfs-image -c 9 /dev/sda10 /dev/shm/image WARNING: The device is mounted. Make sure the filesystem is quiescent. Segmentation fault (core dumped) fm:~ # gdb btrfs-image -ex 'run -c 9 /dev/sda10 /dev/shm/image' GNU gdb (GDB; openSUSE Leap 42.2) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://bugs.opensuse.org/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from btrfs-image...Reading symbols from /usr/lib/debug/usr/sbin/btrfs-image.debug...done. done. Starting program: /sbin/btrfs-image -c 9 /dev/sda10 /dev/shm/image [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". WARNING: The device is mounted. Make sure the filesystem is quiescent. [New Thread 0x7ffff71be700 (LWP 17793)] [New Thread 0x7ffff69bd700 (LWP 17794)] [New Thread 0x7ffff61bc700 (LWP 17795)] [New Thread 0x7ffff59bb700 (LWP 17796)] Thread 1 "btrfs-image" received signal SIGSEGV, Segmentation fault. 0x00007ffff72503c0 in __memcpy_sse2_unaligned () from /lib64/libc.so.6 Missing separate debuginfos, use: zypper install glibc-debuginfo-2.22-3.7.x86_64 libblkid1-debuginfo-2.28-5.10.x86_64 libuuid1-debuginfo-2.28-5.10.x86_64 libz1-debuginfo-1.2.8-8.5.x86_64 (gdb) bt #0 0x00007ffff72503c0 in __memcpy_sse2_unaligned () from /lib64/libc.so.6 #1 0x0000000000439cad in btrfs_item_key (nr=<optimized out>, disk_key=0x7fffffffdb90, eb=0x66c180) at ctree.h:1719 #2 btrfs_item_key_to_cpu (nr=<optimized out>, key=0x7fffffffdb70, eb=0x66c180) at ctree.h:1820 #3 copy_from_extent_tree (path=0x65ff70, metadump=0x7fffffffdbb0) at btrfs-image.c:1248 #4 create_metadump (input=input@entry=0x7fffffffe2f2 "/dev/sda10", out=out@entry=0x652010, num_threads=num_threads@entry=4, compress_level=compress_level@entry=9, sanitize=sanitize@entry=0, walk_trees=walk_trees@entry=0) at btrfs-image.c:1362 #5 0x0000000000409533 in main (argc=<optimized out>, argv=0x7fffffffde38) at btrfs-image.c:2800 (gdb) quit A debugging session is active. Inferior 1 [process 17789] will be killed. Quit anyway? (y or n) y fm:~ # rpm -V btrfsprogs fm:~ # rpm -q --qf '%{disturl}\n' btrfsprogs obs://build.opensuse.org/openSUSE:Leap:42.2/standard/3aaa120736da5fc95bfe52abfa378136-btrfsprogs -- You are receiving this mail because: You are on the CC list for the bug.