From owner-freebsd-threads@FreeBSD.ORG Mon Mar 15 08:30:53 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E01016A4CF for ; Mon, 15 Mar 2004 08:30:53 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2290643D45 for ; Mon, 15 Mar 2004 08:30:53 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id CB342530E; Mon, 15 Mar 2004 17:30:51 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 4882C530A; Mon, 15 Mar 2004 17:30:45 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id D4BE633CA7; Mon, 15 Mar 2004 17:30:44 +0100 (CET) To: "Alex Kotov" References: <025801c40aa8$d7b76380$1900a8c0@nautilus> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Mon, 15 Mar 2004 17:30:44 +0100 In-Reply-To: <025801c40aa8$d7b76380$1900a8c0@nautilus> (Alex Kotov's message of "Mon, 15 Mar 2004 18:16:16 +0200") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: freebsd-threads@freebsd.org Subject: Re: threads and libstdc++ on FreeBSD 5.2.1-RELEASE X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 16:30:53 -0000 "Alex Kotov" writes: > Let me guess: you're using 5.2.1-CURRENT or link the application against > kse and not the lc_r? I assume this is addressed to me. In the future, please quote the message you're replying to, or at least include its message id in your References: header. I am running -CURRENT, not 5.2.1, and I used the exact command line shown in the PR. > I will try kse today but problem is easy to reproduce: just copy & paste > the source into the test.cc and build it as specified on top of it. When > you will try to start the binary you will get "Segmentation fault (core > dumped)". Like I said, I am unable to reproduce this. The program runs fine. If I change the gcc command line to use -lc_r instead of -pthread, it does dump core, but initializing tt to NULL fixes that. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no