Date: Thu, 20 Feb 2020 09:55:43 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Message-ID: <bug-244241-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244241 Bug ID: 244241 Summary: ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: aleksandr.fedorov@itglobal.com After creating 10-20 ngethN interfaces (ngctl mkpeer . eiface test ether), I observe the following panic: Unread portion of the kernel message buffer:=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 cpuid =3D 2=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 time =3D 1582189253=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 KDB: stack backtrace:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe027869a= 520=20=20 vpanic() at vpanic+0x185/frame 0xfffffe027869a580=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 panic() at panic+0x43/frame 0xfffffe027869a5e0=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 epoch_wait_preempt() at epoch_wait_preempt+0x293/frame 0xfffffe027869a640= =20=20=20=20=20=20=20 if_alloc_domain() at if_alloc_domain+0x1d0/frame 0xfffffe027869a680=20=20= =20=20=20=20=20=20=20=20=20=20=20 ng_eiface_constructor() at ng_eiface_constructor+0x74/frame 0xfffffe027869a= 6c0=20=20 ng_make_node() at ng_make_node+0xba/frame 0xfffffe027869a6f0 ng_mkpeer() at ng_mkpeer+0x24/frame 0xfffffe027869a740 ng_apply_item() at ng_apply_item+0x49d/frame 0xfffffe027869a7c0 ng_snd_item() at ng_snd_item+0x2b0/frame 0xfffffe027869a800 ngc_send() at ngc_send+0x1b7/frame 0xfffffe027869a8b0 sosend_generic() at sosend_generic+0x44c/frame 0xfffffe027869a960 sosend() at sosend+0x66/frame 0xfffffe027869a990=20 kern_sendit() at kern_sendit+0x21d/frame 0xfffffe027869aa20 sendit() at sendit+0x1d5/frame 0xfffffe027869aa70 sys_sendto() at sys_sendto+0x4d/frame 0xfffffe027869aac0 amd64_syscall() at amd64_syscall+0x168/frame 0xfffffe027869abf0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe027869abf0 --- syscall (133, FreeBSD ELF64, sys_sendto), rip =3D 0x800475c3a, rsp =3D 0x7fffffffce08, rbp =3D 0x7fffffffce50 --- Uptime: 18h46m4s Dumping 8823 out of 130910 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%.= .91% __curthread () at /afedorov/freebsd-develop/sys/amd64/include/pcpu_aux.h:55 55 /afedorov/freebsd-develop/sys/amd64/include/pcpu_aux.h: No such fil= e or directory. (kgdb) bt #0 __curthread () at /afedorov/freebsd-develop/sys/amd64/include/pcpu_aux.= h:55 #1 doadump (textdump=3D1) at /afedorov/freebsd-develop/sys/kern/kern_shutdown.c:393 #2 0xffffffff80bc7c50 in kern_reboot (howto=3D260) at /afedorov/freebsd-develop/sys/kern/kern_shutdown.c:480 #3 0xffffffff80bc80ad in vpanic (fmt=3D<optimized out>, ap=3D<optimized ou= t>) at /afedorov/freebsd-develop/sys/kern/kern_shutdown.c:910 #4 0xffffffff80bc7e03 in panic (fmt=3D<unavailable>) at /afedorov/freebsd-develop/sys/kern/kern_shutdown.c:836 #5 0xffffffff80c0c9e3 in epoch_wait_preempt (epoch=3D0xfffff8010691ef00) at /afedorov/freebsd-develop/sys/kern/subr_epoch.c:610 #6 0xffffffff80cd1fe0 in if_alloc_domain (type=3D6 '\006', numa_domain=3D2= 55) at /afedorov/freebsd-develop/sys/net/if.c:541 #7 0xffffffff82e6a094 in ng_eiface_constructor (node=3D0xfffff801fa8df900)= at /afedorov/freebsd-develop/sys/netgraph/ng_eiface.c:393 #8 0xffffffff82e6d0ba in ng_make_node (typename=3D0xfffff801f5238538 "eifa= ce", nodepp=3D0xfffffe027869a708) at /afedorov/freebsd-develop/sys/netgraph/ng_base.c:618 #9 0xffffffff82e71d74 in ng_mkpeer (node=3D0xfffff801fa8df800, name=3D0xfffff801f5238558 "test", name2=3D0xfffff801f5238578 "ether", type=3D<unavailable>) at /afedorov/freebsd-develop/sys/netgraph/ng_base.c:1547 #10 0xffffffff82e6fbbd in ng_generic_msg (here=3D0xfffff801fa8df800, item=3D0xfffff812b7f86080, lasthook=3D<optimized out>) at /afedorov/freebsd-develop/sys/netgraph/ng_base.c:2538 #11 ng_apply_item (node=3D0xfffff801fa8df800, item=3D0xfffff812b7f86080, rw=3D<optimized out>) at /afedorov/freebsd-develop/sys/netgraph/ng_base.c:2= 438 #12 0xffffffff82e6f520 in ng_snd_item (item=3D0xfffff812b7f86080, flags=3D0= ) at /afedorov/freebsd-develop/sys/netgraph/ng_base.c:2321 #13 0xffffffff82e79db7 in ngc_send (so=3D<optimized out>, flags=3D<optimize= d out>, m=3D0xfffff802c6a2b000, addr=3D<optimized out>, control=3D<optimized out>, td=3D<optimized out>) at /afedorov/freebsd-develop/sys/netgraph/ng_socket.c:342 #14 0xffffffff80c678fc in sosend_generic (so=3D0xfffffe01e5d28710, addr=3D0xfffff801071785f0, uio=3D0xfffffe027869a9a8, top=3D0xfffff802c6a2b0= 00, control=3D<optimized out>, flags=3D0,=20 td=3D0xfffffe0277d02300) at /afedorov/freebsd-develop/sys/kern/uipc_socket.c:1650 #15 0xffffffff80c67b36 in sosend (so=3D<unavailable>, addr=3D<unavailable>, uio=3D<unavailable>, top=3D<unavailable>, control=3D0x0, flags=3D<unavailab= le>, td=3D0xfffffe0277d02300) at /afedorov/freebsd-develop/sys/kern/uipc_socket.c:1705 #16 0xffffffff80c6e98d in kern_sendit (td=3D<optimized out>, s=3D3, mp=3D0xfffffe027869aa80, flags=3D0, control=3D<optimized out>, segflg=3DUIO= _USERSPACE) at /afedorov/freebsd-develop/sys/kern/uipc_syscalls.c:798 #17 0xffffffff80c6ed35 in sendit (td=3D0xfffffe0277d02300, s=3D<optimized o= ut>, mp=3D0xfffffe027869aa80, flags=3D<optimized out>) at /afedorov/freebsd-develop/sys/kern/uipc_syscalls.c:723 #18 0xffffffff80c6eb4d in sys_sendto (td=3D<unavailable>, uap=3D<optimized = out>) at /afedorov/freebsd-develop/sys/kern/uipc_syscalls.c:841 #19 0xffffffff8106d8f8 in syscallenter (td=3D<optimized out>) at /afedorov/freebsd-develop/sys/amd64/amd64/../../kern/subr_syscall.c:162 #20 amd64_syscall (td=3D0xfffffe0277d02300, traced=3D0) at /afedorov/freebsd-develop/sys/amd64/amd64/trap.c:1162 #21 <signal handler called> #22 0x0000000800475c3a in ?? () Backtrace stopped: Cannot access memory at address 0x7fffffffce08 (kgdb) --=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-244241-227>