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

在线IDE golang无法运行的问题 #2

Open
HimitZH opened this issue May 9, 2021 · 0 comments
Open

在线IDE golang无法运行的问题 #2

HimitZH opened this issue May 9, 2021 · 0 comments

Comments

@HimitZH
Copy link

HimitZH commented May 9, 2021

目前测试 题目提交golang评测无问题,能正常判题,猜测是在线IDE后端有BUG
运行IDE后具体报错如下:

runtime/cgo: pthread_create failed: Resource temporarily unavailable
SIGABRT: abort
PC=0x7fd65b2e9f47 m=8 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: unknown pc 0x7fd65b2e9f47
stack: frame={sp:0x7fd5d7ffe820, fp:0x0} stack=[0x7fd5cffff288,0x7fd5d7ffee88)
00007fd5d7ffe720:  0000000000000000  0000000000000000 
00007fd5d7ffe730:  0000000000000000  0000000000000000 
00007fd5d7ffe740:  0000000000000000  0000000000000000 
00007fd5d7ffe750:  0000000000000000  0000000000000000 
00007fd5d7ffe760:  0000000000000000  0000000000000000 
00007fd5d7ffe770:  0000000000000000  0000000000000000 
00007fd5d7ffe780:  0000000000000000  0000000000000000 
00007fd5d7ffe790:  0000000000000000  0000000000000000 
00007fd5d7ffe7a0:  0000000000000000  0000000000000000 
00007fd5d7ffe7b0:  0000000000000000  0000000000000000 
00007fd5d7ffe7c0:  0000000000000000  0000000000000000 
00007fd5d7ffe7d0:  0000000000000000  0000000000000000 
00007fd5d7ffe7e0:  0000000000000000  0000000000000000 
00007fd5d7ffe7f0:  0000000000000000  0000000000000000 
00007fd5d7ffe800:  0000000000000000  0000000000000000 
00007fd5d7ffe810:  0000000000000000  0000000000000000 
00007fd5d7ffe820: <0000000000000000  0000000000000000 
00007fd5d7ffe830:  0000000000000000  0000000000000000 
00007fd5d7ffe840:  0000000000000000  0000000000000000 
00007fd5d7ffe850:  0000000000000000  0000000000000000 
00007fd5d7ffe860:  0000000000000000  0000000000000000 
00007fd5d7ffe870:  0000000000000000  0000000000000000 
00007fd5d7ffe880:  0000000000000000  0000000000000000 
00007fd5d7ffe890:  0000000000000000  0000000000000000 
00007fd5d7ffe8a0:  fffffffe7fffffff  ffffffffffffffff 
00007fd5d7ffe8b0:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe8c0:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe8d0:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe8e0:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe8f0:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe900:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe910:  ffffffffffffffff  ffffffffffffffff 
runtime: unknown pc 0x7fd65b2e9f47
stack: frame={sp:0x7fd5d7ffe820, fp:0x0} stack=[0x7fd5cffff288,0x7fd5d7ffee88)
00007fd5d7ffe720:  0000000000000000  0000000000000000 
00007fd5d7ffe730:  0000000000000000  0000000000000000 
00007fd5d7ffe740:  0000000000000000  0000000000000000 
00007fd5d7ffe750:  0000000000000000  0000000000000000 
00007fd5d7ffe760:  0000000000000000  0000000000000000 
00007fd5d7ffe770:  0000000000000000  0000000000000000 
00007fd5d7ffe780:  0000000000000000  0000000000000000 
00007fd5d7ffe790:  0000000000000000  0000000000000000 
00007fd5d7ffe7a0:  0000000000000000  0000000000000000 
00007fd5d7ffe7b0:  0000000000000000  0000000000000000 
00007fd5d7ffe7c0:  0000000000000000  0000000000000000 
00007fd5d7ffe7d0:  0000000000000000  0000000000000000 
00007fd5d7ffe7e0:  0000000000000000  0000000000000000 
00007fd5d7ffe7f0:  0000000000000000  0000000000000000 
00007fd5d7ffe800:  0000000000000000  0000000000000000 
00007fd5d7ffe810:  0000000000000000  0000000000000000 
00007fd5d7ffe820: <0000000000000000  0000000000000000 
00007fd5d7ffe830:  0000000000000000  0000000000000000 
00007fd5d7ffe840:  0000000000000000  0000000000000000 
00007fd5d7ffe850:  0000000000000000  0000000000000000 
00007fd5d7ffe860:  0000000000000000  0000000000000000 
00007fd5d7ffe870:  0000000000000000  0000000000000000 
00007fd5d7ffe880:  0000000000000000  0000000000000000 
00007fd5d7ffe890:  0000000000000000  0000000000000000 
00007fd5d7ffe8a0:  fffffffe7fffffff  ffffffffffffffff 
00007fd5d7ffe8b0:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe8c0:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe8d0:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe8e0:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe8f0:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe900:  ffffffffffffffff  ffffffffffffffff 
00007fd5d7ffe910:  ffffffffffffffff  ffffffffffffffff 

goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc0001deba8)
	/usr/lib/go-1.14/src/runtime/sema.go:56 +0x42
sync.(*WaitGroup).Wait(0xc0001deba0)
	/usr/lib/go-1.14/src/sync/waitgroup.go:130 +0x64
cmd/go/internal/work.(*Builder).Do(0xc0000cf5e0, 0xc00026a640)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:187 +0x3ae
cmd/go/internal/work.runBuild(0xebfec0, 0xc0000b6040, 0x1, 0x1)
	/usr/lib/go-1.14/src/cmd/go/internal/work/build.go:420 +0x6a2
main.main()
	/usr/lib/go-1.14/src/cmd/go/main.go:189 +0x569

goroutine 6 [semacquire]:
os.(*Process).wait(0xc0000aaa80, 0xa836f8, 0xa83700, 0xa836f0)
	/usr/lib/go-1.14/src/os/exec_unix.go:37 +0x75
os.(*Process).Wait(...)
	/usr/lib/go-1.14/src/os/exec.go:125
os/exec.(*Cmd).Wait(0xc00055a000, 0x0, 0x0)
	/usr/lib/go-1.14/src/os/exec/exec.go:507 +0x60
os/exec.(*Cmd).Run(0xc00055a000, 0xc000456150, 0x11)
	/usr/lib/go-1.14/src/os/exec/exec.go:341 +0x5c
cmd/go/internal/work.(*Builder).toolID(0xc0000cf5e0, 0xa373f6, 0x3, 0x11, 0xc0002ad420)
	/usr/lib/go-1.14/src/cmd/go/internal/work/buildid.go:192 +0x44d
cmd/go/internal/work.(*Builder).buildActionID(0xc0000cf5e0, 0xc00029c000, 0x0, 0x0, 0x0, 0x0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:252 +0x166c
cmd/go/internal/work.(*Builder).build(0xc0000cf5e0, 0xc00029c000, 0x0, 0x0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:405 +0x50f0
cmd/go/internal/work.(*Builder).Do.func2(0xc00029c000)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:118 +0x358
cmd/go/internal/work.(*Builder).Do.func3(0xc0001deba0, 0xc0000cf5e0, 0xc00035ace0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:178 +0x76
created by cmd/go/internal/work.(*Builder).Do
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:165 +0x38a

goroutine 7 [semacquire]:
io.copyBuffer(0x7fd65b9337a0, 0xc000524e00, 0xb2e8e0, 0xc000436118, 0x0, 0x0, 0x0, 0xc0005168a0, 0xc0004b5120, 0x4efa42)
	/usr/lib/go-1.14/src/io/io.go:402 +0x2b8
io.Copy(...)
	/usr/lib/go-1.14/src/io/io.go:364
cmd/go/internal/cache.FileHash(0xc0005168a0, 0x20, 0x0, 0x0, 0x0, 0x0, 0x20, 0xc0005168a0)
	/usr/lib/go-1.14/src/cmd/go/internal/cache/hash.go:149 +0x330
cmd/go/internal/work.(*Builder).fileHash(0xc0000cf5e0, 0xc0005168a0, 0x20, 0xc0005168a0, 0x20)
	/usr/lib/go-1.14/src/cmd/go/internal/work/buildid.go:403 +0x3c
cmd/go/internal/work.(*Builder).buildActionID(0xc0000cf5e0, 0xc00026b7c0, 0x0, 0x0, 0x0, 0x0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:324 +0xc3b
cmd/go/internal/work.(*Builder).build(0xc0000cf5e0, 0xc00026b7c0, 0x0, 0x0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:405 +0x50f0
cmd/go/internal/work.(*Builder).Do.func2(0xc00026b7c0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:118 +0x358
cmd/go/internal/work.(*Builder).Do.func3(0xc0001deba0, 0xc0000cf5e0, 0xc00035ace0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:178 +0x76
created by cmd/go/internal/work.(*Builder).Do
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:165 +0x38a

goroutine 8 [chan receive]:
os/exec.(*Cmd).Wait(0xc0003102c0, 0x0, 0x0)
	/usr/lib/go-1.14/src/os/exec/exec.go:515 +0x125
os/exec.(*Cmd).Run(0xc0003102c0, 0xc000142540, 0x11)
	/usr/lib/go-1.14/src/os/exec/exec.go:341 +0x5c
cmd/go/internal/work.(*Builder).toolID(0xc0000cf5e0, 0xa373f6, 0x3, 0x11, 0xc0002ab420)
	/usr/lib/go-1.14/src/cmd/go/internal/work/buildid.go:192 +0x44d
cmd/go/internal/work.(*Builder).buildActionID(0xc0000cf5e0, 0xc00026b180, 0x0, 0x0, 0x0, 0x0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:252 +0x166c
cmd/go/internal/work.(*Builder).build(0xc0000cf5e0, 0xc00026b180, 0x0, 0x0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:405 +0x50f0
cmd/go/internal/work.(*Builder).Do.func2(0xc00026b180)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:118 +0x358
cmd/go/internal/work.(*Builder).Do.func3(0xc0001deba0, 0xc0000cf5e0, 0xc00035ace0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:178 +0x76
created by cmd/go/internal/work.(*Builder).Do
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:165 +0x38a

goroutine 9 [select]:
cmd/go/internal/work.(*Builder).Do.func3(0xc0001deba0, 0xc0000cf5e0, 0xc00035ace0)
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:168 +0xed
created by cmd/go/internal/work.(*Builder).Do
	/usr/lib/go-1.14/src/cmd/go/internal/work/exec.go:165 +0x38a

goroutine 37 [semacquire]:
bytes.makeSlice(0x600, 0x0, 0x0, 0x0)
	/usr/lib/go-1.14/src/bytes/buffer.go:229 +0x73
bytes.(*Buffer).grow(0xc0001424b0, 0x200, 0x200)
	/usr/lib/go-1.14/src/bytes/buffer.go:142 +0x15b
bytes.(*Buffer).ReadFrom(0xc0001424b0, 0xb2e8e0, 0xc000010070, 0x7fd65b933780, 0xc0001424b0, 0xc000037f01)
	/usr/lib/go-1.14/src/bytes/buffer.go:202 +0x48
io.copyBuffer(0xb2dca0, 0xc0001424b0, 0xb2e8e0, 0xc000010070, 0x0, 0x0, 0x0, 0x406c15, 0xc0004c4240, 0xc000037fb0)
	/usr/lib/go-1.14/src/io/io.go:391 +0x2fc
io.Copy(...)
	/usr/lib/go-1.14/src/io/io.go:364
os/exec.(*Cmd).writerDescriptor.func1(0xc0004c4240, 0xc000037fb0)
	/usr/lib/go-1.14/src/os/exec/exec.go:311 +0x63
os/exec.(*Cmd).Start.func1(0xc0003102c0, 0xc000370300)
	/usr/lib/go-1.14/src/os/exec/exec.go:441 +0x27
created by os/exec.(*Cmd).Start
	/usr/lib/go-1.14/src/os/exec/exec.go:440 +0x632

rax    0x0
rbx    0x7fd65b697840
rcx    0xffffffffffffffff
rdx    0x0
rdi    0x2
rsi    0x7fd5d7ffe820
rbp    0xb3797e
rsp    0x7fd5d7ffe820
r8     0x0
r9     0x7fd5d7ffe820
r10    0x8
r11    0x246
r12    0x27ce3f0
r13    0x0
r14    0xb1cfc0
r15    0x0
rip    0x7fd65b2e9f47
rflags 0x246
cs     0x33
fs     0x0
gs     0x0
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