Date: Fri, 29 Aug 2014 19:50:28 -0500 From: Larry Rosenman <ler@lerctr.org> To: Adrian Chadd <adrian@freebsd.org> Cc: svn-src-all@freebsd.org, svn-committers-src@freebsd.org, mjg@freebsd.org Subject: Re: svn commit: r270745 - in head: bin/ps sys/compat/freebsd32 sys/kern sys/sys Message-ID: <20140830005028.GA1881@borg.lerctr.org> In-Reply-To: <CAJ-Vmo=M=JoV8DxZkG4ghj88r8fpUSAnOiFvdcur26Hs=0eAPQ@mail.gmail.com> References: <201408280841.s7S8fC6X012986@svn.freebsd.org> <CAJ-Vmo=M=JoV8DxZkG4ghj88r8fpUSAnOiFvdcur26Hs=0eAPQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 29, 2014 at 05:07:51PM -0700, Adrian Chadd wrote: > Hi! > > So I'm now getting panics in the process coredump path on -HEAD. The > proctree lock isn't held. > > Assertion : proctree not locked @ kern_proc.c:795 > > path: > > sigexit() -> elf64_coredump() -> elf64_note_procstat_proc() -> > kern_proc_out() -> fill_kinfo_proc() -> panic. > > What did you peeps do this time? :P > > > > -a Here's my similar one... borg.lerctr.org dumped core - see /var/crash/vmcore.0 Fri Aug 29 18:34:26 CDT 2014 FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r270811M: Fri Aug 29 16:33:32 CDT 2014 root@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64 panic: Lock proctree not locked @ /usr/src/sys/kern/kern_proc.c:795 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 conditions. 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: Lock proctree not locked @ /usr/src/sys/kern/kern_proc.c:795 cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe100c63fd50 kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe100c63fe00 vpanic() at vpanic+0x189/frame 0xfffffe100c63fe80 panic() at panic+0x43/frame 0xfffffe100c63fee0 _sx_assert() at _sx_assert+0x137/frame 0xfffffe100c63fef0 fill_kinfo_proc() at fill_kinfo_proc+0x3c/frame 0xfffffe100c63ff30 kern_proc_out() at kern_proc_out+0x67/frame 0xfffffe100c6406c0 elf32_note_procstat_proc() at elf32_note_procstat_proc+0x79/frame 0xfffffe100c640700 elf32_coredump() at elf32_coredump+0x9e2/frame 0xfffffe100c640810 sigexit() at sigexit+0xadb/frame 0xfffffe100c640ac0 postsig() at postsig+0x3c8/frame 0xfffffe100c640bb0 ast() at ast+0x327/frame 0xfffffe100c640bf0 doreti_ast() at doreti_ast+0x1f/frame 0xffffccd0 Uptime: 2m50s Dumping 2545 out of 64456 MB: (CTRL-C to abort) ..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% Reading symbols from /boot/kernel/linux.ko.symbols...done. Loaded symbols for /boot/kernel/linux.ko.symbols Reading symbols from /boot/kernel/if_lagg.ko.symbols...done. Loaded symbols for /boot/kernel/if_lagg.ko.symbols Reading symbols from /boot/kernel/snd_envy24ht.ko.symbols...done. Loaded symbols for /boot/kernel/snd_envy24ht.ko.symbols Reading symbols from /boot/kernel/snd_spicds.ko.symbols...done. Loaded symbols for /boot/kernel/snd_spicds.ko.symbols Reading symbols from /boot/kernel/coretemp.ko.symbols...done. Loaded symbols for /boot/kernel/coretemp.ko.symbols Reading symbols from /boot/kernel/ichsmb.ko.symbols...done. Loaded symbols for /boot/kernel/ichsmb.ko.symbols Reading symbols from /boot/kernel/smbus.ko.symbols...done. Loaded symbols for /boot/kernel/smbus.ko.symbols Reading symbols from /boot/kernel/ichwd.ko.symbols...done. Loaded symbols for /boot/kernel/ichwd.ko.symbols Reading symbols from /boot/kernel/cpuctl.ko.symbols...done. Loaded symbols for /boot/kernel/cpuctl.ko.symbols Reading symbols from /boot/kernel/crypto.ko.symbols...done. Loaded symbols for /boot/kernel/crypto.ko.symbols Reading symbols from /boot/kernel/cryptodev.ko.symbols...done. Loaded symbols for /boot/kernel/cryptodev.ko.symbols Reading symbols from /boot/kernel/dtraceall.ko.symbols...done. Loaded symbols for /boot/kernel/dtraceall.ko.symbols Reading symbols from /boot/kernel/profile.ko.symbols...done. Loaded symbols for /boot/kernel/profile.ko.symbols Reading symbols from /boot/kernel/cyclic.ko.symbols...done. Loaded symbols for /boot/kernel/cyclic.ko.symbols Reading symbols from /boot/kernel/dtrace.ko.symbols...done. Loaded symbols for /boot/kernel/dtrace.ko.symbols Reading symbols from /boot/kernel/systrace_freebsd32.ko.symbols...done. Loaded symbols for /boot/kernel/systrace_freebsd32.ko.symbols Reading symbols from /boot/kernel/systrace.ko.symbols...done. Loaded symbols for /boot/kernel/systrace.ko.symbols Reading symbols from /boot/kernel/sdt.ko.symbols...done. Loaded symbols for /boot/kernel/sdt.ko.symbols Reading symbols from /boot/kernel/lockstat.ko.symbols...done. Loaded symbols for /boot/kernel/lockstat.ko.symbols Reading symbols from /boot/kernel/fasttrap.ko.symbols...done. Loaded symbols for /boot/kernel/fasttrap.ko.symbols Reading symbols from /boot/kernel/fbt.ko.symbols...done. Loaded symbols for /boot/kernel/fbt.ko.symbols Reading symbols from /boot/kernel/dtnfscl.ko.symbols...done. Loaded symbols for /boot/kernel/dtnfscl.ko.symbols Reading symbols from /boot/kernel/dtmalloc.ko.symbols...done. Loaded symbols for /boot/kernel/dtmalloc.ko.symbols Reading symbols from /boot/modules/vboxdrv.ko...done. Loaded symbols for /boot/modules/vboxdrv.ko Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/kernel/ipmi.ko.symbols...done. Loaded symbols for /boot/kernel/ipmi.ko.symbols Reading symbols from /boot/kernel/ipmi_linux.ko.symbols...done. Loaded symbols for /boot/kernel/ipmi_linux.ko.symbols Reading symbols from /boot/kernel/radeonkms.ko.symbols...done. Loaded symbols for /boot/kernel/radeonkms.ko.symbols Reading symbols from /boot/kernel/iicbb.ko.symbols...done. Loaded symbols for /boot/kernel/iicbb.ko.symbols Reading symbols from /boot/kernel/iicbus.ko.symbols...done. Loaded symbols for /boot/kernel/iicbus.ko.symbols Reading symbols from /boot/kernel/iic.ko.symbols...done. Loaded symbols for /boot/kernel/iic.ko.symbols Reading symbols from /boot/kernel/drm2.ko.symbols...done. Loaded symbols for /boot/kernel/drm2.ko.symbols Reading symbols from /boot/kernel/radeonkmsfw_R100_cp.ko.symbols...done. Loaded symbols for /boot/kernel/radeonkmsfw_R100_cp.ko.symbols Reading symbols from /boot/kernel/fdescfs.ko.symbols...done. Loaded symbols for /boot/kernel/fdescfs.ko.symbols Reading symbols from /boot/kernel/uhid.ko.symbols...done. Loaded symbols for /boot/kernel/uhid.ko.symbols Reading symbols from /boot/modules/vboxnetflt.ko...done. Loaded symbols for /boot/modules/vboxnetflt.ko Reading symbols from /boot/kernel/netgraph.ko.symbols...done. Loaded symbols for /boot/kernel/netgraph.ko.symbols Reading symbols from /boot/kernel/ng_ether.ko.symbols...done. Loaded symbols for /boot/kernel/ng_ether.ko.symbols Reading symbols from /boot/modules/vboxnetadp.ko...done. Loaded symbols for /boot/modules/vboxnetadp.ko #0 doadump (textdump=1) at pcpu.h:219 219 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=1) at pcpu.h:219 #1 0xffffffff80a15227 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:447 #2 0xffffffff80a157c8 in vpanic (fmt=<value optimized out>, ap=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:746 #3 0xffffffff80a15813 in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:675 #4 0xffffffff80a1ce47 in _sx_assert (sx=0x0, what=<value optimized out>, file=0x0, line=0) at /usr/src/sys/kern/kern_sx.c:1086 #5 0xffffffff80a0611c in fill_kinfo_proc (p=0xfffff80257916000, kp=0xfffffe100c640250) at /usr/src/sys/kern/kern_proc.c:795 #6 0xffffffff80a06cc7 in kern_proc_out (p=0xfffff80257916000, sb=0xfffff800241c8400, flags=2) at /usr/src/sys/kern/kern_proc.c:1205 #7 0xffffffff809c0709 in elf32_note_procstat_proc ( arg=<value optimized out>, sb=<value optimized out>, sizep=0xfffff80024267dd8) at imgact_elf.c:1787 #8 0xffffffff809bea02 in elf32_coredump (td=<value optimized out>, vp=0xfffff802708f9000, limit=<value optimized out>, flags=0) at imgact_elf.c:1618 #9 0xffffffff80a18c4b in sigexit (td=0xfffff80270e5d000, sig=11) at /usr/src/sys/kern/kern_sig.c:3297 #10 0xffffffff80a19318 in postsig (sig=<value optimized out>) at /usr/src/sys/kern/kern_sig.c:2837 #11 0xffffffff80a60727 in ast (framep=<value optimized out>) at /usr/src/sys/kern/subr_trap.c:275 #12 0xffffffff80e08e09 in doreti_ast () at /usr/src/sys/amd64/amd64/exception.S:676 #13 0x000000000814f470 in ?? () #14 0x000000000814f430 in ?? () #15 0x0000000000000000 in ?? () Current language: auto; currently minimal (kgdb) -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140830005028.GA1881>