This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: svn segfault when using svn+ssh schema


On 09/01/2017 02:04, Eliot Moss wrote:
> On 1/8/2017 3:45 PM, David Rothenberger wrote:
>> On 1/8/2017 6:12 AM, Sam Edge wrote:
>>> I've seen a number of 'svn segfault' threads on the mailing list
>>> archive
>>> but none of them seem to cover this specific failure mode.
>>> (Apologies if
>>> one of them does!)
>>>
>>> I'm getting segfaults from svn but only when using ssh as the schema.
>>> The following three commands are all accessing the same server, the
>>> name
>>> of which has been changed to protect the guilty.
>>>
>>> --------
>>> SamEdge@thor ~
>>> $ ssh cmserver.XXXXXX.com
>>> ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries
>>> commit-revprops depth log-revprops atomic-revprops partial-replay
>>> inherited-props ephemeral-txnprops file-revs-reverse ) ) )
>>> SamEdge@thor ~
>>> $ svn ls svn+ssh://cmserver.XXXXXX.com/edl/
>>> Segmentation fault (core dumped)
>
> Assuming this is repeatable behavior, perhaps getting a trace using
> strace would reveal some more useful information.
>
> Regards - Eliot Moss
>
Good idea.

Strangely, on another Windows 7 64-bit machine svn+ssh to the same
server is working fine for me. The most significant differences are that
the 'working' machine is running Windows 7 Pro on an Intel CPU with
Sophos AV and domain accounts whereas the 'failing' machine is Windows 7
Home Premium on an AMD with MS Security Essentials and local accounts.
These differences may or may not be relevant of course.

Anyway, attached are the two strace outputs. Diffing them suggests that
it's segfaulting in the fork() "system" call.

I don't have time in the week to run it in a debug session but I'll try
to do so at the weekend given the advice I've been given here. I will
also do a rebaseall after I've tracked down the

Thanks for the feedback folks. Much appreciated.

BR


-- 
Sam Edge

Attachment: strace-svn-ssh.intel.log
Description: Text document

Attachment: strace-svn-ssh.amd.log
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]