Skip to content

在win11上运行时如下报错,也导致不输出txt #5

@aycghnskij

Description

@aycghnskij

调用的命令:e0e1-config -all -output result.txt

能否解决一下这个报错,应该是跟IE相关的报错。另外,即使报错了看能否继续执行其他组件的检测,并且输出到txt文件。如下这样有报错,就使得程序都中断退出了。

报错如下:

[*] 获取IE凭据
Exception 0xc0000005 0x0 0xffffffffffffffff 0x7ff9066d83ab
PC=0x7ff9066d83ab

runtime.cgocall(0x2b68c0, 0x938100)
D:/circumstances/go1.20/src/runtime/cgocall.go:157 +0x4a fp=0xc000075318 sp=0xc0000752e0 pc=0x2545ca
syscall.SyscallN(0x1?, {0xc0000753b0?, 0x38ff37?, 0x6307f8?})
D:/circumstances/go1.20/src/runtime/syscall_windows.go:557 +0x109 fp=0xc000075390 sp=0xc000075318 pc=0x2b1b09
syscall.Syscall9(0x205473e14c8?, 0x240?, 0x2ae7da?, 0x0?, 0xc000075450?, 0x390d86?, 0xc0001d03a0?, 0xc0000754b0?, 0x390caa?, 0xc0009060c0, ...)
D:/circumstances/go1.20/src/runtime/syscall_windows.go:507 +0x78 fp=0xc000075408 sp=0xc000075390 pc=0x2b1818
golang.org/x/sys/windows.(*Proc).Call(0x9212c0?, {0xc000016380?, 0x5f6600?, 0x1?})
C:/Users/eeee/go/pkg/mod/golang.org/x/sys@v0.15.0/windows/dll_windows.go:184 +0x389 fp=0xc0000754c0 sp=0xc000075408 pc=0x390389
golang.org/x/sys/windows.(*LazyProc).Call(0x9212c0, {0xc000016380, 0x8, 0x8})
C:/Users/eeee/go/pkg/mod/golang.org/x/sys@v0.15.0/windows/dll_windows.go:348 +0x50 fp=0xc0000754f0 sp=0xc0000754c0 pc=0x390e10
e0e1-config/pkg/browers.VaultGetItem_WIN8(0x20521754140, 0xc000000200?, 0x205217a7b68, 0x0, 0x1dbbefd3612b37c, 0x0, 0x0, 0x0?)
C:/Users/eeee/Downloads/e0e1-config-main/e0e1-config-main/pkg/browers/ie.go:130 +0xae fp=0xc000075530 sp=0xc0000754f0 pc=0x5a422e
e0e1-config/pkg/browers.GetLogins()
C:/Users/eeee/Downloads/e0e1-config-main/e0e1-config-main/pkg/browers/ie.go:381 +0xa7b fp=0xc000075998 sp=0xc000075530 pc=0x5a627b
e0e1-config/pkg/browers.GetIE()
C:/Users/eeee/Downloads/e0e1-config-main/e0e1-config-main/pkg/browers/ie.go:494 +0x12a fp=0xc000075a88 sp=0xc000075998 pc=0x5a75ca
main.main()
C:/Users/eeee/Downloads/e0e1-config-main/e0e1-config-main/main.go:247 +0x38b2 fp=0xc000075f80 sp=0xc000075a88 pc=0x5dc572
runtime.main()
D:/circumstances/go1.20/src/runtime/proc.go:250 +0x1f7 fp=0xc000075fe0 sp=0xc000075f80 pc=0x289077
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000075fe8 sp=0xc000075fe0 pc=0x2b4f81

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc000049fb0 sp=0xc000049f90 pc=0x289496
runtime.goparkunlock(...)
D:/circumstances/go1.20/src/runtime/proc.go:387
runtime.forcegchelper()
D:/circumstances/go1.20/src/runtime/proc.go:305 +0xb2 fp=0xc000049fe0 sp=0xc000049fb0 pc=0x2892b2
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x2b4f81
created by runtime.init.6
D:/circumstances/go1.20/src/runtime/proc.go:293 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc00004bf80 sp=0xc00004bf60 pc=0x289496
runtime.goparkunlock(...)
D:/circumstances/go1.20/src/runtime/proc.go:387
runtime.bgsweep(0x0?)
D:/circumstances/go1.20/src/runtime/mgcsweep.go:319 +0xde fp=0xc00004bfc8 sp=0xc00004bf80 pc=0x273dbe
runtime.gcenable.func1()
D:/circumstances/go1.20/src/runtime/mgc.go:178 +0x26 fp=0xc00004bfe0 sp=0xc00004bfc8 pc=0x2691a6
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00004bfe8 sp=0xc00004bfe0 pc=0x2b4f81
created by runtime.gcenable
D:/circumstances/go1.20/src/runtime/mgc.go:178 +0x6b

goroutine 4 [sleep]:
runtime.gopark(0xc000062000?, 0x11799d39e263b?, 0x0?, 0x0?, 0x658568?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc00005df30 sp=0xc00005df10 pc=0x289496
runtime.goparkunlock(...)
D:/circumstances/go1.20/src/runtime/proc.go:387
runtime.(*scavengerState).sleep(0x937920, 0x4131170000000000)
D:/circumstances/go1.20/src/runtime/mgcscavenge.go:479 +0x12a fp=0xc00005dfa0 sp=0xc00005df30 pc=0x271eaa
runtime.bgscavenge(0x0?)
D:/circumstances/go1.20/src/runtime/mgcscavenge.go:637 +0x7f fp=0xc00005dfc8 sp=0xc00005dfa0 pc=0x2722bf
runtime.gcenable.func2()
D:/circumstances/go1.20/src/runtime/mgc.go:179 +0x26 fp=0xc00005dfe0 sp=0xc00005dfc8 pc=0x269146
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x2b4f81
created by runtime.gcenable
D:/circumstances/go1.20/src/runtime/mgc.go:179 +0xaa

goroutine 5 [finalizer wait]:
runtime.gopark(0x289812?, 0x2891e5?, 0x0?, 0x0?, 0xc00004df70?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc00004de28 sp=0xc00004de08 pc=0x289496
runtime.runfinq()
D:/circumstances/go1.20/src/runtime/mfinal.go:193 +0x107 fp=0xc00004dfe0 sp=0xc00004de28 pc=0x268207
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00004dfe8 sp=0xc00004dfe0 pc=0x2b4f81
created by runtime.createfing
D:/circumstances/go1.20/src/runtime/mfinal.go:163 +0x45

goroutine 7 [GC worker (idle)]:
runtime.gopark(0x11799d2936c6c?, 0x3?, 0x0?, 0x0?, 0xc0000fe060?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc00005ff50 sp=0xc00005ff30 pc=0x289496
runtime.gcBgMarkWorker()
D:/circumstances/go1.20/src/runtime/mgc.go:1275 +0xf1 fp=0xc00005ffe0 sp=0xc00005ff50 pc=0x26ad51
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x2b4f81
created by runtime.gcBgMarkStartWorkers
D:/circumstances/go1.20/src/runtime/mgc.go:1199 +0x25

goroutine 34 [GC worker (idle)]:
runtime.gopark(0x11799d2936c6c?, 0x3?, 0x0?, 0x0?, 0xc0000fe060?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc000059f50 sp=0xc000059f30 pc=0x289496
runtime.gcBgMarkWorker()
D:/circumstances/go1.20/src/runtime/mgc.go:1275 +0xf1 fp=0xc000059fe0 sp=0xc000059f50 pc=0x26ad51
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000059fe8 sp=0xc000059fe0 pc=0x2b4f81
created by runtime.gcBgMarkStartWorkers
D:/circumstances/go1.20/src/runtime/mgc.go:1199 +0x25

goroutine 20 [GC worker (idle)]:
runtime.gopark(0x11799d2936c6c?, 0x3?, 0x0?, 0x0?, 0x0?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc00005bf50 sp=0xc00005bf30 pc=0x289496
runtime.gcBgMarkWorker()
D:/circumstances/go1.20/src/runtime/mgc.go:1275 +0xf1 fp=0xc00005bfe0 sp=0xc00005bf50 pc=0x26ad51
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x2b4f81
created by runtime.gcBgMarkStartWorkers
D:/circumstances/go1.20/src/runtime/mgc.go:1199 +0x25

goroutine 21 [GC worker (idle)]:
runtime.gopark(0x98d320?, 0x3?, 0x0?, 0x0?, 0x0?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc000457f50 sp=0xc000457f30 pc=0x289496
runtime.gcBgMarkWorker()
D:/circumstances/go1.20/src/runtime/mgc.go:1275 +0xf1 fp=0xc000457fe0 sp=0xc000457f50 pc=0x26ad51
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000457fe8 sp=0xc000457fe0 pc=0x2b4f81
created by runtime.gcBgMarkStartWorkers
D:/circumstances/go1.20/src/runtime/mgc.go:1199 +0x25

goroutine 8 [GC worker (idle)]:
runtime.gopark(0x11799d2936c6c?, 0x1?, 0x0?, 0x0?, 0x0?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc000453f50 sp=0xc000453f30 pc=0x289496
runtime.gcBgMarkWorker()
D:/circumstances/go1.20/src/runtime/mgc.go:1275 +0xf1 fp=0xc000453fe0 sp=0xc000453f50 pc=0x26ad51
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000453fe8 sp=0xc000453fe0 pc=0x2b4f81
created by runtime.gcBgMarkStartWorkers
D:/circumstances/go1.20/src/runtime/mgc.go:1199 +0x25

goroutine 22 [GC worker (idle)]:
runtime.gopark(0x11799d2936c6c?, 0x1?, 0x0?, 0x0?, 0x0?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc000459f50 sp=0xc000459f30 pc=0x289496
runtime.gcBgMarkWorker()
D:/circumstances/go1.20/src/runtime/mgc.go:1275 +0xf1 fp=0xc000459fe0 sp=0xc000459f50 pc=0x26ad51
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000459fe8 sp=0xc000459fe0 pc=0x2b4f81
created by runtime.gcBgMarkStartWorkers
D:/circumstances/go1.20/src/runtime/mgc.go:1199 +0x25

goroutine 23 [GC worker (idle)]:
runtime.gopark(0x11799cc9c5be8?, 0x3?, 0x0?, 0x0?, 0x0?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc00045ff50 sp=0xc00045ff30 pc=0x289496
runtime.gcBgMarkWorker()
D:/circumstances/go1.20/src/runtime/mgc.go:1275 +0xf1 fp=0xc00045ffe0 sp=0xc00045ff50 pc=0x26ad51
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00045ffe8 sp=0xc00045ffe0 pc=0x2b4f81
created by runtime.gcBgMarkStartWorkers
D:/circumstances/go1.20/src/runtime/mgc.go:1199 +0x25

goroutine 35 [GC worker (idle)]:
runtime.gopark(0x11799d2936c6c?, 0x3?, 0x0?, 0x0?, 0x0?)
D:/circumstances/go1.20/src/runtime/proc.go:381 +0xd6 fp=0xc00045bf50 sp=0xc00045bf30 pc=0x289496
runtime.gcBgMarkWorker()
D:/circumstances/go1.20/src/runtime/mgc.go:1275 +0xf1 fp=0xc00045bfe0 sp=0xc00045bf50 pc=0x26ad51
runtime.goexit()
D:/circumstances/go1.20/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00045bfe8 sp=0xc00045bfe0 pc=0x2b4f81
created by runtime.gcBgMarkStartWorkers
D:/circumstances/go1.20/src/runtime/mgc.go:1199 +0x25
rax 0x4
rbx 0x7ff8eb66f890
rcx 0x7ff9066d83ab
rdi 0xdb773ff070
rsi 0x7ff8eb66ede8
rbp 0x5
rsp 0xdb773fed90
r8 0x1dbbefd3612b384
r9 0x7ff8eb676b14
r10 0x7ff9066a0000
r11 0x7ff9066d77e0
r12 0x0
r13 0x7ff8eb66eda0
r14 0x1dbbefd3612b38c
r15 0x7ff9066a0000
rip 0x7ff9066d83ab
rflags 0x10202
cs 0x33
fs 0x53
gs 0x2b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions