[Freeciv-Dev] Re: out of disk space? (PR#615)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Thue <thue@xxxxxxx> writes:
> > > Umm, the gtk client uses gdk, so we are talking about the same thing.
> > > We know from earlier that the leak occurs when a unit blinks. By
> > tracing
> > > the calls that function makes it seems likely to happen somewhere in
> > > client/gui-gtk/mapview.c:update_map_canvas() . And from there it seems
> > > likely to happen in gdk_draw_pixmap(). So start by checking if that is
> > > correct by modyfying the code there to call that function 10000 times
> > in a
> > > row. If the leak is there you will then know :)
> >
> > I just did, and I didn't know. :)
>
> Well, look at the memory usage. If the leak is in a specific function
> calling it 10000 times will use all your memory.
Memory was fine. I was watching it. It took a while to draw the
pixmap 1000 times, but memory stayed the same.
> You should of course use the windows version when you test this...
I'm using the same system on which is a memory leak...
> > > Assuming that really is the problem, get the gdk source code for
> > windows
> > > and start looking at it :).
> >
> > I must be missing something... why would the source code for windows
> > matter when the bug is in the linux library?
>
> Well, obviously (?) the memory leak bug was introduced when porting
> the gdk lib from linux to windows. And I guess it is a windows lib
> now that it is ported.
sorry, I still don't understand. The gdk libraries on my linux system
have a bug. Right? They were at some stage compiled from source.
You're saying that I need the windows source rather than the linux
source?
--
Paul
http://www.redeemed.org.uk/
- [Freeciv-Dev] out of disk space? (PR#615), paulschultz, 2000/12/04
- [Freeciv-Dev] Re: out of disk space? (PR#615), Thue, 2000/12/04
- [Freeciv-Dev] Re: out of disk space? (PR#615), Paul Dean, 2000/12/04
- [Freeciv-Dev] Re: out of disk space? (PR#615), Thue, 2000/12/04
- [Freeciv-Dev] Re: out of disk space? (PR#615), Paul Dean, 2000/12/04
- [Freeciv-Dev] Re: out of disk space? (PR#615), Thue, 2000/12/04
- [Freeciv-Dev] Re: out of disk space? (PR#615),
Paul Dean <=
- [Freeciv-Dev] Re: out of disk space? (PR#615), Thue, 2000/12/04
- [Freeciv-Dev] Re: out of disk space? (PR#615), Paul Dean, 2000/12/14
- [Freeciv-Dev] Re: out of disk space? (PR#615), Andreas Kemnade, 2000/12/04
|
|