Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6.x
-
None
-
Linux
Description
Hello, I received this backtrace when trying to login to an svn server over an ssh -Y X forwarded connection using the kwallet plugin. When the kwallet application failed to collect the credentials because it did not want to run successfully in this environment, svn experienced a segfault. At the time I was running Ubuntu 12.04 LTS with latest updates, but there is not a libsvn-dbg package with debug symbols so I couldn't get better data on the crash. Sadly good old objdump did not help either because the symbol offsets from the svn binary and libsvn_auth_kwallet-1.so did not line up. I suspect it could be due to dlopen or other runtime behavior. However I figured it would be good if this could be saved for posterity in case somebody else saw it, or had a better SVN environment for reproducing it. The workaround is to log in using plain SSH and perform the svn checkout via CLI entirely, which prevents kwallet-based credential prompting and hence prevents the crash. Regards, Matthew. Program terminated with signal 11, Segmentation fault. #0 0x00007f6ac1b8bceb in ?? () from /usr/lib/x86_64-linux-gnu/libsvn_auth_kwallet-1.so.1 (gdb) bt #0 0x00007f6ac1b8bceb in ?? () from /usr/lib/x86_64-linux-gnu/libsvn_auth_kwallet-1.so.1 #1 0x00007f6ac83e2ac8 in svn_auth__simple_save_creds_helper () from /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1 #2 0x00007f6ac1b8b830 in ?? () from /usr/lib/x86_64-linux-gnu/libsvn_auth_kwallet-1.so.1 #3 0x00007f6ac83c88a8 in svn_auth_save_credentials () from /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so.1 #4 0x00007f6ac7578193 in ?? () from /usr/lib/x86_64-linux-gnu/libsvn_ra_neon-1.so.1 #5 0x00007f6ac8a250e7 in svn_ra_open3 () from /usr/lib/x86_64-linux-gnu/libsvn_ra-1.so.1 #6 0x00007f6ac8ea34ae in svn_client__open_ra_session_internal () from /usr/lib/x86_64-linux-gnu/libsvn_client-1.so.1 #7 0x00007f6ac8ea8512 in svn_client__update_internal () from /usr/lib/x86_64-linux-gnu/libsvn_client-1.so.1 #8 0x00007f6ac8e82b89 in svn_client__checkout_internal () from /usr/lib/x86_64-linux-gnu/libsvn_client-1.so.1 #9 0x00007f6ac8e8ee7d in svn_client_checkout3 () from /usr/lib/x86_64-linux-gnu/libsvn_client-1.so.1 #10 0x0000000000408309 in ?? () #11 0x0000000000406cf8 in ?? () #12 0x00007f6ac7bc776d in __libc_start_main (main=0x4052d0, argc=4, ubp_av=0x7fffd20f2748, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd20f2738) at libc-start.c:226 #13 0x00000000004071e5 in ?? () #14 0x00007fffd20f2738 in ?? () #15 0x000000000000001c in ?? () #16 0x0000000000000004 in ?? () #17 0x00007fffd20f478b in ?? () #18 0x00007fffd20f478f in ?? () #19 0x00007fffd20f4792 in ?? () #20 0x00007fffd20f47c6 in ?? () #21 0x0000000000000000 in ?? ()
Original issue reported by mhcptg