Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2016 18:01:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 214923] kqueue hangs with busy loop
Message-ID:  <bug-214923-8-5UWLA8e6rp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214923-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214923-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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<value optimized out>) at pcpu.h:221
221             __asm("movq %%gs:%1,%0" : "=3Dr" (td)
(kgdb) bt
#0  doadump (textdump=3D<value optimized out>) at pcpu.h:221
#1  0xffffffff80a3f5d0 in kern_reboot (howto=3D<value optimized out>) at
/usr/src/sys/kern/kern_shutdown.c:366
#2  0xffffffff80a3fb8b in vpanic (fmt=3D<value optimized out>, ap=3D<value
optimized out>) 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<value optimized out>, td=3D<val=
ue
optimized out>) 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=
<value
optimized out>) 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214923-8-5UWLA8e6rp>