Bug 1212866 - [abrt] git-svn: _wrap_svn_txdelta_apply(): perl killed by SIGSEGV
Summary: [abrt] git-svn: _wrap_svn_txdelta_apply(): perl killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: git
Version: 22
Hardware: x86_64
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Petr Stodulka
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6dee400eda72b1a91cb9d93a50f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-17 14:43 UTC by Richard J. Turner
Modified: 2016-07-19 20:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 20:24:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (29.19 KB, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details
File: cgroup (220 bytes, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details
File: core_backtrace (4.94 KB, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details
File: dso_list (8.46 KB, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details
File: environ (4.12 KB, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details
File: limits (1.29 KB, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details
File: maps (39.30 KB, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details
File: mountinfo (3.34 KB, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details
File: namespaces (85 bytes, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details
File: open_fds (993 bytes, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details
File: proc_pid_status (961 bytes, text/plain)
2015-04-17 14:43 UTC, Richard J. Turner
no flags Details

Description Richard J. Turner 2015-04-17 14:43:32 UTC
Description of problem:
Using git svn fetch to fetch a tagged revision of a project into a new bare git repo.

Version-Release number of selected component:
git-svn-2.3.5-1.fc22

Additional info:
reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        /usr/bin/perl /usr/libexec/git-core/git-svn fetch
crash_function: _wrap_svn_txdelta_apply
executable:     /usr/bin/perl
global_pid:     8941
kernel:         4.0.0-1.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000
var_log_messages: [System Logs]:\n-- Logs begin at Tue 2015-03-17 13:25:53 GMT, end at Fri 2015-04-17 15:38:19 BST. --

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 _wrap_svn_txdelta_apply at svn_delta.c:3929
 #1 Perl_pp_entersub at pp_hot.c:2794
 #2 Perl_runops_standard at run.c:42
 #3 S_docatch at pp_ctl.c:3227
 #4 Perl_runops_standard at run.c:42
 #5 Perl_call_sv at perl.c:2756
 #6 Perl_call_method at perl.c:2671
 #7 svn_swig_pl_callback_thunk at subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:625
 #8 thunk_apply_textdelta at subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:873
 #9 ra_svn_handle_apply_textdelta at subversion/libsvn_ra_svn/editorp.c:717

Comment 1 Richard J. Turner 2015-04-17 14:43:37 UTC
Created attachment 1015616 [details]
File: backtrace

Comment 2 Richard J. Turner 2015-04-17 14:43:43 UTC
Created attachment 1015617 [details]
File: cgroup

Comment 3 Richard J. Turner 2015-04-17 14:43:44 UTC
Created attachment 1015618 [details]
File: core_backtrace

Comment 4 Richard J. Turner 2015-04-17 14:43:46 UTC
Created attachment 1015619 [details]
File: dso_list

Comment 5 Richard J. Turner 2015-04-17 14:43:47 UTC
Created attachment 1015620 [details]
File: environ

Comment 6 Richard J. Turner 2015-04-17 14:43:49 UTC
Created attachment 1015621 [details]
File: limits

Comment 7 Richard J. Turner 2015-04-17 14:43:51 UTC
Created attachment 1015622 [details]
File: maps

Comment 8 Richard J. Turner 2015-04-17 14:43:52 UTC
Created attachment 1015623 [details]
File: mountinfo

Comment 9 Richard J. Turner 2015-04-17 14:43:53 UTC
Created attachment 1015624 [details]
File: namespaces

Comment 10 Richard J. Turner 2015-04-17 14:43:54 UTC
Created attachment 1015625 [details]
File: open_fds

Comment 11 Richard J. Turner 2015-04-17 14:43:56 UTC
Created attachment 1015626 [details]
File: proc_pid_status

Comment 12 Jens Elkner 2015-05-02 12:03:36 UTC
FWIW - seen on Ubuntu 14.10 as well:

[New LWP 3503]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/perl /usr/lib/git-core/git-svn clone --rewrite-root=x://. svn+ssh://'...
Program terminated with signal SIGSEGV, Segmentation fault.
(gdb) where
#0  0x00002b39f9092a31 in _wrap_svn_txdelta_apply ()
   from /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/SVN/_Delta/_Delta.so
#1  0x00002b39f5400f1b in Perl_pp_entersub ()
   from /usr/lib/x86_64-linux-gnu/libperl.so.5.20
...

Comment 13 Petr Stodulka 2015-05-03 21:32:14 UTC
Hi Jens and Richard,
please have you got coredump or minimal reproducer? I am really pessimistic about successful investigation from abrt report and any other data can help me with this (I didn't check this yet).

Comment 14 Jens Elkner 2015-05-04 13:46:11 UTC
Yes. I can even give you access to the mirrored repo, so that can reproduce it locally just by "git svn clone file:///var/tmp/glassfish.svn glassfish.git" (ust let me know).

Unfortunately the glassfish.svn.tgz is ~1.6GB (svnsync takes ~7.5h). If you convert it from the start, it takes ~1d to hit rev 17529, where it will coredump. But than one can cd glassfish.git/ and "git svn fetch" again to get a new coredump, which is than much smaller (~32M vs. 2.6GB). Looks like git-svn leaks also mem over time ...

BTW: Evtl. one may start git-svn right at that rev. - haven't had the time yet to try this out.

http://svn.haxx.se/dev/archive-2015-03/0220.shtml
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780246

Seem to be related, but did not really help.

Comment 15 Fedora End Of Life 2016-07-19 20:24:27 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.