malloc(): error: recursive call
Daniel Eischen
eischen at pcnet1.pcnet.com
Tue May 27 11:10:44 PDT 2003
On Tue, 27 May 2003, Petri Helenius wrote:
> >
> > 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?
> >
> I=B4m linking to -lnetsnmp and -lcrypto and -lpcap. -lkse is last on the =
command
> line.
And what does `ldd libnetsnmp.so.x`, `ldd libfoo.y`, show?
What is `ldd yourexecutable` show?
> > We haven't had any problems like that in all of our tests.
> >
> This seems to happen even on single-cpu machine. __isthreaded is 1 if I m=
ake the
> process dump core.
>=20
> Anything else I should look for? Try with libthr ?
malloc is thread safe and we've been using it fine
with all our tests. I suspect you're using another
library that is using libc_r or something.
--=20
Dan Eischen
More information about the freebsd-threads
mailing list