aboutcode-org / aboutcode-org/scancode-toolkit

Hang/freeze during scanning specific codebase

Ouverte
#4,280 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
5

Description

### 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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.