From owner-freebsd-threads@FreeBSD.ORG Tue May 27 05:52:11 2003 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 F3A2037B401 for ; Tue, 27 May 2003 05:52:10 -0700 (PDT) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F6F743F75 for ; Tue, 27 May 2003 05:52:09 -0700 (PDT) (envelope-from pete@rommon.com) Received: from rommon.com (localhost.he.iki.fi [127.0.0.1]) by silver.he.iki.fi (8.12.9/8.11.4) with ESMTP id h4RCq5k8066371 for ; Tue, 27 May 2003 15:52:07 +0300 (EEST) (envelope-from pete@rommon.com) Message-ID: <3ED35F75.1000902@rommon.com> Date: Tue, 27 May 2003 15:52:05 +0300 From: Petri Helenius Organization: ROMmon Ltd User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030501 X-Accept-Language: English [en],Finnish [fi] MIME-Version: 1.0 To: freebsd-threads@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: malloc(): error: recursive call 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: Tue, 27 May 2003 12:52:11 -0000 I'm using libkse cvsupped+built on 24th May and seem to run into these messages: malloc(): error: recursive call It seems that I get these when the call goes through libc functions like strdup, asprintf, etc. but so far none happened with direct call to malloc from my code. Is there some linking trick I need to perform (apart from putting -lkse to the end of the Makefile line) to get the locking work properly ? Pete