twosigma / twosigma/git-meta

nodegit/libgit2 crashes when repository config accessed in parallel

Open
#195 0 comments 0 reactions 1 assignee Claimed by @novalis View on GitHub
libgit2
Dominant language
JavaScript
Stars
233
Forks
54
PR merge metrics
No merged PRs in 30d

Description

e.g., if you run this:
```JavaScript
const config = repo.config();
const value = config.getString("section.value");
```
many times in parallel, you will eventually crash with:

```
Assertion failed: (c == '['), function parse_section_header, file ../vendor/libgit2/src/config_file.c, line 1126.
error: git-meta died of signal 6
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.