aboutcode-org / aboutcode-org/scancode-toolkit

Hang/freeze during scanning specific codebase

未关闭
#4,280 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

### Description

I scanned many codebases for licensing using this tool and I think it's reliable, thank you! However this time it was only able to scan ~80% of the big code before stopping at the 6000th resource. Specifically I was scanning https://github.com/bisq-network/bisq2/archive/v2.1.7.tar.gz.

When it hanged, the fans just stopped spinning and it seemed like if the program just rested. Pressing ^C behaved like normal, showing the summary and such.

### How To Reproduce

Download https://github.com/bisq-network/bisq2/archive/v2.1.7.tar.gz, untar it, and scan it (I used command `scancode --copyright --license --csv ../bisq2.csv .` in codebase dir). Wait for ~10 mins (atleast on my computer) and see how at the 6000th resource it stops. Appending -v for verbose to the arguments doesn't show anything new.

Copying the file that the hang happened on (in this case 6000th resource =`PaymentAccountChangeRequest.java`) and scanning it seperately doesn't make it hang.

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

* What OS are you running on? GNU/Linux
* What version of scancode-toolkit was used to generate the scan file? 32.2.1 and newest 32.3.3 (latter didn't try -v option in scan, but I don't think output would become different than in former version)
* What installation method was used to install/run scancode? bash, pip in virtualenv

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。