You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Martin Hauner <ma...@gmx.net> on 2009/09/20 08:51:39 UTC

serf on MacOSX?

Hi,

I'm trying to run svn (1.6.5) with serf (0.3.1, apr 1.3.7, apr-util 1.3.8) on 
MacOSX (10.5)(as a static build). I have built (gcc 4.0.1) svn with neon and 
serf (extracted into the svn source directory). Running with neon works fine but 
after switching to serf (http-library = serf) it just crashes.

Any idea what is going on here...?


conn->session is NULL in line 233

(gdb) set args ls https://svn.collab.net/repos/svn
(gdb) file svn
Reading symbols for shared libraries ............ done
Reading symbols from /Users/hauner/svn-1.6.5s/bin/svn...done.
(gdb) run
Starting program: /Users/hauner/svn-1.6.5s/bin/svn ls 
https://svn.collab.net/repos/svn
Reading symbols for shared libraries +++++++++++..................... done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
0x00102647 in svn_ra_serf__conn_setup (sock=0x520068, baton=0x822c54, 
pool=0xbfffee68) at subversion/libsvn_ra_serf/util.c:233
233	  bucket = serf_context_bucket_socket_create(conn->session->context,

-- 
Martin

Subcommander 2.0.0 Beta 5 - http://subcommander.tigris.org
a Win32/Unix/MacOSX subversion GUI client & diff/merge tool.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2396983

Re: serf on MacOSX?

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Sep 21, 2009 at 11:25:24PM +0200, Lieven Govaerts wrote:
> Serf trunk is broken ATM. I'll maintain a separate serf 0.3.x branch
> with some fixes for 'urgent' issues in serf 0.3 until I/Paul/anyone
> gets serf trunk working again.

If you get a chance, can you merge r1221 into that branch?
It fixes apr/apr-util detection in serfmake for me.

Thanks,
Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2397602

Re: serf on MacOSX?

Posted by Lieven Govaerts <sv...@mobsol.be>.
On Mon, Sep 21, 2009 at 10:32 PM, Martin Hauner <ma...@gmx.net> wrote:
> Hi,
>
> On 21.09.09 22:02, Martin Hauner wrote:
>> Hi,
>>
>> On 20.09.09 21:25, Blair Zajac wrote:
>>> Martin Hauner wrote:
>>>> Hi,
>>>>
>>>> I'm trying to run svn (1.6.5) with serf (0.3.1, apr 1.3.7, apr-util
>>>> 1.3.8) on MacOSX (10.5)(as a static build). I have built (gcc 4.0.1)
>>>> svn with neon and serf (extracted into the svn source directory).
>>>> Running with neon works fine but after switching to serf (http-library
>>>> = serf) it just crashes.
>>>>
>>>> Any idea what is going on here...?
>>>
>>> Do you mean serf 0.3.0? I don't see a 0.3.1 release.
>>
>> Hmm, you are right. Looks like I'm using the serf trunk. I will retry with 0.3.0.

Serf trunk is broken ATM. I'll maintain a separate serf 0.3.x branch
with some fixes for 'urgent' issues in serf 0.3 until I/Paul/anyone
gets serf trunk working again.

>
> Interesting, it works with serf 0.3.0.

That's good to hear.

Lieven

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2397595

Re: serf on MacOSX?

Posted by Martin Hauner <ma...@gmx.net>.
Hi,

On 21.09.09 22:02, Martin Hauner wrote:
> Hi,
>
> On 20.09.09 21:25, Blair Zajac wrote:
>> Martin Hauner wrote:
>>> Hi,
>>>
>>> I'm trying to run svn (1.6.5) with serf (0.3.1, apr 1.3.7, apr-util
>>> 1.3.8) on MacOSX (10.5)(as a static build). I have built (gcc 4.0.1)
>>> svn with neon and serf (extracted into the svn source directory).
>>> Running with neon works fine but after switching to serf (http-library
>>> = serf) it just crashes.
>>>
>>> Any idea what is going on here...?
>>
>> Do you mean serf 0.3.0? I don't see a 0.3.1 release.
>
> Hmm, you are right. Looks like I'm using the serf trunk. I will retry with 0.3.0.

Interesting, it works with serf 0.3.0.

Sorry for the noise..

-- 
Martin

Subcommander 2.0.0 Beta 5 - http://subcommander.tigris.org
a Win32/Unix/MacOSX subversion GUI client & diff/merge tool.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2397578

Re: serf on MacOSX?

Posted by Martin Hauner <ma...@gmx.net>.
Hi,

On 20.09.09 21:25, Blair Zajac wrote:
> Martin Hauner wrote:
>> Hi,
>>
>> I'm trying to run svn (1.6.5) with serf (0.3.1, apr 1.3.7, apr-util
>> 1.3.8) on MacOSX (10.5)(as a static build). I have built (gcc 4.0.1)
>> svn with neon and serf (extracted into the svn source directory).
>> Running with neon works fine but after switching to serf (http-library
>> = serf) it just crashes.
>>
>> Any idea what is going on here...?
>
> Do you mean serf 0.3.0? I don't see a 0.3.1 release.

Hmm, you are right. Looks like I'm using the serf trunk. I will retry with 0.3.0.

> I can't reproduce this with a MacPorts build with everything and using
> serf. Have you tried using a MacPorts build? Can you reproduce it there?

Nope. No MacPorts here.

>
> Regards,
> Blair


-- 
Martin

Subcommander 2.0.0 Beta 5 - http://subcommander.tigris.org
a Win32/Unix/MacOSX subversion GUI client & diff/merge tool.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2397573

Re: serf on MacOSX?

Posted by Blair Zajac <bl...@orcaware.com>.
Martin Hauner wrote:
> Hi,
> 
> I'm trying to run svn (1.6.5) with serf (0.3.1, apr 1.3.7, apr-util 1.3.8) on 
> MacOSX (10.5)(as a static build). I have built (gcc 4.0.1) svn with neon and 
> serf (extracted into the svn source directory). Running with neon works fine but 
> after switching to serf (http-library = serf) it just crashes.
> 
> Any idea what is going on here...?

Do you mean serf 0.3.0?  I don't see a 0.3.1 release.

I can't reproduce this with a MacPorts build with everything and using serf. 
Have you tried using a MacPorts build?  Can you reproduce it there?

Regards,
Blair

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2397129