[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-04 Thread David Fernandez
Follow-up Comment #27, bug #21851 (project freeciv): I'm afraid the patch from bug #21942 fixes gtk3, but does not fix this problem with gtk2 (if I patched and tested it properly). I keep noticing 2 causes of memory leak with gtk2: 1) huge leak while scrolling the production dropdown menu. 2) sma

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-04 Thread David Fernandez
Follow-up Comment #26, bug #21851 (project freeciv): >What is version of your gtk? libgtk-2: 2.24.23-0 libgtk-3: 3.10.8-0 My SO: Kubuntu 14.04 Kernel: 3.13.0-44-generic KDE: 4.13.3 gtk-3 client still crashes for me when I try to open a city dialog (S2_5 rev27747). I reported it in bug #21942.

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-04 Thread David Fernandez
Follow-up Comment #25, bug #21851 (project freeciv): When I first reported this problem, I tested both available themes (default and oxygen) and I noticed similar memory problems, as I said in a previous post. But I think there are different causes of memory leak here. The problem while scrolling

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-03 Thread Marko Lindqvist
Follow-up Comment #24, bug #21851 (project freeciv): I were about to ask if changing the theme affects this, as freeciv theme's background image has been involved in many many problems in the past, but your screenshot shows that you're not even using freeciv's own theme. Maybe it's still worth tes

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-02 Thread David Fernandez
Follow-up Comment #23, bug #21851 (project freeciv): I have tested the patch #5776 and I'm afraid it does not fix the memory leak. (S2_5 rev27747 with gtk-2 client) I found that the main trigger of the memory leak is actually to scroll down and up the list of items, even if the items are not real

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-01 Thread David Fernandez
Follow-up Comment #22, bug #21851 (project freeciv): After some more tests, I think you are right, the key factor is the selection of a item in the dropdown menu. No need to click it, just to move the mouse over the items, and the memory usage of Xorg increase a ridiculous amount, up to 100 MB in

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-01 Thread Marko Lindqvist
Follow-up Comment #21, bug #21851 (project freeciv): > If I actually choose something from the menu, Xorg takes a lot > of memory and that's not restored for some time. That seems to correlate with the fact that the menu opens on top of city improvements list -> once the menu closes, pointer is o

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-01 Thread David Fernandez
Follow-up Comment #20, bug #21851 (project freeciv): >If I actually choose something from the menu, Xorg takes a lot of memory and that's not restored for some time. That is similar to what I noticed. Most of my pc freezes occurred at that point, just when I press a item in the drop down menu. I

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-01 Thread Marko Lindqvist
Follow-up Comment #19, bug #21851 (project freeciv): I can't reproduce any lasting memory loss (sometimes it takes a while for things to settle). When I first open the dropdown menu, Xorg takes a bit more memory. If I then cancel the menu (click the arrow again), the memory is immediately restore

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-01 Thread David Fernandez
Follow-up Comment #18, bug #21851 (project freeciv): >In the "Overview" tab? Yes, for some reason I find it faster here than changing the tab. >Does using the "Production" -tab cause similar memory problem? I admit I hardly use the production tab, so I can't tell. I'll test to use the tab instea

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-01 Thread Marko Lindqvist
Follow-up Comment #17, bug #21851 (project freeciv): > If it helps, in my case, the event that increase the memory > usage the most is the use of the dropdown menu to change the > production in the city window. In the "Overview" tab? I almost never use that myself, using the worklist even when I

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-01 Thread David Fernandez
Follow-up Comment #16, bug #21851 (project freeciv): If it helps, in my case, the event that increase the memory usage the most is the use of the dropdown menu to change the production in the city window. This problem used to force me to restart the system when running out of memory, but I learnt

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-01 Thread Louis Moureaux
Follow-up Comment #15, bug #21851 (project freeciv): I can reproduce the leak in the X server (1.16.3, Arch version) with Freeciv 2.4.4 (Gtk 2 client). As far as I remember, this problem has been around for a long time (all I can say is it was likely not present before Amplio became the default).

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2015-02-01 Thread Marko Lindqvist
Follow-up Comment #14, bug #21851 (project freeciv): Does this still happen with current Ubuntu versions? Is this freeciv-2.5 regression compared to freeciv-2.4? If it's an regression and affects current OS versions, this seems like a freeciv-2.5.0 blocker. Is gtk2-client the only client affecte

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5 (in X server?)

2014-07-15 Thread Jacob Nevins
Update of bug #21851 (project freeciv): Summary: Possible memory leak in S2_5 => Possible memory leak in S2_5 (in X server?) ___ Reply to this item at: _

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-21 Thread David Fernandez
Follow-up Comment #13, bug #21851 (project freeciv): I think you are right about X server, jtn. >Can you spot any other process' memory usage increasing? In my case, the process "freeciv-gtk2" keeps constant memory usage, "kwin" changes when I open window, but it returns to similar memory usage wh

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-21 Thread Jordi Negrevernis i Font
Follow-up Comment #12, bug #21851 (project freeciv): > (jorneg writes: "You continue to have the same problem with Ubuntu 12.04" ... do you mean that you, jorneg, have the same problem?) Yes, I refer to me, sorry. ___ Reply to this item a

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-21 Thread Jacob Nevins
Follow-up Comment #11, bug #21851 (project freeciv): bardo writes [Kubuntu 13.10]: > When I monitor the memory usage (Kinfocenter), the free > memory clearly decreases when I open a city window [...] > However, the memory used by freeciv, as reported by the > process monitor, remains the same.

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-21 Thread Jordi Negrevernis i Font
Follow-up Comment #10, bug #21851 (project freeciv): You continue to have the same problem with Ubuntu 12.04 ( with the Unity interface)... To see the problem I use the system monitor of gnome. Every time you open a city window the overall memory of the process freeciv-gtk2 increases... It could

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-19 Thread David Fernandez
Follow-up Comment #9, bug #21851 (project freeciv): My case is exactly as described by Emmet Hikory (also with Kubuntu 13.10). When the game advances and I have a lot of cities (100 or so), I have to close freeciv and relaunch it every turn. If I try to play 2 consecutive turns, my pc uses to get

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-19 Thread Jacob Nevins
Update of bug #21851 (project freeciv): Planned Release: => 2.5.0,2.6.0 ___ Follow-up Comment #8: I had a quick go at reproducing this problem, but didn't see any obvious leakage on my system (X

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-14 Thread Jordi Negrevernis i Font
Follow-up Comment #7, bug #21851 (project freeciv): I'm able to go to the city window (S2_4 on ubuntu 12.04) without the suppression file seeing the results of valgrind... It must be your distribution... Note: the are a lot of errors on system libraries... This is the last part: ==2711==by

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-13 Thread Emmet Hikory
Follow-up Comment #6, bug #21851 (project freeciv): Unfortunately, even with the suppressions file loaded (adding --suppressions=scripts/freeciv.supp to the command line), valgrind stops processing before being able to open city windows (or even starting the game: connecting to the server and load

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-13 Thread Marko Lindqvist
Follow-up Comment #5, bug #21851 (project freeciv): About running valgrind for freeciv: Note that we have suppressions file scripts/freeciv.supp available. ___ Reply to this item at:

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-13 Thread Marko Lindqvist
Update of bug #21851 (project freeciv): Category:None => client-gtk-2.0 ___ Reply to this item at: ___ Message sent

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-11 Thread Emmet Hikory
Follow-up Comment #4, bug #21851 (project freeciv): I intended to debug this, so built trunk@r24754 on kubuntu 13.10, and launched freeciv-client with `G_SLICE=debug-blocks valgrind --tool=memcheck --leak-check=full ./client/freeciv-gtk3` as recommended at http://stackoverflow.com/questions/166597

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-04-10 Thread David Fernandez
Follow-up Comment #3, bug #21851 (project freeciv): This issue get worse with time for me. At the end of the game my freeciv was crashing every 2 or 3 turns due to lack of memory... I confirm it is not related to windows themes (oxygen or default). Latest tests with rev24753. ___

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-03-22 Thread David Fernandez
Follow-up Comment #2, bug #21851 (project freeciv): I agree it seems related to the city windows. Mine is kubuntu 13.10. I'm usign "oxygen-gtk" as theme in freeciv options, instead of the default one. Next time I'll try a different theme to see if this is the cause. __

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-03-21 Thread Jordi Negrevernis i Font
Follow-up Comment #1, bug #21851 (project freeciv): Yes. The cost of opening the city windows and closing it is between 1 & 2MB leaked. This is in Ubuntu 10.04. ___ Reply to this item at: ___

[Freeciv-Dev] [bug #21851] Possible memory leak in S2_5

2014-03-20 Thread David Fernandez
URL: Summary: Possible memory leak in S2_5 Project: Freeciv Submitted by: bardo Submitted on: vie 21 mar 2014 06:17:31 UTC Category: None Severity: 3 - Normal Pr