From nobody Thu Sep 7 06:07:11 2023 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 4Rh80J3CKvz4sRXb for ; Thu, 7 Sep 2023 06:07:12 +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 4Rh80J1Wbcz3f99 for ; Thu, 7 Sep 2023 06:07:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694066832; a=rsa-sha256; cv=none; b=j5Dd/ujD30tr0cQDAjIyxMUyH1Lsf1zplKpr1S1M/nrs6JJgBFKyCJR60yKUnTwJkkMOoh bbWplnTrE4JQhTVXzbmFk6KWolytRwNIHhablTwW31r17yTK/DF7quTTroPNKINROdn5/x zsMlkjic9yAGSaUSZGiOGNGITOVxJiZDadACKYsGrSu8Paqw7HsOYlepyesMvXjLjrL4UC CRPTFb21qMWwp+ilnZQZLNrDIiOgWTErGdiu5MOOuSucfBnWdsbuRktEwHssdIY8ALqIRy DjiOXoGnpQOyeIMct161woM0RFSEAn7QqeM9jpVoo9DjzI8NONuP3CjgMgo6EQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694066832; 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; bh=SqcNYIgvd51LLnse35hYp15cmCZqaB0tRha5IwFN53g=; b=Rrn67xuv028yauoRMVGz4pzHh+woYsuh1YEn3npPxprmC0ILJ3922AUEEcvMcY/pKNHtNb 3wq5//KKs4vHjHubcE6SnAL7Vg7VM7UusMOkhBRSQjLZk/1irkCk320s6O+k6S3piEfIWy FNFZ3Jkzb2mP7f9b2E5m47RcU23Tm65VwAl5dmZHh6tSQEsVRs02DXQeiapJHQVHYKiBp5 uqe0uMwVcJtVmSdXrCm2bYCZYFxPzU31Zg9wjvrObczSkVgKjHGG3kfvhrKQlqpZMCm3ci HelmpYPGhHkAdVBq/TciYipdnN0uly5SfyMiLv3WJeyEeHl+I1w1TpG8/BXTPQ== 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 4Rh80J06cRzng7 for ; Thu, 7 Sep 2023 06:07:12 +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 38767Bfk086117 for ; Thu, 7 Sep 2023 06:07:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38767B5r086116 for bugs@FreeBSD.org; Thu, 7 Sep 2023 06:07:11 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 273610] Panic (vm_page_assert_xbusied: page 0xfffffe0001beaed8 busy_lock 0xfffffffe not owned by me) Date: Thu, 07 Sep 2023 06:07:11 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@gmail.com 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 bug_file_loc op_sys bug_status keywords 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273610 Bug ID: 273610 Summary: Panic (vm_page_assert_xbusied: page 0xfffffe0001beaed8 busy_lock 0xfffffffe not owned by me) Product: Base System Version: 15.0-CURRENT Hardware: Any URL: https://github.com/freebsd/freebsd-src/blob/07bc20e474 0d09f554c3787bb1940fc503300822/sys/vm/vm_page.c#L1173- L1183 OS: Any Status: New Keywords: crash Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: grahamperrin@gmail.com Dump header from device: /dev/ada0p2 Architecture: amd64 Architecture Version: 2 Dump Length: 1684303872 Blocksize: 512 Compression: none Dumptime: 2023-09-06 18:47:12 +0100 Hostname: mowa219-gjp4-8570p-freebsd Magic: FreeBSD Kernel Dump Version String: FreeBSD 15.0-CURRENT amd64 1500000 #10 main-n265135-07bc20e4740d-dirty: Sat Sep 2 17:36:59 BST 2023 =20=20=20 grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GE= NERIC Panic String:=20 Dump Parity: 1722260791vm_page_assert_xbusied: page 0xfffffe0001beaed8 busy_lock 0xfffffffe not owned by me @ /usr/src/sys/vm/vm_page.c:1181 Bounds: 1 Dump Status: good ---- % bectl list -c creation | tail -n 4 n265053-315ee00fa961-d - - 74.4M 2023-09-02 07:52 n265135-07bc20e4740d-a - - 139M 2023-09-02 20:12 n265135-07bc20e4740d-b - - 211M 2023-09-05 19:49 n265135-07bc20e4740d-c NR / 468G 2023-09-06 18:33 %=20 ---- Before the panic: with n265135-07bc20e4740d-b running, I created then mount= ed n265135-07bc20e4740d-c, upgraded its packages, unmounted then activated the environment, then restarted the OS.=20 If I recall correctly: the panic occurred very close to the end of the shut= down routine. ---- sysutils/panicmail panicmail.1 and panicmail.1.enc exist at /var/crash but not yet in my Gmail Inbox. ---- Unread portion of the kernel message buffer: panic: vm_page_assert_xbusied: page 0xfffffe0001beaed8 busy_lock 0xfffffffe= not owned by me @ /usr/src/sys/vm/vm_page.c:1181 cpuid =3D 3 time =3D 1694022432 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0106209= ac0 vpanic() at vpanic+0x132/frame 0xfffffe0106209bf0 panic() at panic+0x43/frame 0xfffffe0106209c50 vm_page_xunbusy_hard_unchecked() at vm_page_xunbusy_hard_unchecked/frame 0xfffffe0106209c60 swapoff_one() at swapoff_one+0x3db/frame 0xfffffe0106209d00 kern_swapoff() at kern_swapoff+0x1bc/frame 0xfffffe0106209e00 amd64_syscall() at amd64_syscall+0x138/frame 0xfffffe0106209f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0106209f30 --- syscall (582, FreeBSD ELF64, swapoff), rip =3D 0x1aab74d9745a, rsp =3D 0x1aab73279628, rbp =3D 0x1aab73279760 --- KDB: enter: panic Uptime: 14h51m24s Dumping 1606 out of 16244 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..= 91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 #1 doadump (textdump=3Dtextdump@entry=3D1) at /usr/src/sys/kern/kern_shutdown.c:405 #2 0xffffffff80b57f60 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:526 #3 0xffffffff80b5845f in vpanic ( fmt=3D0xffffffff8127f6c1 "vm_page_assert_xbusied: page %p busy_lock %#x= not owned by me @ %s:%d", ap=3Dap@entry=3D0xfffffe0106209c30) at /usr/src/sys/kern/kern_shutdown.c:970 #4 0xffffffff80b58203 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:894 #5 0xffffffff80f0d680 in vm_page_xunbusy_hard (m=3D) at /usr/src/sys/vm/vm_page.c:1181 #6 0xffffffff80ee4f9b in swap_pager_swapoff_object (sp=3D0xfffff8015fb3098= 0,=20 object=3D0xfffff8002ffd6420) at /usr/src/sys/vm/swap_pager.c:1895 #7 swap_pager_swapoff (sp=3D0xfffff8015fb30980) at /usr/src/sys/vm/swap_pager.c:1953 #8 swapoff_one (sp=3Dsp@entry=3D0xfffff8015fb30980, cred=3D= ,=20 flags=3Dflags@entry=3D0) at /usr/src/sys/vm/swap_pager.c:2573 #9 0xffffffff80ee49fc in kern_swapoff (td=3D0xfffffe01031cf020,=20 name=3D, name_seg=3DUIO_USERSPACE, flags=3D0) at /usr/src/sys/vm/swap_pager.c:2505 #10 0xffffffff8105e748 in syscallenter (td=3D) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:187 #11 amd64_syscall (td=3D0xfffffe01031cf020, traced=3D0) at /usr/src/sys/amd64/amd64/trap.c:1197 #12 #13 0x00001aab74d9745a in ?? () Backtrace stopped: Cannot access memory at address 0x1aab73279628 (kgdb)=20 ------------------------------------------------------------------------ ps -axlww =E2=80=A6 --=20 You are receiving this mail because: You are the assignee for the bug.=