From owner-freebsd-stable@FreeBSD.ORG Sat Jan 1 22:25:12 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2A8E16A4CE for ; Sat, 1 Jan 2005 22:25:12 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91EB743D3F for ; Sat, 1 Jan 2005 22:25:12 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 8732F72DD4; Sat, 1 Jan 2005 14:25:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 81CF872DCB; Sat, 1 Jan 2005 14:25:12 -0800 (PST) Date: Sat, 1 Jan 2005 14:25:12 -0800 (PST) From: Doug White To: Lucas Madar In-Reply-To: <41CA7846.2020604@negaverse.org> Message-ID: <20050101142355.U87126@carver.gumbysoft.com> References: <41CA7846.2020604@negaverse.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: panic in 5.3-stable related to heavy usage and libthr X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 22:25:12 -0000 Sorry for the late reply on this, reading back mail from vacation. On Thu, 23 Dec 2004, Lucas Madar wrote: > I updated a machine today to 5.3-STABLE and almost instantly it crashed > when a heavily threaded program ran. (The machine was previously running > 5.2-release). > > This crash is reproducible under heavy load with four threads using > libthr -- I haven't tested any other variances on this scheme, and I > will be testing 5.3-RELEASE tomorrow to see if it exhibits the same > problems. Do you have a test program that exhibits this behavior? Have you tried it with KSE (libpthread)? Were you able to test on -RELEASE? > relevant info from kgdb, with null pointer goodness. Indeed :( > #23 0x00000000 in ?? () > #24 0xc055681f in sleepq_remove_thread (sq=0x0, td=0x0) at > /data/rootsystem/src/sys/kern/subr_sleepqueue.c:581 > #25 0xc0556a16 in sleepq_signal (wchan=0xc2b91320, flags=0, pri=-1) at > /data/rootsystem/src/sys/kern/subr_sleepqueue.c:677 > #26 0xc053fa53 in wakeup_one (ident=0xc2b91320) at > /data/rootsystem/src/sys/kern/kern_synch.c:266 > #27 0xc0543052 in thr_wake (td=0xc2b91000, uap=0xc2b91000) at > /data/rootsystem/src/sys/kern/kern_thr.c:303 > #28 0xc0698c9f in syscall (frame= > {tf_fs = 134742063, tf_es = 134742063, tf_ds = -1078001617, tf_edi > = 134558784, tf_esi = 135229440, tf_ebp = -1079198052, tf_isp = > -378659468, tf_ebx = 671863452, tf_edx = 134558792, tf_ecx = 0, tf_eax = > 443, tf_trapno = 22, tf_err = 2, tf_eip = 672179195, tf_cs = 31, > tf_eflags = 662, tf_esp = -1079198096, tf_ss = 47}) at > /data/rootsystem/src/sys/i386/i386/trap.c:1001 > #29 0xc0686c1f in Xint0x80_syscall () at > /data/rootsystem/src/sys/i386/i386/exception.s:201 > > Is this useful to anyone? I'll keep this around if you need to poke at > any structures. > > - lucas > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org