You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have implemented a managed transport for git2go in fluxcd/source-controller, which is heavily based on git2go's default implementation and it works quite well most of times.
However, we have noticed that at times git2go may panic when trying to call git2go/v33.(*HandleList).Get.
I am finding it difficult to reproduce this consistently, but have experienced it a few times (e.g. the Git Fetch example below) on my local setup.
The handle's list is part of git2go internal state, so I am not quite sure how we can ensure it is already properly set.
Has anyone else experienced this? Any pointers on how to resolve it?
The text was updated successfully, but these errors were encountered:
pjbgf
changed the title
Random invalid pointer handle using Managed Transport
Random invalid pointer handle using Managed Transport
May 8, 2022
Unfortunately, the only way we found to consistently avoid this issue was to not use transport.SmartCredentials() and stop relying on git2go primitives to store and return data we may later need during the callbacks.
We have implemented a managed transport for
git2go
in fluxcd/source-controller, which is heavily based on git2go's default implementation and it works quite well most of times.However, we have noticed that at times
git2go
maypanic
when trying to callgit2go/v33.(*HandleList).Get
.I am finding it difficult to reproduce this consistently, but have experienced it a few times (e.g. the Git Fetch example below) on my local setup.
Git Fetch
Other users are experiencing it quite consistently but during a clone, at the point of getting to the credentials call back:
Getting smart credentials during Clone
The handle's list is part of
git2go
internal state, so I am not quite sure how we can ensure it is already properly set.Has anyone else experienced this? Any pointers on how to resolve it?
The text was updated successfully, but these errors were encountered: