Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2006 17:34:30 -0500
From:      "Paul Khavkine" <paul.khavkine@distributel.ca>
To:        "Daniel Eischen" <deischen@freebsd.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: pthread malloc and abort() (Was: libthr question)
Message-ID:  <1138919670.45596.16.camel@paul>
In-Reply-To: <Pine.GSO.4.43.0602011410030.8773-100000@sea.ntplx.net>
References:  <Pine.GSO.4.43.0602011410030.8773-100000@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-9drQt/UkP/MpPR8K2lAJ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2006-02-01 at 14:10 -0500, Daniel Eischen wrote:
> On Wed, 1 Feb 2006, Paul Khavkine wrote:
>=20
> >
> > Hi Daniel.
> >
> >
> > I tried running the application with Electric Fence and this is what i
> > get:
> >
> > ElectricFence Exiting: mmap() failed: Cannot allocate memory
>=20
> I've no clue.  ulimits?
>=20

Hi.

I had no luck setting up ElectricFence.

Now my question is, the application dies with either free() or realloc()
errors and sig Abort.

However it does not produce a core dump, even when i run it in gdb, gdb
either dies itself with sig abort or says something like "abort, process
went away". Is this normal, it seems that it SHOULD produce a core file.

Btw, the program is compiled with libpthread.

OS version is: 5.4-RELEASE-p6 SMP
Hardware is: DL360 G4 dual Xeon 3Ghz, 2G memory, 2x36G U320 drives in
RAID1 config.

This does not happend when running a UP kernel, only SMP.

Any pointers on why this is happening ?


Paul



--=-9drQt/UkP/MpPR8K2lAJ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iQCVAwUAQ+KI9vkjFY05CfyYAQLMqAP/Xz3MFh46WMARS6rRhT2i52YRnZ9dYCTt
j4QtwaDpD3KCUrawyeGWAMDdhPtVnZ635k0ztqVy+KLzGWOmUz1tA6U38QjPGTTb
cogexxPtH128CXvRbaa+5lsoimL5nt9IXp7Yeyb70pfuckHZNlqpFKq+viIDn4Yi
0uM2t453aBU=
=bzP7
-----END PGP SIGNATURE-----

--=-9drQt/UkP/MpPR8K2lAJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1138919670.45596.16.camel>