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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type:content-transfer-encoding :reply-to; q=dns; s=default; b=a1xDyeHRo581xyHzpaMyx62/hElujhf4k b/RJ/hR8s18BKRlZsamZcomfjrz6+PJ5KXMv76tnm3zRuXm46lCi+CtUPjsP6iBn xYj6yF4p2vrw/HTeRBIXZ4aOdkAq43LZyCZNs91sqv3+6YGunhKQZC+mXuD6bsud xpx8cokipw= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type:content-transfer-encoding :reply-to; s=default; bh=UOGamGfVPtLCU98scaj4MdD9X0o=; b=G+LmNSj CIvn5oVTDEqoKyZfBUlpcOwBM8egKNSi1kyu601c6w/qAiIkHQlTwH/DAnt7lfrp xjtRRxRVWbWMWQeRiwg8EthoNc5CdUprLfru4eWBY5mCFXoyiQUQz91amRPfUmb5 CZl2iXakpLdVMUaoNpUzfI16dvt9gQn5upjM= 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=4.4 required=5.0 tests=BAYES_99,BAYES_999,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=Greg, earnest, mirror, crashed X-HELO: resqmta-po-08v.sys.comcast.net Subject: Re: subversion 1.9.3-1 segfault To: cygwin AT cygwin DOT com References: <56BA2465 DOT 9040809 AT sbcglobal DOT net> <56BF78DF DOT 7090000 AT acm DOT org> <56C73BE9 DOT 1080305 AT sbcglobal DOT net> From: David Rothenberger X-Enigmail-Draft-Status: N1110 Message-ID: <56C742BD.3040503@acm.org> Date: Fri, 19 Feb 2016 08:28:45 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56C73BE9.1080305@sbcglobal.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Greg Chicares wrote: > On 2016-02-13 18:41, David Rothenberger wrote: >> On 2/9/2016 9:39 AM, Greg Chicares wrote: >>> 'svn' segfaulted on a routine command: >>> >>> /lmi/mirror/lmi[0]$svn status --show-updates >>> >>> svn: E170013: Unable to connect to a repository at URL 'http://svn.savannah.nongnu.org/svn/lmi/lmi/trunk' >>> svn: E000104: Error running context: Connection reset by peer >>> svn update >>> Updating '.': >>> zsh: segmentation fault (core dumped) >>> >>> The command worked as expected when I reran it (after 'svn cleanup'): >> [snip] >>> >>> It's working now, and I can't reproduce the problem, but I thought >>> I should report it anyway. I've attached cygcheck -s -v -r output >>> and copied 'svn.exe.stackdump' below. >>> >>> Exception: STATUS_ACCESS_VIOLATION at eip=00000000 >>> eax=200C61B8 ebx=200A8DE8 ecx=0022C39C edx=00000000 esi=00000000 edi=00000011 >>> ebp=200C01A0 esp=0022C35C program=C:\cygwin-lmi\bin\svn.exe, pid 1736, thread main >>> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 >>> Stack trace: >>> Frame Function Args >>> 200C01A0 00000000 (00000000, 00000000, 6C1D5580, 200A0E90) >>> 200A8DE8 00000000 (00000002, 200A8DE8, 2009EDC0, 200AAEC8) >>> 2009F5D8 00000000 (6C701180, 6C701160, 00000000, 2009F978) >>> 2009EDC0 2009F628 (00000000, 20052794, 200AAF00, 00000000) >>> 20052790 200C81B8 (2004D788, 200430F4, 00000000, 20052C08) >>> 200430F0 2009EDC0 (2003EF00, 20038D6C, 20054CB0, 00000000) >>> 20038D68 20052790 (00000000, 00000000, 20038E88, 00000000) >> >> I wasn't able to get any useful information out of the stack trace. >> Running addr2line does not show any functions. I'm not sure if this is >> because you don't have the subversion-debuginfo package installed. I >> would suggest you install this in case it makes a difference and the >> failure happens again. > > I've installed 'subversion-debuginfo' and rebooted. After working okay > for a few days, 'svn' is now segfaulting again. A coworker who did a > brand-new Cygwin installation on a new machine yesterday reports 'svn' > failing for her too, also with a stackdump. > > Here's my failing command: > > /lmi/mirror/lmi[1]$svn update > > Updating '.': > > zsh: segmentation fault (core dumped) svn update > > > (The last line means that 'zsh' caught the segfault, not that zsh crashed.) > > Today's stackdump looks much the same to me as last week's: > > Exception: STATUS_ACCESS_VIOLATION at eip=00000000 > eax=200C6268 ebx=200A8E98 ecx=0022C39C edx=00000000 esi=00000000 edi=00000011 > ebp=200C0250 esp=0022C35C program=C:\cygwin-lmi\bin\svn.exe, pid 1164, thread main > cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 > Stack trace: > Frame Function Args > 200C0250 00000000 (00000000, 00000000, 6C1D5580, 200A0F40) > 200A8E98 00000000 (00000002, 200A8E98, 2009EE70, 200AAF78) > 2009F688 00000000 (6C701180, 6C701160, 00000000, 2009FA28) > 2009EE70 2009F6D8 (00000000, 20052794, 200AAFB0, 00000000) > 20052790 200C8268 (2004D788, 200430F4, 00000000, 20052C08) > 200430F0 2009EE70 (2003EF00, 20038D6C, 20054CB0, 00000000) > 20038D68 20052790 (00000000, 00000000, 20038E88, 00000000) > End of stack trace > > ...and I don't see any useful information from 'addr2line': > > $addr2line -e /usr/bin/svn 0x200c0250 0x2009ee70 0x2009f6d8 > > ??:0 > > ??:0 > > ??:0 > > > Attached is fresh 'cygcheck' output. > > I'll try running 'svn' under 'gdb'. Is there anything else I can do to help? That's the only other thing I can think of. If you can catch the segfault and get a backtrace, I may be able to track it down. Or if you can create a simple test case to reproduce the problem, I can use gdb. Honestly, though, it's been a long time since I've done C programming and used gdb in earnest, so it will be slow going for me to debug this. -- David Rothenberger ---- daveroth AT acm DOT org -- 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