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: <4B38DE2B.1080401@cwilson.fastmail.fm> Date: Mon, 28 Dec 2009 11:34:51 -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> <4B36E851 DOT 5060205 AT cwilson DOT fastmail DOT fm> <4B372F4A DOT 2000305 AT cwilson DOT fastmail DOT fm> <4B377101 DOT 5050602 AT cornell DOT edu> <4B37C69A DOT 7070003 AT cwilson DOT fastmail DOT fm> <4B37E04D DOT 7080201 AT cornell DOT edu> <4B37E2B9 DOT 8020801 AT cornell DOT edu> <4B386A9E DOT 9030102 AT cwilson DOT fastmail DOT fm> <4B38BA90 DOT 7030704 AT cornell DOT edu> <4B38CF63 DOT 5000409 AT cwilson DOT fastmail DOT fm> In-Reply-To: <4B38CF63.5000409@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: > NOW I see the coredump -- which is occurring inside the xml parsing > subroutines. I *HOPE* this is an entirely different bug than the one > that started this thread. > > I'll followup with another message after I start debugging the new > test1.xml coredump. This was an unsigned underflow error. Both i and buffer->buf_used are unsigned: for (i = 0; i < buffer->buf_used - 3; i++, p++) Imagine what happens when buffer->buf_used is "2". Fixed in r26. Now, back to test.xml with DISPLAY unset...which I can reproduce. Should be an easy fix. -- 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