-
Notifications
You must be signed in to change notification settings - Fork 401
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
Segmentation fault when collecting config entries in vector #836
Comments
Thanks for the report. I have filed an upstream issue at libgit2/libgit2#6289 with what I think is the issue. Either we are misusing the git iterator API, or there is an issue in its implementation. |
@alexcrichton Looks like upstream has defined it that config entries cannot live between successive calls to
None of these seem particularly appealing to me (most are not serious suggestions). |
Could the iterator returned perhaps get its That at least paves the way for someone to later build any of the above interfaces (minus the |
Hi,
the below code snipped creates a segmentation fault:
Output:
The issue appears when collecting the entries of
ConfigEntries
and then iterating over them. The following code works just fine:Thank you for any help!
The text was updated successfully, but these errors were encountered: