From nobody Mon Sep 13 13:41:21 2021 X-Original-To: bugs@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 7607617A4070 for ; Mon, 13 Sep 2021 13:41:21 +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 4H7SLT2rN1z3M5C for ; Mon, 13 Sep 2021 13:41:21 +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 41E4627EEB for ; Mon, 13 Sep 2021 13:41:21 +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 18DDfL8n047497 for ; Mon, 13 Sep 2021 13:41:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 18DDfLjk047496 for bugs@FreeBSD.org; Mon, 13 Sep 2021 13:41:21 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: bugs@FreeBSD.org Subject: [Bug 258477] panic: Assertion stp->st_flags == 0 failed (smbfs issue?) Date: Mon, 13 Sep 2021 13:41:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arichardson@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258477 Bug ID: 258477 Summary: panic: Assertion stp->st_flags =3D=3D 0 failed (smbfs issue?) Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: arichardson@FreeBSD.org With latest HEAD (base 41b0190cc404e21cb8b430602eabfedc20107471) I am seeing the following panic during shutdown after running kyua tests and copying the result to smbfs: ``` *** FINAL System shutdown message from root@freebsd-amd64 *** System going down IMMEDIATELY System shutdown time has arrived Sep 13 13:36:47 freebsd-amd64 shutdown[81601]: power-down by root: Stopping sshd. Stopping rpcbind. Stopping devd. Writing entropy file: . Writing early boot entropy file: . Terminated . Sep 13 13:36:47 freebsd-amd64 syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop... done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining... 1 1 lock order reversal: 1st 0xfffff80003f5f230 syncer (syncer, lockmgr) @ /local/scratch/alr48/cheri/freebsd/sys/kern/vfs_subr.c:2617 2nd 0xfffff80003b445b0 mntfs (mntfs, lockmgr) @ /local/scratch/alr48/cheri/freebsd/sys/ufs/ffs/ffs_vfsops.c:1889 lock order syncer -> mntfs attempted at: #0 0xffffffff80c830a4 at witness_checkorder+0xbe4 #1 0xffffffff80be2cc2 at lockmgr_lock_flags+0x182 #2 0xffffffff80d178c4 at _vn_lock+0x54 #3 0xffffffff80f39356 at ffs_sync+0x2e6 #4 0xffffffff80d0b36b at sync_fsync+0xeb #5 0xffffffff80d087fc at sched_sync+0x42c #6 0xffffffff80bcc170 at fork_exit+0x80 #7 0xffffffff810a195e at fork_trampoline+0xe 1 0 0 done Waiting (max 60 seconds) for system thread `bufdaemon' to stop... done Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to stop... do= ne All buffers synced. panic: Assertion stp->st_flags =3D=3D 0 failed at /local/scratch/alr48/cheri/freebsd/sys/kern/sys_generic.c:2027 cpuid =3D 0 time =3D 1631540211 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0093cee= b50 vpanic() at vpanic+0x17f/frame 0xfffffe0093ceeba0 panic() at panic+0x43/frame 0xfffffe0093ceec00 seltdfini() at seltdfini+0xa0/frame 0xfffffe0093ceec20 exit1() at exit1+0x488/frame 0xfffffe0093ceec80 kproc_exit() at kproc_exit+0xa9/frame 0xfffffe0093ceecb0 smb_iod_thread() at smb_iod_thread+0x354/frame 0xfffffe0093ceecf0 fork_exit() at fork_exit+0x80/frame 0xfffffe0093ceed30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0093ceed30 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KDB: enter: panic [ thread pid 812 tid 100098 ] Stopped at kdb_enter+0x37: movq $0,0x1288f3e(%rip) db> ``` --=20 You are receiving this mail because: You are the assignee for the bug.=