Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: Problem using memprof
Home

[Freeciv-Dev] Re: Problem using memprof

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jan Dittberner <jan@xxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Problem using memprof
From: Owen Taylor <otaylor@xxxxxxxxxx>
Date: 15 Jul 2000 10:11:50 -0400

Jan Dittberner <jan@xxxxxxxxxxxxxxxxx> writes:

> Hello,
> 
> I tried to debug some memory leaks in freeciv (civclient PR#374)
> with memprof 0.4.0, but it simply does nothing.
> I do run, select /usr/local/bin/civclient, and then nothing
> happens, I can select leaks, or profile, but there's no
> action in memprof.
> 
> Also giving /usr/local/bin/civclient as command line parameter
> doesn't help.
> 
> I use the HelixCode rpm of memprof-0.4.0 on Linux Mandrake 7.0
> with glibc-2.1.3 and most recent gtk+ and gnome libraries.
> 
> I had the same problem with memprof-0.3.0.

Mandrake is not compatible with memprof - I don't know why,
but I've had several reports of this.

The problem is that memory-interception library which is loaded
into the child process segfaults when trying to do a backtrace.
The one possibility that occurs to me is that some library - 
perhaps even libc, was compiled with -fomit-frame-pointer.

Regards,
                                        Owen



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