delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/26/14:48:10

X-Recipient: archive-cygwin AT delorie DOT 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: <4B366863.9070803@cwilson.fastmail.fm>
Date: Sat, 26 Dec 2009 14:47:47 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT 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 AT cygwin DOT com
Subject: Re: run2.exe segfaults when GDI and X11 elements are present
References: <4B262E7E DOT 4090001 AT cornell DOT edu> <4B280C6C DOT 90902 AT cwilson DOT fastmail DOT fm> <4B35E98A DOT 3090500 AT cwilson DOT fastmail DOT fm> <4B3621EE DOT 4090108 AT cornell DOT edu> <4B363968 DOT 1090609 AT cornell DOT edu> <4B364DCA DOT 2030601 AT cwilson DOT fastmail DOT fm> <4B365F6A DOT 1090605 AT cornell DOT edu>
In-Reply-To: <4B365F6A.1090605@cornell.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Ken Brown wrote:

> Thanks.  It builds with that patch and the old segfault is gone.  Still
> playing around with mintty, I found that I get a segfault if I try to
> run mintty with the option '-' (so that mintty will invoke the user's
> default shell as a login shell).
> 
> $ run2 --debug test1.xml
> setting debug level to (null)
> run2.exe DEBUG: xmlfile     : 'test1.xml'
> run2.exe DEBUG: opt_loglevel: 7
> run2.exe DEBUG: opt_nogui   : 0
> run2.exe DEBUG: opt_notty   : 0
> run2.exe DEBUG: opt_timeout :  0.50
> run2.exe DEBUG: opt_wait    : 0
> run2.exe DEBUG: opt_force   : auto
> Segmentation fault (core dumped)

Yes, I'm seeing strange segfaults in various situations now, too.
There's stack corruption going on, but I haven't yet figured out why/how.

Later tonight I'll commit my current working directory, which cleans up
a few things -- but I still haven't found the root cause of these new segvs.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019