From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11364 invoked by alias); 6 Apr 2010 19:06:23 -0000 Received: (qmail 10707 invoked by uid 22791); 6 Apr 2010 19:05:59 -0000 X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_YG,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from n14.bullet.mail.mud.yahoo.com (HELO n14.bullet.mail.mud.yahoo.com) (68.142.206.41) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 06 Apr 2010 19:05:54 +0000 Received: from [68.142.200.221] by n14.bullet.mail.mud.yahoo.com with NNFMP; 06 Apr 2010 19:05:52 -0000 Received: from [66.196.97.132] by t9.bullet.mud.yahoo.com with NNFMP; 06 Apr 2010 19:05:51 -0000 Received: from [127.0.0.1] by omp105.mail.re3.yahoo.com with NNFMP; 06 Apr 2010 19:05:51 -0000 Received: (qmail 76420 invoked by uid 60001); 6 Apr 2010 19:05:51 -0000 Message-ID: <730771.75866.qm@web88008.mail.re2.yahoo.com> Received: from [209.167.8.150] by web88008.mail.re2.yahoo.com via HTTP; Tue, 06 Apr 2010 12:05:51 PDT References: <745077.37241.qm@web88004.mail.re2.yahoo.com> <4BB0DB76.20708@dronecode.org.uk> <599525.40364.qm@web88006.mail.re2.yahoo.com> <4BBA5671.7060309@dronecode.org.uk> Date: Tue, 06 Apr 2010 21:16:00 -0000 From: Amal Khailtash Subject: Re: USER/GDI Objects leak with (XWin.exe) Cygwin/X X Server Verion 1.7.6, Build Date 2010-03-18 To: cygwin-xfree@cygwin.com In-Reply-To: <4BBA5671.7060309@dronecode.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2010-04/txt/msg00021.txt.bz2 Jon, I rebooted and started XWin. With one local xterm running the resource usage is: Image Name User Objects GDI Objects XWin.exe 26 51 I close the xterm window started with XWin. Image Name User Objects GDI Objects XWin.exe 22 46 Then I start a remote Konsole by: % ssh -X remote_server /usr/bin/konsole Image Name User Objects GDI Objects XWin.exe 27 55 On Konsole window, click on Settings | Font | Medium: Image Name User Objects GDI Objects XWin.exe 29 59 Click on Session menu and while the menu is open, move to Edit, then View, Bookmarks, Settings and Help and click outside to withdraw menu: Image Name User Objects GDI Objects XWin.exe 39 79 Click on any menu item and while the menu is open and move cursor to other menu items a number of (20) times: Image Name User Objects GDI Objects XWin.exe 241 483 Keep doing this and you will see the allocated objects keeps increasing and increasing and they are never released even if I close my Konsole window! Image Name User Objects GDI Objects XWin.exe 1,120 2,239 If you have a Windows XP that has not been modified to reserved more GDI space, you will start loosing window titles and menu items until your workstation is unstable and one needs to reboot! If you need further experiment with my TCL-based program (modelsim) that uses more bitmaps in its menu items, let me know. But the fact that the resources keep increasing by just selecting menu items, it tells me there is serious leak somewhere. Regards,-- Amal ----- Original Message ---- From: Jon TURNEY To: cygwin-xfree@cygwin.com Cc: akhailtash@yahoo.com Sent: Mon, April 5, 2010 5:30:25 PM Subject: Re: USER/GDI Objects leak with (XWin.exe) Cygwin/X X Server Verion 1.7.6, Build Date 2010-03-18 On 29/03/2010 18:20, Amal Khailtash wrote: > I do have native TCL installed as well, but I am not really running anything locally. The only client I run is a > Linux Konsole window launched by an SSH command. Once I have a remote terminal, I launch my simulation > tool (ModelSim). I watch the resources using windows Task Manager. > > Do you think that ModelSim or Konsole are eating up resources? Although, even when I quit those programs, > until I close XWin.exe, the resources are not freed! Well, how about approaching the problem methodically? If you boot up and just start the X server, do you see these leaks? Does starting you X client (Konsole via ssh) cause these leaks? Does starting your TCL application cause these leaks? > ----- Original Message ---- > Sent: Mon, March 29, 2010 12:55:18 PM > Subject: Re: USER/GDI Objects leak with (XWin.exe) Cygwin/X X Server Verion 1.7.6, Build Date 2010-03-18 > > On 22/03/2010 18:38, Amal Khailtash wrote: >> My Windows XP USER and GDI object counts, for process XWin.exe, keep going >> up even if I leave my PC running and doing nothing. The increase >> eventually makes my windows title-bars and and menu bars disappear and I >> need to reboot to be able to work again. > > How are you measuring these object counts? > > It's unclear from what you write if you have any X clients connected to your X server while the leak is occurring. > > It's interesting that, from your cygcheck output, you seem to have a native TCL installed, as that has been mentioned > previously associated with some source of resource leak problem (see [1]), although I've never been able to reproduce it. > > [1] http://sourceware.org/ml/cygwin-xfree/2009-02/msg00184.html -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/