Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build test (race condition) crash #2288

Closed
Mzack9999 opened this issue Jul 14, 2022 · 0 comments · Fixed by #2293, #2306 or #2336
Closed

build test (race condition) crash #2288

Mzack9999 opened this issue Jul 14, 2022 · 0 comments · Fixed by #2293, #2306 or #2336
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes. Type: Maintenance Updating phrasing or wording to make things clearer or removing ambiguity.
Milestone

Comments

@Mzack9999
Copy link
Member

Mzack9999 commented Jul 14, 2022

Please describe your feature request:

dev

Steps to reproduce:

go run -race . -u scanme.sh
current race crash
==================
WARNING: DATA RACE
Write at 0x000105aa2568 by goroutine 108:
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).executeRequest()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:412 +0xa28
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:278 +0x648
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:330 +0x368
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/executer.(*Executer).Execute()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/common/executer/executer.go:68 +0x288
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:142 +0x15c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:148 +0x70

Previous write at 0x000105aa2568 by goroutine 106:
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).executeRequest()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:412 +0xa28
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:278 +0x648
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:330 +0x368
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/executer.(*Executer).Execute()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/common/executer/executer.go:68 +0x288
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:142 +0x15c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:148 +0x70

Goroutine 108 (running) created at:
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:129 +0x854
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:128 +0x4c
  github.com/projectdiscovery/hmap/store/disk.(*LevelDB).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/disk/leveldb.go:218 +0x254
  github.com/projectdiscovery/hmap/store/hybrid.(*HybridMap).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/hybrid/hybrid.go:209 +0x170
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:134 +0xd8
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:100 +0x72c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:51 +0x9c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:54 +0x48

Goroutine 106 (running) created at:
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:129 +0x854
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:128 +0x4c
  github.com/projectdiscovery/hmap/store/disk.(*LevelDB).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/disk/leveldb.go:218 +0x254
  github.com/projectdiscovery/hmap/store/hybrid.(*HybridMap).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/hybrid/hybrid.go:209 +0x170
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:134 +0xd8
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:100 +0x72c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:51 +0x9c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:54 +0x48
==================
==================
WARNING: DATA RACE
Write at 0x000105aa25a0 by goroutine 108:
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).executeRequest()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:413 +0xa80
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:278 +0x648
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:330 +0x368
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/executer.(*Executer).Execute()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/common/executer/executer.go:68 +0x288
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:142 +0x15c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:148 +0x70

Previous write at 0x000105aa25a0 by goroutine 106:
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).executeRequest()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:413 +0xa80
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:278 +0x648
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:330 +0x368
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/executer.(*Executer).Execute()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/common/executer/executer.go:68 +0x288
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:142 +0x15c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.2()
      /Users/gee
Goroutine 108 (running) created at:
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:129 +0x854
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:128 +0x4c
  github.com/projectdiscovery/hmap/store/disk.(*LevelDB).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/disk/leveldb.go:218 +0x254
  github.com/projectdiscovery/hmap/store/hybrid.(*HybridMap).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/hybrid/hybrid.go:209 +0x170
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:134 +0xd8
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:100 +0x72c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:51 +0x9c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:54 +0x48

Goroutine 106 (running) created at:
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:129 +0x854
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:128 +0x4c
  github.com/projectdiscovery/hmap/store/disk.(*LevelDB).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/disk/leveldb.go:218 +0x254
  github.com/projectdiscovery/hmap/store/hybrid.(*HybridMap).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/hybrid/hybrid.go:209 +0x170
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:134 +0xd8
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:100 +0x72c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:51 +0x9c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:54 +0x48
==================
==================
WARNING: DATA RACE
Write at 0x000105aa2598 by goroutine 108:
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).executeRequest()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:414 +0xae0
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:278 +0x648
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:330 +0x368
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/executer.(*Executer).Execute()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/common/executer/executer.go:68 +0x288
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:142 +0x15c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:148 +0x70

Previous write at 0x000105aa2598 by goroutine 106:
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).executeRequest()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:414 +0xae0
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:278 +0x648
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:330 +0x368
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/executer.(*Executer).Execute()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/common/executer/executer.go:68 +0x288
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:142 +0x15c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:148 +0x70

Goroutine 108 (running) created at:
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:129 +0x854
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:128 +0x4c
  github.com/projectdiscovery/hmap/store/disk.(*LevelDB).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/disk/leveldb.go:218 +0x254
  github.com/projectdiscovery/hmap/store/hybrid.(*HybridMap).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/hybrid/hybrid.go:209 +0x170
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:134 +0xd8
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:100 +0x72c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:51 +0x9c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:54 +0x48

Goroutine 106 (running) created at:
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:129 +0x854
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:128 +0x4c
  github.com/projectdiscovery/hmap/store/disk.(*LevelDB).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/disk/leveldb.go:218 +0x254
  github.com/projectdiscovery/hmap/store/hybrid.(*HybridMap).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/hybrid/hybrid.go:209 +0x170
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:134 +0xd8
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:100 +0x72c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:51 +0x9c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:54 +0x48
==================
==================
WARNING: DATA RACE
Write at 0x000105aa25d0 by goroutine 108:
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).executeRequest()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:415 +0xb4c
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:278 +0x648
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:330 +0x368
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/executer.(*Executer).Execute()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/common/executer/executer.go:68 +0x288
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:142 +0x15c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:148 +0x70

Previous write at 0x000105aa25d0 by goroutine 106:
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).executeRequest()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:415 +0xb4c
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:278 +0x648
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/http.(*Request).ExecuteWithResults()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/http/request.go:330 +0x368
  github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/executer.(*Executer).Execute()
      /Users/geekboy/Github/nuclei/v2/pkg/protocols/common/executer/executer.go:68 +0x288
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:142 +0x15c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2.2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:148 +0x70

Goroutine 108 (running) created at:
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:129 +0x854
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:128 +0x4c
  github.com/projectdiscovery/hmap/store/disk.(*LevelDB).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/disk/leveldb.go:218 +0x254
  github.com/projectdiscovery/hmap/store/hybrid.(*HybridMap).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/hybrid/hybrid.go:209 +0x170
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:134 +0xd8
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:100 +0x72c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:51 +0x9c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:54 +0x48

Goroutine 106 (running) created at:
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:129 +0x854
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:128 +0x4c
  github.com/projectdiscovery/hmap/store/disk.(*LevelDB).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/disk/leveldb.go:218 +0x254
  github.com/projectdiscovery/hmap/store/hybrid.(*HybridMap).Scan()
      /Users/geekboy/go/pkg/mod/github.com/projectdiscovery/[email protected]/store/hybrid/hybrid.go:209 +0x170
  github.com/projectdiscovery/nuclei/v2/pkg/core/inputs/hybrid.(*Input).Scan()
      /Users/geekboy/Github/nuclei/v2/pkg/core/inputs/hybrid/hmap.go:134 +0xd8
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).executeModelWithInput()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:100 +0x72c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func1()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:51 +0x9c
  github.com/projectdiscovery/nuclei/v2/pkg/core.(*Engine).ExecuteWithOpts.func2()
      /Users/geekboy/Github/nuclei/v2/pkg/core/execute.go:54 +0x48
==================
[nameserver-fingerprint] [dns] [info] scanme.sh [ns70.domaincontrol.com.,ns69.domaincontrol.com.]
Found 4 data race(s)
exit status 66

Ref: https://github.com/projectdiscovery/team-backlogs/issues/178

@Mzack9999 Mzack9999 added Type: Enhancement Most issues will probably ask for additions or changes. Type: Maintenance Updating phrasing or wording to make things clearer or removing ambiguity. labels Jul 14, 2022
@ehsandeep ehsandeep linked a pull request Jul 16, 2022 that will close this issue
4 tasks
@ehsandeep ehsandeep changed the title Increase race condition coverage build test (race condition) crash Jul 18, 2022
@Ice3man543 Ice3man543 linked a pull request Jul 18, 2022 that will close this issue
4 tasks
@Ice3man543 Ice3man543 self-assigned this Jul 18, 2022
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Jul 18, 2022
@ehsandeep ehsandeep added this to the v2.7.5 milestone Jul 24, 2022
@ehsandeep ehsandeep linked a pull request Jul 24, 2022 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes. Type: Maintenance Updating phrasing or wording to make things clearer or removing ambiguity.
Projects
None yet
3 participants