fatal error: stack not a power of 2 runtime stack: runtime.throw({0xb5eebd9?, 0x700000000000?}) runtime/panic.go:1067 +0x48 fp=0x7000109b0db0 sp=0x7000109b0d80 pc=0xa9e1188 runtime.stackfree({0x7000109b0e70?, 0xa9c7230?}) runtime/stack.go:451 +0x347 fp=0x7000109b0e38 sp=0x7000109b0db0 pc=0xa9c2a47 runtime.gfput(0xc000062a08, 0xc0001b1c00) runtime/proc.go:5143 +0x5a fp=0x7000109b0ea0 sp=0x7000109b0e38 pc=0xa9b4c5a runtime.gdestroy(0xc0001b1c00) runtime/proc.go:4315 +0x230 fp=0x7000109b0ee0 sp=0x7000109b0ea0 pc=0xa9b30f0 runtime.goexit0(0xc0001b1c00?) runtime/proc.go:4267 +0x13 fp=0x7000109b0ef8 sp=0x7000109b0ee0 pc=0xa9b2e93 runtime.mcall() runtime/asm_amd64.s:459 +0x4e fp=0x7000109b0f10 sp=0x7000109b0ef8 pc=0xa9e7e8e goroutine 1 gp=0xc0000061c0 m=nil [select]: runtime.gopark(0xc00011fd98?, 0x2?, 0x30?, 0xe2?, 0xc00011fcfc?) runtime/proc.go:424 +0xce fp=0xc00011fb88 sp=0xc00011fb68 pc=0xa9e12ae runtime.selectgo(0xc00011fd98, 0xc00011fcf8, 0x1?, 0x0, 0x0?, 0x1) runtime/select.go:335 +0x7a5 fp=0xc00011fcb0 sp=0xc00011fb88 pc=0xa9bcfc5 main.main() github.com/metacubex/mihomo/main.go:176 +0xf99 fp=0xc00011ff50 sp=0xc00011fcb0 pc=0xb5dc5b9 runtime.main() runtime/proc.go:272 +0x28b fp=0xc00011ffe0 sp=0xc00011ff50 pc=0xa9aaa8b runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00011ffe8 sp=0xc00011ffe0 pc=0xa9e9ec1 goroutine 2 gp=0xc000006c40 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000070fa8 sp=0xc000070f88 pc=0xa9e12ae runtime.goparkunlock(...) runtime/proc.go:430 runtime.forcegchelper() runtime/proc.go:337 +0xb3 fp=0xc000070fe0 sp=0xc000070fa8 pc=0xa9aadd3 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000070fe8 sp=0xc000070fe0 pc=0xa9e9ec1 created by runtime.init.7 in goroutine 1 runtime/proc.go:325 +0x1a goroutine 18 gp=0xc000102380 m=nil [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00006c780 sp=0xc00006c760 pc=0xa9e12ae runtime.goparkunlock(...) runtime/proc.go:430 runtime.bgsweep(0xc000110000) runtime/mgcsweep.go:317 +0xdf fp=0xc00006c7c8 sp=0xc00006c780 pc=0xa9932bf runtime.gcenable.gowrap1() runtime/mgc.go:204 +0x25 fp=0xc00006c7e0 sp=0xc00006c7c8 pc=0xa987965 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00006c7e8 sp=0xc00006c7e0 pc=0xa9e9ec1 created by runtime.gcenable in goroutine 1 runtime/mgc.go:204 +0x66 goroutine 19 gp=0xc000102540 m=nil [GC scavenge wait]: runtime.gopark(0x10000?, 0xb7b42e0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00006cf78 sp=0xc00006cf58 pc=0xa9e12ae runtime.goparkunlock(...) runtime/proc.go:430 runtime.(*scavengerState).park(0xc463600) runtime/mgcscavenge.go:425 +0x49 fp=0xc00006cfa8 sp=0xc00006cf78 pc=0xa990c89 runtime.bgscavenge(0xc000110000) runtime/mgcscavenge.go:658 +0x59 fp=0xc00006cfc8 sp=0xc00006cfa8 pc=0xa991219 runtime.gcenable.gowrap2() runtime/mgc.go:205 +0x25 fp=0xc00006cfe0 sp=0xc00006cfc8 pc=0xa987905 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00006cfe8 sp=0xc00006cfe0 pc=0xa9e9ec1 created by runtime.gcenable in goroutine 1 runtime/mgc.go:205 +0xa5 goroutine 3 gp=0xc000007c00 m=nil [finalizer wait]: runtime.gopark(0xc000070648?, 0xa97e245?, 0xb0?, 0x1?, 0xc0000061c0?) runtime/proc.go:424 +0xce fp=0xc000070620 sp=0xc000070600 pc=0xa9e12ae runtime.runfinq() runtime/mfinal.go:193 +0x107 fp=0xc0000707e0 sp=0xc000070620 pc=0xa986967 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0000707e8 sp=0xc0000707e0 pc=0xa9e9ec1 created by runtime.createfing in goroutine 1 runtime/mfinal.go:163 +0x3d goroutine 4 gp=0xc000007dc0 m=nil [chan receive]: runtime.gopark(0xc000200000?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000071640 sp=0xc000071620 pc=0xa9e12ae runtime.chanrecv(0xc0000ae150, 0xc000071720, 0x1) runtime/chan.go:639 +0x41c fp=0xc0000716b8 sp=0xc000071640 pc=0xa97757c runtime.chanrecv2(0x0?, 0x0?) runtime/chan.go:494 +0x12 fp=0xc0000716e0 sp=0xc0000716b8 pc=0xa977152 github.com/metacubex/mihomo/common/observable.(*Observable[...]).process(0xbaf4ec0) github.com/metacubex/mihomo/common/observable/observable.go:16 +0x55 fp=0xc0000717c0 sp=0xc0000716e0 pc=0xab5ff15 github.com/metacubex/mihomo/common/observable.NewObservable[...].gowrap1() github.com/metacubex/mihomo/common/observable/observable.go:63 +0x25 fp=0xc0000717e0 sp=0xc0000717c0 pc=0xab5f8a5 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0000717e8 sp=0xc0000717e0 pc=0xa9e9ec1 created by github.com/metacubex/mihomo/common/observable.NewObservable[...] in goroutine 1 github.com/metacubex/mihomo/common/observable/observable.go:63 +0xd6 goroutine 5 gp=0xc0001b0c40 m=nil [chan receive]: runtime.gopark(0xc000071f60?, 0xaa8eda5?, 0x50?, 0x7c?, 0xbafc1c0?) runtime/proc.go:424 +0xce fp=0xc000071f18 sp=0xc000071ef8 pc=0xa9e12ae runtime.chanrecv(0xc0000ae460, 0x0, 0x1) runtime/chan.go:639 +0x41c fp=0xc000071f90 sp=0xc000071f18 pc=0xa97757c runtime.chanrecv1(0x0?, 0x0?) runtime/chan.go:489 +0x12 fp=0xc000071fb8 sp=0xc000071f90 pc=0xa977132 runtime.unique_runtime_registerUniqueMapCleanup.func1(...) runtime/mgc.go:1781 runtime.unique_runtime_registerUniqueMapCleanup.gowrap1() runtime/mgc.go:1784 +0x2f fp=0xc000071fe0 sp=0xc000071fb8 pc=0xa98a98f runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0xa9e9ec1 created by unique.runtime_registerUniqueMapCleanup in goroutine 1 runtime/mgc.go:1779 +0x96 goroutine 6 gp=0xc0001b1340 m=nil [chan receive]: runtime.gopark(0xc000308000?, 0x16ec21ce3b82?, 0x0?, 0xca?, 0xbac65e8?) runtime/proc.go:424 +0xce fp=0xc000080ee8 sp=0xc000080ec8 pc=0xa9e12ae runtime.chanrecv(0xc000300000, 0xc000080fa0, 0x1) runtime/chan.go:639 +0x41c fp=0xc000080f60 sp=0xc000080ee8 pc=0xa97757c runtime.chanrecv2(0x3b9aca00?, 0x0?) runtime/chan.go:494 +0x12 fp=0xc000080f88 sp=0xc000080f60 pc=0xa977152 github.com/metacubex/mihomo/tunnel/statistic.(*Manager).handle(0xc0001930e0) github.com/metacubex/mihomo/tunnel/statistic/manager.go:116 +0x6f fp=0xc000080fc8 sp=0xc000080f88 pc=0xae8bacf github.com/metacubex/mihomo/tunnel/statistic.init.0.gowrap1() github.com/metacubex/mihomo/tunnel/statistic/manager.go:27 +0x25 fp=0xc000080fe0 sp=0xc000080fc8 pc=0xae8b5e5 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000080fe8 sp=0xc000080fe0 pc=0xa9e9ec1 created by github.com/metacubex/mihomo/tunnel/statistic.init.0 in goroutine 1 github.com/metacubex/mihomo/tunnel/statistic/manager.go:27 +0x1cd goroutine 53 gp=0xc0001b1dc0 m=5 mp=0xc000100008 [syscall]: runtime.sigNoteSleep(0x0?) runtime/os_darwin.go:132 +0x18 fp=0xc000073fa0 sp=0xc000073f68 pc=0xa9a4df8 os/signal.signal_recv() runtime/sigqueue.go:149 +0x25 fp=0xc000073fc0 sp=0xc000073fa0 pc=0xa9e3405 os/signal.loop() os/signal/signal_unix.go:23 +0x13 fp=0xc000073fe0 sp=0xc000073fc0 pc=0xaacdc93 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000073fe8 sp=0xc000073fe0 pc=0xa9e9ec1 created by os/signal.Notify.func1.1 in goroutine 1 os/signal/signal.go:151 +0x1f goroutine 52 gp=0xc0002e4000 m=nil [select, locked to thread]: runtime.gopark(0xc0002ea7a8?, 0x2?, 0xb0?, 0xa6?, 0xc0002ea798?) runtime/proc.go:424 +0xce fp=0xc0002ea638 sp=0xc0002ea618 pc=0xa9e12ae runtime.selectgo(0xc0002ea7a8, 0xc0002ea794, 0x0?, 0x0, 0x0?, 0x1) runtime/select.go:335 +0x7a5 fp=0xc0002ea760 sp=0xc0002ea638 pc=0xa9bcfc5 runtime.ensureSigM.func1() runtime/signal_unix.go:1077 +0x16f fp=0xc0002ea7e0 sp=0xc0002ea760 pc=0xa9d8b0f runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0002ea7e8 sp=0xc0002ea7e0 pc=0xa9e9ec1 created by runtime.ensureSigM in goroutine 1 runtime/signal_unix.go:1060 +0xc8 goroutine 13 gp=0xc0002e5a40 m=nil [IO wait]: runtime.gopark(0xc000087d38?, 0xc000087d68?, 0x96?, 0xc7?, 0xc000087d50?) runtime/proc.go:424 +0xce fp=0xc000087cf0 sp=0xc000087cd0 pc=0xa9e12ae runtime.netpollblock(0xc0000126a8?, 0xa975566?, 0x0?) runtime/netpoll.go:575 +0xf7 fp=0xc000087d28 sp=0xc000087cf0 pc=0xa9a3bd7 internal/poll.runtime_pollWait(0xe5ace8d0, 0x72) runtime/netpoll.go:351 +0x85 fp=0xc000087d48 sp=0xc000087d28 pc=0xa9e05e5 internal/poll.(*pollDesc).wait(0xc0002e0c00?, 0xe58e78b8?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc000087d70 sp=0xc000087d48 pc=0xaa5a0a7 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc0002e0c00) internal/poll/fd_unix.go:620 +0x295 fp=0xc000087e18 sp=0xc000087d70 pc=0xaa5e475 net.(*netFD).accept(0xc0002e0c00) net/fd_unix.go:172 +0x29 fp=0xc000087ed0 sp=0xc000087e18 pc=0xaaae7c9 net.(*TCPListener).accept(0xc000426a40) net/tcpsock_posix.go:159 +0x1e fp=0xc000087f20 sp=0xc000087ed0 pc=0xaac247e net.(*TCPListener).Accept(0xc000426a40) net/tcpsock.go:372 +0x30 fp=0xc000087f50 sp=0xc000087f20 pc=0xaac14b0 github.com/metacubex/mihomo/listener/http.NewWithAuthenticator.func1() github.com/metacubex/mihomo/listener/http/server.go:69 +0x79 fp=0xc000087fe0 sp=0xc000087f50 pc=0xb533a79 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0xa9e9ec1 created by github.com/metacubex/mihomo/listener/http.NewWithAuthenticator in goroutine 1 github.com/metacubex/mihomo/listener/http/server.go:67 +0x274 goroutine 14 gp=0xc0002e5c00 m=nil [IO wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc0002ec4e0 sp=0xc0002ec4c0 pc=0xa9e12ae runtime.netpollblock(0x0?, 0xa975566?, 0x0?) runtime/netpoll.go:575 +0xf7 fp=0xc0002ec518 sp=0xc0002ec4e0 pc=0xa9a3bd7 internal/poll.runtime_pollWait(0xe5ace7b8, 0x72) runtime/netpoll.go:351 +0x85 fp=0xc0002ec538 sp=0xc0002ec518 pc=0xa9e05e5 internal/poll.(*pollDesc).wait(0xc0002e0c80?, 0x0?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc0002ec560 sp=0xc0002ec538 pc=0xaa5a0a7 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc0002e0c80) internal/poll/fd_unix.go:620 +0x295 fp=0xc0002ec608 sp=0xc0002ec560 pc=0xaa5e475 net.(*netFD).accept(0xc0002e0c80) net/fd_unix.go:172 +0x29 fp=0xc0002ec6c0 sp=0xc0002ec608 pc=0xaaae7c9 net.(*TCPListener).accept(0xc000426ac0) net/tcpsock_posix.go:159 +0x1e fp=0xc0002ec710 sp=0xc0002ec6c0 pc=0xaac247e net.(*TCPListener).Accept(0xc000426ac0) net/tcpsock.go:372 +0x30 fp=0xc0002ec740 sp=0xc0002ec710 pc=0xaac14b0 github.com/metacubex/mihomo/listener/socks.NewWithAuthenticator.func1() github.com/metacubex/mihomo/listener/socks/tcp.go:63 +0x92 fp=0xc0002ec7e0 sp=0xc0002ec740 pc=0xb535cf2 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0002ec7e8 sp=0xc0002ec7e0 pc=0xa9e9ec1 created by github.com/metacubex/mihomo/listener/socks.NewWithAuthenticator in goroutine 1 github.com/metacubex/mihomo/listener/socks/tcp.go:61 +0x28f goroutine 15 gp=0xc0002e5dc0 m=nil [IO wait]: runtime.gopark(0xc000208000?, 0x4000?, 0x0?, 0x40?, 0x0?) runtime/proc.go:424 +0xce fp=0xc00020edb8 sp=0xc00020ed98 pc=0xa9e12ae runtime.netpollblock(0xc494940?, 0x206010?, 0xc0?) runtime/netpoll.go:575 +0xf7 fp=0xc00020edf0 sp=0xc00020edb8 pc=0xa9a3bd7 internal/poll.runtime_pollWait(0xe5ace6a0, 0x72) runtime/netpoll.go:351 +0x85 fp=0xc00020ee10 sp=0xc00020edf0 pc=0xa9e05e5 internal/poll.(*pollDesc).wait(0x6?, 0x30?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 fp=0xc00020ee38 sp=0xc00020ee10 pc=0xaa5a0a7 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).RawRead(0xc0002e0d00, 0xc000208000) internal/poll/fd_unix.go:717 +0x125 fp=0xc00020ee98 sp=0xc00020ee38 pc=0xaa5ec65 net.(*rawConn).Read(0xc000204008, 0x0?) net/rawconn.go:44 +0x36 fp=0xc00020eed0 sp=0xc00020ee98 pc=0xaabdab6 github.com/metacubex/mihomo/common/net/packet.(*enhanceUDPConn).WaitReadFrom(0xc000431770) github.com/metacubex/mihomo/common/net/packet/packet_posix.go:23 +0x175 fp=0xc00020ef18 sp=0xc00020eed0 pc=0xac1f4d5 github.com/metacubex/mihomo/listener/socks.NewUDP.func1() github.com/metacubex/mihomo/listener/socks/udp.go:59 +0x9e fp=0xc00020efe0 sp=0xc00020ef18 pc=0xb536d5e runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc00020efe8 sp=0xc00020efe0 pc=0xa9e9ec1 created by github.com/metacubex/mihomo/listener/socks.NewUDP in goroutine 1 github.com/metacubex/mihomo/listener/socks/udp.go:57 +0x276 goroutine 35 gp=0xc000458000 m=nil [GC worker (idle)]: runtime.gopark(0x16ebe6d7e5e8?, 0x0?, 0x1?, 0xd3?, 0xc0002ed778?) runtime/proc.go:424 +0xce fp=0xc0002ed738 sp=0xc0002ed718 pc=0xa9e12ae runtime.gcBgMarkWorker(0xc0000afc70) runtime/mgc.go:1412 +0xe9 fp=0xc0002ed7c8 sp=0xc0002ed738 pc=0xa989ca9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc0002ed7e0 sp=0xc0002ed7c8 pc=0xa989b85 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0002ed7e8 sp=0xc0002ed7e0 pc=0xa9e9ec1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 36 gp=0xc0004581c0 m=nil [GC worker (idle)]: runtime.gopark(0x16ebe6d7e721?, 0x0?, 0x1?, 0xd3?, 0xc0002edf78?) runtime/proc.go:424 +0xce fp=0xc0002edf38 sp=0xc0002edf18 pc=0xa9e12ae runtime.gcBgMarkWorker(0xc0000afc70) runtime/mgc.go:1412 +0xe9 fp=0xc0002edfc8 sp=0xc0002edf38 pc=0xa989ca9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc0002edfe0 sp=0xc0002edfc8 pc=0xa989b85 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0002edfe8 sp=0xc0002edfe0 pc=0xa9e9ec1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 37 gp=0xc000458380 m=nil [GC worker (idle)]: runtime.gopark(0x16ebe6d7e97c?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc0002e6738 sp=0xc0002e6718 pc=0xa9e12ae runtime.gcBgMarkWorker(0xc0000afc70) runtime/mgc.go:1412 +0xe9 fp=0xc0002e67c8 sp=0xc0002e6738 pc=0xa989ca9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc0002e67e0 sp=0xc0002e67c8 pc=0xa989b85 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc0002e67e8 sp=0xc0002e67e0 pc=0xa9e9ec1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105 goroutine 38 gp=0xc000458540 m=nil [GC worker (idle)]: runtime.gopark(0x16ebe6d7f2d6?, 0x0?, 0x0?, 0x0?, 0x0?) runtime/proc.go:424 +0xce fp=0xc000085f38 sp=0xc000085f18 pc=0xa9e12ae runtime.gcBgMarkWorker(0xc0000afc70) runtime/mgc.go:1412 +0xe9 fp=0xc000085fc8 sp=0xc000085f38 pc=0xa989ca9 runtime.gcBgMarkStartWorkers.gowrap1() runtime/mgc.go:1328 +0x25 fp=0xc000085fe0 sp=0xc000085fc8 pc=0xa989b85 runtime.goexit({}) runtime/asm_amd64.s:1700 +0x1 fp=0xc000085fe8 sp=0xc000085fe0 pc=0xa9e9ec1 created by runtime.gcBgMarkStartWorkers in goroutine 1 runtime/mgc.go:1328 +0x105