X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,FB_WORD1_END_DOLLAR,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B36E851.5060205@cwilson.fastmail.fm> Date: Sat, 26 Dec 2009 23:53:37 -0500 From: Charles Wilson 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> <4B366863 DOT 9070803 AT cwilson DOT fastmail DOT fm> In-Reply-To: <4B366863.9070803@cwilson.fastmail.fm> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Charles Wilson wrote: > 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. 2009-12-26 Charles Wilson <...> Fix various bugs. * configure.ac: Check for math.h. * lib/checkX.c: Work around conflict between X11/Xlib.h and windows headers. * lib/util.c (run2_vmessage_): Ensure strings are null- terminated (paranoia). * lib/target.c (run2_create_cmdline_from_argv): Fix buffer overflow error. 2009-12-26 Charles Wilson <...> Synchronize run2_gpl with recent run.exe improvements. * run2_gpl.c (setup_win_environ): Renamed to... (run2_setup_win_environ): this. Ripple to all callers. (run2_have_console): New function. (run2_setup_invisible_console): Add debug messages. (run2_configure_startupinfo): Synchronize with run.exe -- add debug messages, allow caller to force use of pipes, and open CONIN$ and CONOUT$ explicitly for child std handles, if not using pipes. (run2_start_child): Implement W7 workaround. * run2_gpl.h (setup_win_environ): Renamed to... (void run2_setup_win_environ): this. (run2_have_console): New function. (run2_configure_startupinfo): Accept new bForceUsingPipes argument. Still hunting the stack corruption/segv bug. PTC! -- 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