[Filesystems-devel] Bug#955549: f2fs-tools: fsck.f2fs segfaults
Adam Borowski
kilobyte at angband.pl
Thu Apr 2 13:01:26 BST 2020
Package: f2fs-tools
Version: 1.11.0-1.1
Severity: normal
Hi!
After a lot of output on a damaged filesystem (SD card copied to an image)
fsck.f2fs dies with:
- File name : mkfs.ext3.dpkg-new
- File size : 6 (bytes)
Program received signal SIGSEGV, Segmentation fault.
0x00005555555593ec in memcpy (__len=18446744073323892736, __src=0x55555560760c, __dest=0x7fffffffe000) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
warning: Source file is more recent than executable.
34 return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
(gdb) bt
#0 0x00005555555593ec in memcpy (__len=18446744073323892736, __src=0x55555560760c, __dest=0x7fffffffe000) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#1 convert_encrypted_name (name=name at entry=0x55555560760c " ", len=-385658880, new=new at entry=0x7fffffffe000 " ", enc_name=<optimized out>) at fsck.c:1132
#2 0x0000555555562286 in print_inode_info (sbi=0x55555557db20 <gfsck>, node=0x5555556075b0, name=1) at mount.c:183
#3 0x0000555555562a46 in print_node_info (sbi=<optimized out>, node_block=<optimized out>, verbose=<optimized out>) at mount.c:277
#4 0x0000555555560d3f in dump_node (sbi=sbi at entry=0x55555557db20 <gfsck>, nid=nid at entry=24274, force=force at entry=1) at dump.c:520
#5 0x000055555555e94c in fsck_verify (sbi=0x55555557db20 <gfsck>) at fsck.c:2568
#6 0x000055555555699b in do_fsck (sbi=0x55555557db20 <gfsck>) at main.c:569
#7 main (argc=<optimized out>, argv=<optimized out>) at main.c:726
I tried building current upstream git, also segfaults.
I have a copy of the filesystem in question from before any repair attempts.
It has no sensitive data on it, thus I can share if needed -- 14GB.
Meow!
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.6.2-00076-g18c13c0c087f (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages f2fs-tools depends on:
ii libblkid1 2.34-0.1
ii libc6 2.30-4
ii libf2fs-format4 1.11.0-1.1
ii libf2fs5 1.11.0-1.1
ii libselinux1 3.0-1+b2
ii libuuid1 2.34-0.1
f2fs-tools recommends no packages.
f2fs-tools suggests no packages.
-- no debconf information
More information about the Filesystems-devel
mailing list