aboutcode-org / aboutcode-org/scancode-toolkit

Specific file causes scanner to get stuck indefinitely

未關閉
#3,429 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

### Description

When scanning a topology json file from the plotly.js library, Scancode gets stuck indefinitely and does not continue scanning even after several days.
We have currently waited for 119 hours to see if it finishes (or crashes) at some point. So far this has not been the case. Trying again on a different system produced the same result.

### How To Reproduce

1. Make a folder 'test' containing this file: [north-america_50m.json](https://github.com/plotly/plotly.js/blob/master/dist/topojson/north-america_50m.json?short_path=a8edf36)
2. Call scancode with: `scancode -cli --verbose -json-pp out.json ./test`
3. The scan will get stuck on the file and (presumably) never finishes. No error is shown.

### System configuration

> For bug reports, it really helps us to know:

* What OS are you running on? Tested inside a docker linux-container and Windows 10
* What version of scancode-toolkit was used to generate the scan file? 30.1.0, 31.2.4 and 32.0.4
* What installation method was used to install/run scancode? Docker: Pip, Windows: Manual download and Pip

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。