Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 20:55:14 +0100
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        hackers@freebsd.org
Subject:   mmap and efence
Message-ID:  <20020319205514.A79707@energyhq.homeip.net>

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

--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
  <bruce@perens.com>

  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




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