Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versionize stopped working in Ubuntu 18.04 #28

Closed
lungosta opened this issue Jun 15, 2021 · 10 comments
Closed

Versionize stopped working in Ubuntu 18.04 #28

lungosta opened this issue Jun 15, 2021 · 10 comments

Comments

@lungosta
Copy link

Versionize stopped working in Ubuntu 18.04, I'm getting the following error when I try to create changelog:

free(): invalid pointer
/home/vsts/work/_temp/513c9359-e347-4729-819c-0b31e4782f8d.sh: line 1: 3328 Aborted

Example command:
/home/vsts/work/versionize -w "health-reimbursement-ms/" -r 0.3.3 --skip-dirty --skip-commit -i

This is happening with 1.6.2,1.6.1 and 1.6.0

@maximauro
Copy link

Exact same issue on my side.
We use versionize in a Docker image based on mcr.microsoft.com/dotnet/sdk:5.0 (Debian 10)

@saintedlama
Copy link
Collaborator

Took a look today and perhaps a --skip-commit could help

@DeltaOffset
Copy link

hey @saintedlama I work with lungosta and we are still having problems running versionize. don't know what happened but we get an error like: "free(): invalid pointer"
when running the command versionize --skip-dirty --skip-commit -i

@lungosta
Copy link
Author

lungosta commented Jul 9, 2021

@saintedlama have you been able to have a look at this?

@msallin
Copy link

msallin commented Jul 9, 2021

There was a change in the newest .NET 5 SDK which causes an error with marshalling in the gitlib2. This is fixed with a preview.

libgit2/libgit2sharp#1890

@saintedlama
Copy link
Collaborator

Had a look at that issue and the root of all evil is buried somewhere in libgit2sharp. Tried to downgrade/upgrade but no luck yet.

@msallin
Copy link

msallin commented Jul 9, 2021

"0.27.0-preview-0102 includes the fix."
libgit2/libgit2sharp#1885

@DeltaOffset
Copy link

we did a test on versionize --version 1.5.1 on Ubuntu 18.04 and is working, at least we could use this until its fixed for newer version

@saintedlama
Copy link
Collaborator

Should be fixed in v1.7.0

@cabauman
Copy link
Contributor

Closing this issue since there haven't been any more reports. Feel free to open a new issue if you find otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants