murkland / tango-legacy

last generation rollback netplay for mega man battle network / 前世代のロックマンエグゼのロールバックネットプレイ
GNU Affero General Public License v3.0
3 stars 0 forks source link

fatal error: unexpected signal during runtime execution #18

Closed bigfarts closed 2 years ago

bigfarts commented 2 years ago
fatal error: unexpected signal during runtime execution
[signal 0xc0000005 code=0x0 addr=0xffffffffffffffff pc=0x7ff6bc3bb7aa]

runtime stack:
runtime.throw({0x7ff6bcc0ccda?, 0x0?})
        runtime/panic.go:992 +0x76
runtime.sigpanic()
        runtime/signal_windows.go:249 +0x23b
runtime.stackpoolalloc(0x0?)
        runtime/stack.go:228 +0xaa
runtime.stackcacherefill(0x185eaad0eb8, 0x1)
        runtime/stack.go:288 +0x65
runtime.stackalloc(0x4000)
        runtime/stack.go:390 +0x245
runtime.copystack(0xc00028cd00, 0x800000002?)
        runtime/stack.go:871 +0xe6
runtime.newstack()
        runtime/stack.go:1110 +0x49b
runtime.morestack()
        runtime/asm_amd64.s:547 +0x93

goroutine 30 [copystack]:
github.com/pion/mdns.(*Conn).start.func2(0xc000278800, 0xc00069fe68?, {0xc0003a4000?, 0x200?, 0x200?}, 0x29?, {0x7ff6bcce1170, 0xc0000a4450?})
        github.com/pion/mdns@v0.0.5/conn.go:263 +0xca5 fp=0xc00069fe08 sp=0xc00069fe00 pc=0x7ff6bc7205a5
github.com/pion/mdns.(*Conn).start(0xc000278800)
        github.com/pion/mdns@v0.0.5/conn.go:315 +0xdd fp=0xc00069ffc8 sp=0xc00069fe08 pc=0x7ff6bc71f87d
github.com/pion/mdns.Server.func1()
        github.com/pion/mdns@v0.0.5/conn.go:98 +0x26 fp=0xc00069ffe0 sp=0xc00069ffc8 pc=0x7ff6bc71e3c6
runtime.goexit()
        runtime/asm_amd64.s:1571 +0x1 fp=0xc00069ffe8 sp=0xc00069ffe0 pc=0x7ff6bc3d4921
created by github.com/pion/mdns.Server
        github.com/pion/mdns@v0.0.5/conn.go:98 +0x42a

goroutine 1 [runnable, locked to thread]:
syscall.SyscallN(0x5ed739fd?, {0xc00057f900?, 0x3?, 0x0?})
        runtime/syscall_windows.go:538 +0x109
syscall.Syscall(0xc00057f960?, 0x7ff6bc388325?, 0x7ff6bd0ba838?, 0xc00057f958?, 0x200?)
        runtime/syscall_windows.go:476 +0x3b
golang.org/x/sys/windows.(*Proc).Call(0x0?, {0xc00068a000?, 0xc00007a7d0?, 0x7ff6bd093260?})
        golang.org/x/sys@v0.0.0-20211216021012-1d35b9e2eb4e/windows/dll_windows.go:172 +0x126
golang.org/x/sys/windows.(*LazyProc).Call(0xc000523f80, {0xc00068a000, 0x2, 0x2})
        golang.org/x/sys@v0.0.0-20211216021012-1d35b9e2eb4e/windows/dll_windows.go:348 +0x50
github.com/hajimehoshi/ebiten/v2/internal/glfw.(*dll).call(0xc000058660, {0x7ff6bcbf3e83, 0xa}, {0xc00068a000, 0x2, 0x2})
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/glfw/load_windows.go:42 +0x173
github.com/hajimehoshi/ebiten/v2/internal/glfw.(*Window).GetKey(0xc000539e50, 0x35)
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/glfw/glfw_windows.go:151 +0x68
github.com/hajimehoshi/ebiten/v2/internal/uidriver/glfw.(*Input).update(0x7ff6bcab65f0, 0xc000539e50, {0x7ff6bcce2ec0, 0x7ff6bd0927c0})
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/uidriver/glfw/input.go:297 +0x1aa
github.com/hajimehoshi/ebiten/v2/internal/uidriver/glfw.(*UserInterface).update(0x7ff6bcab64c0)
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/uidriver/glfw/ui.go:1049 +0x1aa
github.com/hajimehoshi/ebiten/v2/internal/uidriver/glfw.(*UserInterface).loop.func2()
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/uidriver/glfw/ui.go:1094 +0x38
github.com/hajimehoshi/ebiten/v2/internal/thread.(*OSThread).Loop(0xc0005ce2d0)
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/thread/thread.go:51 +0x77
github.com/hajimehoshi/ebiten/v2/internal/uidriver/glfw.(*UserInterface).Run(0x7ff6bcab64c0, {0x7ff6bcce2ec0?, 0x7ff6bd0927c0?})
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/uidriver/glfw/run_notsinglethread.go:60 +0x1c2
github.com/hajimehoshi/ebiten/v2.RunGame({0x7ff6bcce1b70?, 0xc00050c1b0})
        github.com/hajimehoshi/ebiten/v2@v2.2.5/run.go:160 +0xe5
main.main()
        github.com/murkland/bbn6/main.go:119 +0x79b

goroutine 17 [runnable, locked to thread]:
runtime.goexit()
        runtime/asm_amd64.s:1571 +0x1

goroutine 25 [select]:
github.com/pion/interceptor/pkg/nack.(*GeneratorInterceptor).loop(0xc000066730, {0x7ff6bccdf4a0, 0xc00036b490})
        github.com/pion/interceptor@v0.1.7/pkg/nack/generator_interceptor.go:139 +0x15a
created by github.com/pion/interceptor/pkg/nack.(*GeneratorInterceptor).BindRTCPWriter
        github.com/pion/interceptor@v0.1.7/pkg/nack/generator_interceptor.go:74 +0x12d

goroutine 26 [select]:
github.com/pion/interceptor/pkg/report.(*ReceiverInterceptor).loop(0xc00036cd20, {0x7ff6bccdf4a0, 0xc00036b490})
        github.com/pion/interceptor@v0.1.7/pkg/report/receiver_interceptor.go:97 +0x1a5
created by github.com/pion/interceptor/pkg/report.(*ReceiverInterceptor).BindRTCPWriter
        github.com/pion/interceptor@v0.1.7/pkg/report/receiver_interceptor.go:86 +0x12d

goroutine 27 [select]:
github.com/pion/interceptor/pkg/report.(*SenderInterceptor).loop(0xc00036cd90, {0x7ff6bccdf4a0, 0xc00036b490})
        github.com/pion/interceptor@v0.1.7/pkg/report/sender_interceptor.go:98 +0x1a5
created by github.com/pion/interceptor/pkg/report.(*SenderInterceptor).BindRTCPWriter
        github.com/pion/interceptor@v0.1.7/pkg/report/sender_interceptor.go:87 +0x12d

goroutine 28 [select]:
github.com/pion/interceptor/pkg/twcc.(*SenderInterceptor).loop(0xc000622180, {0x7ff6bccdf4a0, 0xc00036b490})
        github.com/pion/interceptor@v0.1.7/pkg/twcc/sender_interceptor.go:171 +0x125
created by github.com/pion/interceptor/pkg/twcc.(*SenderInterceptor).BindRTCPWriter
        github.com/pion/interceptor@v0.1.7/pkg/twcc/sender_interceptor.go:87 +0x185

goroutine 7 [select]:
context.propagateCancel.func1()
        context/context.go:279 +0x9e
created by context.propagateCancel
        context/context.go:278 +0x1cb

goroutine 31 [select]:
github.com/pion/ice/v2.(*Agent).taskLoop(0xc0002bb340)
        github.com/pion/ice/v2@v2.1.20/agent.go:221 +0x145
created by github.com/pion/ice/v2.NewAgent
        github.com/pion/ice/v2@v2.1.20/agent.go:354 +0xc45

goroutine 50 [chan receive]:
github.com/pion/ice/v2.(*Agent).startOnConnectionStateChangeRoutine.func1()
        github.com/pion/ice/v2@v2.1.20/agent.go:410 +0x48
created by github.com/pion/ice/v2.(*Agent).startOnConnectionStateChangeRoutine
        github.com/pion/ice/v2@v2.1.20/agent.go:406 +0x5a

goroutine 51 [select]:
github.com/pion/ice/v2.(*Agent).startOnConnectionStateChangeRoutine.func2()
        github.com/pion/ice/v2@v2.1.20/agent.go:419 +0xad
created by github.com/pion/ice/v2.(*Agent).startOnConnectionStateChangeRoutine
        github.com/pion/ice/v2@v2.1.20/agent.go:417 +0x97

goroutine 75 [IO wait]:
internal/poll.runtime_pollWait(0x185f153a810, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc00028d6c0?, 0xc0000dfc98?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc00054e018, 0x7ff6bcc38780)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet4(0xc00054e000, {0xc00017e000, 0xc000622d80?, 0x0?}, 0xc0000dfdb0)
        internal/poll/fd_windows.go:610 +0x13e
net.(*netFD).readFromInet4(0xc00054e000, {0xc00017e000?, 0xc00028d6c0?, 0xc00028d748?}, 0xc000622dd0?)
        net/fd_posix.go:66 +0x29
net.(*UDPConn).readFrom(0xc000056800?, {0xc00017e000?, 0x0?, 0xc0003ec0c0?}, 0xc000522720)
        net/udpsock_posix.go:52 +0x1b8
net.(*UDPConn).readFromUDP(0xc000548008, {0xc00017e000?, 0x7ff6bc3baed2?, 0x2000?}, 0xc0005684d0?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0x7ff6bcce5d80?, {0xc00017e000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc0003ec0c0, 0xc000019be0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 67 [IO wait]:
internal/poll.runtime_pollWait(0x185f153af90, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000372518?, 0x185f15c1157?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc000372518, 0x7ff6bcc38788)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet6(0xc000372500, {0xc000640000, 0xc0008a5d88?, 0x0?}, 0xc0008a5dd0)
        internal/poll/fd_windows.go:639 +0x13e
net.(*netFD).readFromInet6(0xc000372500, {0xc000640000?, 0x5?, 0xc0008a5dc0?}, 0x7ff6bc388325?)
        net/fd_posix.go:72 +0x29
net.(*UDPConn).readFrom(0xc000780000?, {0xc000640000?, 0x0?, 0x101c0008a5f98?}, 0xc000522090)
        net/udpsock_posix.go:59 +0x85
net.(*UDPConn).readFromUDP(0xc000686110, {0xc000640000?, 0x7ff6bc3baed2?, 0x2000?}, 0x7ff6bcb11020?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0xc0008a5f88?, {0xc000640000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc00002b2b0, 0xc000019be0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 14 [select]:
net/http.(*persistConn).writeLoop(0xc00031a000)
        net/http/transport.go:2386 +0xf5
created by net/http.(*Transport).dialConn
        net/http/transport.go:1748 +0x1791

goroutine 76 [IO wait]:
internal/poll.runtime_pollWait(0x185f153a720, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000684680?, 0xc0008a1c98?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc000373918, 0x7ff6bcc38780)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet4(0xc000373900, {0xc00016e000, 0xc00020a1e0?, 0x0?}, 0xc0008a1db0)
        internal/poll/fd_windows.go:610 +0x13e
net.(*netFD).readFromInet4(0xc000373900, {0xc00016e000?, 0xc000684680?, 0xc000684708?}, 0xc00020a230?)
        net/fd_posix.go:66 +0x29
net.(*UDPConn).readFrom(0xc000080000?, {0xc00016e000?, 0x0?, 0xc0003ec180?}, 0xc000545c20)
        net/udpsock_posix.go:52 +0x1b8
net.(*UDPConn).readFromUDP(0xc000686150, {0xc00016e000?, 0x7ff6bc3baed2?, 0x2000?}, 0xc000076540?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0x7ff6bcce5d80?, {0xc00016e000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc0003ec180, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 77 [IO wait]:
internal/poll.runtime_pollWait(0x185f153a450, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000684820?, 0xc0005a5c98?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc0005c0018, 0x7ff6bcc38780)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet4(0xc0005c0000, {0xc000136000, 0xc00018e120?, 0x0?}, 0xc0005a5db0)
        internal/poll/fd_windows.go:610 +0x13e
net.(*netFD).readFromInet4(0xc0005c0000, {0xc000136000?, 0xc000684820?, 0xc0006848a8?}, 0xc00018e170?)
        net/fd_posix.go:66 +0x29
net.(*UDPConn).readFrom(0xc000780000?, {0xc000136000?, 0x0?, 0xc0003ec240?}, 0xc0005226f0)
        net/udpsock_posix.go:52 +0x1b8
net.(*UDPConn).readFromUDP(0xc000006098, {0xc000136000?, 0x7ff6bc3baed2?, 0x2000?}, 0xc000568460?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0x7ff6bcce5d80?, {0xc000136000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc0003ec240, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 40 [IO wait]:
internal/poll.runtime_pollWait(0x185f153a360, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000085040?, 0xc000899c98?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc0006a8018, 0x7ff6bcc38780)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet4(0xc0006a8000, {0xc0002de000, 0xc000794360?, 0x0?}, 0xc000899db0)
        internal/poll/fd_windows.go:610 +0x13e
net.(*netFD).readFromInet4(0xc0006a8000, {0xc0002de000?, 0xc000085040?, 0xc0000850c8?}, 0xc0007943b0?)
        net/fd_posix.go:66 +0x29
net.(*UDPConn).readFrom(0xc000080000?, {0xc0002de000?, 0x0?, 0xc000560000?}, 0xc000384570)
        net/udpsock_posix.go:52 +0x1b8
net.(*UDPConn).readFromUDP(0xc00069a008, {0xc0002de000?, 0x7ff6bc3baed2?, 0x2000?}, 0xc0006465b0?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0x7ff6bcce5d80?, {0xc0002de000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc000560000, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 13 [IO wait]:
internal/poll.runtime_pollWait(0x185f16e1728, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0x7ff6bc3d7133?, 0x623c2ef3?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc0003da798, 0x7ff6bcc38770)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).Read(0xc0003da780, {0xc00034f000, 0x1000, 0x1000})
        internal/poll/fd_windows.go:441 +0x25f
net.(*netFD).Read(0xc0003da780, {0xc00034f000?, 0x7ff6bc3771d0?, 0x4?})
        net/fd_posix.go:55 +0x29
net.(*conn).Read(0xc0003cc048, {0xc00034f000?, 0xc0003cc040?, 0x1?})
        net/net.go:183 +0x45
net/http.(*persistConn).Read(0xc00031a000, {0xc00034f000?, 0xc0005cc180?, 0xc0005add30?})
        net/http/transport.go:1926 +0x4e
bufio.(*Reader).fill(0xc000542300)
        bufio/bufio.go:106 +0x103
bufio.(*Reader).Peek(0xc000542300, 0x1)
        bufio/bufio.go:144 +0x5d
net/http.(*persistConn).readLoop(0xc00031a000)
        net/http/transport.go:2087 +0x1ac
created by net/http.(*Transport).dialConn
        net/http/transport.go:1747 +0x173e

goroutine 118 [select]:
github.com/murkland/ctxwebrtc.(*DataChannel).Recv(0xc000067680, {0x7ff6bcce2d00, 0xc0006db2c0})
        github.com/murkland/ctxwebrtc@v0.0.0-20220306073518-b5815ce4a060/datachannel.go:45 +0xc5
github.com/murkland/bbn6/packets.Recv({0x7ff6bcce2d00?, 0xc0006db2c0?}, 0xc00038a240?)
        github.com/murkland/bbn6/packets/packets.go:110 +0x4a
github.com/murkland/bbn6/game.(*Game).handleConn(0xc00050c1b0, {0x7ff6bcce2d00, 0xc0006db2c0})
        github.com/murkland/bbn6/game/game.go:172 +0x47
github.com/murkland/bbn6/game.(*Game).RunBackgroundTasks.func1()
        github.com/murkland/bbn6/game/game.go:113 +0x25
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57 +0x67
created by golang.org/x/sync/errgroup.(*Group).Go
        golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:54 +0x8d

goroutine 119 [select]:
github.com/murkland/bbn6/game.(*Game).sendPings(0xc00050c1b0, {0x7ff6bcce2d00, 0xc0006db2c0})
        github.com/murkland/bbn6/game/game.go:132 +0x16a
github.com/murkland/bbn6/game.(*Game).RunBackgroundTasks.func2()
        github.com/murkland/bbn6/game/game.go:117 +0x25
golang.org/x/sync/errgroup.(*Group).Go.func1()
        golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57 +0x67
created by golang.org/x/sync/errgroup.(*Group).Go
        golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:54 +0x8d

goroutine 231 [chan receive]:
github.com/pion/sctp.(*Association).AcceptStream(...)
        github.com/pion/sctp@v1.8.2/association.go:1307
github.com/pion/datachannel.Accept(0xc0004a2000?, 0xc0007a1e98?, {0xc000006150, 0x1, 0xc0007a1e80?})
        github.com/pion/datachannel@v1.5.2/datachannel.go:116 +0x45
github.com/pion/webrtc/v3.(*SCTPTransport).acceptDataChannels(0xc00006b4a0, 0x0?)
        github.com/pion/webrtc/v3@v3.1.23/sctptransport.go:173 +0x288
created by github.com/pion/webrtc/v3.(*SCTPTransport).Start
        github.com/pion/webrtc/v3@v3.1.23/sctptransport.go:135 +0x3f8

goroutine 230 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc0000d4a50, 0x23)
        runtime/sema.go:513 +0x146
sync.(*Cond).Wait(0x7ff6bccde2a0?)
        sync/cond.go:56 +0x8c
github.com/pion/sctp.(*Stream).ReadSCTP(0xc0005e8000, {0xc0005ec000, 0xffff, 0xffff})
        github.com/pion/sctp@v1.8.2/stream.go:108 +0xab
github.com/pion/datachannel.(*DataChannel).ReadDataChannel(0xc00050c2d0, {0xc0005ec000, 0xffff, 0xffff})
        github.com/pion/datachannel@v1.5.2/datachannel.go:186 +0x65
github.com/pion/webrtc/v3.(*DataChannel).readLoop(0xc0004a2000)
        github.com/pion/webrtc/v3@v3.1.23/datachannel.go:325 +0xb7
created by github.com/pion/webrtc/v3.(*DataChannel).handleOpen
        github.com/pion/webrtc/v3@v3.1.23/datachannel.go:294 +0x1a5

goroutine 68 [IO wait]:
internal/poll.runtime_pollWait(0x185f153aea0, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000372798?, 0x185f15c1151?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc000372798, 0x7ff6bcc38780)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet4(0xc000372780, {0xc0006ba000, 0x7ff6bc388e7c?, 0x0?}, 0xc0008b7db0)
        internal/poll/fd_windows.go:610 +0x13e
net.(*netFD).readFromInet4(0xc000372780, {0xc0006ba000?, 0x2000?, 0x0?}, 0x1003aa3b6?)
        net/fd_posix.go:66 +0x29
net.(*UDPConn).readFrom(0xc000600400?, {0xc0006ba000?, 0x0?, 0x101c0008b7f98?}, 0xc0000a4120)
        net/udpsock_posix.go:52 +0x1b8
net.(*UDPConn).readFromUDP(0xc000686118, {0xc0006ba000?, 0x7ff6bc3baed2?, 0x2000?}, 0x7ff6bcb11020?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0xc0008b7f88?, {0xc0006ba000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc00002b380, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 11 [IO wait]:
internal/poll.runtime_pollWait(0x185f153a630, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc00004d1e0?, 0xc0008b3c98?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc00050e018, 0x7ff6bcc38780)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet4(0xc00050e000, {0xc0001a0000, 0xc000794240?, 0x0?}, 0xc0008b3db0)
        internal/poll/fd_windows.go:610 +0x13e
net.(*netFD).readFromInet4(0xc00050e000, {0xc0001a0000?, 0xc00004d1e0?, 0xc00004d268?}, 0xc000794290?)
        net/fd_posix.go:66 +0x29
net.(*UDPConn).readFrom(0xc000780000?, {0xc0001a0000?, 0x0?, 0xc0003ec000?}, 0xc0005226c0)
        net/udpsock_posix.go:52 +0x1b8
net.(*UDPConn).readFromUDP(0xc00052e000, {0xc0001a0000?, 0x7ff6bc3baed2?, 0x2000?}, 0xc0000764d0?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0x7ff6bcce5d80?, {0xc0001a0000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc0003ec000, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 227 [chan receive]:
github.com/hajimehoshi/ebiten/v2/internal/thread.(*OSThread).Call(0xc0005ce2d0, 0xc0002e4f00?)
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/thread/thread.go:69 +0x47
github.com/hajimehoshi/ebiten/v2/internal/uidriver/glfw.(*UserInterface).loop(0x7ff6bcab64c0)
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/uidriver/glfw/ui.go:1092 +0x142
github.com/hajimehoshi/ebiten/v2/internal/uidriver/glfw.(*UserInterface).Run.func1()
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/uidriver/glfw/run_notsinglethread.go:53 +0xe6
created by github.com/hajimehoshi/ebiten/v2/internal/uidriver/glfw.(*UserInterface).Run
        github.com/hajimehoshi/ebiten/v2@v2.2.5/internal/uidriver/glfw/run_notsinglethread.go:37 +0x19f

goroutine 69 [IO wait]:
internal/poll.runtime_pollWait(0x185f153adb0, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000372a18?, 0x185f13f0503?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc000372a18, 0x7ff6bcc38788)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet6(0xc000372a00, {0xc000642000, 0x7ff6bc388e7c?, 0x0?}, 0xc00069ddd0)
        internal/poll/fd_windows.go:639 +0x13e
net.(*netFD).readFromInet6(0xc000372a00, {0xc000642000?, 0x2000?, 0x0?}, 0x1003aa3b6?)
        net/fd_posix.go:72 +0x29
net.(*UDPConn).readFrom(0xc000780000?, {0xc000642000?, 0x0?, 0x101c00069df98?}, 0xc0005220c0)
        net/udpsock_posix.go:59 +0x85
net.(*UDPConn).readFromUDP(0xc000686120, {0xc000642000?, 0x7ff6bc3baed2?, 0x2000?}, 0x7ff6bcb11020?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0xc00069df88?, {0xc000642000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc00002b450, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 70 [IO wait]:
internal/poll.runtime_pollWait(0x185f153acc0, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000372c98?, 0x185f15c1163?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc000372c98, 0x7ff6bcc38780)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet4(0xc000372c80, {0xc0006b8000, 0x7ff6bc388e7c?, 0x0?}, 0xc0008bfdb0)
        internal/poll/fd_windows.go:610 +0x13e
net.(*netFD).readFromInet4(0xc000372c80, {0xc0006b8000?, 0x2000?, 0x0?}, 0x1003aa3b6?)
        net/fd_posix.go:66 +0x29
net.(*UDPConn).readFrom(0xc000600400?, {0xc0006b8000?, 0x0?, 0x101c0008bff98?}, 0xc0000a4090)
        net/udpsock_posix.go:52 +0x1b8
net.(*UDPConn).readFromUDP(0xc000686128, {0xc0006b8000?, 0x7ff6bc3baed2?, 0x2000?}, 0x7ff6bcb11020?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0xc0008bff88?, {0xc0006b8000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc00002b520, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 71 [IO wait]:
internal/poll.runtime_pollWait(0x185f153abd0, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000372f18?, 0x185f15c115d?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc000372f18, 0x7ff6bcc38788)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet6(0xc000372f00, {0xc000562000, 0x7ff6bc388e7c?, 0x0?}, 0xc0008b1dd0)
        internal/poll/fd_windows.go:639 +0x13e
net.(*netFD).readFromInet6(0xc000372f00, {0xc000562000?, 0x2000?, 0x0?}, 0x1003aa3b6?)
        net/fd_posix.go:72 +0x29
net.(*UDPConn).readFrom(0xc000080000?, {0xc000562000?, 0x0?, 0x101c0008b1f98?}, 0xc0005be180)
        net/udpsock_posix.go:59 +0x85
net.(*UDPConn).readFromUDP(0xc000686130, {0xc000562000?, 0x7ff6bc3baed2?, 0x2000?}, 0x7ff6bcb11020?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0xc0008b1f88?, {0xc000562000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc00002b5f0, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 72 [IO wait]:
internal/poll.runtime_pollWait(0x185f153aae0, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000373198?, 0x185f15c116f?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc000373198, 0x7ff6bcc38788)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet6(0xc000373180, {0xc0005d4000, 0x7ff6bc388e7c?, 0x0?}, 0xc0008c7dd0)
        internal/poll/fd_windows.go:639 +0x13e
net.(*netFD).readFromInet6(0xc000373180, {0xc0005d4000?, 0x2000?, 0x0?}, 0x1003aa3b6?)
        net/fd_posix.go:72 +0x29
net.(*UDPConn).readFrom(0xc000056800?, {0xc0005d4000?, 0x0?, 0x101c0008c7f98?}, 0xc0006961b0)
        net/udpsock_posix.go:59 +0x85
net.(*UDPConn).readFromUDP(0xc000686138, {0xc0005d4000?, 0x7ff6bc3baed2?, 0x2000?}, 0x7ff6bcb11020?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0xc0008c7f88?, {0xc0005d4000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc00002b6c0, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 226 [semacquire]:
sync.runtime_Semacquire(0xc0004941a0?)
        runtime/sema.go:56 +0x25
sync.(*WaitGroup).Wait(0xc0006db201?)
        sync/waitgroup.go:136 +0x52
golang.org/x/sync/errgroup.(*Group).Wait(0xc0006db300)
        golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:40 +0x27
github.com/murkland/bbn6/game.(*Game).RunBackgroundTasks(0xc00050c1b0, {0x7ff6bcce2d38?, 0xc000018060?})
        github.com/murkland/bbn6/game/game.go:120 +0x15f
main.main.func2()
        github.com/murkland/bbn6/main.go:114 +0x25
created by main.main
        github.com/murkland/bbn6/main.go:113 +0x78a

goroutine 73 [IO wait]:
internal/poll.runtime_pollWait(0x185f153a9f0, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0xc000373418?, 0x185f15c1169?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc000373418, 0x7ff6bcc38780)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet4(0xc000373400, {0xc0002d6000, 0x7ff6bc388e7c?, 0x0?}, 0xc0008b9db0)
        internal/poll/fd_windows.go:610 +0x13e
net.(*netFD).readFromInet4(0xc000373400, {0xc0002d6000?, 0x2000?, 0x0?}, 0x1003aa3b6?)
        net/fd_posix.go:66 +0x29
net.(*UDPConn).readFrom(0xc000056c00?, {0xc0002d6000?, 0x0?, 0x101c0008b9f98?}, 0xc0003b8540)
        net/udpsock_posix.go:52 +0x1b8
net.(*UDPConn).readFromUDP(0xc000686140, {0xc0002d6000?, 0x7ff6bc3baed2?, 0x2000?}, 0x7ff6bcb11020?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0xc0008b9f88?, {0xc0002d6000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc00002b790, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 74 [runnable]:
internal/poll.runtime_pollWait(0x185f153a900, 0x72)
        runtime/netpoll.go:302 +0x89
internal/poll.(*pollDesc).wait(0x10000008cfcb0?, 0x0?, 0x0)
        internal/poll/fd_poll_runtime.go:83 +0x32
internal/poll.execIO(0xc000373698, 0x7ff6bcc38788)
        internal/poll/fd_windows.go:175 +0xe5
internal/poll.(*FD).ReadFromInet6(0xc000373680, {0xc0001a2000, 0x7ff6bc3b9200?, 0x0?}, 0xc0008cfdd0)
        internal/poll/fd_windows.go:639 +0x13e
net.(*netFD).readFromInet6(0xc000373680, {0xc0001a2000?, 0x100c0008cfda8?, 0x185f15f1a10?}, 0x0?)
        net/fd_posix.go:72 +0x29
net.(*UDPConn).readFrom(0xc000080000?, {0xc0001a2000?, 0x0?, 0x28?}, 0xc000384c90)
        net/udpsock_posix.go:59 +0x85
net.(*UDPConn).readFromUDP(0xc000686148, {0xc0001a2000?, 0x7ff6bc3baed2?, 0x2000?}, 0xc000025590?)
        net/udpsock.go:149 +0x31
net.(*UDPConn).ReadFrom(0x7ff6bcce5d80?, {0xc0001a2000, 0x2000, 0x2000})
        net/udpsock.go:158 +0x50
github.com/pion/ice/v2.(*candidateBase).recvLoop(0xc00002b860, 0x0?)
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:222 +0x1a9
created by github.com/pion/ice/v2.(*candidateBase).start
        github.com/pion/ice/v2@v2.1.20/candidate_base.go:205 +0x14a

goroutine 102 [select]:
github.com/pion/transport/packetio.(*Buffer).Read(0xc000542540, {0xc0007d6000, 0x2000, 0x2000})
        github.com/pion/transport@v0.13.0/packetio/buffer.go:266 +0x168
github.com/pion/webrtc/v3/internal/mux.(*Endpoint).Read(0x7ff6bcce3748?, {0xc0007d6000?, 0xc0005ca138?, 0x1000000010000?})
        github.com/pion/webrtc/v3@v3.1.23/internal/mux/endpoint.go:37 +0x25
github.com/pion/srtp/v2.(*session).start.func1()
        github.com/pion/srtp/v2@v2.0.5/session.go:133 +0xba
created by github.com/pion/srtp/v2.(*session).start
        github.com/pion/srtp/v2@v2.0.5/session.go:120 +0x25e

goroutine 103 [select]:
github.com/pion/transport/packetio.(*Buffer).Read(0xc0005425a0, {0xc0007d8000, 0x2000, 0x2000})
        github.com/pion/transport@v0.13.0/packetio/buffer.go:266 +0x168
github.com/pion/webrtc/v3/internal/mux.(*Endpoint).Read(0xc000668160?, {0xc0007d8000?, 0xc000004468?, 0x0?})
        github.com/pion/webrtc/v3@v3.1.23/internal/mux/endpoint.go:37 +0x25
github.com/pion/srtp/v2.(*session).start.func1()
        github.com/pion/srtp/v2@v2.0.5/session.go:133 +0xba
created by github.com/pion/srtp/v2.(*session).start
        github.com/pion/srtp/v2@v2.0.5/session.go:120 +0x25e

goroutine 116 [select]:
github.com/pion/ice/v2.(*Agent).connectivityChecks(0xc0002bb340)
        github.com/pion/ice/v2@v2.1.20/agent.go:536 +0x1ab
created by github.com/pion/ice/v2.(*Agent).startConnectivityChecks.func1
        github.com/pion/ice/v2@v2.1.20/agent.go:477 +0x2a5

goroutine 65 [runnable]:
sync.runtime_notifyListWait(0xc0003b23d0, 0x6ae)
        runtime/sema.go:513 +0x146
sync.(*Cond).Wait(0xc0000691a0?)
        sync/cond.go:56 +0x8c
github.com/hajimehoshi/oto/v2.(*context).waitUntilHeaderAvailable(0xc0000a0900)
        github.com/hajimehoshi/oto/v2@v2.1.0-alpha.2/driver_windows.go:200 +0x98
github.com/hajimehoshi/oto/v2.(*context).loop(0xc0000691a0?)
        github.com/hajimehoshi/oto/v2@v2.1.0-alpha.2/driver_windows.go:207 +0x2f
created by github.com/hajimehoshi/oto/v2.newContext
        github.com/hajimehoshi/oto/v2@v2.1.0-alpha.2/driver_windows.go:133 +0x3ca

goroutine 419 [select]:
github.com/pion/transport/connctx.(*connCtx).ReadContext.func1()
        github.com/pion/transport@v0.13.0/connctx/connctx.go:78 +0xc9
created by github.com/pion/transport/connctx.(*connCtx).ReadContext
        github.com/pion/transport@v0.13.0/connctx/connctx.go:76 +0x1fe

goroutine 211 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc0003b2390, 0x6b6)
        runtime/sema.go:513 +0x146
sync.(*Cond).Wait(0xc0000efe68?)
        sync/cond.go:56 +0x8c
github.com/hajimehoshi/oto/v2.(*players).wait(0xc000545710)
        github.com/hajimehoshi/oto/v2@v2.1.0-alpha.2/player_notjs.go:54 +0xb5
github.com/hajimehoshi/oto/v2.(*players).loop(0xc000545710)
        github.com/hajimehoshi/oto/v2@v2.1.0-alpha.2/player_notjs.go:61 +0x55
created by github.com/hajimehoshi/oto/v2.newPlayers
        github.com/hajimehoshi/oto/v2@v2.1.0-alpha.2/player_notjs.go:36 +0xd8

goroutine 213 [select]:
github.com/pion/transport/packetio.(*Buffer).Read(0xc0006224e0, {0xc0006ec000, 0x5b4, 0x5b4})
        github.com/pion/transport@v0.13.0/packetio/buffer.go:266 +0x168
github.com/pion/ice/v2.(*Conn).Read(0xc0000b6d80, {0xc0006ec000, 0x5b4, 0x5b4})
        github.com/pion/ice/v2@v2.1.20/transport.go:73 +0x73
github.com/pion/webrtc/v3/internal/mux.(*Mux).readLoop(0xc0000cd310)
        github.com/pion/webrtc/v3@v3.1.23/internal/mux/mux.go:109 +0xcb
created by github.com/pion/webrtc/v3/internal/mux.NewMux
        github.com/pion/webrtc/v3@v3.1.23/internal/mux/mux.go:47 +0x165

goroutine 214 [select]:
github.com/pion/dtls/v2.(*handshakeFSM).finish(0xc0000cd770, {0x7ff6bcce2d00, 0xc0003b30c0}, {0x7ff6bcce4208, 0xc000078e00})
        github.com/pion/dtls/v2@v2.1.2/handshaker.go:312 +0x252
github.com/pion/dtls/v2.(*handshakeFSM).Run(0xc0000cd770, {0x7ff6bcce2d00, 0xc0003b30c0}, {0x7ff6bcce4208, 0xc000078e00}, 0xb8?)
        github.com/pion/dtls/v2@v2.1.2/handshaker.go:179 +0x43d
github.com/pion/dtls/v2.(*Conn).handshake.func2()
        github.com/pion/dtls/v2@v2.1.2/conn.go:827 +0x85
created by github.com/pion/dtls/v2.(*Conn).handshake
        github.com/pion/dtls/v2@v2.1.2/conn.go:825 +0x337

goroutine 215 [select]:
github.com/pion/transport/packetio.(*Buffer).Read(0xc0005424e0, {0xc0002fe000, 0x2000, 0x2000})
        github.com/pion/transport@v0.13.0/packetio/buffer.go:266 +0x168
github.com/pion/webrtc/v3/internal/mux.(*Endpoint).Read(0x7ff6bcb05640?, {0xc0002fe000?, 0x185eaad0a28?, 0x18?})
        github.com/pion/webrtc/v3@v3.1.23/internal/mux/endpoint.go:37 +0x25
github.com/pion/transport/connctx.(*connCtx).ReadContext(0xc0003b2fc0, {0x7ff6bcce2d00?, 0xc0003b3080}, {0xc0002fe000, 0x2000, 0x2000})
        github.com/pion/transport@v0.13.0/connctx/connctx.go:93 +0x22e
github.com/pion/dtls/v2.(*Conn).readAndBuffer(0xc000078e00, {0x7ff6bcce2d00, 0xc0003b3080})
        github.com/pion/dtls/v2@v2.1.2/conn.go:562 +0x10e
github.com/pion/dtls/v2.(*Conn).handshake.func3()
        github.com/pion/dtls/v2@v2.1.2/conn.go:846 +0xfd
created by github.com/pion/dtls/v2.(*Conn).handshake
        github.com/pion/dtls/v2@v2.1.2/conn.go:835 +0x3dd

goroutine 104 [chan receive]:
github.com/pion/srtp/v2.(*SessionSRTP).AcceptStream(0x0?)
        github.com/pion/srtp/v2@v2.0.5/session_srtp.go:93 +0x2c
github.com/pion/webrtc/v3.(*PeerConnection).undeclaredMediaProcessor.func1()
        github.com/pion/webrtc/v3@v3.1.23/peerconnection.go:1559 +0xf1
created by github.com/pion/webrtc/v3.(*PeerConnection).undeclaredMediaProcessor
        github.com/pion/webrtc/v3@v3.1.23/peerconnection.go:1550 +0x5a

goroutine 105 [chan receive]:
github.com/pion/srtp/v2.(*SessionSRTCP).AcceptStream(0x0?)
        github.com/pion/srtp/v2@v2.0.5/session_srtcp.go:92 +0x2c
github.com/pion/webrtc/v3.(*PeerConnection).undeclaredMediaProcessor.func2()
        github.com/pion/webrtc/v3@v3.1.23/peerconnection.go:1597 +0xf1
created by github.com/pion/webrtc/v3.(*PeerConnection).undeclaredMediaProcessor
        github.com/pion/webrtc/v3@v3.1.23/peerconnection.go:1589 +0x97

goroutine 106 [select]:
github.com/pion/dtls/v2.(*Conn).Read(0xc000078e00, {0xc00030e000, 0x2000, 0xc000308120?})
        github.com/pion/dtls/v2@v2.1.2/conn.go:289 +0x165
github.com/pion/sctp.(*Association).readLoop(0xc000286000)
        github.com/pion/sctp@v1.8.2/association.go:509 +0x15e
created by github.com/pion/sctp.(*Association).init
        github.com/pion/sctp@v1.8.2/association.go:339 +0xd0

goroutine 107 [select]:
github.com/pion/sctp.(*Association).writeLoop(0xc000286000)
        github.com/pion/sctp@v1.8.2/association.go:558 +0x206
created by github.com/pion/sctp.(*Association).init
        github.com/pion/sctp@v1.8.2/association.go:340 +0x113
bigfarts commented 2 years ago

probably the same as #25