From owner-freebsd-bugs@freebsd.org Thu Mar 7 10:14:24 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A88D1528A6A for ; Thu, 7 Mar 2019 10:14:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DFE7975229 for ; Thu, 7 Mar 2019 10:14:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A368D1528A69; Thu, 7 Mar 2019 10:14:23 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BEEE1528A68 for ; Thu, 7 Mar 2019 10:14:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA37E75227 for ; Thu, 7 Mar 2019 10:14:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0D97D1312B for ; Thu, 7 Mar 2019 10:14:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x27AELiM061335 for ; Thu, 7 Mar 2019 10:14:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x27AEL07061334 for bugs@FreeBSD.org; Thu, 7 Mar 2019 10:14: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 236357] [zfs] kenrel panic Date: Thu, 07 Mar 2019 10:14: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: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@5034.ru 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2019 10:14:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236357 Bug ID: 236357 Summary: [zfs] kenrel panic Product: Base System Version: 12.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: admin@5034.ru Hi All, 12.0-STABLE FreeBSD 12.0-STABLE #2 r343904M After 19 days online I've got strange crash: # kgdb /boot/kernel/kernel /var/crash/vmcore.last=20 GNU gdb (GDB) 8.2.1 [GDB v8.2.1 for FreeBSD]=20 Copyright (C) 2018 Free Software Foundation, Inc.=20 License GPLv3+: GNU GPL version 3 or later =20 This is free software: you are free to change and redistribute it.=20 There is NO WARRANTY, to the extent permitted by law.=20 Type "show copying" and "show warranty" for details.=20 This GDB was configured as "x86_64-portbld-freebsd12.0".=20 Type "show configuration" for configuration details.=20 For bug reporting instructions, please see:=20 .=20 Find the GDB manual and other documentation resources online at:=20 .=20 For help, type "help".=20 Type "apropos word" to search for commands related to "word"...=20 Reading symbols from /boot/kernel/kernel...Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug...done.=20 done.=20 Unread portion of the kernel message buffer:=20 Fatal trap 12: page fault while in kernel mode=20 cpuid =3D 1; apic id =3D 01=20 fault virtual address =3D 0xfffff80282bf3401=20 fault code =3D supervisor write data, page not present=20 instruction pointer =3D 0x20:0xffffffff826f26e0=20 stack pointer =3D 0x28:0xfffffe006475d320=20 frame pointer =3D 0x28:0xfffffe006475d320=20 code segment =3D base 0x0, limit 0xfffff, type 0x1b=20 =3D DPL 0, pres 1, long 1, def32 0, gran 1=20 processor eflags =3D interrupt enabled, resume, IOPL =3D 0=20 current process =3D 37083 (syslogd)=20 trap number =3D 12=20 panic: page fault=20 cpuid =3D 1=20 time =3D 1551808983=20 KDB: stack backtrace:=20 #0 0xffffffff80c531c7 at kdb_backtrace+0x67=20 #1 0xffffffff80c07143 at vpanic+0x1a3=20 #2 0xffffffff80c06f93 at panic+0x43=20 #3 0xffffffff8118d9ff at trap_fatal+0x35f=20 #4 0xffffffff8118da59 at trap_pfault+0x49=20 #5 0xffffffff8118d07e at trap+0x29e=20 #6 0xffffffff81168af5 at calltrap+0x8=20 #7 0xffffffff827bb83a at zil_itx_assign+0x3da=20 #8 0xffffffff827e4b99 at zfs_log_write+0x2d9=20 #9 0xffffffff827f2338 at zfs_freebsd_write+0xbc8=20 #10 0xffffffff81315acf at VOP_WRITE_APV+0xff=20 #11 0xffffffff80ce98fe at vn_write+0x1ee=20 #12 0xffffffff80ce9443 at vn_io_fault_doio+0x43=20 #13 0xffffffff80ce72da at vn_io_fault1+0x16a=20 #14 0xffffffff80ce54b5 at vn_io_fault+0x195=20 #15 0xffffffff80c70232 at dofilewrite+0xb2=20 #16 0xffffffff80c70130 at sys_writev+0x70=20 #17 0xffffffff8118e592 at amd64_syscall+0x352=20 Uptime: 19d17h37m19s=20 Dumping 1611 out of 8077 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..= 91%=20 __curthread () at ./machine/pcpu.h:230=20 230 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (OFFSETOF_CURTHREAD));=20 (kgdb) bt=20 #0 __curthread () at ./machine/pcpu.h:230=20 #1 doadump (textdump=3D) at /usr/src/sys/kern/kern_shutdown.c:366=20 #2 0xffffffff80c06d2b in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:446=20 #3 0xffffffff80c071a3 in vpanic (fmt=3D, ap=3D0xfffffe0064= 75d070) at /usr/src/sys/kern/kern_shutdown.c:872=20 #4 0xffffffff80c06f93 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:799=20 #5 0xffffffff8118d9ff in trap_fatal (frame=3D0xfffffe006475d260, eva=3D18446735288400032769) at /usr/src/sys/amd64/amd64/trap.c:929=20 #6 0xffffffff8118da59 in trap_pfault (frame=3D0xfffffe006475d260, usermod= e=3D0) at /usr/src/sys/amd64/amd64/trap.c:765=20 #7 0xffffffff8118d07e in trap (frame=3D0xfffffe006475d260) at /usr/src/sys/amd64/amd64/trap.c:441=20 #8 =20 #9 0xffffffff826f26e0 in list_insert_tail (list=3D0xfffff80048db44c8, object=3D0xfffff80182bf3400) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/os/list.c:121=20 #10 0xffffffff827bb83a in zil_itx_assign (zilog=3D0xfffff8001f588c00, itx=3D0xfffff80182bf3400, tx=3D0xfffff8004d651e00)=20 at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c:1737= =20 #11 0xffffffff827e4b99 in zfs_log_write (zilog=3D0xfffff8001f588c00, tx=3D0xfffff8004d651e00, txtype=3D365662, zp=3D0xfffff80224bbd440, off=3D36= 5662, resid=3D91, ioflag=3D8)=20 at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c:5= 25=20 #12 0xffffffff827f2338 in zfs_write (vp=3D, uio=3D, ioflag=3D, cr=3D, ct=3D)=20 at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:1203=20 #13 zfs_freebsd_write (ap=3D) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:4898=20 #14 0xffffffff81315acf in VOP_WRITE_APV (vop=3D, a=3D0xfffffe006475d788) at vnode_if.c:1000=20 #15 0xffffffff80ce98fe in VOP_WRITE (vp=3D, uio=3D, cred=3D, ioflag=3D) at ./vnode_if.h:413=20 #16 vn_write (fp=3D, uio=3D, active_cred=3D0= x5945e, flags=3D, td=3D) at /usr/src/sys/kern/vfs_vno= ps.c:881=20 #17 0xffffffff80ce9443 in vn_io_fault_doio (args=3D0xfffffe006475d9b0, uio=3D0xfffff8002ab5bd00, td=3D0xfffff8007c685000) at /usr/src/sys/kern/vfs_vnops.c:946=20 #18 0xffffffff80ce72da in vn_io_fault1 (vp=3D, uio=3D, args=3D, td=3D) at /usr/src/sys/kern/vfs_vnops.c:1064=20 #19 0xffffffff80ce54b5 in vn_io_fault (fp=3D, uio=3D0xfffff8004ebef188, active_cred=3D0xfffff80021a684b0, flags=3D, td=3D)=20 at /usr/src/sys/kern/vfs_vnops.c:1168=20 #20 0xffffffff80c70232 in fo_write (fp=3D, uio=3D, active_cred=3D0xfffff80282bf3401, flags=3D, td=3D)=20 at /usr/src/sys/sys/file.h:314=20 #21 dofilewrite (td=3D0x0, fd=3D34, fp=3D0xfffff801a82000f0, auio=3D0xfffff8002ab5bd00, offset=3D, flags=3D) at /usr/src/sys/kern/sys_generic.c:567=20 #22 0xffffffff80c70130 in kern_writev (td=3D0xfffff8007c685000, fd=3D34, auio=3D0xfffff8002ab5bd00) at /usr/src/sys/kern/sys_generic.c:491=20 #23 sys_writev (td=3D0xfffff8007c685000, uap=3D0xfffff8007c6853c0) at /usr/src/sys/kern/sys_generic.c:477=20 #24 0xffffffff8118e592 in syscallenter (td=3D) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:135=20 #25 amd64_syscall (td=3D0xfffff8007c685000, traced=3D0) at /usr/src/sys/amd64/amd64/trap.c:1154=20 #26 =20 #27 0x00000008004122ca in ?? ()=20 Backtrace stopped: Cannot access memory at address 0x7fffffffc378=20 (kgdb) frame 9=20 #9 0xffffffff826f26e0 in list_insert_tail (list=3D0xfffff80048db44c8, object=3D0xfffff80182bf3400) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/os/list.c:121=20 121 list_insert_before_node(list, lold, object);=20 (kgdb) frame 10=20 #10 0xffffffff827bb83a in zil_itx_assign (zilog=3D0xfffff8001f588c00, itx=3D0xfffff80182bf3400, tx=3D0xfffff8004d651e00)=20 at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c:1737= =20 1737 list_insert_tail(&ian->ia_list, itx);=20 (kgdb) frame 11=20 #11 0xffffffff827e4b99 in zfs_log_write (zilog=3D0xfffff8001f588c00, tx=3D0xfffff8004d651e00, txtype=3D365662, zp=3D0xfffff80224bbd440, off=3D36= 5662, resid=3D91, ioflag=3D8)=20 at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c:5= 25=20 525 zil_itx_assign(zilog, itx, tx);=20 (kgdb) frame 12=20 #12 0xffffffff827f2338 in zfs_write (vp=3D, uio=3D, ioflag=3D, cr=3D, ct=3D)=20 at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:1203=20 1203 zfs_log_write(zilog, tx, TX_WRITE, zp, woff, tx_by= tes, ioflag);=20 (kgdb) frame 13=20 #13 zfs_freebsd_write (ap=3D) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:4898=20 4898 return (zfs_write(ap->a_vp, ap->a_uio, ioflags(ap->a_iofla= g),=20 (kgdb) frame 14=20 #14 0xffffffff81315acf in VOP_WRITE_APV (vop=3D, a=3D0xfffffe006475d788) at vnode_if.c:1000=20 1000 rc =3D vop->vop_write(a);=20 (kgdb) frame 15=20 #15 0xffffffff80ce98fe in VOP_WRITE (vp=3D, uio=3D, cred=3D, ioflag=3D) at ./vnode_if.h:413=20 413 return (VOP_WRITE_APV(vp->v_op, &a));=20 (kgdb) frame 16=20 #16 vn_write (fp=3D, uio=3D, active_cred=3D0= x5945e, flags=3D, td=3D) at /usr/src/sys/kern/vfs_vno= ps.c:881=20 881 error =3D VOP_WRITE(vp, uio, ioflag, fp->f_cred);= =20 (kgdb) frame 17=20 #17 0xffffffff80ce9443 in vn_io_fault_doio (args=3D0xfffffe006475d9b0, uio=3D0xfffff8002ab5bd00, td=3D0xfffff8007c685000) at /usr/src/sys/kern/vfs_vnops.c:946=20 946 error =3D (args->args.fop_args.doio)(args->args.fop_args.fp,=20 (kgdb) frame 18=20 #18 0xffffffff80ce72da in vn_io_fault1 (vp=3D, uio=3D, args=3D, td=3D) at /usr/src/sys/kern/vfs_vnops.c:1064=20 1064 error =3D vn_io_fault_doio(args, uio, td);=20 (kgdb) frame 19=20 #19 0xffffffff80ce54b5 in vn_io_fault (fp=3D, uio=3D0xfffff8004ebef188, active_cred=3D0xfffff80021a684b0, flags=3D, td=3D)=20 at /usr/src/sys/kern/vfs_vnops.c:1168=20 1168 error =3D vn_io_fault1(vp, uio, &args, td);=20 (kgdb) frame 20=20 #20 0xffffffff80c70232 in fo_write (fp=3D, uio=3D, active_cred=3D0xfffff80282bf3401, flags=3D, td=3D)=20 at /usr/src/sys/sys/file.h:314=20 314 return ((*fp->f_ops->fo_write)(fp, uio, active_cred, flags, td));=20 (kgdb) frame 21=20 #21 dofilewrite (td=3D0x0, fd=3D34, fp=3D0xfffff801a82000f0, auio=3D0xfffff8002ab5bd00, offset=3D, flags=3D) at /usr/src/sys/kern/sys_generic.c:567=20 567 if ((error =3D fo_write(fp, auio, td->td_ucred, flags, td)= )) {=20 (kgdb) frame 22=20 #22 0xffffffff80c70130 in kern_writev (td=3D0xfffff8007c685000, fd=3D34, auio=3D0xfffff8002ab5bd00) at /usr/src/sys/kern/sys_generic.c:491=20 491 error =3D dofilewrite(td, fd, fp, auio, (off_t)-1, 0);=20 (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=