delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/01/12:58:53

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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=BvZ
1bS6tQLtiX3mNHpbLyiQNrPHo9A2717iuxl4idH9Bz/3pfG4xd7939P0hr8J+jiH
k2qvwFNcgfULkiL/t/7w/0bBXMklYOBnYI6CpNmKe4TzpPHJ8I2q+uXlo4wxUrGO
bpvO3/pn5b28mAmrTKreVLetClS9JxNYxakFyGqY=
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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=fZODr8Onh
lqJMJdXJNFMIeekmiA=; b=acoH4e8h8Uk5dpXJrJ2JOqN3VWszcThDboHxFN2rW
epZIZ3acskPh/R6jBVvg3ZA5IopgHIgCoMtmskyEastwYA8+kxMcfSD20kujKVGf
z1tEnnz9zow/JzHwC+datqiC0boCvUSXhx/j62XUjBRqa0ToSLe7+CMjlMLmVp/L
ms=
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-Spam-SWARE-Status: No, score=3.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_BADIPHTTP,NUMERIC_HTTP_ADDR,RCVD_IN_DNSWL_NONE,SPOOFED_FREEMAIL,WEIRD_PORT autolearn=no version=3.3.1 spammy=H*r:encrypted, Connection
X-HELO: mailout02.t-online.de
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
Subject: subversion-1.11.1-1+libserf1_0-1.3.9-1: Segfault after failed connect + empty serf debug package
To: cygwin AT cygwin DOT com
Message-ID: <1ea5652a-4f9f-051d-e9fa-76e91b375d81@t-online.de>
Date: Wed, 1 Jan 2020 18:57:47 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 SeaMonkey/2.53
MIME-Version: 1.0
X-IsSubscribed: yes

Subversion segfaults with null instruction pointer after a failed 
connect. This affects the http and https protocols but not the svn protocol.
Related report: https://cygwin.com/ml/cygwin/2019-11/msg00126.html

Testcase:

$ uname -srvmo
CYGWIN_NT-10.0 3.1.2(0.340/5/3) 2019-12-21 15:25 x86_64 Cygwin

$ cygcheck -f /bin/svn
subversion-1.11.1-1

$ cygcheck -f /bin/cygserf-1-0.dll
libserf1_0-1.3.9-1

$ svn info https://127.0.0.1:49494
Segmentation fault (core dumped)

$ svn info http://127.0.0.1:49494
Segmentation fault (core dumped)

$ svn info svn://127.0.0.1:49494
svn: E170013: Unable to connect to a repository at URL 
'svn://127.0.0.1:49494'
svn: E000111: Can't connect to host '127.0.0.1': Connection refused

Stacktrace from gdb:

#0  0x0000000000000000 in ?? ()
#1  0x00000003ce7c2c87 in serf.process_connection () from 
/usr/bin/cygserf-1-0.dll
#2  0x00000003ce7c1333 in serf_event_trigger () from 
/usr/bin/cygserf-1-0.dll
#3  0x00000003ce7c141c in serf_context_run () from /usr/bin/cygserf-1-0.dll
#4  0x00000003ce0e7a11 in svn_ra_serf__context_run (sess=0x8000c2fb8, 
waittime_left=0xffffbef0, scratch_pool=0x8000d7e38)
     at 
/usr/src/debug/subversion-1.11.1-1/subversion/libsvn_ra_serf/util.c:913
...

Is possibly some error handling function pointer not set properly?

Same problem applies to cygwin x86 version. Downgrading to 
cygwin-3.0.7-1, libserf1_0-1.3.8-1 and subversion-1.10.4-1 does not help.

There is no easy way for further debugging. A serf-debuginfo package 
exists, but its tarball is empty...

PS: On the mirrors, there is still a serf-1.2.1-1-src.tar.bz2 with a 
(nonempty!) serf-debuginfo-1.2.1-1.tar.bz2 but the corresponding binary 
package libserf1_0-1.2.1-1.tar.xz is missing.

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