You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Benson Margulies <be...@basistech.com> on 2013/02/12 17:49:36 UTC

SIGSEGV with 1.7.8 on Centos 4.8

I built from the source, after running get-deps.sh, on Centos 4.8. All
commands, including svn help, SIGSEGV. Here's the backtrace.

I used no options to configure except prefix.

Any suggestions for this?

#0  0x0000000000000000 in ?? ()
#1  0x000000399681d578 in __gconv () from /lib64/tls/libc.so.6
#2  0x000000399681cbdb in iconv () from /lib64/tls/libc.so.6
#3  0x0000002a967a85be in apr_xlate_conv_buffer (convset=0x5380d8,
inbuf=Variable "inbuf" is not available.
) at xlate/xlate.c:343
#4  0x0000002a9665c71f in convert_to_stringbuf (node=0x542298,
    src_data=0x7fbffffa9d "/basis/treez/benson", src_length=19,
dest=0x7fbffff2c0, pool=0x542298)
    at subversion/libsvn_subr/utf.c:540
#5  0x0000002a9665cd26 in convert_cstring (dest=0x7fbffff320,
    src=0x7fbffffa9d "/basis/treez/benson", node=0x542298, pool=0x542298)
    at subversion/libsvn_subr/utf.c:774
#6  0x0000002a9665cdf5 in svn_utf_cstring_to_utf8 (dest=0x7fbffff320,
    src=0x7fbffffa9d "/basis/treez/benson", pool=0x542298) at
subversion/libsvn_subr/utf.c:797
#7  0x0000002a9665b847 in utf8_or_nothing (str=0x538190 "?\206\214\226*",
pool=0x7fbffff248)
    at subversion/libsvn_subr/user.c:56
#8  0x0000002a9665b8ed in svn_user_get_homedir (pool=0x542298)
    at subversion/libsvn_subr/user.c:83
#9  0x0000002a965dcb60 in svn_config_get_user_config_path
(path=0x7fbffff378,
    config_dir=0x538190 "?\206\214\226*", fname=0x2a9665eff8 "config",
pool=0x542298)
    at subversion/libsvn_subr/config_file.c:1157
#10 0x0000002a965daa30 in get_category_config (cfg=0x7fbffff3b8,
config_dir=0x0,
    category=0x2a9665eff8 "config", pool=0x542298) at
subversion/libsvn_subr/config.c:248
#11 0x0000002a965dab79 in svn_config_get_config (cfg_hash=0x542d58,
config_dir=0x0,
    pool=0x542298) at subversion/libsvn_subr/config.c:271
#12 0x000000000040f136 in main (argc=Variable "argc" is not available.
) at subversion/svn/main.c:2439

Re: SIGSEGV with 1.7.8 on Centos 4.8

Posted by Benson Margulies <be...@basistech.com>.
Should adding -disable-nonportable-atomics to the configure command at
top level do the job?


On Tue, Feb 12, 2013 at 1:50 PM, Philip Martin
<ph...@wandisco.com> wrote:
> Benson Margulies <be...@basistech.com> writes:
>
>> I built from the source, after running get-deps.sh, on Centos 4.8. All
>> commands, including svn help, SIGSEGV. Here's the backtrace.
>>
>> I used no options to configure except prefix.
>>
>> Any suggestions for this?
>>
>> #0  0x0000000000000000 in ?? ()
>> #1  0x000000399681d578 in __gconv () from /lib64/tls/libc.so.6
>> #2  0x000000399681cbdb in iconv () from /lib64/tls/libc.so.6
>> #3  0x0000002a967a85be in apr_xlate_conv_buffer (convset=0x5380d8,
>> inbuf=Variable "inbuf" is not available.
>> ) at xlate/xlate.c:343
>> #4  0x0000002a9665c71f in convert_to_stringbuf (node=0x542298,
>>     src_data=0x7fbffffa9d "/basis/treez/benson", src_length=19,
>> dest=0x7fbffff2c0, pool=0x542298)
>>     at subversion/libsvn_subr/utf.c:540
>> #5  0x0000002a9665cd26 in convert_cstring (dest=0x7fbffff320,
>>     src=0x7fbffffa9d "/basis/treez/benson", node=0x542298, pool=0x542298)
>>     at subversion/libsvn_subr/utf.c:774
>> #6  0x0000002a9665cdf5 in svn_utf_cstring_to_utf8 (dest=0x7fbffff320,
>>     src=0x7fbffffa9d "/basis/treez/benson", pool=0x542298) at
>> subversion/libsvn_subr/utf.c:797
>> #7  0x0000002a9665b847 in utf8_or_nothing (str=0x538190 "?\206\214\226*",
>> pool=0x7fbffff248)
>>     at subversion/libsvn_subr/user.c:56
>> #8  0x0000002a9665b8ed in svn_user_get_homedir (pool=0x542298)
>>     at subversion/libsvn_subr/user.c:83
>> #9  0x0000002a965dcb60 in svn_config_get_user_config_path
>> (path=0x7fbffff378,
>>     config_dir=0x538190 "?\206\214\226*", fname=0x2a9665eff8 "config",
>> pool=0x542298)
>>     at subversion/libsvn_subr/config_file.c:1157
>> #10 0x0000002a965daa30 in get_category_config (cfg=0x7fbffff3b8,
>> config_dir=0x0,
>>     category=0x2a9665eff8 "config", pool=0x542298) at
>> subversion/libsvn_subr/config.c:248
>> #11 0x0000002a965dab79 in svn_config_get_config (cfg_hash=0x542d58,
>> config_dir=0x0,
>>     pool=0x542298) at subversion/libsvn_subr/config.c:271
>> #12 0x000000000040f136 in main (argc=Variable "argc" is not available.
>> ) at subversion/svn/main.c:2439
>
> Could be this:
>
> http://subversion.apache.org/docs/release-notes/1.7.html#rhel-2-issue
>
> It's an APR bug triggered by old GCC.
>
> --
> Certified & Supported Apache Subversion Downloads:
> http://www.wandisco.com/subversion/download

Re: SIGSEGV with 1.7.8 on Centos 4.8

Posted by Benson Margulies <be...@basistech.com>.
That did it. Thanks.

On Tue, Feb 12, 2013 at 1:50 PM, Philip Martin
<ph...@wandisco.com> wrote:
> Benson Margulies <be...@basistech.com> writes:
>
>> I built from the source, after running get-deps.sh, on Centos 4.8. All
>> commands, including svn help, SIGSEGV. Here's the backtrace.
>>
>> I used no options to configure except prefix.
>>
>> Any suggestions for this?
>>
>> #0  0x0000000000000000 in ?? ()
>> #1  0x000000399681d578 in __gconv () from /lib64/tls/libc.so.6
>> #2  0x000000399681cbdb in iconv () from /lib64/tls/libc.so.6
>> #3  0x0000002a967a85be in apr_xlate_conv_buffer (convset=0x5380d8,
>> inbuf=Variable "inbuf" is not available.
>> ) at xlate/xlate.c:343
>> #4  0x0000002a9665c71f in convert_to_stringbuf (node=0x542298,
>>     src_data=0x7fbffffa9d "/basis/treez/benson", src_length=19,
>> dest=0x7fbffff2c0, pool=0x542298)
>>     at subversion/libsvn_subr/utf.c:540
>> #5  0x0000002a9665cd26 in convert_cstring (dest=0x7fbffff320,
>>     src=0x7fbffffa9d "/basis/treez/benson", node=0x542298, pool=0x542298)
>>     at subversion/libsvn_subr/utf.c:774
>> #6  0x0000002a9665cdf5 in svn_utf_cstring_to_utf8 (dest=0x7fbffff320,
>>     src=0x7fbffffa9d "/basis/treez/benson", pool=0x542298) at
>> subversion/libsvn_subr/utf.c:797
>> #7  0x0000002a9665b847 in utf8_or_nothing (str=0x538190 "?\206\214\226*",
>> pool=0x7fbffff248)
>>     at subversion/libsvn_subr/user.c:56
>> #8  0x0000002a9665b8ed in svn_user_get_homedir (pool=0x542298)
>>     at subversion/libsvn_subr/user.c:83
>> #9  0x0000002a965dcb60 in svn_config_get_user_config_path
>> (path=0x7fbffff378,
>>     config_dir=0x538190 "?\206\214\226*", fname=0x2a9665eff8 "config",
>> pool=0x542298)
>>     at subversion/libsvn_subr/config_file.c:1157
>> #10 0x0000002a965daa30 in get_category_config (cfg=0x7fbffff3b8,
>> config_dir=0x0,
>>     category=0x2a9665eff8 "config", pool=0x542298) at
>> subversion/libsvn_subr/config.c:248
>> #11 0x0000002a965dab79 in svn_config_get_config (cfg_hash=0x542d58,
>> config_dir=0x0,
>>     pool=0x542298) at subversion/libsvn_subr/config.c:271
>> #12 0x000000000040f136 in main (argc=Variable "argc" is not available.
>> ) at subversion/svn/main.c:2439
>
> Could be this:
>
> http://subversion.apache.org/docs/release-notes/1.7.html#rhel-2-issue
>
> It's an APR bug triggered by old GCC.
>
> --
> Certified & Supported Apache Subversion Downloads:
> http://www.wandisco.com/subversion/download

Re: SIGSEGV with 1.7.8 on Centos 4.8

Posted by Philip Martin <ph...@wandisco.com>.
Benson Margulies <be...@basistech.com> writes:

> I built from the source, after running get-deps.sh, on Centos 4.8. All
> commands, including svn help, SIGSEGV. Here's the backtrace.
>
> I used no options to configure except prefix.
>
> Any suggestions for this?
>
> #0  0x0000000000000000 in ?? ()
> #1  0x000000399681d578 in __gconv () from /lib64/tls/libc.so.6
> #2  0x000000399681cbdb in iconv () from /lib64/tls/libc.so.6
> #3  0x0000002a967a85be in apr_xlate_conv_buffer (convset=0x5380d8,
> inbuf=Variable "inbuf" is not available.
> ) at xlate/xlate.c:343
> #4  0x0000002a9665c71f in convert_to_stringbuf (node=0x542298,
>     src_data=0x7fbffffa9d "/basis/treez/benson", src_length=19,
> dest=0x7fbffff2c0, pool=0x542298)
>     at subversion/libsvn_subr/utf.c:540
> #5  0x0000002a9665cd26 in convert_cstring (dest=0x7fbffff320,
>     src=0x7fbffffa9d "/basis/treez/benson", node=0x542298, pool=0x542298)
>     at subversion/libsvn_subr/utf.c:774
> #6  0x0000002a9665cdf5 in svn_utf_cstring_to_utf8 (dest=0x7fbffff320,
>     src=0x7fbffffa9d "/basis/treez/benson", pool=0x542298) at
> subversion/libsvn_subr/utf.c:797
> #7  0x0000002a9665b847 in utf8_or_nothing (str=0x538190 "?\206\214\226*",
> pool=0x7fbffff248)
>     at subversion/libsvn_subr/user.c:56
> #8  0x0000002a9665b8ed in svn_user_get_homedir (pool=0x542298)
>     at subversion/libsvn_subr/user.c:83
> #9  0x0000002a965dcb60 in svn_config_get_user_config_path
> (path=0x7fbffff378,
>     config_dir=0x538190 "?\206\214\226*", fname=0x2a9665eff8 "config",
> pool=0x542298)
>     at subversion/libsvn_subr/config_file.c:1157
> #10 0x0000002a965daa30 in get_category_config (cfg=0x7fbffff3b8,
> config_dir=0x0,
>     category=0x2a9665eff8 "config", pool=0x542298) at
> subversion/libsvn_subr/config.c:248
> #11 0x0000002a965dab79 in svn_config_get_config (cfg_hash=0x542d58,
> config_dir=0x0,
>     pool=0x542298) at subversion/libsvn_subr/config.c:271
> #12 0x000000000040f136 in main (argc=Variable "argc" is not available.
> ) at subversion/svn/main.c:2439

Could be this:

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

It's an APR bug triggered by old GCC.

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

Re: SIGSEGV with 1.7.8 on Centos 4.8

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Tue, Feb 12, 2013 at 11:49 AM, Benson Margulies <be...@basistech.com> wrote:
> I built from the source, after running get-deps.sh, on Centos 4.8. All
> commands, including svn help, SIGSEGV. Here's the backtrace.
>
> I used no options to configure except prefix.

get-deps.sh is often uselessly out of date, because the upstream
repositories keep getting reloated. And grabbing the most recent
versions of components for RHEL 4 will get you into local dependency
hell very quickly, as will many other factors. I've got a working
update. Shall I post it?

Your best bet for an updated Subversion for RHEL 4 is to use my SRPM
building tools at https://github.com/nkadel/subversion-1.6.20-srpm.
I've never been able to get 1.7.x to build under RHEL 4, due to the
increasing number of basic system components that need update or
manual replacement with local versions to work at all.

If you want my Subversion 1.7.x building tools, applicable to RHEL 5
and RHEL 6, those are also at
https://github.com/nkadel/subversion-1.7.8-srpm