Date: Sat, 25 Apr 2020 10:57:24 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 245907] fsck segfaults with gjournal Message-ID: <bug-245907-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245907 Bug ID: 245907 Summary: fsck segfaults with gjournal Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: cryptogranny@gmail.com I use combination of ufs+gjournal volumes /dev/ada0p2 on / (ufs, local, noatime, journaled soft-updates) /dev/label/home on /usr/home (ufs, local, gjournal) and when I outage the VM with reset, fsck successfully checks the FS with S= U, then fails on checking the second FS, init drops to shell. Also after manual examination the FS with gjournal log already has a clean status. Below is bootlog where I run fsck with debugger.=20 Trying to mount root from ufs:/dev/ada0p2 [rw,noatime]... uhub1: 8 ports with 8 removable, self powered Enter passphrase for ada1p1: uhub0: 8 ports with 8 removable, self powered GEOM_ELI: Device ada1p1.eli created. GEOM_ELI: Encryption: AES-XTS 256 GEOM_ELI: Crypto: software GEOM_JOURNAL: Journal 1212489781: ada1p1.eli contains data. GEOM_JOURNAL: Journal 1212489781: ada1p1.eli contains journal. WARNING: / was not properly dismounted WARNING: /: mount pending error: blocks 32 files 0 GEOM_JOURNAL: Journal ada1p1.eli consistent. Setting hostuuid: f145b4bd-15db-4390-8ee5-f8675e40513f. Setting hostid: 0x72fcbc5f. Starting file system checks: background with debugger GNU gdb (GDB) 9.1 [GDB v9.1 for FreeBSD] Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm= l> 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-portbld-freebsd12.1". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. 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 /sbin/fsck... (No debugging symbols found in /sbin/fsck) Starting program: /sbin/fsck -F -p [Detaching after vfork from child process 53] [Detaching after vfork from child process 54] ** SU+J Recovering /dev/ada0p2 ** Reading 33554432 byte journal from inode 4. ** Building recovery table. ** Resolving unreferenced inode list. ** Processing journal entries. ** 6 journal records in 1024 bytes for 18.75% utilization ** Freed 1 inodes (0 dirs) 0 blocks, and 0 frags. ***** FILE SYSTEM MARKED CLEAN ***** [Detaching after vfork from child process 55] [Detaching after vfork from child process 56] pid 56 (fsck_ufs), jid 0, uid 0: exited on signal 11 fsck: /dev/label/home: Segmentation fault [Inferior 1 (process 52) exited with code 01] (gdb) bt No stack. (gdb) quit Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg 32-bit compatibility ldconfig path: /usr/lib32 Setting hostname: bewitched. Please feel free to request for more information. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245907-227>