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

在什么情况下会报这种错 fatal error: runtime: out of memory #57

Open
medasz opened this issue Jul 20, 2020 · 2 comments
Open

Comments

@medasz
Copy link

medasz commented Jul 20, 2020

No description provided.

@medasz
Copy link
Author

medasz commented Jul 20, 2020

我在用Kunpeng -PostgreSQL 弱口令这个插件的时候报了这个错,程序终止了。

@medasz
Copy link
Author

medasz commented Jul 20, 2020

nohup: 忽略输入

_
| | ___ _ _ __ _ __ ___ _ __ __ _
| |/ / | | | '_ | '_ \ / _ \ '_ \ / ' |
| <| |
| | | | | |) | __/ | | | (| |
||_\__,|| || ./ _|| ||_, |
|
| |___/

[18:11:25] ['192.168.253.186', 80]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 86]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 8080]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 81]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 82]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 85]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 8081]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 1664]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 8091]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 65412]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 83]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 88]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 84]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 65512]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 22]call kunpeng - KP-0004
[18:11:25] ['192.168.253.186', 8090]call kunpeng - KP-0004
fatal error: runtime: out of memory

runtime stack:
runtime.throw(0x7f9678e82fd1, 0x16)
/usr/local/go/src/runtime/panic.go:605 +0x97
runtime.sysMap(0xc474a50000, 0x54550000, 0x400352300, 0x7f96798d80d8)
/usr/local/go/src/runtime/mem_linux.go:216 +0x1d2
runtime.(*mheap).sysAlloc(0x7f96798be9c0, 0x54550000, 0x7f9678353228)
/usr/local/go/src/runtime/malloc.go:470 +0xd9
runtime.(*mheap).grow(0x7f96798be9c0, 0x2a2a3, 0x0)
/usr/local/go/src/runtime/mheap.go:887 +0x62
runtime.(*mheap).allocSpanLocked(0x7f96798be9c0, 0x2a2a3, 0x7f96798d80e8, 0x0)
/usr/local/go/src/runtime/mheap.go:800 +0x336
runtime.(*mheap).alloc_m(0x7f96798be9c0, 0x2a2a3, 0xc4202c0101, 0x7f9600000000)
/usr/local/go/src/runtime/mheap.go:666 +0x11c
runtime.(*mheap).alloc.func1()
/usr/local/go/src/runtime/mheap.go:733 +0x4f
runtime.systemstack(0x7f96557f8830)
/usr/local/go/src/runtime/asm_amd64.s:360 +0xa1
runtime.(*mheap).alloc(0x7f96798be9c0, 0x2a2a3, 0x7f9655010101, 0x7f9678763638)
/usr/local/go/src/runtime/mheap.go:732 +0xa3
runtime.largeAlloc(0x5454502b, 0x7f9678380101, 0x10000c4202daf00)
/usr/local/go/src/runtime/malloc.go:827 +0x9a
runtime.mallocgc.func1()
/usr/local/go/src/runtime/malloc.go:722 +0x48
runtime.systemstack(0x7f96557f88e8)
/usr/local/go/src/runtime/asm_amd64.s:344 +0x72
runtime.mstart()
/usr/local/go/src/runtime/proc.go:1125

goroutine 21 [running, locked to thread]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_amd64.s:298 fp=0xc4203d7cf8 sp=0xc4203d7cf0 pc=0x7f96787a4e00
runtime.mallocgc(0x5454502b, 0x7f96793aebe0, 0x1, 0x0)
/usr/local/go/src/runtime/malloc.go:721 +0x7ca fp=0xc4203d7da0 sp=0xc4203d7cf8 pc=0x7f967875fc6a
runtime.makeslice(0x7f96793aebe0, 0x5454502b, 0x5454502b, 0x5, 0x200, 0x5)
/usr/local/go/src/runtime/slice.go:54 +0x79 fp=0xc4203d7dd0 sp=0xc4203d7da0 pc=0x7f9678790659
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).recvMessage(0xc42043e840, 0xc4202d9120, 0x1ff, 0x54, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:973 +0x28c fp=0xc4203d7e50 sp=0xc4203d7dd0 pc=0x7f9678b2aafc
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).recv(0xc42043e840, 0xc4203d7f98, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:991 +0x87 fp=0xc4203d7e90 sp=0xc4203d7e50 pc=0x7f9678b2abd7
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).startup(0xc42043e840, 0xc4202c85a0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:1118 +0xab7 fp=0xc4203d8028 sp=0xc4203d7e90 pc=0x7f9678b2bc77
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.DialOpen(0x7f9679880ac0, 0x7f96798d6410, 0xc42005e8a0, 0x5f, 0x0, 0x0, 0x0, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:357 +0x707 fp=0xc4203d81d8 sp=0xc4203d8028 pc=0x7f9678b25757
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.Open(0xc42005e8a0, 0x5f, 0x0, 0x0, 0x0, 0xc4200e0000)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:251 +0x4f fp=0xc4203d8228 sp=0xc4203d81d8 pc=0x7f9678b2500f
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*Driver).Open(0x7f96798d6410, 0xc42005e8a0, 0x5f, 0x2, 0x2, 0xc4200e61c0, 0xc4200135d2)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:45 +0x37 fp=0xc4203d8268 sp=0xc4203d8228 pc=0x7f9678b24407
database/sql.(*DB).conn(0xc4204303c0, 0x7f9679883cc0, 0xc420012088, 0x7f96794e3c01, 0xc4204303c0, 0x0, 0xc4202c8570)
/usr/local/go/src/database/sql/sql.go:999 +0x132 fp=0xc4203d8440 sp=0xc4203d8268 pc=0x7f9678ab7492
database/sql.(*DB).PingContext(0xc4204303c0, 0x7f9679883cc0, 0xc420012088, 0xc42005e8a0, 0xc4200e6180)
/usr/local/go/src/database/sql/sql.go:631 +0x93 fp=0xc4203d84d0 sp=0xc4203d8440 pc=0x7f9678ab5ce3
database/sql.(*DB).Ping(0xc4204303c0, 0x8, 0xc42005e8a0)
/usr/local/go/src/database/sql/sql.go:649 +0x45 fp=0xc4203d8508 sp=0xc4203d84d0 pc=0x7f9678ab5ed5
github.com/opensec-cn/kunpeng/plugin/go.(*postgresqlWeakPass).Check(0xc42008d290, 0xc4203dc560, 0x14, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/go/postgresqlWeakPass.go:58 +0x3e7 fp=0xc4203d8788 sp=0xc4203d8508 pc=0x7f9678beded7
github.com/opensec-cn/kunpeng/plugin.pluginRun.func1()
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:83 +0x87 fp=0xc4203d8818 sp=0xc4203d8788 pc=0x7f9678a34e07
github.com/opensec-cn/kunpeng/plugin.try(0xc42004c8e0, 0x7f96794e4180)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:74 +0x4f fp=0xc4203d8840 sp=0xc4203d8818 pc=0x7f9678a313af
github.com/opensec-cn/kunpeng/plugin.pluginRun(0xc4200137f0, 0x7, 0xc4203dc560, 0x14, 0xc4200137f7, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:82 +0x118 fp=0xc4203d8ae0 sp=0xc4203d8840 pc=0x7f9678a314f8
github.com/opensec-cn/kunpeng/plugin.Scan(0xc4200137f0, 0x7, 0xc4203dc560, 0x14, 0xc4200137f7, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:138 +0xaaf fp=0xc4203d9cb0 sp=0xc4203d8ae0 pc=0x7f9678a324cf
main.Check(0x7f967a0ee440, 0x7f96794e6578)
/mnt/go/src/github.com/opensec-cn/kunpeng/main.go:63 +0x368 fp=0xc4203d9e80 sp=0xc4203d9cb0 pc=0x7f9678e71778
main._cgoexpwrap_67b014edca09_Check(0x7f967a0ee440, 0x0)
github.com/opensec-cn/kunpeng/_obj/_cgo_gotypes.go:78 +0x5c fp=0xc4203d9ea8 sp=0xc4203d9e80 pc=0x7f9678e70e8c
runtime.call32(0x0, 0x7f96557f8938, 0x7f96557f89d0, 0x10)
/usr/local/go/src/runtime/asm_amd64.s:509 +0x3d fp=0xc4203d9ed8 sp=0xc4203d9ea8 pc=0x7f96787a51bd
runtime.cgocallbackg1(0x0)
/usr/local/go/src/runtime/cgocall.go:305 +0x1a0 fp=0xc4203d9f58 sp=0xc4203d9ed8 pc=0x7f9678750c80
runtime.cgocallbackg(0x0)
/usr/local/go/src/runtime/cgocall.go:187 +0x95 fp=0xc4203d9fc0 sp=0xc4203d9f58 pc=0x7f9678750a45
runtime.cgocallback_gofunc(0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/runtime/asm_amd64.s:762 +0x9a fp=0xc4203d9fe0 sp=0xc4203d9fc0 pc=0x7f96787a67ca
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc4203d9fe8 sp=0xc4203d9fe0 pc=0x7f96787a7a61

goroutine 17 [IO wait, locked to thread]:
internal/poll.runtime_pollWait(0x7f967834ef70, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:173 +0x59
internal/poll.(*pollDesc).wait(0xc4200e5498, 0x72, 0xffffffffffffff00, 0x7f967987e300, 0x7f9679879260)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb0
internal/poll.(*pollDesc).waitRead(0xc4200e5498, 0xc420481000, 0x1000, 0x1000)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3f
internal/poll.(*FD).Read(0xc4200e5480, 0xc420481000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:125 +0x18c
net.(*netFD).Read(0xc4200e5480, 0xc420481000, 0x1000, 0x1000, 0xc420000600, 0x200000003, 0xc420000600)
/usr/local/go/src/net/fd_unix.go:202 +0x54
net.(*conn).Read(0xc42000e598, 0xc420481000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:176 +0x6f
bufio.(*Reader).Read(0xc4200549c0, 0xc42043f360, 0x5, 0x200, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:213 +0x30d
io.ReadAtLeast(0x7f967987ac80, 0xc4200549c0, 0xc42043f360, 0x5, 0x200, 0x5, 0x8, 0x18, 0xc4202d9240)
/usr/local/go/src/io/io.go:309 +0x88
io.ReadFull(0x7f967987ac80, 0xc4200549c0, 0xc42043f360, 0x5, 0x200, 0x1ff, 0x54, 0x0)
/usr/local/go/src/io/io.go:327 +0x5a
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).recvMessage(0xc42043f340, 0xc4202d9240, 0x1ff, 0x54, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:961 +0x150
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).recv(0xc42043f340, 0xc420439f98, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:991 +0x87
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).startup(0xc42043f340, 0xc420061830)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:1118 +0xab7
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.DialOpen(0x7f9679880ac0, 0x7f96798d6410, 0xc42005e900, 0x5d, 0x0, 0x0, 0x0, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:357 +0x707
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.Open(0xc42005e900, 0x5d, 0x0, 0x0, 0x7f96787a1f00, 0xc4200e0000)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:251 +0x4f
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*Driver).Open(0x7f96798d6410, 0xc42005e900, 0x5d, 0x7f967876125e, 0x7f967838ee40, 0x10, 0xaa)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:45 +0x37
database/sql.(*DB).conn(0xc4204310e0, 0x7f9679883cc0, 0xc420012088, 0x7f96794e3c01, 0xc4204310e0, 0x0, 0xc420061800)
/usr/local/go/src/database/sql/sql.go:999 +0x132
database/sql.(*DB).PingContext(0xc4204310e0, 0x7f9679883cc0, 0xc420012088, 0xc42005e900, 0xc4200e6000)
/usr/local/go/src/database/sql/sql.go:631 +0x93
database/sql.(*DB).Ping(0xc4204310e0, 0x8, 0xc42005e900)
/usr/local/go/src/database/sql/sql.go:649 +0x45
github.com/opensec-cn/kunpeng/plugin/go.(*postgresqlWeakPass).Check(0xc42008d290, 0xc420014aa0, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/go/postgresqlWeakPass.go:58 +0x3e7
github.com/opensec-cn/kunpeng/plugin.pluginRun.func1()
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:83 +0x87
github.com/opensec-cn/kunpeng/plugin.try(0xc42004c8e0, 0x7f96794e4180)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:74 +0x4f
github.com/opensec-cn/kunpeng/plugin.pluginRun(0xc4202b78a0, 0x7, 0xc420014aa0, 0x12, 0xc4202b78a7, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:82 +0x118
github.com/opensec-cn/kunpeng/plugin.Scan(0xc4202b78a0, 0x7, 0xc420014aa0, 0x12, 0xc4202b78a7, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:138 +0xaaf
main.Check(0x7f967a0ee210, 0x7f96794e6578)
/mnt/go/src/github.com/opensec-cn/kunpeng/main.go:63 +0x368
main._cgoexpwrap_67b014edca09_Check(0x7f967a0ee210, 0x0)
github.com/opensec-cn/kunpeng/_obj/_cgo_gotypes.go:78 +0x5c

goroutine 18 [IO wait, locked to thread]:
internal/poll.runtime_pollWait(0x7f967834eeb0, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:173 +0x59
internal/poll.(*pollDesc).wait(0xc4200e5718, 0x72, 0xffffffffffffff00, 0x7f967987e300, 0x7f9679879260)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb0
internal/poll.(*pollDesc).waitRead(0xc4200e5718, 0xc420480000, 0x1000, 0x1000)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3f
internal/poll.(*FD).Read(0xc4200e5700, 0xc420480000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:125 +0x18c
net.(*netFD).Read(0xc4200e5700, 0xc420480000, 0x1000, 0x1000, 0xc420001800, 0x200000003, 0xc420001800)
/usr/local/go/src/net/fd_unix.go:202 +0x54
net.(*conn).Read(0xc42000e008, 0xc420480000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:176 +0x6f
bufio.(*Reader).Read(0xc420054240, 0xc42043f8e0, 0x5, 0x200, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:213 +0x30d
io.ReadAtLeast(0x7f967987ac80, 0xc420054240, 0xc42043f8e0, 0x5, 0x200, 0x5, 0x8, 0x18, 0xc4202d8840)
/usr/local/go/src/io/io.go:309 +0x88
io.ReadFull(0x7f967987ac80, 0xc420054240, 0xc42043f8e0, 0x5, 0x200, 0x1ff, 0x54, 0x0)
/usr/local/go/src/io/io.go:327 +0x5a
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).recvMessage(0xc42043f8c0, 0xc4202d8840, 0x1ff, 0x54, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:961 +0x150
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).recv(0xc42043f8c0, 0xc420435f98, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:991 +0x87
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).startup(0xc42043f8c0, 0xc4202c8270)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:1118 +0xab7
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.DialOpen(0x7f9679880ac0, 0x7f96798d6410, 0xc42005ecc0, 0x5d, 0x0, 0x0, 0x0, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:357 +0x707
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.Open(0xc42005ecc0, 0x5d, 0x0, 0x0, 0x7f967833af00, 0xc4200e0000)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:251 +0x4f
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*Driver).Open(0x7f96798d6410, 0xc42005ecc0, 0x5d, 0x2, 0x2, 0xc4202d4380, 0x7f96787a2140)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:45 +0x37
database/sql.(*DB).conn(0xc420431220, 0x7f9679883cc0, 0xc420012088, 0x7f96794e3c01, 0xc420431220, 0x0, 0xc4202c8240)
/usr/local/go/src/database/sql/sql.go:999 +0x132
database/sql.(*DB).PingContext(0xc420431220, 0x7f9679883cc0, 0xc420012088, 0xc42005ecc0, 0xc4200e6180)
/usr/local/go/src/database/sql/sql.go:631 +0x93
database/sql.(*DB).Ping(0xc420431220, 0x8, 0xc42005ecc0)
/usr/local/go/src/database/sql/sql.go:649 +0x45
github.com/opensec-cn/kunpeng/plugin/go.(*postgresqlWeakPass).Check(0xc42008d290, 0xc4203dc080, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/go/postgresqlWeakPass.go:58 +0x3e7
github.com/opensec-cn/kunpeng/plugin.pluginRun.func1()
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:83 +0x87
github.com/opensec-cn/kunpeng/plugin.try(0xc4204368e0, 0x7f96794e4180)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:74 +0x4f
github.com/opensec-cn/kunpeng/plugin.pluginRun(0xc42032ac10, 0x7, 0xc4203dc080, 0x12, 0xc42032ac17, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:82 +0x118
github.com/opensec-cn/kunpeng/plugin.Scan(0xc42032ac10, 0x7, 0xc4203dc080, 0x12, 0xc42032ac17, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:138 +0xaaf
main.Check(0x7f967a0ee130, 0x7f96794e6578)
/mnt/go/src/github.com/opensec-cn/kunpeng/main.go:63 +0x368
main._cgoexpwrap_67b014edca09_Check(0x7f967a0ee130, 0x0)
github.com/opensec-cn/kunpeng/_obj/_cgo_gotypes.go:78 +0x5c

goroutine 6 [sleep]:
time.Sleep(0x4a817c800)
/usr/local/go/src/runtime/time.go:65 +0x136
github.com/opensec-cn/kunpeng/plugin/json.loadExtraJSONPlugin()
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/json/init.go:129 +0x34
created by github.com/opensec-cn/kunpeng/plugin/json.init.0
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/json/init.go:21 +0x55

goroutine 9 [chan receive]:
database/sql.(*DB).connectionOpener(0xc4204310e0)
/usr/local/go/src/database/sql/sql.go:871 +0x55
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:609 +0x1f0

goroutine 23 [chan receive]:
database/sql.(*DB).connectionOpener(0xc420430280)
/usr/local/go/src/database/sql/sql.go:871 +0x55
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:609 +0x1f0

goroutine 19 [IO wait, locked to thread]:
internal/poll.runtime_pollWait(0x7f967834edf0, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:173 +0x59
internal/poll.(*pollDesc).wait(0xc4200e4098, 0x72, 0xffffffffffffff00, 0x7f967987e300, 0x7f9679879260)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb0
internal/poll.(*pollDesc).waitRead(0xc4200e4098, 0xc4204c8000, 0x1000, 0x1000)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3f
internal/poll.(*FD).Read(0xc4200e4080, 0xc4204c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/internal/poll/fd_unix.go:125 +0x18c
net.(*netFD).Read(0xc4200e4080, 0xc4204c8000, 0x1000, 0x1000, 0xc420490c00, 0x200000003, 0xc420490c00)
/usr/local/go/src/net/fd_unix.go:202 +0x54
net.(*conn).Read(0xc42000e028, 0xc4204c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:176 +0x6f
bufio.(*Reader).Read(0xc420054360, 0xc42043e2e0, 0x5, 0x200, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:213 +0x30d
io.ReadAtLeast(0x7f967987ac80, 0xc420054360, 0xc42043e2e0, 0x5, 0x200, 0x5, 0x8, 0x18, 0xc4202d8ca0)
/usr/local/go/src/io/io.go:309 +0x88
io.ReadFull(0x7f967987ac80, 0xc420054360, 0xc42043e2e0, 0x5, 0x200, 0x1ff, 0x54, 0x0)
/usr/local/go/src/io/io.go:327 +0x5a
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).recvMessage(0xc42043e2c0, 0xc4202d8ca0, 0x1ff, 0x54, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:961 +0x150
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).recv(0xc42043e2c0, 0xc4203c7f98, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:991 +0x87
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).startup(0xc42043e2c0, 0xc4202c8150)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:1118 +0xab7
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.DialOpen(0x7f9679880ac0, 0x7f96798d6410, 0xc42005e120, 0x5d, 0x0, 0x0, 0x0, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:357 +0x707
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.Open(0xc42005e120, 0x5d, 0x0, 0x0, 0x10300000000, 0xc4200e0000)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:251 +0x4f
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*Driver).Open(0x7f96798d6410, 0xc42005e120, 0x5d, 0x2, 0x2, 0xc4200e61c0, 0xc42032baca)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:45 +0x37
database/sql.(*DB).conn(0xc420430000, 0x7f9679883cc0, 0xc420012088, 0x7f96794e3c01, 0xc420430000, 0x0, 0xc4202c80c0)
/usr/local/go/src/database/sql/sql.go:999 +0x132
database/sql.(*DB).PingContext(0xc420430000, 0x7f9679883cc0, 0xc420012088, 0xc42005e120, 0xc4200e6180)
/usr/local/go/src/database/sql/sql.go:631 +0x93
database/sql.(*DB).Ping(0xc420430000, 0x8, 0xc42005e120)
/usr/local/go/src/database/sql/sql.go:649 +0x45
github.com/opensec-cn/kunpeng/plugin/go.(*postgresqlWeakPass).Check(0xc42008d290, 0xc4203dc020, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/go/postgresqlWeakPass.go:58 +0x3e7
github.com/opensec-cn/kunpeng/plugin.pluginRun.func1()
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:83 +0x87
github.com/opensec-cn/kunpeng/plugin.try(0xc42004c8e0, 0x7f96794e4180)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:74 +0x4f
github.com/opensec-cn/kunpeng/plugin.pluginRun(0xc42032bcd0, 0x7, 0xc4203dc020, 0x12, 0xc42032bcd7, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:82 +0x118
github.com/opensec-cn/kunpeng/plugin.Scan(0xc42032bcd0, 0x7, 0xc4203dc020, 0x12, 0xc42032bcd7, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:138 +0xaaf
main.Check(0x7f967a0ee2f0, 0x7f96794e6578)
/mnt/go/src/github.com/opensec-cn/kunpeng/main.go:63 +0x368
main._cgoexpwrap_67b014edca09_Check(0x7f967a0ee2f0, 0x0)
github.com/opensec-cn/kunpeng/_obj/_cgo_gotypes.go:78 +0x5c

goroutine 11 [chan receive]:
database/sql.(*DB).connectionOpener(0xc420431180)
/usr/local/go/src/database/sql/sql.go:871 +0x55
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:609 +0x1f0

goroutine 13 [chan receive]:
database/sql.(*DB).connectionOpener(0xc420431220)
/usr/local/go/src/database/sql/sql.go:871 +0x55
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:609 +0x1f0

goroutine 20 [runnable, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1

goroutine 22 [runnable, locked to thread]:
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).recvMessage(0xc42043e580, 0xc4202d9100, 0x1ff, 0x54, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:973 +0x28c
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).recv(0xc42043e580, 0xc4203c3f98, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:991 +0x87
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*conn).startup(0xc42043e580, 0xc4202c8420)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:1118 +0xab7
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.DialOpen(0x7f9679880ac0, 0x7f96798d6410, 0xc42005e6c0, 0x5d, 0x0, 0x0, 0x0, 0x0)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:357 +0x707
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.Open(0xc42005e6c0, 0x5d, 0x0, 0x0, 0xe6700000600, 0xc4200e0000)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:251 +0x4f
github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq.(*Driver).Open(0x7f96798d6410, 0xc42005e6c0, 0x5d, 0x2, 0x2, 0xc4200e61c0, 0xc420012dc2)
/mnt/go/src/github.com/opensec-cn/kunpeng/vendor/github.com/lib/pq/conn.go:45 +0x37
database/sql.(*DB).conn(0xc420430280, 0x7f9679883cc0, 0xc420012088, 0x7f96794e3c01, 0xc420430280, 0x0, 0xc4202c83f0)
/usr/local/go/src/database/sql/sql.go:999 +0x132
database/sql.(*DB).PingContext(0xc420430280, 0x7f9679883cc0, 0xc420012088, 0xc42005e6c0, 0xc4200e6180)
/usr/local/go/src/database/sql/sql.go:631 +0x93
database/sql.(*DB).Ping(0xc420430280, 0x8, 0xc42005e6c0)
/usr/local/go/src/database/sql/sql.go:649 +0x45
github.com/opensec-cn/kunpeng/plugin/go.(*postgresqlWeakPass).Check(0xc42008d290, 0xc4203dc3a0, 0x12, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/go/postgresqlWeakPass.go:58 +0x3e7
github.com/opensec-cn/kunpeng/plugin.pluginRun.func1()
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:83 +0x87
github.com/opensec-cn/kunpeng/plugin.try(0xc42004c8e0, 0x7f96794e4180)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:74 +0x4f
github.com/opensec-cn/kunpeng/plugin.pluginRun(0xc420013330, 0x7, 0xc4203dc3a0, 0x12, 0xc420013337, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:82 +0x118
github.com/opensec-cn/kunpeng/plugin.Scan(0xc420013330, 0x7, 0xc4203dc3a0, 0x12, 0xc420013337, 0x7, 0x0, 0x0, 0x0, 0x0, ...)
/mnt/go/src/github.com/opensec-cn/kunpeng/plugin/plugin.go:138 +0xaaf
main.Check(0x7f967a0ee4b0, 0x7f96794e6578)
/mnt/go/src/github.com/opensec-cn/kunpeng/main.go:63 +0x368
main._cgoexpwrap_67b014edca09_Check(0x7f967a0ee4b0, 0x0)
github.com/opensec-cn/kunpeng/_obj/_cgo_gotypes.go:78 +0x5c

goroutine 15 [chan receive]:
database/sql.(*DB).connectionOpener(0xc420430000)
/usr/local/go/src/database/sql/sql.go:871 +0x55
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:609 +0x1f0

goroutine 25 [chan receive]:
database/sql.(*DB).connectionOpener(0xc4204303c0)
/usr/local/go/src/database/sql/sql.go:871 +0x55
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:609 +0x1f0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant