Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Sep 2023 06:07:11 +0000
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)
Message-ID:  <bug-273610-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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<unavailable>)
    at /usr/src/sys/kern/kern_shutdown.c:894
#5  0xffffffff80f0d680 in vm_page_xunbusy_hard (m=3D<unavailable>)
    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<optimized out>=
,=20
    flags=3Dflags@entry=3D0) at /usr/src/sys/vm/swap_pager.c:2573
#9  0xffffffff80ee49fc in kern_swapoff (td=3D0xfffffe01031cf020,=20
    name=3D<optimized out>, name_seg=3DUIO_USERSPACE, flags=3D0)
    at /usr/src/sys/vm/swap_pager.c:2505
#10 0xffffffff8105e748 in syscallenter (td=3D<optimized out>)
    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 <signal handler called>
#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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273610-227>