X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B37C648.2000308@cwilson.fastmail.fm>
Date: Sun, 27 Dec 2009 15:40:40 -0500
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: run2.exe segfaults when GDI and X11 elements are present
References: <4B262E7E.4090001@cornell.edu> <4B280C6C.90902@cwilson.fastmail.fm> 	 <4B35E98A.3090500@cwilson.fastmail.fm> <416096c60912260311j2fe7ab86mf32652a443775346@mail.gmail.com> <4B373223.80202@cwilson.fastmail.fm>
In-Reply-To: <4B373223.80202@cwilson.fastmail.fm>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Charles Wilson wrote:
> Andy Koppe wrote:
> 
>> Is it trying to hide mintty's console window, but ending up hiding the
>> actual mintty window because mintty is a GUI subsystem app and hence
>> doesn't have a console?
> 
> Well, it seems to have /something/ to do with the fact that mintty is a
> GUI app.  The original run.exe program doesn't have a problem with
> mintty -- and run.exe has special code to (a) detect if a target is GUI,
> and (b) use an alternate method to spawn the target if so.
> 
> run2 doesn't have that. I'll add it, and see if that helps.

Yep, this fixes /that/ issue.

--
Chuck



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

