You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Martin J. Evans" <ma...@easysoft.com> on 2004/05/17 07:57:33 UTC

segfaults on AIX 5.1L

I've been trying to get subversion 1.0.2 built and running on AIX 5.1L. Without
expat or libxml it builds out of the box but segfaults during most svn
operations (mostly co) (see stack dump below).

I installed expat-1.95.2 (in the default place - /usr/local) but the configure
did not seem to like the expat.h file. Then I installed libxml-2.6.3,
reconfigured and built subversion and this version works fine. I don't know
exactly why subversion segfaults but perhaps this will help others hitting
the same problem. If anyone working on subversion wants to investigate the
segfault with the subversion included expat I am happy to help out.

bash-2.04$ dbx /usr/local/bin/svn core
Type 'help' for help.
reading symbolic information ...
[using memory image in core]

Segmentation fault in glink.XML_ParserCreate at 0xd17a2760 ($t1)
0xd17a2760 (XML_ParserCreate+0x8) 800c0000        lwz   r0,0x0(r12)
(dbx) where
glink.XML_ParserCreate() at 0xd17a2760
ne_xml_create(), line 408 in "ne_xml.c"
parsed_request(0x202662b8, 0xf06a61ec, 0x202603a0, 0x2026abb8, 0x0, 0xf06a93f0, 
0xf06a6db8, 0x1), line 528 in "util.c"
svn_ra_dav__parsed_request_compat(0x202662b8, 0xf06a61ec, 0x202603a0, 0x2026abb8
, 0x0, 0xf06a93f0, 0xf06a6db8, 0xf06a93fc), line 707 in "util.c"
svn_ra_dav__get_props(0x2ff22310, 0x202662b8, 0x202603a0, 0x0, 0x0, 0xf06a6900, 
0x202600a0), line 525 in "props.c"
unnamed block $b804, line 551 in "props.c"
svn_ra_dav__get_props_resource(0x2ff22460, 0x202662b8, 0x20260370, 0x0, 0xf06a69
00, 0x202600a0), line 551 in "props.c"
svn_ra_dav__get_starting_props(0x2ff22460, 0x202662b8, 0x20260370, 0x0, 0x202600
a0), line 623 in "props.c"
svn_ra_dav__search_for_starting_props(0x2ff22460, 0x2ff22470, 0x202662b8, 0x2026
6288, 0x202600a0), line 653 in "props.c"
unnamed block $b793, line 761 in "props.c"
svn_ra_dav__get_baseline_props(0x2ff22510, 0x2ff22500, 0x202662b8, 0x20266288, 0
xffffffff, 0xf06a6528, 0x202600a0), line 761 in "props.c"
unnamed block $b799, line 881 in "props.c"
svn_ra_dav__get_baseline_info(0x0, 0x0, 0x0, 0x2ff22688, 0x202662b8, 0x20266288,
 0xffffffff, 0x202600a0), line 881 in "props.c"
unnamed block $b769, line 1005 in "fetch.c"
svn_ra_dav__get_latest_revnum(0x202602d8, 0x2ff22688, 0x202600a0), line 1005 in 
"fetch.c"
unnamed block $b3387, line 67 in "revisions.c"
svn_client__get_revision_number(0x2ff22688, 0xf06a9398, 0x202602d8, 0x2ff22898, 
0x20227998, 0x202600a0), line 67 in "revisions.c"
unnamed block $b2708, line 90 in "checkout.c"
unnamed block $b2704, line 90 in "checkout.c"
svn_client__checkout_internal(0x0, 0x202277b0, 0x20227998, 0x2ff22898, 0x1, 0x0,
 0x20226f18, 0x202600a0), line 90 in "checkout.c"
svn_client_checkout(0x0, 0x202277b0, 0x20227998, 0x2ff22898, 0x1, 0x20226f18, 0x
202600a0), line 200 in "checkout.c"
unnamed block $b14, line 145 in "checkout-cmd.c"
svn_cl__checkout(0x20226a88, 0x2ff22a38, 0x20226a50), line 145 in "checkout-cmd.
c"
main(argc = 4, argv = 0x2ff22b84), line 1264 in "main.c"
(dbx) 

Martin
--
Martin J. Evans
Easysoft Ltd, UK
Development


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

RE: [unclassified] Re: segfaults on AIX 5.1L

Posted by "Martin J. Evans" <ma...@easysoft.com>.
On 17-May-2004 Travis P wrote:
> 
> On May 17, 2004, at 2:57 AM, Martin J. Evans wrote:
> 
>> I've been trying to get subversion 1.0.2 built and running on AIX 
>> 5.1L. Without
>> expat or libxml it builds out of the box but segfaults during most svn
>> operations (mostly co) (see stack dump below).
> 
> I had similar trouble.  See Joe Orton's note on this topic:
>    http://www.contactor.se/~dast/svnusers/archive-2004-03/1461.shtml
> 
> He was responding to my having the same trouble you were having.  In 
> particular, I was also getting the faults during XML_ParserCreate.
> 
> -Travis

Travis,

Thanks for that. I got around it by using libxml as I was not having any luck
getting subversion to spot/like expat outside of the source tree (seemed to
find expat.h but not like for some reason).

Martin
--
Martin J. Evans
Easysoft Ltd, UK
Development


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

Re: segfaults on AIX 5.1L

Posted by Travis P <sv...@castle.fastmail.fm>.
On May 17, 2004, at 2:57 AM, Martin J. Evans wrote:

> I've been trying to get subversion 1.0.2 built and running on AIX 
> 5.1L. Without
> expat or libxml it builds out of the box but segfaults during most svn
> operations (mostly co) (see stack dump below).

I had similar trouble.  See Joe Orton's note on this topic:
   http://www.contactor.se/~dast/svnusers/archive-2004-03/1461.shtml

He was responding to my having the same trouble you were having.  In 
particular, I was also getting the faults during XML_ParserCreate.

-Travis


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