aboutcode-org / aboutcode-org/scancode-toolkit

ScanCode times out on scanning a file with very long lines

オープン
#3,913 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

### Describe the bug

ScanCode times out on scanning the file `https://github.com/ElinamLLC/SharpVectors/blob/master/Source/SharpVectorModel/Compressions/Brotli/Dictionary.cs` which contains exceedingly long strings.

I cannot see another reason why this might happen.

### To Reproduce

```xml



Exe
net8.0
ort-test
enable
enable




```

Steps to reproduce the behavior:
1. use the given minimal C# project example
2. scan
3. See error

### Expected behavior

Scan runs successfully.

### Console / log output

```
NuGet:SharpVectors:Reloaded:1.8.1
ERROR: Timeout after 300 seconds while scanning file 'Source/SharpVectorModel/Compressions/Brotli/Dictionary.cs'.
```

### Environment

* ORT version: 29.1.0
* Java version: JDK 11.0.24+8 Java 21.0.4
* OS: Ubuntu 22.04

PS: See the related [issue for ORT](https://github.com/oss-review-toolkit/ort/issues/9114).

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。