A brief update:

I can also reproducee the crash on Ubuntu 21.10 / e2fsck 1.46.3:


# e2fsck -v -z e2fsck.undofile.2022-03-20 /dev/mapper/md125_crypt
e2fsck 1.46.3 (27-Jul-2021)
Overwriting existing filesystem; this can be undone using the command:
    e2undo e2fsck.undofile.2022-03-20 /dev/mapper/md125_crypt

ext2fs_check_desc: Corrupt group descriptor: bad block for block bitmap
e2fsck: Group descriptors look bad... trying backup blocks...
Signal (11) SIGSEGV si_code=SEGV_MAPERR fault addr=0x178
e2fsck(+0x31e3e)[0x55deba41ce3e]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fc444c0a520]
/lib/x86_64-linux-gnu/libext2fs.so.2(ext2fs_close2+0x134)[0x7fc444e59b44]
/lib/x86_64-linux-gnu/libext2fs.so.2(ext2fs_close_free+0x1a)[0x7fc444e59bba]
e2fsck(main+0xebd)[0x55deba3fcb6d]
/lib/x86_64-linux-gnu/libc.so.6(+0x29fd0)[0x7fc444bf1fd0]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x7d)[0x7fc444bf207d]
e2fsck(_start+0x25)[0x55deba3feff5]


If I run "e2fsck -v /dev/mapper/md125_crypt" (without -z), e2fsck 1.46.3
does not crash.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962789

Title:
  e2fsck crashes with Signal (11) SIGSEGV when using undo-file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1962789/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to