From owner-freebsd-stable Mon Dec 18 16: 6:18 2000 From owner-freebsd-stable@FreeBSD.ORG Mon Dec 18 16:06:16 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by hub.freebsd.org (Postfix) with SMTP id 4D22537B400 for ; Mon, 18 Dec 2000 16:06:16 -0800 (PST) Received: (qmail 94983 invoked by uid 1142); 19 Dec 2000 00:06:14 -0000 Date: 18 Dec 2000 16:06:14 -0800 Date: Mon, 18 Dec 2000 16:06:06 -0800 From: Jason Evans To: Alexey Zakirov Cc: freebsd-stable@freebsd.org Subject: Re: mysql+linuxthreads => linuxthreads problem? Message-ID: <20001218160605.D2312@canonware.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from frank@agava.com on Sun, Dec 17, 2000 at 04:08:17PM +0300 Sender: jasone@magnesium.net Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Dec 17, 2000 at 04:08:17PM +0300, Alexey Zakirov wrote: > I've just built the mysqld with the linuxthreads (from the ports) and got > a problem: mysqld dies by SIGSEGV immediately after the first > pthread_create call. I've decided to try a simple linuxthreads example > from the linuxthreads distribution (Examples/ex5.c) and it doesn't > work. This example must writes a sequence of numbers but it hangs after > the first one. But when I compile this example with the native > freebsd threads (libc_r) it works just fine! > > Is there any well-known tricks for correct linuxthreads use? The example programs (among other tests I ran before committing the latest round of fixes to the linuxthreads port) run just fine for me. Are you using the Makefile to build them? Jason To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message