aboutcode-org / aboutcode-org/scancode-toolkit

Hang/freeze during scanning specific codebase

Aberta
#4,280 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Python
Estrelas
2.6k
Forks
791
Merge médio
1d 12h
PRs com merge (30d)
5

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.