X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=anto7lF7aI3c/1+JKi4Lb/mmxHw6JNEvPehN9sC9mwq vQwAlkNwQ6KklU3yKqUFpfjF3nwqsE1qrshDDSB5E451STPIbTNqNkmmPf9QtRi0 erLB6hDt6cBhTDIsNK+a0/DEdcTrmRMpeX3lSHvXWq411QsG36lz4+Gh+HVy/Dc4 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=w+90Kze5jUw1nx5hHguzB9xLF0Y=; b=ZUUFuzQQcTkAYl7/g pgnkc8YkhUgiMBS5aOGlSjRAqK1yn4w8wI5ES1/El8tghs/PND6yGJ/wAmePIc/9 3nMdSy+KykrbjFk/OdkGYbbLgjtvQ7dYW/ZjwiHc80i1sqjawXCwUVgM0vVUisrI fjF3m1wgQm4rrRP/p9ju/gctF4= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: out3-smtp.messagingengine.com Message-ID: <5302D944.9060509@cwilson.fastmail.fm> Date: Mon, 17 Feb 2014 22:53:40 -0500 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Patch for run-1.3.0-1 core dump References: <5208EF91 DOT 7070504 AT cwilson DOT fastmail DOT fm> <53024604 DOT 3080904 AT dronecode DOT org DOT uk> In-Reply-To: <53024604.3080904@dronecode.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2/17/2014 12:25 PM, Jon TURNEY wrote: > Since I've been running with CYGWIN error_start always set at the moment, I've > noticed that run is always crashing after launching the process. > > I went to all the trouble of investigating this, discovering that > run2_freeargv() is double-freeing the last element in newargv because the NULL > terminator isn't moved when the arguments are shifted down over newargv[0], > and writing a patch, before I noticed that we already had one :-( Yeah, I suck. I'm in the middle of a move, but I'll try to get this updated by this weekend. -- 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