[Bug 1451028] Re: git-svn coredumps

Mathew Hodson mathew.hodson at gmail.com
Sun Nov 25 00:49:11 UTC 2018


** Description changed:

- When trying to  "git svn fetch" git-svn coredumps:
-  
+ [Impact]
+ 
+ Subversion's Perl bindings randomly crash. This is most typically seen
+ when using git-svn, since it's a heavy user of the bindings.
+ 
+ [Test Case]
+ 
+ "git svn clone -s svn://svn.code.sf.net/p/flightgear/fgaddon". With the
+ existing package in xenial, git-svn kept crashing while trying to
+ checkout the first revision. With the updated package, I've successfully
+ processed 2400 revisions before being interrupted by a network issue.
+ 
+ [Regression Potential]
+ 
+ This brings the code up to date with current released Subversion code in
+ this area. The upstream release which included these changes (1.9.5) has
+ been in Debian since 2016-11-29 and I've received no further reports of
+ issues.
+ 
+ [Other Info]
+ 
  > gdb perl core
  GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
- ...
+ [...]
  [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://iw'.
  Program terminated with signal SIGSEGV, Segmentation fault.
  #0  0x00002b39f9092a31 in _wrap_svn_txdelta_apply ()
-    from /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/SVN/_Delta/_Delta.so
+    from /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/SVN/_Delta/_Delta.so
  (gdb) where
  #0  0x00002b39f9092a31 in _wrap_svn_txdelta_apply ()
-    from /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/SVN/_Delta/_Delta.so
+    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
- ...
+    from /usr/lib/x86_64-linux-gnu/libperl.so.5.20
  
  So right now git-svn seems to be useless on ubuntu 14.10 (Linux lubdev
  3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:07:32 UTC 2014 x86_64
  x86_64 x86_64 GNU/Linux).
  
- It seems to be related to:
- http://svn.haxx.se/dev/archive-2015-03/0220.shtml (follow thread) and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780246
+ It seems to be related to
+ http://svn.haxx.se/dev/archive-2015-03/0220.shtml

** Tags added: xenial

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1451028

Title:
  git-svn coredumps

Status in subversion package in Ubuntu:
  Confirmed
Status in subversion package in Debian:
  Fix Released

Bug description:
  [Impact]

  Subversion's Perl bindings randomly crash. This is most typically seen
  when using git-svn, since it's a heavy user of the bindings.

  [Test Case]

  "git svn clone -s svn://svn.code.sf.net/p/flightgear/fgaddon". With
  the existing package in xenial, git-svn kept crashing while trying to
  checkout the first revision. With the updated package, I've
  successfully processed 2400 revisions before being interrupted by a
  network issue.

  [Regression Potential]

  This brings the code up to date with current released Subversion code
  in this area. The upstream release which included these changes
  (1.9.5) has been in Debian since 2016-11-29 and I've received no
  further reports of issues.

  [Other Info]

  > gdb perl core
  GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
  [...]
  [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://iw'.
  Program terminated with signal SIGSEGV, Segmentation fault.
  #0  0x00002b39f9092a31 in _wrap_svn_txdelta_apply ()
     from /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/SVN/_Delta/_Delta.so
  (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

  So right now git-svn seems to be useless on ubuntu 14.10 (Linux lubdev
  3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:07:32 UTC 2014 x86_64
  x86_64 x86_64 GNU/Linux).

  It seems to be related to
  http://svn.haxx.se/dev/archive-2015-03/0220.shtml

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/1451028/+subscriptions



More information about the Ubuntu-sponsors mailing list