From owner-svn-src-all@FreeBSD.ORG Sat Aug 30 00:50:47 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3DE39A2; Sat, 30 Aug 2014 00:50:47 +0000 (UTC) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 761C910FE; Sat, 30 Aug 2014 00:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=6EC47cKnKe072+LcPj27NdRcmvGcwc1YYU8GRxJQfNs=; b=eH3F7pLKEx6+DTOQ94xbdB0RQPaJ1lcGQF2oZiGuGUTjrTUrjHRlSi8nsS+4a//S3EQ3mih9Ta2QqHNt3J8IQ20x22By9UjFaILYST13VNu3MUVI8A9k9uWBbq/CMTH2+laChaTcrofTB/erPeYdZDXizp7S+lytdM+pLHBdREI=; Received: from 104-54-221-134.lightspeed.austtx.sbcglobal.net ([104.54.221.134]:49012 helo=borg.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XNWsK-000FwD-42; Fri, 29 Aug 2014 19:50:43 -0500 Date: Fri, 29 Aug 2014 19:50:28 -0500 From: Larry Rosenman To: Adrian Chadd Subject: Re: svn commit: r270745 - in head: bin/ps sys/compat/freebsd32 sys/kern sys/sys Message-ID: <20140830005028.GA1881@borg.lerctr.org> References: <201408280841.s7S8fC6X012986@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-LERCTR-Spam-Score: -2.9 (--) X-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, TVD_RCVD_IP=0.001 X-LERCTR-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, TVD_RCVD_IP=0.001 Cc: svn-src-all@freebsd.org, svn-committers-src@freebsd.org, mjg@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2014 00:50:47 -0000 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=, ap=) 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=, 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=, sb=, sizep=0xfffff80024267dd8) at imgact_elf.c:1787 #8 0xffffffff809bea02 in elf32_coredump (td=, vp=0xfffff802708f9000, limit=, 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=) at /usr/src/sys/kern/kern_sig.c:2837 #11 0xffffffff80a60727 in ast (framep=) 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