You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Travis <sv...@castle.fastmail.fm> on 2004/01/12 19:45:38 UTC

AIX 5.1 client segfault

I'm trying to build just the client on AIX 5.1.
After a largely uneventful configure and make (I had to make a couple 
alterations),
I'm getting a set fault where an XML parser is supposed to be built.

Call stack:
XML_ParserCreate()
ne_xml_create()
parsed_request() : line 528
svn_ra_dav__parsed_request_compat() : line 707
svn_ra_dav__get_props() : line 525
svn_ra_dav__get_props_resource() : line 551
svn_ra_dav__get_starting_props() : line 623
svn_ra_dav__search_for_starting_props() : line 653
svn_ra_dav__get_baseline_props() : line 761
svn_ra_dav__get_baseline_info() : line 881
svn_ra_dav__get_latest_revnum() : line 1005
0x0000000020008f74
0x000000002000a14c
0x000000002000a690
svn_cl__checkout()
main()
__start()

I've put full more detail at http://www.webzimmer.com/twp/svn/

Any ideas?

-Travis


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: AIX 5.1 client segfault

Posted by Travis <sv...@castle.fastmail.fm>.
Just to follow-up on myself.  Something is wrong with the linkage.   
It's the assembly in glink.s that connects ne_xml_create() with  
XML_ParserCreate() that is my problem somehow.

I was hoping to find that an errant version of expat was being picked  
up from somewhere, but the debugger tells me that it has loaded  
..../subversion-0.35.1/apr-util/xml/expat/lib/.libs/ 
libexpat.a(libexpat.so.0) which looks correct.

I found a copy of gcc 3.3 that a friend installed, so I'm giving that a  
whirl.

-Travis

On Jan 12, 2004, at 1:45 PM, Travis wrote:

> I'm trying to build just the client on AIX 5.1.
> After a largely uneventful configure and make (I had to make a couple  
> alterations),
> I'm getting a set fault where an XML parser is supposed to be built.
>
> Call stack:
> XML_ParserCreate()
> ne_xml_create()
> parsed_request() : line 528
> svn_ra_dav__parsed_request_compat() : line 707
> svn_ra_dav__get_props() : line 525
> svn_ra_dav__get_props_resource() : line 551
> svn_ra_dav__get_starting_props() : line 623
> svn_ra_dav__search_for_starting_props() : line 653
> svn_ra_dav__get_baseline_props() : line 761
> svn_ra_dav__get_baseline_info() : line 881
> svn_ra_dav__get_latest_revnum() : line 1005
> 0x0000000020008f74
> 0x000000002000a14c
> 0x000000002000a690
> svn_cl__checkout()
> main()
> __start()
>
> I've put full more detail at http://www.webzimmer.com/twp/svn/
>
> Any ideas?
>
> -Travis


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: AIX 5.1 client segfault

Posted by Travis P <sv...@castle.fastmail.fm>.
On Mar 18, 2004, at 7:05 PM, Joe Orton wrote:

> On Mon, Jan 12, 2004 at 01:45:38PM -0600, Travis wrote:
>> I'm trying to build just the client on AIX 5.1.
>> After a largely uneventful configure and make (I had to make a couple
>> alterations),
>> I'm getting a set fault where an XML parser is supposed to be built.
>
> Thought I'd look into this: the problem is due to the SVN-specific hack
> in the neon configure script to support building against the 
> libexpat.la
> from apr-util... libneon.la does not get linked against against
> libexpat.la in this case currently, which is a fatal error on AIX.
>
> If you used an out-of-tree shared expat it would work correctly; it's
> only for the in-tree expat from apr-util that it will fail.
>
> To fix it without using --disable-shared, you can edit the LIBS line in
> neon/src/Makefile to add libexpat.la along with anything else specified
> there:
>
> LIBS = ../../apr-util/xml/expat/lib/libexpat.la
>
> I'll check if this is safe to do by default for the next neon release
> too.

Fantastic.  Thanks for figuring this out!  I'll give your suggestions a 
try the next time I build.

-Travis


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: AIX 5.1 client segfault

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Mon, Jan 12, 2004 at 01:45:38PM -0600, Travis wrote:
> I'm trying to build just the client on AIX 5.1.
> After a largely uneventful configure and make (I had to make a couple 
> alterations),
> I'm getting a set fault where an XML parser is supposed to be built.

Thought I'd look into this: the problem is due to the SVN-specific hack
in the neon configure script to support building against the libexpat.la
from apr-util... libneon.la does not get linked against against
libexpat.la in this case currently, which is a fatal error on AIX.

If you used an out-of-tree shared expat it would work correctly; it's
only for the in-tree expat from apr-util that it will fail.

To fix it without using --disable-shared, you can edit the LIBS line in
neon/src/Makefile to add libexpat.la along with anything else specified
there:

LIBS = ../../apr-util/xml/expat/lib/libexpat.la

I'll check if this is safe to do by default for the next neon release
too.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org