aboutcode-org / aboutcode-org/scancode-toolkit

Hang/freeze during scanning specific codebase

Offen
#4,280 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.