From owner-freebsd-stable Mon Jan 13 3:58:37 2003 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 536EA37B401 for ; Mon, 13 Jan 2003 03:58:36 -0800 (PST) Received: from email01.aon.at (WARSL402PIP3.highway.telekom.at [195.3.96.97]) by mx1.FreeBSD.org (Postfix) with SMTP id 67C9643F5B for ; Mon, 13 Jan 2003 03:58:35 -0800 (PST) (envelope-from sperber@gmx.at) Received: (qmail 347556 invoked from network); 13 Jan 2003 11:58:34 -0000 Received: from l0820p11.dipool.highway.telekom.at (HELO oh.daemon.sh) ([62.46.166.107]) (envelope-sender ) by qmail1rs.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 13 Jan 2003 11:58:34 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Sperber To: Max Khon Subject: Re: pthread, ElectricFence Date: Mon, 13 Jan 2003 12:58:33 +0100 User-Agent: KMail/1.4.3 Cc: freebsd-stable@freebsd.org References: <20030113173926.A25147@iclub.nsu.ru> In-Reply-To: <20030113173926.A25147@iclub.nsu.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301131258.33651.sperber@gmx.at> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday 13 January 2003 12:39, Max Khon wrote: > hi, there! > > try this patch for ElectricFence (just put it into files/ directory > and rebuild the port) > > the problem is that _thread_init() uses malloc() and is called from .init > section of libc_r. when malloc() from ElectricFence is first called > initialize() function is called which tries to print version. > write() is wrapped by libc_r and calling it causes _thread_init() to be > called again.. and so on. > > /fjoe thx, worked. Sperber To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message