aboutcode-org / aboutcode-org/scancode-toolkit

scancode crashing objc[59417]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.

Open
#842 11 comments 0 reactions 0 assignees View on GitHub
bug core and api
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

Env is:
OS: macOS High Sierra 10.13
scancode-toolkit version: 2.2.1

```
/usr/local/scancode-toolkit-2.2.1/scancode --format html-app --diag -n 10 --ignore "lib/*" --ignore "out/*" --ignore "build/*" --ignore "*.war" --ignore "*.tgz" --ignore "*.zip" --ignore "*.jar" --ignore "*/node_modules/*" --ignore "*.pdf" --ignore "*.jpg" --ignore "*.png" --ignore "*.csv" . oss-report.html
Scanning files for: licenses, copyrights, packages with 10 process(es)...
Building license detection index...Done.
Scanning files...
[---------------#----] 8613 Scanned: Spacer.js objc[59121]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called.
objc[59121]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.