From owner-freebsd-stable@FreeBSD.ORG Sat Apr 30 02:26:11 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 8337A16A4F1 for ; Sat, 30 Apr 2005 02:26:09 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67DEC43D46 for ; Sat, 30 Apr 2005 02:26:09 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 5D40B72DDB; Fri, 29 Apr 2005 19:26:09 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 5B20372DCB; Fri, 29 Apr 2005 19:26:09 -0700 (PDT) Date: Fri, 29 Apr 2005 19:26:09 -0700 (PDT) From: Doug White To: Adi Pircalabu In-Reply-To: <20050427182850.3056f9f6@apircalabu.dsd.ro> Message-ID: <20050429192451.Q85282@carver.gumbysoft.com> References: <20050427182850.3056f9f6@apircalabu.dsd.ro> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: Multithreaded program crashes on SMP (HT enabled) machine 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, 30 Apr 2005 02:26:12 -0000 Dropping -hackers and -bugs On Wed, 27 Apr 2005, Adi Pircalabu wrote: > Hello, > I have a multithreaded application ported on FreeBSD 5.3 which crashes > in a minute or less if hyperthreading in enabled. Without HT there is no > problem. > How and where should I start to investigate the problem? > Can you expalin "crash"? Do you get any messages? > The backtrace: > (gdb) bt > #0 0x2819631b in pthread_testcancel () from /usr/lib/libpthread.so.1 > #1 0x2818e902 in pthread_mutexattr_init () from > /usr/lib/libpthread.so.1 #2 0x00000000 in ?? () This looks like a thread library mismatch. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org