adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] Various bugs and additions


From: cirrus
Subject: Re: [Adonthell-devel] Various bugs and additions
Date: Sun, 02 Dec 2001 13:13:01 +0000

Alexandre Courbot wrote:
> 
> > with your distro: efence.rpm or something similar. Modify the
> > adonthell/src/Makefile.am (line 44) so it reads:
> >
> > adonthell_LDADD = libadonthell.a $(libadonthell_LDADD) -lefence
> 
> Just to suggest a more convenient way to use efence without having to
> reload:
> 
> type 'export LD_PRELOAD=libefence.so.0.0' before running Adonthell and
> electric fence will be loaded automatically. You should read an electric
> fence message at Adonthell's startup.
> 
> Beware that it will eat lots of memory and may be quite long to start.
> 
Yikes, no kidding!
It didn't work. Here's the output from within gdb:


(gdb) run
Starting program: /usr/local/bin/adonthell -g
/usr/local/share/adonthell/games/wastesedge/

  Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens
<address@hidden>

  Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens
<address@hidden>

  Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens
<address@hidden>

  Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens
<address@hidden>

  Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens
<address@hidden>

  Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens
<address@hidden>
[New Thread 1024 (LWP 1412)]

  Electric Fence 2.2.0 Copyright (C) 1987-1999 Bruce Perens
<address@hidden>
Using 16bpp depth: 320x240.
[New Thread 2049 (LWP 1429)]
Delayed SIGSTOP caught for LWP 1429.
[New Thread 1026 (LWP 1430)]
Delayed SIGSTOP caught for LWP 1430.
Audio started in 44100 Hz 16 bit stereo format.

ElectricFence Exiting: mmap() failed: Cannot allocate memory
LWP 1412 exited.
LWP 1430 exited.

Program exited normally.
(gdb) 


I checked with top before: there was ~300MB RAM free (but I think that
could  have become more - I only had X and enlightenment running and
back when I only had 256MB RAM they took less, it's like they take a
percentage of the RAM or something!) and 1GB Swap free too.

Maybe you can get someone to try it on a Cray?

        -James

-- 
   ___    ___  ___       ___ 
  /    / /__/ /__/ /  / /__                 Reg. Linux User #148821
 /___ / / \  / \  /__/ ___/@linuxgames.com  www.twiddles.com
                                            adonthell.linuxgames.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]