On Wed, Feb 19, 2020 at 12:48:14PM +0000, Geraldine McCormack wrote:
> 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 ?
The crash is not triggered by Subversion itself. It happens when APR
tries to search the system's password database for your unix user ID.
This ought to work.
The crash itself is triggered in libc/NSS. It happens in the dynamic
loader of your OS, apparently while NSS tries to load a shared library.
Perhaps SVN and APR need to be recompiled?
> 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
Received on 2020-02-19 14:01:26 CET