[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: backgrounding 'svn log' over serf

From: Lieven Govaerts <lgo_at_apache.org>
Date: Wed, 19 Dec 2012 21:37:31 +0100

On Wed, Dec 19, 2012 at 8:31 PM, Philip Martin
<philip.martin_at_wandisco.com> wrote:
> "C. Michael Pilato" <cmpilato_at_collab.net> writes:
>
>> On 12/19/2012 01:59 PM, C. Michael Pilato wrote:
>>> On 12/19/2012 01:53 PM, Daniel Shahaf wrote:
>>>> Actual result: backgrounding svn killed it.
>>>>
>>>> Expected result: after 'bg\n', keep fetching+filtering+printing log
>>>> messages in the background.
>>>>
>>>> It worked in 1.7 with neon. Can we make it work in 1.8 too?
>>>
>>> Please file an issue. With as much code and complaint flying around as we
>>> have, sometimes my view is: "No issue, no problem." But I suspect the
>>> issue needs to be filed against Serf, not Subversion. The error you show is
>>> simply what is returned from serf_context_run().
>>
>> Sorry: to clarify, it's a Subversion-generated error message which wraps
>> the status code returned from serf_context_run().
>
> Yes, I can reproduce it on my Linux machine but only if the interrupt
> occurs in an epoll_wait call:
>
> epoll_wait(3, ^Z
> [1]+ Stopped strace subversion/svn/.libs/lt-svn log http://svn.apache.org/repos/asf/subversion
> $ fg
> strace subversion/svn/.libs/lt-svn log http://svn.apache.org/repos/asf/subversion
> 7fb0234461e8, 16, 500) = -1 EINTR (Interrupted system call)
> --- SIGCONT (Continued) @ 0 (0) ---

On Ubuntu I can reproduce this issue at the first try, On Mac OS X not at all.

Attached patch to serf fixes the issue for me.

[..]

Lieven

Received on 2012-12-19 21:38:24 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.