From owner-freebsd-bugs@freebsd.org Fri Dec 16 18:01:07 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85797C82DFF for ; Fri, 16 Dec 2016 18:01:07 +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 mx1.freebsd.org (Postfix) with ESMTPS id 56FF516F7 for ; Fri, 16 Dec 2016 18:01:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uBGI17Jj011456 for ; Fri, 16 Dec 2016 18:01:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 214923] kqueue hangs with busy loop Date: Fri, 16 Dec 2016 18:01:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yjh0502@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2016 18:01:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214923 --- Comment #8 from yjh0502@gmail.com --- I got a coredump and backtrace: root@foo:/usr/obj/usr/src/sys/DEBUG # kgdb kernel.debug /var/crash/vmcore.0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: panic: Bad link elm 0xfffff800158d0780 next->prev !=3D elm cpuid =3D 1 KDB: stack backtrace: #0 0xffffffff80a80947 at kdb_backtrace+0x67 #1 0xffffffff80a3fb52 at vpanic+0x182 #2 0xffffffff80a3fbd3 at panic+0x43 #3 0xffffffff809f9d1a at knote_drop+0x28a #4 0xffffffff809f9df3 at knote_fdclose+0xd3 #5 0xffffffff809eda25 at closefp+0x65 #6 0xffffffff80ea4426 at amd64_syscall+0x2f6 #7 0xffffffff80e8469b at Xfast_syscall+0xfb Uptime: 4m58s Dumping 227 out of 988 MB: (CTRL-C to abort) ..8%..15%..22%..36%..43%..57%..64%..71%..85%..92% Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /usr/lib/debug//boot/kernel/zfs.ko.debug...done. done. Loaded symbols for /boot/kernel/zfs.ko Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /usr/lib/debug//boot/kernel/opensolaris.ko.debug...done. done. Loaded symbols for /boot/kernel/opensolaris.ko Reading symbols from /boot/kernel/uhid.ko...Reading symbols from /usr/lib/debug//boot/kernel/uhid.ko.debug...done. done. Loaded symbols for /boot/kernel/uhid.ko #0 doadump (textdump=3D) at pcpu.h:221 221 __asm("movq %%gs:%1,%0" : "=3Dr" (td) (kgdb) bt #0 doadump (textdump=3D) at pcpu.h:221 #1 0xffffffff80a3f5d0 in kern_reboot (howto=3D) at /usr/src/sys/kern/kern_shutdown.c:366 #2 0xffffffff80a3fb8b in vpanic (fmt=3D, ap=3D) at /usr/src/sys/kern/kern_shutdown.c:759 #3 0xffffffff80a3fbd3 in panic (fmt=3D0x0) at /usr/src/sys/kern/kern_shutdown.c:690 #4 0xffffffff809f9d1a in knote_drop (kn=3D, td=3D) at /usr/src/sys/kern/kern_event.c:2461 #5 0xffffffff809f9df3 in knote_fdclose (td=3D0xfffff80026a38a00, fd=3D232)= at /usr/src/sys/kern/kern_event.c:2370 #6 0xffffffff809eda25 in closefp (fdp=3D0xfffff800079a8450, fd=3D232, fp=3D0xfffff80003fe1460, td=3D0xfffff80026a38a00, holdleaders=3D1) at /usr/src/sys/kern/kern_descrip.c:1180 #7 0xffffffff80ea4426 in amd64_syscall (td=3D0xfffff80026a38a00, traced=3D= ) at subr_syscall.c:135 #8 0xffffffff80e8469b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:396 #9 0x000000080104a7ca in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal (kgdb) I compiled kernel from git repo, releng/11.0 branch (b416700da72fd8eab0a75d60f0634e254cbb9347) --=20 You are receiving this mail because: You are the assignee for the bug.=