Date: Tue, 27 May 2003 10:43:26 -0400 (EDT) From: Daniel Eischen <eischen@pcnet1.pcnet.com> To: Petri Helenius <pete@rommon.com> Cc: freebsd-threads@freebsd.org Subject: Re: malloc(): error: recursive call Message-ID: <Pine.GSO.4.10.10305271039590.27769-100000@pcnet1.pcnet.com> In-Reply-To: <3ED35F75.1000902@rommon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 May 2003, Petri Helenius wrote: > 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 ? Are you linking to libkse before linking to libc? (Don't explicitly link to libc). Or are you linking to other libraries that are linked to libc_r? We haven't had any problems like that in all of our tests. -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10305271039590.27769-100000>