jpillora / jpillora/chisel

Chisel on 32bit Linux failed

Open
#415 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
16.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

sh# ./chisel32 client 192.168.x.x:8001 R:1080:socks
runtime: pipe failed with 38
fatal error: runtime: pipe failed

runtime stack:
runtime.throw({0x84cbd6c, 0x14})
runtime/panic.go:1047 +0x4d fp=0xbfa7e6a8 sp=0xbfa7e694 pc=0x808019d
runtime.netpollinit()
runtime/netpoll_epoll.go:45 +0x18c fp=0xbfa7e6e0 sp=0xbfa7e6a8 pc=0x807bebc
runtime.netpollGenericInit()
runtime/netpoll.go:196 +0x49 fp=0xbfa7e6ec sp=0xbfa7e6e0 pc=0x807b489
runtime.doaddtimer(0xa42a000, 0xa4546c0)
runtime/time.go:293 +0x28 fp=0xbfa7e714 sp=0xbfa7e6ec pc=0x809e278
runtime.modtimer(0xa4546c0, 0x41bceda266a, 0x0, 0x84ebbec, {0x844d0e0, 0xa406960}, 0x0)
runtime/time.go:507 +0x454 fp=0xbfa7e740 sp=0xbfa7e714 pc=0x809ee84
runtime.resettimer(...)
runtime/time.go:554
runtime.resetForSleep(0xa406960, 0xa4546c0)
runtime/time.go:204 +0x69 fp=0xbfa7e774 sp=0xbfa7e740 pc=0x809e059
runtime.park_m(0xa406960)
runtime/proc.go:3352 +0xba fp=0xbfa7e788 sp=0xbfa7e774 pc=0x8089b6a
runtime.mcall()
runtime/asm_386.s:325 +0x44 fp=0xbfa7e790 sp=0xbfa7e788 pc=0x80ad864

goroutine 1 [semacquire]:
runtime.gopark(0x84ebc5c, 0x87f55e0, 0x12, 0x19, 0x4)
runtime/proc.go:363 +0x108 fp=0xa46de34 sp=0xa46de20 pc=0x8083158
runtime.goparkunlock(...)
runtime/proc.go:369
runtime.semacquire1(0xa454694, 0x0, 0x1, 0x0)
runtime/sema.go:150 +0x239 fp=0xa46de68 sp=0xa46de34 pc=0x8093be9
sync.runtime_Semacquire(0xa454694)
runtime/sema.go:62 +0x36 fp=0xa46de7c sp=0xa46de68 pc=0x80ac3e6
sync.(*WaitGroup).Wait(0xa454694)
sync/waitgroup.go:139 +0x87 fp=0xa46dea0 sp=0xa46de7c pc=0x80c5d37
golang.org/x/sync/errgroup.(*Group).Wait(0xa454690)
golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:40 +0x26 fp=0xa46dea8 sp=0xa46dea0 pc=0x839e036
github.com/jpillora/chisel/client.(*Client).Wait(...)
github.com/jpillora/chisel/client/client.go:298
main.client({0xa41a130, 0x2, 0x2})
github.com/jpillora/chisel/main.go:450 +0x975 fp=0xa46df88 sp=0xa46dea8 pc=0x84290f5
main.main()
github.com/jpillora/chisel/main.go:61 +0x257 fp=0xa46dfc4 sp=0xa46df88 pc=0x8427627
runtime.main()
runtime/proc.go:250 +0x24d fp=0xa46dff0 sp=0xa46dfc4 pc=0x8082d5d
runtime.goexit()
runtime/asm_386.s:1326 +0x1 fp=0xa46dff4 sp=0xa46dff0 pc=0x80aec51

goroutine 2 [force gc (idle)]:
runtime.gopark(0x84ebc5c, 0x87ed9c0, 0x11, 0x14, 0x1)
runtime/proc.go:363 +0x108 fp=0xa434fdc sp=0xa434fc8 pc=0x8083158
runtime.goparkunlock(...)
runtime/proc.go:369
runtime.forcegchelper()
runtime/proc.go:302 +0xc3 fp=0xa434ff0 sp=0xa434fdc pc=0x8082fd3
runtime.goexit()
runtime/asm_386.s:1326 +0x1 fp=0xa434ff4 sp=0xa434ff0 pc=0x80aec51
created by runtime.init.5
runtime/proc.go:290 +0x23

goroutine 3 [GC sweep wait]:
runtime.gopark(0x84ebc5c, 0x87edfa0, 0xc, 0x14, 0x1)
runtime/proc.go:363 +0x108 fp=0xa4357d4 sp=0xa4357c0 pc=0x8083158
runtime.goparkunlock(...)
runtime/proc.go:369
runtime.bgsweep(0xa428040)
runtime/mgcsweep.go:278 +0x96 fp=0xa4357e8 sp=0xa4357d4 pc=0x806d146
runtime.gcenable.func1()
runtime/mgc.go:178 +0x27 fp=0xa4357f0 sp=0xa4357e8 pc=0x805ed07
runtime.goexit()
runtime/asm_386.s:1326 +0x1 fp=0xa4357f4 sp=0xa4357f0 pc=0x80aec51
created by runtime.gcenable
runtime/mgc.go:178 +0x7c

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x84ebc5c, 0x87ee2e0, 0xd, 0x14, 0x2)
runtime/proc.go:363 +0x108 fp=0xa435fb8 sp=0xa435fa4 pc=0x8083158
runtime.goparkunlock(...)
runtime/proc.go:369
runtime.(*scavengerState).park(0x87ee2e0)
runtime/mgcscavenge.go:389 +0x5f fp=0xa435fcc sp=0xa435fb8 pc=0x806ac4f
runtime.bgscavenge(0xa428040)
runtime/mgcscavenge.go:617 +0x4b fp=0xa435fe8 sp=0xa435fcc pc=0x806b2db
runtime.gcenable.func2()
runtime/mgc.go:179 +0x27 fp=0xa435ff0 sp=0xa435fe8 pc=0x805ecc7
runtime.goexit()
runtime/asm_386.s:1326 +0x1 fp=0xa435ff4 sp=0xa435ff0 pc=0x80aec51
created by runtime.gcenable
runtime/mgc.go:179 +0xc1

goroutine 5 [finalizer wait]:
runtime.gopark(0x84ebc5c, 0x880270c, 0x10, 0x14, 0x1)
runtime/proc.go:363 +0x108 fp=0xa434790 sp=0xa43477c pc=0x8083158
runtime.goparkunlock(...)
runtime/proc.go:369
runtime.runfinq()
runtime/mfinal.go:180 +0xfb fp=0xa4347f0 sp=0xa434790 pc=0x805df5b
runtime.goexit()
runtime/asm_386.s:1326 +0x1 fp=0xa4347f4 sp=0xa4347f0 pc=0x80aec51
created by runtime.createfing
runtime/mfinal.go:157 +0x54

goroutine 6 [sleep]:
runtime.gopark(0x84ebc78, 0xa4546c0, 0x13, 0x13, 0x1)
runtime/proc.go:363 +0x108 fp=0xa4429e8 sp=0xa4429d4 pc=0x8083158
time.Sleep(0x3b9aca00)
runtime/time.go:195 +0x146 fp=0xa442a04 sp=0xa4429e8 pc=0x80ad186
github.com/jpillora/chisel/share/cos.GoStats()
github.com/jpillora/chisel/share/cos/signal.go:21 +0x3d fp=0xa443ff0 sp=0xa442a04 pc=0x83a0efd
runtime.goexit()
runtime/asm_386.s:1326 +0x1 fp=0xa443ff4 sp=0xa443ff0 pc=0x80aec51
created by main.client
github.com/jpillora/chisel/main.go:445 +0x8fb

goroutine 7 [runnable]:
github.com/jpillora/chisel/share/cos.InterruptContext.func1()
github.com/jpillora/chisel/share/cos/common.go:14 fp=0xa436ff0 sp=0xa436fec pc=0x83a0e00
runtime.goexit()
runtime/asm_386.s:1326 +0x1 fp=0xa436ff4 sp=0xa436ff0 pc=0x80aec51
created by github.com/jpillora/chisel/share/cos.InterruptContext
github.com/jpillora/chisel/share/cos/common.go:14 +0x8e

goroutine 8 [runnable]:
golang.org/x/sync/errgroup.(*Group).Go.func1()
golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:54 fp=0xa4377f0 sp=0xa4377ec pc=0x839e110
runtime.goexit()
runtime/asm_386.s:1326 +0x1 fp=0xa4377f4 sp=0xa4377f0 pc=0x80aec51
created by golang.org/x/sync/errgroup.(*Group).Go
golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:54 +0x86
s

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the 32-bit Linux ./chisel32 client 192.168.x.x:8001 R:1080:socks command, then trace client startup from main.go:450 and client/client.go:298 into the reported runtime.netpoll_epoll.go:45 failure. Compare the runtime error with the platform and build details; done means identifying a reproducible cause and documenting or correcting the failure with a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.