From nobody Sun Jul 24 17:46:32 2022 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LrVwS5dXPz4X7xW for ; Sun, 24 Jul 2022 17:46:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LrVwS2wwCz3MkJ for ; Sun, 24 Jul 2022 17:46:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LrVwS1zXXzRgK for ; Sun, 24 Jul 2022 17:46:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26OHkWST031589 for ; Sun, 24 Jul 2022 17:46:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26OHkWwY031587 for fs@FreeBSD.org; Sun, 24 Jul 2022 17:46:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 252700] page fault in zfsctl_snapdir_lookup Date: Sun, 24 Jul 2022 17:46:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bugs.freebsd@benshort.co.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658684792; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=O5OIQSjoCt+E5jArrtVPdhCCBG9Cg2uS4PiMpiYv/OU=; b=mC2ZdE0Ad9FjUrMJvTHvjUJw6kPZC80TcPU18dKmIcggYFLHn0l3I+cxNNcX9kqnDf/0TV GG7SVTMxeEfWFgpArDErNdjN/VNdeghgeuf62ZdD42XOVqNb7qpCkRL3/AyocSP5XAmKvF bAWJSSYYaL6tFzsZr1bYn2F1HvDPBtwKxvtKQxvC7DsdzL6ydJafrNzrE+CESsqtAoelm6 OTUWjzQgvudqYirIxvO8ZGFlUk02qT90UwH/LsT+iC/+nr+UlX/1pGpE3v3vQtNeFr1smH I6EHkpF4EsSyrVQETePCBFf9kTD52/4Ejdy9E/aBXwEWutmrCOt0h35XXcUPnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658684792; a=rsa-sha256; cv=none; b=yK4sf2iaIOHxDwvu2esOeTTQOXnIHmo/LkdtEXwmHFr3xi1+VSf7t9a5dtFgw5IrImUU8R 3ZCCkZG0kWtHQS6Jp0ZadUgERjnYTW7fxMXpG2uX6tzd0T57xhYtJPB1wN0Po+T84jNOTs nchi8mhgwEJdzX+J8MbPJtCpuxaRzloAwD7H2kGDe7wUms7FtA8tDl1cnproWOlj8m4xeM erOnZzGJsrucsSK9mW2PYHnS56rNsrQreQ77S1DsQiH66MdYkfGM+hQ702WnSOTjghE43F fC5+uq4jugMJSgDCeVzVYmLEReaGSJyB2PIGnhff6Nq7NPDnhinWwLcPidfCFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252700 bugs.freebsd@benshort.co.uk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugs.freebsd@benshort.co.uk --- Comment #2 from bugs.freebsd@benshort.co.uk --- I'm seeing the same issue on FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64 GNU gdb (GDB) 11.2 [GDB v11.2 for FreeBSD] Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-freebsd13.1". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /boot/kernel/kernel... Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid =3D 9; apic id =3D 09 fault virtual address =3D 0x0 fault code =3D supervisor read instruction, page not present instruction pointer =3D 0x20:0x0 stack pointer =3D 0x28:0xfffffe028bcc8588 frame pointer =3D 0x28:0xfffffe028bcc85a0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 1426 (rover) trap number =3D 12 panic: page fault cpuid =3D 9 time =3D 1658680663 KDB: stack backtrace: #0 0xffffffff80c69465 at kdb_backtrace+0x65 #1 0xffffffff80c1bb1f at vpanic+0x17f #2 0xffffffff80c1b993 at panic+0x43 #3 0xffffffff810afdf5 at trap_fatal+0x385 #4 0xffffffff810afe4f at trap_pfault+0x4f #5 0xffffffff81087528 at calltrap+0x8 #6 0xffffffff80cf8ab6 at vgonel+0x186 #7 0xffffffff80cf9171 at vgone+0x31 #8 0xffffffff80ce799d at vfs_hash_insert+0x26d #9 0xffffffff8216b069 at sfs_vgetx+0x149 #10 0xffffffff8216bc54 at zfsctl_snapdir_lookup+0x1e4 #11 0xffffffff80ce9bbc at lookup+0x45c #12 0xffffffff80ce8de9 at namei+0x259 #13 0xffffffff80d06953 at kern_statat+0xf3 #14 0xffffffff80d0704f at sys_fstatat+0x2f #15 0xffffffff810b06ec at amd64_syscall+0x10c #16 0xffffffff81087e3b at fast_syscall_common+0xf8 Uptime: 21h32m34s Dumping 6645 out of 130655 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%.= .91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 /usr/src/sys/amd64/include/pcpu_aux.h: No such file or directory. (kgdb) BT Undefined command: "BT". Try "help". (kgdb) bt #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown= .c:399 #2 0xffffffff80c1b71c in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:487 #3 0xffffffff80c1bb8e in vpanic (fmt=3D0xffffffff811b4fb9 "%s", ap=3D) at /usr/src/sys/kern/kern_shutdown.c:920 #4 0xffffffff80c1b993 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:844 #5 0xffffffff810afdf5 in trap_fatal (frame=3D0xfffffe028bcc84c0, eva=3D0) = at /usr/src/sys/amd64/amd64/trap.c:944 #6 0xffffffff810afe4f in trap_pfault (frame=3D0xfffffe028bcc84c0, usermode=3Dfalse, signo=3D, ucode=3D) at /usr/src/sys/amd64/amd64/trap.c:763 #7 #8 0x0000000000000000 in ?? () #9 0xffffffff8117c26c in VOP_CLOSE_APV (vop=3D0xffffffff82438a70 , a=3Da@entry=3D0xfffffe028bcc85b0) at vnode_if.c:498 #10 0xffffffff80cf8ab6 in VOP_CLOSE (vp=3D0xfffff812e9da97a0, fflag=3D4, cr= ed=3D0x0, td=3D0xfffffe0205592720) at ./vnode_if.h:249 #11 vgonel (vp=3Dvp@entry=3D0xfffff812e9da97a0) at /usr/src/sys/kern/vfs_subr.c:4088 #12 0xffffffff80cf9171 in vgone (vp=3Dvp@entry=3D0xfffff812e9da97a0) at /usr/src/sys/kern/vfs_subr.c:3963 #13 0xffffffff80ce799d in vfs_hash_insert (vp=3D0xfffff812e9da97a0, hash=3D= 2907, hash@entry=3D2345438256, flags=3Dflags@entry=3D2097152, td=3D, td@entry=3D0xfffffe0205592720, vpp=3Dvpp@entry=3D0xfffffe028bcc8c30, fn=3D<= optimized out>, arg=3D0xfffff81b0101a000) at /usr/src/sys/kern/vfs_hash.c:181 #14 0xffffffff8216b069 in sfs_vnode_insert (vp=3D0xfffffe028bcc85b0, flags=3D2097152, vpp=3D0xfffffe028bcc8c30, parent_id=3D, id= =3D) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c:152 #15 sfs_vgetx (mp=3D0xfffffe028ae5ab00, flags=3Dflags@entry=3D2097152, parent_id=3Dparent_id@entry=3D2, id=3D, tag=3D, vops=3D0xffffffff82438a70 , setup=3D0xffffffff8216c360 , arg=3D0xfffffe028bcc8820, vpp=3D0xfffffe028b= cc8c30) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c:200 #16 0xffffffff8216bc54 in zfsctl_snapdir_lookup (ap=3D) at /usr/src/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_ctldir.c:954 #17 0xffffffff80ce9bbc in VOP_LOOKUP (dvp=3D0xfffff808e5418000, vpp=3D0xfffffe028bcc8c30, cnp=3D0xfffffe028bcc8c58) at ./vnode_if.h:65 #18 lookup (ndp=3Dndp@entry=3D0xfffffe028bcc8bd8) at /usr/src/sys/kern/vfs_lookup.c:1086 #19 0xffffffff80ce8de9 in namei (ndp=3Dndp@entry=3D0xfffffe028bcc8bd8) at /usr/src/sys/kern/vfs_lookup.c:616 #20 0xffffffff80d06953 in kern_statat (td=3D0xfffffe0205592720, flag=3D, fd=3D-100, path=3D0x0, pathseg=3D(unknown: 0x5592c30), pathseg@entry=3DUIO_USERSPACE, sbp=3Dsbp@entry=3D0xfffffe028bcc8d18, hook= =3D0x0) at /usr/src/sys/kern/vfs_syscalls.c:2441 #21 0xffffffff80d0704f in sys_fstatat (td=3D0xfffffe028bcc85b0, uap=3D0xfffffe0205592b08) at /usr/src/sys/kern/vfs_syscalls.c:2418 #22 0xffffffff810b06ec in syscallenter (td=3D0xfffffe0205592720) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:189 #23 amd64_syscall (td=3D0xfffffe0205592720, traced=3D0) at /usr/src/sys/amd64/amd64/trap.c:1185 #24 #25 0x000000080134139a in ?? () Backtrace stopped: Cannot access memory at address 0x7fffffffde18 --=20 You are receiving this mail because: You are the assignee for the bug.=