Date: Wed, 2 May 2012 18:21:23 GMT From: Nathaniel Filardo <nwf@cs.jhu.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/167531: "git svn fetch" dumps core Message-ID: <201205021821.q42ILNLS003216@red.freebsd.org> Resent-Message-ID: <201205021830.q42IU9qx026479@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 167531 >Category: ports >Synopsis: "git svn fetch" dumps core >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 02 18:30:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Nathaniel Filardo >Release: 9.0-STABLE >Organization: >Environment: FreeBSD mirrors.oc.ietfng.org 9.0-STABLE FreeBSD 9.0-STABLE #48 r234391+fa7f6a8-dirty: Tue Apr 17 22:16:52 EDT 2012 root@hydra.priv.oc.ietfng.org:/usr/obj/systank/src/sys/NWFKERN sparc64 >Description: When attempting to execute "git svn fetch" on a previously initialized git-svn tree ("git init ..." works), perl dumps core. "gdb `which perl` perl.core" says: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc64-marcel-freebsd"...(no debugging symbols found)... Core was generated by `perl'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so...(no debugging symbols found)... done. Loaded symbols for /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libcrypt.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.5 Reading symbols from /lib/libutil.so.9...(no debugging symbols found)...done. Loaded symbols for /lib/libutil.so.9 Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/perl5/5.14.2/mach/auto/Digest/MD5/MD5.so...(no debugging symbols fo und)...done. Loaded symbols for /usr/local/lib/perl5/5.14.2/mach/auto/Digest/MD5/MD5.so Reading symbols from /usr/local/lib/perl5/5.14.2/mach/auto/IO/IO.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/perl5/5.14.2/mach/auto/IO/IO.so Reading symbols from /usr/local/lib/perl5/5.14.2/mach/auto/Fcntl/Fcntl.so...(no debugging symbols found )...done. Loaded symbols for /usr/local/lib/perl5/5.14.2/mach/auto/Fcntl/Fcntl.so Reading symbols from /usr/local/lib/perl5/5.14.2/mach/auto/Cwd/Cwd.so...(no debugging symbols found)... done. Loaded symbols for /usr/local/lib/perl5/5.14.2/mach/auto/Cwd/Cwd.so Reading symbols from /usr/local/lib/perl5/5.14.2/mach/auto/List/Util/Util.so...(no debugging symbols fo und)...done. Loaded symbols for /usr/local/lib/perl5/5.14.2/mach/auto/List/Util/Util.so Reading symbols from /usr/local/lib/perl5/5.14.2/mach/auto/Storable/Storable.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/perl5/5.14.2/mach/auto/Storable/Storable.so Reading symbols from /usr/local/lib/perl5/5.14.2/mach/auto/POSIX/POSIX.so...(no debugging symbols found )...done. Loaded symbols for /usr/local/lib/perl5/5.14.2/mach/auto/POSIX/POSIX.so Reading symbols from /usr/local/lib/perl5/5.14.2/mach/auto/File/Glob/Glob.so...(no debugging symbols fo und)...done. Loaded symbols for /usr/local/lib/perl5/5.14.2/mach/auto/File/Glob/Glob.so Reading symbols from /usr/local/lib/perl5/5.14.2/mach/auto/Compress/Raw/Zlib/Zlib.so...(no debugging sy mbols found)...done. Loaded symbols for /usr/local/lib/perl5/5.14.2/mach/auto/Compress/Raw/Zlib/Zlib.so Reading symbols from /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/SVN/_Core/_Core.so...done. Loaded symbols for /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/SVN/_Core/_Core.so Reading symbols from /usr/local/lib/libsvn_client-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_client-1.so.0 Reading symbols from /usr/local/lib/libsvn_delta-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_delta-1.so.0 Reading symbols from /usr/local/lib/libsvn_fs-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_fs-1.so.0 Reading symbols from /usr/local/lib/libsvn_ra-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_ra-1.so.0 Reading symbols from /usr/local/lib/libsvn_repos-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_repos-1.so.0 Reading symbols from /usr/local/lib/libsvn_wc-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_wc-1.so.0 Reading symbols from /usr/local/lib/libsvn_diff-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_diff-1.so.0 Reading symbols from /usr/local/lib/libsvn_subr-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_subr-1.so.0 Reading symbols from /usr/local/lib/libsvn_swig_perl-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_swig_perl-1.so.0 Reading symbols from /usr/local/lib/libsvn_ra_local-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_ra_local-1.so.0 Reading symbols from /usr/local/lib/libsvn_fs_fs-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_fs_fs-1.so.0 Reading symbols from /usr/local/lib/libsvn_fs_base-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_fs_base-1.so.0 Reading symbols from /usr/local/lib/libdb-4.2.so.2...done. Loaded symbols for /usr/local/lib/libdb-4.2.so.2 Reading symbols from /usr/local/lib/libsvn_fs_util-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_fs_util-1.so.0 Reading symbols from /usr/local/lib/libsvn_ra_svn-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_ra_svn-1.so.0 Reading symbols from /usr/local/lib/libsvn_ra_neon-1.so.0...done. Loaded symbols for /usr/local/lib/libsvn_ra_neon-1.so.0 Reading symbols from /usr/local/lib/libneon.so.27...done. Loaded symbols for /usr/local/lib/libneon.so.27 Reading symbols from /usr/lib/libssl.so.6...done. Loaded symbols for /usr/lib/libssl.so.6 Reading symbols from /usr/lib/libgssapi.so.10...done. Loaded symbols for /usr/lib/libgssapi.so.10 Reading symbols from /usr/lib/libheimntlm.so.10...done. Loaded symbols for /usr/lib/libheimntlm.so.10 Reading symbols from /usr/lib/libkrb5.so.10...done. Loaded symbols for /usr/lib/libkrb5.so.10 Reading symbols from /usr/lib/libhx509.so.10...done. Loaded symbols for /usr/lib/libhx509.so.10 Reading symbols from /usr/lib/libcom_err.so.5...done. Loaded symbols for /usr/lib/libcom_err.so.5 Reading symbols from /lib/libcrypto.so.6...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /usr/lib/libasn1.so.10...done. Loaded symbols for /usr/lib/libasn1.so.10 Reading symbols from /usr/lib/libroken.so.10...done. Loaded symbols for /usr/lib/libroken.so.10 Reading symbols from /usr/local/lib/libproxy.so.1...done. Loaded symbols for /usr/local/lib/libproxy.so.1 Reading symbols from /lib/libz.so.6...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /usr/local/lib/libsqlite3.so.8...done. Loaded symbols for /usr/local/lib/libsqlite3.so.8 Reading symbols from /usr/lib/libmagic.so.4...done. Loaded symbols for /usr/lib/libmagic.so.4 Reading symbols from /usr/local/lib/libaprutil-1.so.3...done. Loaded symbols for /usr/local/lib/libaprutil-1.so.3 Reading symbols from /usr/local/lib/libexpat.so.6...done. Loaded symbols for /usr/local/lib/libexpat.so.6 Reading symbols from /usr/local/lib/libapr-1.so.4...done. Loaded symbols for /usr/local/lib/libapr-1.so.4 Reading symbols from /usr/local/lib/libintl.so.9...done. Loaded symbols for /usr/local/lib/libintl.so.9 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/local/lib/libmodman.so.1...done. Loaded symbols for /usr/local/lib/libmodman.so.1 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/SVN/_Ra/_Ra.so...done. Loaded symbols for /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/SVN/_Ra/_Ra.so Reading symbols from /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/SVN/_Wc/_Wc.so...done. Loaded symbols for /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/SVN/_Wc/_Wc.so Reading symbols from /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/SVN/_Client/_Client.so...done. Loaded symbols for /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/SVN/_Client/_Client.so Reading symbols from /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/SVN/_Delta/_Delta.so...done. Loaded symbols for /usr/local/lib/perl5/site_perl/5.14.2/mach/auto/SVN/_Delta/_Delta.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000000000000 in ?? () [New Thread 41004400 (LWP 100712/perl)] (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00000000428c91f4 in svn_swig_pl_callback_thunk (caller_func=CALL_SV, func=0x42736e28, result=0x0, fmt=0x42901878 "OrsssS") at subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:340 #2 0x00000000428cc2ec in svn_swig_pl_thunk_log_receiver (baton=Variable "baton" is not available. ) at subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:828 #3 0x000000004325f218 in log_wrapper_callback (baton=Variable "baton" is not available. ) at subversion/libsvn_subr/compat.c:139 #4 0x0000000042e988d8 in send_log (rev=602, fs=0x4111e258, log_target_history_as_mergeinfo=0x0, nested_merges=0x0, discover_changed_paths=0, subtractive_merge=0, handling_merged_revision=0, revprops=0x411180e0, has_children=0, receiver=0x4325f1c0 <log_wrapper_callback>, receiver_baton=0x411180d0, authz_read_func=0, authz_read_baton=0x0, pool=0x4111e028) at subversion/libsvn_repos/log.c:1172 #5 0x0000000042e9a14c in do_logs (fs=0x410fd030, paths=0x41118118, log_target_history_as_mergeinfo=0x0, processed=0x0, nested_merges=0x0, hist_start=0, hist_end=602, limit=0, discover_changed_paths=0, strict_node_history=0, include_merged_revisions=0, subtractive_merge=0, handling_merged_revisions=0, ignore_missing_locations=0, revprops=0x411180e0, descending_order=0, receiver=0x4325f1c0 <log_wrapper_callback>, receiver_baton=0x411180d0, authz_read_func=0, authz_read_baton=0x0, pool=0x41118028) at subversion/libsvn_repos/log.c:1896 #6 0x0000000042e9ac3c in svn_repos_get_logs4 (repos=0x410fa3c0, paths=0x41118118, start=0, end=602, limit=0, discover_changed_paths=0, strict_node_history=0, include_merged_revisions=0, revprops=0x411180e0, authz_read_func=0, authz_read_baton=0x0, receiver=0x4325f1c0 <log_wrapper_callback>, receiver_baton=0x411180d0, pool=0x41118028) at subversion/libsvn_repos/log.c:2229 #7 0x00000000434b077c in svn_ra_local__get_log (session=Variable "session" is not available. ) at subversion/libsvn_ra_local/ra_plugin.c:943 #8 0x0000000042d7f074 in svn_ra_get_log2 (session=0x410fa0d8, paths=0x411180a0, start=602, end=0, limit=1, discover_changed_paths=0, strict_node_history=1, include_merged_revisions=0, revprops=0x411180e0, receiver=0x4325f1c0 <log_wrapper_callback>, receiver_baton=0x411180d0, pool=0x41118028) at subversion/libsvn_ra/ra_loader.c:906 #9 0x0000000042d7daf4 in svn_ra_get_log (session=Variable "session" is not available. ) at subversion/libsvn_ra/deprecated.c:324 #10 0x0000000045a9f684 in _wrap_svn_ra_get_log (my_perl=0x4101a600, cv=Variable "cv" is not available. ) at svn_ra.c:8008 #11 0x00000000403e5af4 in Perl_pp_entersub () from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so #12 0x00000000403e3e54 in Perl_runops_standard () from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so #13 0x0000000040373064 in perl_run () from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so #14 0x0000000000100fc4 in main () subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:340 is "PUSHMARK(SP) ;" This happens for both "perl --version" "This is perl 5, version 14, subversion 2 (v5.14.2) built for sparc64-freebsd-thread-multi" and "This is perl 5, version 14, subversion 2 (v5.14.2) built for sparc64-freebsd". I have rebuilt packages along the way to attempt to ensure that it is not some stale code, including doing a full "portmaster -a -f -D". >How-To-Repeat: Run "git svn init $PATH_TO_SVN_REPO" and then "git svn fetch". >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205021821.q42ILNLS003216>