From owner-freebsd-threads@FreeBSD.ORG Wed Feb 1 20:07:36 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org 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 1F72A16A422; Wed, 1 Feb 2006 20:07:36 +0000 (GMT) (envelope-from paul.khavkine@distributel.ca) Received: from ottexbe01.corp.distributel.ca (ottexbe01.corp.distributel.ca [206.80.252.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5613143D45; Wed, 1 Feb 2006 20:07:17 +0000 (GMT) (envelope-from paul.khavkine@distributel.ca) Received: from 10.14.61.42 ([10.14.61.42]) by ottexbe01.corp.distributel.ca ([192.168.16.70]) via Exchange Front-End Server 10.14.61.70 ([10.14.61.70]) with Microsoft Exchange Server HTTP-DAV ; Wed, 1 Feb 2006 20:07:17 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-GKcp7dJ8kNKnBinwT0wL" Received: from paul.mtl.distributel.net by 10.14.61.70; 01 Feb 2006 15:09:54 -0500 In-Reply-To: Content-class: urn:content-classes:message Date: Wed, 1 Feb 2006 15:09:53 -0500 Message-ID: <1138824593.45596.10.camel@paul> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: libthr question thread-index: AcYnaxnmnCM4dEojRMmyck3k1XE12w== References: From: "Paul Khavkine" To: "Daniel Eischen" Cc: freebsd-threads@freebsd.org Subject: Re: libthr question X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 20:07:36 -0000 --=-GKcp7dJ8kNKnBinwT0wL 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 I got a little bit further, this is what i get now: ElectricFence Aborting: Allocating 0 bytes, probably a bug. Program received signal SIGILL, Illegal instruction. [Switching to Thread 2 (LWP 100439)] 0x2820639b in pthread_testcancel () from /usr/lib/libpthread.so.1 (gdb) bt #0 0x2820639b in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x281f6150 in sigaction () from /usr/lib/libpthread.so.1 #2 0x281f6cd7 in sigaction () from /usr/lib/libpthread.so.1 #3 0x281f54df in sigaction () from /usr/lib/libpthread.so.1 #4 0x281f5260 in sigaction () from /usr/lib/libpthread.so.1 #5 0x281fe902 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #6 0x00000000 in ?? () (gdb) Thanx Paul --=-GKcp7dJ8kNKnBinwT0wL 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+EVkfkjFY05CfyYAQIK7wP/X6oHUG4pbxIMfmPlWFL3q2czScn+WVN4 eUIuUOfXb7URbuZEMSY68L7sueuauOaziH1koJSkX46YTNOYE8GUasxmcjlo1IG1 N/4/tgk4OYw6Q8y09RMsKGQb7h6+MoTRzOYyCyiGB3HZn/y/68B/N127U0kDxS3q FSEU3tP18Jk= =nKlY -----END PGP SIGNATURE----- --=-GKcp7dJ8kNKnBinwT0wL--