From owner-freebsd-hackers Tue Mar 19 11:55:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by hub.freebsd.org (Postfix) with ESMTP id AE39E37B43E for ; Tue, 19 Mar 2002 11:54:56 -0800 (PST) Received: by energyhq.homeip.net (Postfix, from userid 1001) id 7C53C3FCB6; Tue, 19 Mar 2002 20:55:14 +0100 (CET) Date: Tue, 19 Mar 2002 20:55:14 +0100 From: Miguel Mendez To: hackers@freebsd.org Subject: mmap and efence Message-ID: <20020319205514.A79707@energyhq.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi hackers, I have started porting The Fish to GTK+ 2.0 and everything seems to work fine, except I can no longer use Electric Fence. When I link with efence I get the following error: kajsa% time ./thefish=20 Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens Cannot load module /usr/X11R6/lib/pango/1.0.0/modules/pango-basic-x.so: /usr/X11R6/lib/pango/1.0.0/modules/pango-basic-x.so: mmap of entire address space failed: Cannot allocate memory Cannot load module /usr/X11R6/lib/pango/1.0.0/modules/pango-basic-x.so: /usr/X11R6/lib/pango/1.0.0/modules/pango-basic-x.so: mmap of entire address space failed: Cannot allocate memory ElectricFence Exiting: mmap() failed: Cannot allocate memory ./thefish 10.45s user 116.32s system 95% cpu 2:12.19 total This same code linked with gtk 1.2 works perfectly well both with and without efence. This code linked with gtk 2.0 but without efence works as well. I tried asking in the gtk developers list but got no answer at all. I'm using the latest efence port on a 4.5-STABLE built the 3rd of Feb. Any ideas about what could be causing this? Cheers, --=20 Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk FreeBSD - The power to serve! --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8l5ehnLctrNyFFPERAo5jAJkBKKVs2DCx1vHu2F+ebC0u+SV9bwCeOS9W 0sN5J5JXRygk36aV0ZYGQSE= =hlc3 -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message