git-svn crashed with SIGSEGV in run_cleanups()

Bug #1252097 reported by Horst Schirmeier
304
This bug affects 11 people
Affects Status Importance Assigned to Milestone
git (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Since Ubuntu 13.04, "git svn rebase" crashes in some (interestingly not all) git-svn clones after finishing all operations successfully. This also happens for both old checkouts and newly cloned repositories.

$ git svn rebase
Current branch master is up to date.
error: git-svn died of signal 11

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: git-svn 1:1.8.3.2-1
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
CrashCounter: 1
Date: Sun Nov 17 16:21:44 2013
Disassembly: => 0x7faf39736c70: Cannot access memory at address 0x7faf39736c70
ExecutablePath: /usr/lib/git-core/git-svn
ExecutableTimestamp: 1382432932
InstallationDate: Installed on 2012-07-06 (499 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
InterpreterPath: /usr/bin/perl
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/perl /usr/lib/git-core/git-svn rebase
ProcCwd: /home/hsc/work/isorc-danceos/ext-data
SegvAnalysis:
 Segfault happened at: 0x7faf39736c70: Cannot access memory at address 0x7faf39736c70
 PC (0x7faf39736c70) not located in a known VMA region (needed executable region)!
SegvReason: executing unknown VMA
Signal: 11
SourcePackage: git
StacktraceTop:
 ?? ()
 run_cleanups (cref=<optimized out>) at ../memory/unix/apr_pools.c:2352
 apr_pool_destroy (pool=0x7faf440a8028) at ../memory/unix/apr_pools.c:814
 apr_pool_destroy (pool=0x7faf440ac028) at ../memory/unix/apr_pools.c:811
 apr_pool_terminate () at ../memory/unix/apr_pools.c:639
Title: git-svn crashed with SIGSEGV in run_cleanups()
UpgradeStatus: Upgraded to saucy on 2013-10-17 (31 days ago)
UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo

Revision history for this message
Horst Schirmeier (horst) wrote :
Revision history for this message
Horst Schirmeier (horst) wrote :

Note that this also happens with a custom build of git 1.8.4.2.

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ?? ()
 run_cleanups (cref=<optimized out>) at ../memory/unix/apr_pools.c:2352
 apr_pool_destroy (pool=0x7faf440a8028) at ../memory/unix/apr_pools.c:814
 apr_pool_destroy (pool=0x7faf440ac028) at ../memory/unix/apr_pools.c:811
 apr_pool_terminate () at ../memory/unix/apr_pools.c:639

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in git (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Horst Schirmeier (horst)
information type: Private → Public
Revision history for this message
Horst Schirmeier (horst) wrote :

This seems to be fixed in Ubuntu 14.04.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in git (Ubuntu):
status: New → Confirmed
Revision history for this message
Dirk Schoebel (emerald79) wrote :

Same crash happpens to me in Ubuntu 14.04.

Revision history for this message
André Stein (andre-stein-1985) wrote :

This also happens in 15.10

Revision history for this message
Sebastiao Santos (santos-sandro) wrote :

This also happens in 16.04, with a large repo. It works fine with some others.

Revision history for this message
geniuze (geniuze) wrote :

Same crash happpens to me in Ubuntu 14.04. Crashed when I run command like git svn rebase , git svn fetch and so on.

Revision history for this message
Sofus Albertsen (sofusalbertsen) wrote :

Still the same for 16.04.1 LTS

information type: Public → Public Security
Revision history for this message
Dennis Schwartz-Knap (dennis-n1by) wrote :

This issue is really problematic since it halts svn2git conversion tool from atlassian (https://www.atlassian.com/git/tutorials/migrating-overview/)

Sadly the svn2git tool crashes repeatly due to this issue, especially if you have a long svn history to migrate.

Running it with 16.04.1.

\d

Revision history for this message
Seth Arnold (seth-arnold) wrote :

Has anyone filed this issue with git upstream? Is it still reproducible with git upstream? It might also be useful to recompile with ASAN or run this under valgrind.

Thanks

Revision history for this message
Horst Schirmeier (horst) wrote :

I haven't seen this in a long time, currently using Ubuntu 16.10.

Revision history for this message
Dmitry Weiner (dmw2k) wrote :

Reinstalling Perl worked for me:
$ sudo apt-get install --reinstall libsvn-perl

Horst Schirmeier (horst)
Changed in git (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.