libgit2 / libgit2/libgit2sharp

AccessViolationException thrown

Abierto
#1,691 1 comentario 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
C#
Estrellas
3.5k
Forks
925
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Reproduction steps

Please have a look to this issue :
https://github.com/git-tfs/git-tfs/issues/1281

It's probable that the problem occurs when a 'git gc' is launched.

I'm opening this issue to have more information and know if you have a solution to it.

Expected behavior

There is no AccessViolationException thrown

Actual behavior

There is an AccessViolationException thrown

Version of LibGit2Sharp (release number or SHA1)

Since update from LibGit2Sharp (0.25.3) to LibGit2Sharp (0.26) with LibGit2Sharp.NativeBinaries (2.0.267), this exception is thrown.

A user seems to report that updating the version of the NativeBinaries fix the problem. If that's true and you aware of it:

  • what is the good workaround?
  • when to expect a new release of LibGit2Sharp fixing the problem ?
Operating system(s) tested; .NET runtime tested

No information to provide 😕

Thanks a lot for your help.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza leyendo el issue de git-tfs enlazado y comparando la actualización de LibGit2Sharp 0.25.3 a 0.26 con LibGit2Sharp.NativeBinaries 2.0.267. Si es posible, reproduce la AccessViolationException en torno a una operación de git gc; al finalizar, se debe identificar la causa y establecer una solución alternativa confirmada o una vía de lanzamiento.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp, git
Área
devtools
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.