-
Notifications
You must be signed in to change notification settings - Fork 714
panic: runtime error: invalid memory address or nil pointer dereference #79
Description
Hi,
I get error when I try to run the tool.
2022/08/03 21:54:09 wait for init config files ...
2022/08/03 21:54:13 Init2 k-v db 不能多个进程同时开启 Mmap value log file. Path=.DbCache/000000.vlog. Error=exec format error
2022/08/03 21:54:13 init config files is over .
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x14a pc=0xa27d54]
goroutine 1 [running]:
github.com/dgraph-io/badger.(*DB).View(0x24221c0?, 0xc000719e48)
/home/draksjahs/go/pkg/mod/github.com/dgraph-io/badger@v1.6.2/txn.go:676 +0x34
github.com/hktalent/scan4all/lib/util.(*KvDbOp).Get(0x2131586?, {0x206b128?, 0x35245d8?})
/home/draksjahs/go/pkg/mod/github.com/hktalent/scan4all@v0.0.0-20220801134924-2de0a7bac927/lib/util/kvDb.go:75 +0x71
github.com/hktalent/scan4all/brute.init.2.func1()
/home/draksjahs/go/pkg/mod/github.com/hktalent/scan4all@v0.0.0-20220801134924-2de0a7bac927/brute/fuzzAI.go:51 +0x16f
github.com/hktalent/scan4all/lib/util.DoInit(0x7?)
/home/draksjahs/go/pkg/mod/github.com/hktalent/scan4all@v0.0.0-20220801134924-2de0a7bac927/lib/util/config.go:417 +0xb6
main.main()
/home/draksjahs/go/pkg/mod/github.com/hktalent/scan4all@v0.0.0-20220801134924-2de0a7bac927/main.go:23 +0x5d