[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Segmentation fault (core dumped) for svn mkdir

From: Geraldine McCormack <GERALCOR_at_ie.ibm.com>
Date: Wed, 19 Feb 2020 12:48:14 +0000

Hi svn dev -

I am seeing a Segmentation fault (core dumped) for svn mkdir in Version
1.8.5.

I cannot see that this is a know issue fixed in later versions - is
anyone aware ?

Core was generated by `/opt/IBM/tivoli/impact/platform/linux/svn/bin/svn
mkdir file:///opt/IBM/tivoli/'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000802ac6a8 in _dl_sort_fini ()
(gdb) where
#0 0x00000000802ac6a8 in _dl_sort_fini ()
#1 0x0000000080283528 in _dl_close_worker ()
#2 0x0000000080281a9c in _dl_open ()
#3 0x0000000080284ee4 in do_dlopen ()
#4 0x000000008028019c in _dl_catch_error ()
#5 0x000000008028510c in __libc_dlopen_mode ()
#6 0x000000008027122a in __nss_lookup_function ()
#7 0x00000000802712a4 in __nss_lookup ()
#8 0x000000008024991e in getpwuid_r ()
#9 0x0000000080205c1c in apr_uid_name_get (username=0x3fff02fd998,
userid=<optimized out>, p=0xbc2f48e8) at user/unix/userinfo.c:129
#10 0x00000000801b8e58 in get_os_username (pool=<optimized out>) at
subversion/libsvn_subr/user.c:41
#11 0x00000000801b8f50 in svn_user_get_name (pool=<optimized out>) at
subversion/libsvn_subr/user.c:67
#12 0x00000000801b93e6 in username_first_creds (credentials=0x3fff02fdbc0,
iter_baton=0x3fff02fdbb8, provider_baton=<optimized out>,
parameters=<optimized out>, realmstring=<optimized out>, pool=0xbc2f48e8)
    at subversion/libsvn_subr/username_providers.c:88
#13 0x000000008011ca66 in svn_auth_first_credentials
(credentials=0x3fff02fdc80, state=0x3fff02fdc78, cred_kind=<optimized
out>, realmstring=0xbc335fb8 "0685238f-5193-4f89-86dc-8d6d55c572ae",
auth_baton=0xbc2f6360, pool=0xbc2f48e8)
    at subversion/libsvn_subr/auth.c:240
#14 0x00000000800cb904 in get_username (session=0xbc324c80,
scratch_pool=0xbc2f48e8) at subversion/libsvn_ra_local/ra_plugin.c:96
#15 0x00000000800cd86c in svn_ra_local__get_commit_editor
(session=0xbc324c80, editor=0x3fff02fdf58, edit_baton=0x3fff02fdf50,
revprop_table=0xbc342c18, callback=<optimized out>,
callback_baton=0xbc342f08, lock_tokens=0x0,
    keep_locks=1, pool=0xbc2f48e8) at
subversion/libsvn_ra_local/ra_plugin.c:756
#16 0x00000000800ba8b2 in svn_ra_get_commit_editor3 (session=0xbc324c80,
editor=0x3fff02fdf58, edit_baton=0x3fff02fdf50, revprop_table=0xbc342c18,
commit_callback=0x800bba74 <commit_callback_wrapper>,
commit_baton=0xbc342f08,
    lock_tokens=0x0, keep_locks=1, pool=0xbc2f48e8) at
subversion/libsvn_ra/ra_loader.c:722
#17 0x000000008001a704 in mkdir_urls (pool=<optimized out>, ctx=<optimized
out>, commit_baton=<optimized out>, commit_callback=<optimized out>,
revprop_table=<optimized out>, make_parents=<optimized out>,
urls=<optimized out>)
    at subversion/libsvn_client/add.c:1223
#18 svn_client_mkdir4 (paths=0xbc323188, make_parents=1,
revprop_table=0x0, commit_callback=0x800185a4 <svn_cl__print_commit_info>,
commit_baton=0x0, ctx=0xbc2f5c60, pool=0xbc2f48e8) at
subversion/libsvn_client/add.c:1300
#19 0x000000008000cf36 in svn_cl__mkdir (os=<optimized out>,
baton=<optimized out>, pool=0xbc2f48e8) at subversion/svn/mkdir-cmd.c:80
#20 0x0000000080015c90 in sub_main (pool=<optimized out>, argv=<optimized
out>, argc=<optimized out>) at subversion/svn/svn.c:2878
#21 main (argc=<optimized out>, argv=<optimized out>) at
subversion/svn/svn.c:2969
(gdb) bt full
#0 0x00000000802ac6a8 in _dl_sort_fini ()
No symbol table info available.
#1 0x0000000080283528 in _dl_close_worker ()
No symbol table info available.
#2 0x0000000080281a9c in _dl_open ()
No symbol table info available.
#3 0x0000000080284ee4 in do_dlopen ()
No symbol table info available.
#4 0x000000008028019c in _dl_catch_error ()
No symbol table info available.
#5 0x000000008028510c in __libc_dlopen_mode ()
No symbol table info available.
#6 0x000000008027122a in __nss_lookup_function ()
No symbol table info available.
#7 0x00000000802712a4 in __nss_lookup ()
No symbol table info available.
#8 0x000000008024991e in getpwuid_r ()
No symbol table info available.
#9 0x0000000080205c1c in apr_uid_name_get (username=0x3fff02fd998,
userid=<optimized out>, p=0xbc2f48e8) at user/unix/userinfo.c:129
        pw = 0xbc324bb8
        pwd = {pw_name = 0xbc2f6b40 "", pw_passwd = 0x3fff02fd8d0 "",
pw_uid = 0, pw_gid = 0, pw_gecos = 0xbc3430b0
"/root/.subversion/auth/svn.username/042cbaf372796a0e81ef93c3d0ad8c0f",
pw_dir = 0x0, pw_shell = 0xbc324c80 ""}
        pwbuf = '\000' <repeats 20 times>,
"\200;4\200\000\000\000\000\200;4\330\000\000\000\000\061\240\317\360\000\000\003\377\360/\323\020\000\000\003\377\360/\323\024\000\000\003\377\360/\323\030\000\000\000\000\000\000\000\000\000\000\003\377\360/\323(\000\000\003\377\360/\322h",
'\000' <repeats 12 times>, "\274/i\370\000\000\000\000\274\064\061\070",
'\000' <repeats 20 times>,
"\274/\212\230\000\000\000\000\274/\213\000\000\000\000\000\274/\213\220",
'\000' <repeats 15 times>,
"\004\000\000\000\000\274/\213\240\000\000\003\377\360/\321\250\000\000\000\000\000\346p\000\000\000\000\000\000\000\017\377"...
        rv = <optimized out>
#10 0x00000000801b8e58 in get_os_username (pool=<optimized out>) at
subversion/libsvn_subr/user.c:41
        username = <optimized out>
        uid = 0
        gid = 0
#11 0x00000000801b8f50 in svn_user_get_name (pool=<optimized out>) at
subversion/libsvn_subr/user.c:67
No locals.
#12 0x00000000801b93e6 in username_first_creds (credentials=0x3fff02fdbc0,
iter_baton=0x3fff02fdbb8, provider_baton=<optimized out>,
parameters=<optimized out>, realmstring=<optimized out>, pool=0xbc2f48e8)
    at subversion/libsvn_subr/username_providers.c:88
        username = 0x0
        err = 0x0
#13 0x000000008011ca66 in svn_auth_first_credentials
(credentials=0x3fff02fdc80, state=0x3fff02fdc78, cred_kind=<optimized
out>, realmstring=0xbc335fb8 "0685238f-5193-4f89-86dc-8d6d55c572ae",
auth_baton=0xbc2f6360, pool=0xbc2f48e8)
    at subversion/libsvn_subr/auth.c:240
        svn_err__temp = <optimized out>
        i = 0
        provider = 0xbc2f61a0
        creds = 0x0
        iter_baton = 0x0
        got_first = <optimized out>
        cache_key = 0xbc342f50
"svn.username:0685238f-5193-4f89-86dc-8d6d55c572ae"
#14 0x00000000800cb904 in get_username (session=0xbc324c80,
scratch_pool=0xbc2f48e8) at subversion/libsvn_ra_local/ra_plugin.c:96
        svn_err__temp = <optimized out>
        creds = <optimized out>
        iterstate = <optimized out>
        sess = 0xbc324ca8
#15 0x00000000800cd86c in svn_ra_local__get_commit_editor
(session=0xbc324c80, editor=0x3fff02fdf58, edit_baton=0x3fff02fdf50,
revprop_table=0xbc342c18, callback=<optimized out>,
callback_baton=0xbc342f08, lock_tokens=0x0,
    keep_locks=1, pool=0xbc2f48e8) at
subversion/libsvn_ra_local/ra_plugin.c:756
        svn_err__temp = <optimized out>
        sess = 0xbc324ca8
        deb = 0xbc342f20
#16 0x00000000800ba8b2 in svn_ra_get_commit_editor3 (session=0xbc324c80,
editor=0x3fff02fdf58, edit_baton=0x3fff02fdf50, revprop_table=0xbc342c18,
commit_callback=0x800bba74 <commit_callback_wrapper>,
commit_baton=0xbc342f08,
    lock_tokens=0x0, keep_locks=1, pool=0xbc2f48e8) at
subversion/libsvn_ra/ra_loader.c:722
No locals.
#17 0x000000008001a704 in mkdir_urls (pool=<optimized out>, ctx=<optimized
out>, commit_baton=<optimized out>, commit_callback=<optimized out>,
revprop_table=<optimized out>, make_parents=<optimized out>,
urls=<optimized out>)
    at subversion/libsvn_client/add.c:1223
No locals.
#18 svn_client_mkdir4 (paths=0xbc323188, make_parents=1,
revprop_table=0x0, commit_callback=0x800185a4 <svn_cl__print_commit_info>,
commit_baton=0x0, ctx=0xbc2f5c60, pool=0xbc2f48e8) at
subversion/libsvn_client/add.c:1300
        svn_err__temp = <optimized out>
#19 0x000000008000cf36 in svn_cl__mkdir (os=<optimized out>,
baton=<optimized out>, pool=0xbc2f48e8) at subversion/svn/mkdir-cmd.c:80
---Type <return> to continue, or q <return> to quit---return
        opt_state = 0x3fff02fe140
        ctx = 0xbc2f5c60
        targets = 0xbc322f30
        err = <optimized out>
#20 0x0000000080015c90 in sub_main (pool=<optimized out>, argv=<optimized
out>, argc=<optimized out>) at subversion/svn/svn.c:2878
        pseudo_cmd = {name = 0x802dbd24 "--version", cmd_func = 0x80007d78
<svn_cl__help>, aliases = {0x0, 0x0, 0x0}, help = 0x8030cd68 "",
valid_options = {301, 113, 118, 260, 0 <repeats 46 times>}, desc_overrides
= {{optch = 0,
              desc = 0x0} <repeats 50 times>}}
#21 main (argc=<optimized out>, argv=<optimized out>) at
subversion/svn/svn.c:2969
        pool = 0xbc2f48e8
        exit_code = <optimized out>

Kind Regards,
Geraldine.

-----------------------------------------------------------------------------------------------------------------------

Geraldine McCormack
L3 Team Lead - TBSM & Netcool/Impact
IBM Ireland

Visit the IBM Support Portal to open a case, download fixes, access
product documentation, education and training materials.

Visit our devcenters (applications and operations) for blogs, docs and
resources brought to you by the technical people who create our offerings.

------------------------------------------------------------------
Received on 2020-02-19 13:48:34 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.