public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* subversion-1.11.1-1+libserf1_0-1.3.9-1: Segfault after failed connect + empty serf debug package
@ 2020-01-01 17:58 Christian Franke
  2020-01-09 17:11 ` David Rothenberger
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Franke @ 2020-01-01 17:58 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-10 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01 17:58 subversion-1.11.1-1+libserf1_0-1.3.9-1: Segfault after failed connect + empty serf debug package Christian Franke
2020-01-09 17:11 ` David Rothenberger
2020-01-10 17:22   ` David Rothenberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).