delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/08/16:16:43

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; q=dns; s=default; b=Ht00qTXmcbBNITlf
W1PUzz9L8qW79Ee+0AihoCBy9LtPLBrjz9fsfJ1UnE2tA75Kt05DdFpo24KT5mX2
Xmu+a7UMYH8/HVQ+jvbJmomebH5bf7KYfNbQbRKSlX+hPDTZlnq92n2HsNJ5rumK
nXV15j/gio4hfDz2O3ILgPXGdCA=
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; s=default; bh=IkGutYpYPQ6qAanDn889s2
44ft8=; b=dOedAQDIPyraZsXajKiQyWLNpFCUnCkzpXOlt2tIRV+d8FR9YirjO3
yv+MVy3tBDgLoFp+fTdZ+WhIybS78K1EwJR03eMx/nNKUAOBmlORw/qTUr14t2KE
r3jtXBmjkRJ9yJJzP/oeY31mrg/55IJiyEIb2UDKJjnwOUB+Wi0E0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*RU:sk:mail.me, Hx-spam-relays-external:sk:mail.me, H*r:sk:mail.me, 3042
X-HELO: out1-smtp.messagingengine.com
X-ME-Sender: <xms:IqxyWLZld2zjqO60uGDYFmka91ZN__3GoUBHuiSX12M2tzS90Kdy1g>
Subject: Re: svn segfault when using svn+ssh schema
To: cygwin AT cygwin DOT com
References: <a1702beb-ff73-0005-6568-2f113ed1ab77 AT dwalin DOT fsnet DOT co DOT uk> <9a5a8d1d-2b71-522e-59a6-29ad915e2445 AT acm DOT org>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Message-ID: <4aa633a9-96a6-ba7c-e638-314522d98abe@dronecode.org.uk>
Date: Sun, 8 Jan 2017 21:16:13 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <9a5a8d1d-2b71-522e-59a6-29ad915e2445@acm.org>

On 08/01/2017 20:45, David Rothenberger wrote:
> On 1/8/2017 6:12 AM, Sam Edge wrote:
[...]
>>
>> I've attached cygcheck & the segfault stackdump.
>>
>> I'm at a loss. Any ideas?
>
> [Cygwin subversion maintainer here.]
>
> Sorry, I have no further ideas. svn+ssh is working fine for me here
> using both Cygwin and Debian as the server. Debian is running Subversion
> 1.8.10.
>
> I personally lack the technical skills to decode the stack trace. Maybe
> someone else can. Alternatively, you could theoretically download the

The script at [1] shows how to do this. Unfortunately...

> $ stackdump2backtrace svn.stackdump
> 0x0000000180053d3f    dll_list::populate_deps(dll*)    dll_init.cc:271
> 0x0000000180053f9a    dll_list::topsort()              dll_init.cc:309
> 0x00000001800ab62d    fork                             fork.cc:597
> 0x000000018011882b    xc                               sigfe.s:43
> 0x00000003fa778644    xc                               ??:0
> 0x00000003ed275773    xc                               ??:0
> 0x00000003ed275e3d    xc                               ??:0
> 0x00000003ed2d41f4    xc                               ??:0
> 0x00000003ed40fc0f    xc                               ??:0
> 0x00000003ed41079e    xc                               ??:0
> 0x00000003ed3f2d59    xc                               ??:0
> 0x00000003ed3f3320    xc                               ??:0
> 0x000000010040b9f9    svn_cl__list                     list-cmd.c:387
> 0x00000001004178fd    sub_main                         svn.c:3042
> 0x000000010041b755    main                             svn.c:3126
> 0x0000000180047902    dll_crt0_1(void*)                dcrt0.cc:1018

... this is a crash in the cygwin DLL.

Also unfortunately, the stackdump doesn't record the DLLs loaded and 
their bases addresses, so we can only guess which one ended up at 
0x00000003e0000000

> subversion debug package and reproduce the error in gdb to get a
> backtrace. Again, my C/gdb skills are rusty, so I can't provide any
> details about how to do that.

So see also [2] and note well the point about 'set cygwin-exceptions on'

[1] https://cygwin.com/ml/cygwin/2015-08/msg00311.html
[2] https://cygwin.com/faq.html#faq.programming.debugging-cygwin


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