You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Alexander Thomas <al...@collab.net> on 2013/03/08 13:44:03 UTC

Segfault on Linux x86_64

All,

svn@trunk compiled in Linux x86_64 with libc-iconv,  segfaults when executed
with an argument. I don't understand libsvn_subr/utf.c code well enough.
Here I'm attaching gdb traceback for "svn --version".


Env details :

$ uname -a
Linux localhost 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 
x86_64 x86_64 x86_64 GNU/Linux

* subversion trunk@1452694
* glibc-2.3.4
* apr-1.4.6
* apr-util-1.5.1


Thanks
-Alexander Thomas (AT)




Re: Segfault on Linux x86_64

Posted by Mark Phippard <ma...@gmail.com>.
Is it this issue?

http://subversion.apache.org/docs/release-notes/1.7.html#rhel-2-issue



On Fri, Mar 8, 2013 at 7:44 AM, Alexander Thomas <al...@collab.net>wrote:

> All,
>
> svn@trunk compiled in Linux x86_64 with libc-iconv,  segfaults when
> executed
> with an argument. I don't understand libsvn_subr/utf.c code well enough.
> Here I'm attaching gdb traceback for "svn --version".
>
>
> Env details :
>
> $ uname -a
> Linux localhost 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64
> x86_64 x86_64 GNU/Linux
>
> * subversion trunk@1452694
> * glibc-2.3.4
> * apr-1.4.6
> * apr-util-1.5.1
>
>
> Thanks
> -Alexander Thomas (AT)
>
>
>
>


-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Re: Segfault on Linux x86_64

Posted by Alexander Thomas <al...@collab.net>.
On Friday 08 March 2013 06:38 PM, Philip Martin wrote:
> Alexander Thomas <al...@collab.net> writes:
>
>> svn@trunk compiled in Linux x86_64 with libc-iconv,  segfaults when executed
>> with an argument. I don't understand libsvn_subr/utf.c code well enough.
>> Here I'm attaching gdb traceback for "svn --version".
>>
>> Env details :
>>
>> $ uname -a
>> Linux localhost 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
>>
>> * subversion trunk@1452694
>> * glibc-2.3.4
>> * apr-1.4.6
>> * apr-util-1.5.1
> That's quite an old system isn't it?  Which version of the compiler is
> used?  Perhaps it's the apr/compiler bug:
>
> http://subversion.apache.org/docs/release-notes/1.7.html#rhel-2-issue
>
Yes,  system is old but not so old as rhel-2. This one is running on 
RHEL 4 ES and  GCC 3.4.6.

Thanks for the link....Recompiling APR with 
'--disable-nonportable-atomics' helped.

Mark & Philip Thanks once again.

-AT



Re: Segfault on Linux x86_64

Posted by Philip Martin <ph...@wandisco.com>.
Alexander Thomas <al...@collab.net> writes:

> svn@trunk compiled in Linux x86_64 with libc-iconv,  segfaults when executed
> with an argument. I don't understand libsvn_subr/utf.c code well enough.
> Here I'm attaching gdb traceback for "svn --version".
>
> Env details :
>
> $ uname -a
> Linux localhost 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
>
> * subversion trunk@1452694
> * glibc-2.3.4
> * apr-1.4.6
> * apr-util-1.5.1

That's quite an old system isn't it?  Which version of the compiler is
used?  Perhaps it's the apr/compiler bug:

http://subversion.apache.org/docs/release-notes/1.7.html#rhel-2-issue

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download