Closed DaedalusG closed 8 months ago
@DaedalusG this is fixed in main in the src-cli repo: https://github.com/sourcegraph/src-cli/pull/1037
@DaedalusG is this ticket okay to close?
@eseliger let me validate it after the new version is released? I think there's a deeper bug in here potentially that I can't drill into until the logging error is resolved
sure! assigned you :)
Steps to reproduce:
Run a local docker-compose deployment on
v5.1.8
or earlier. On your local machine set up asrc serve-git
process serving some local repos.Example code host config:
Example
src serve-git
processWith the following configuration set you should be able to navigate locally to the
serve-git
server in the browser:Navigate to some repo using the web UI interface
http://127.0.0.1:6969/repos/gogs/
Now simulate the
git-upload-pack
endpointhttp://127.0.0.1:6969/repos/gogs/git-upload-pack
This will trigger a memory address error in the
gitservice
go module observable in thesrc serve-git
logging:Problem
This is artificially generated, but the error has been observed in the wild. At the time of opening this issue I'm not sure why this path gets hit sometimes and under what conditions it will get hit and fail. In theory it should come up during cloning but it isn't regularly failing with small repos on my mac.
If you would like immediate help on this, please email support@sourcegraph.com (you can still create the issue, but there are no SLAs on issues like there are for support requests).
/cc @sourcegraph/source