From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27328 invoked by alias); 23 May 2012 12:50:48 -0000 Received: (qmail 27318 invoked by uid 22791); 23 May 2012 12:50:46 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-gg0-f171.google.com (HELO mail-gg0-f171.google.com) (209.85.161.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 May 2012 12:50:33 +0000 Received: by ggmi1 with SMTP id i1so7470566ggm.2 for ; Wed, 23 May 2012 05:50:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.170.145 with SMTP id am17mr26120183oec.73.1337777432684; Wed, 23 May 2012 05:50:32 -0700 (PDT) Received: by 10.182.19.195 with HTTP; Wed, 23 May 2012 05:50:32 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 May 2012 12:50:00 -0000 Message-ID: Subject: Re: Trying to find a solution for segmentation fault crashes in the most recent x server provided by setup.exe From: "Larry W. Virden" To: cygwin-xfree@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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: 2012-05/txt/msg00042.txt.bz2 Well we continue to discover new things about our specific situation with xfree server crashes. This may in fact be a general cygwin problem rather than xfree. What we are finding is a change in general process handling. During our original testing - on windows 7 32-bit - we tested scripts we had developed under XP that prompt the user for information about the server, login, etc. and then start the x server and invoke the cygwin xterm or mintty to perform an ssh -Y to the server as the login specified. The code looked at the processes, identified whether or not the server was running, and, if not, launches a new server. Otherwise, the code skips that step and goes on to start the terminals. After testing, a deployment decision was made to move to windows 7 64 bit instead. We assumed that everything would continue to work as tested. What we are seeing, now however, is that we are getting multiple X servers started. Even worse, we are seeing processes like bash, ssh, mintty, and xterm hanging around after the user has closed the windows. We are looking into why the script is no longer seeing the X server process running. But the fact that those processes are sticking around after the windows are closed seems to be an issue. Anyways, as soon as someone tries to use windows attached to more than one of the running X servers, then we see crashes. Not all the servers crash, which really caused us a lot of confusion - we would get error messages saying the server had crashed, but occasionally xterms would still be running, etc. I am a bit surprised that the X server itself doesn't prevent someone from starting a second version on the same cpu/disk/cygwin instance. But perhaps there is some use for that kind of special functionality. Has anyone else seen similar behaviors? -- 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/