Skip to content

Instantly share code, notes, and snippets.

@Sean-Der
Created July 15, 2024 15:08
Show Gist options
  • Save Sean-Der/d9851c92fc9ffc7e44fb59266298d91c to your computer and use it in GitHub Desktop.
Save Sean-Der/d9851c92fc9ffc7e44fb59266298d91c to your computer and use it in GitHub Desktop.
Broadcast Box deadlock
goroutine 54 [semacquire]:
runtime.gopark(0x40b7e8?, 0xc0001a45a0?, 0xa0?, 0x45?, 0x10?)
/nix/store/nnh57s7m672k6snkanhz1kb18skwjpbg-go-1.21.11/share/go/src/runtime/proc.go:398 +0xce fp=0xc0001a8a58 sp=0xc0001a8a38 pc=0x43dc2e
runtime.goparkunlock(...)
/nix/store/nnh57s7m672k6snkanhz1kb18skwjpbg-go-1.21.11/share/go/src/runtime/proc.go:404
runtime.semacquire1(0xc000214d98, 0xf0?, 0x1, 0x0, 0x0?)
/nix/store/nnh57s7m672k6snkanhz1kb18skwjpbg-go-1.21.11/share/go/src/runtime/sema.go:160 +0x218 fp=0xc0001a8ac0 sp=0xc0001a8a58 pc=0x44e678
sync.runtime_Semacquire(0x7abea5?)
/nix/store/nnh57s7m672k6snkanhz1kb18skwjpbg-go-1.21.11/share/go/src/runtime/sema.go:62 +0x25 fp=0xc0001a8af8 sp=0xc0001a8ac0 pc=0x468fe5
sync.(*WaitGroup).Wait(0xc00038fd40?)
/nix/store/nnh57s7m672k6snkanhz1kb18skwjpbg-go-1.21.11/share/go/src/sync/waitgroup.go:116 +0x48 fp=0xc0001a8b20 sp=0xc0001a8af8 pc=0x478fa8
github.com/pion/ice/v3.(*handlerNotifier).Close(0xc000214d80)
/home/sean/go/pkg/mod/github.com/pion/ice/v3@v3.0.9/agent_handlers.go:76 +0xad fp=0xc0001a8b40 sp=0xc0001a8b20 pc=0x7d842d
github.com/pion/ice/v3.(*Agent).Close(0xc0004b4000)
/home/sean/go/pkg/mod/github.com/pion/ice/v3@v3.0.9/agent.go:853 +0x3c fp=0xc0001a8b68 sp=0xc0001a8b40 pc=0x7d4d1c
github.com/pion/ice/v3.(*Conn).Close(0xc00018e000?)
/home/sean/go/pkg/mod/github.com/pion/ice/v3@v3.0.9/transport.go:112 +0x17 fp=0xc0001a8b80 sp=0xc0001a8b68 pc=0x7f3e97
github.com/pion/webrtc/v4/internal/mux.(*Mux).Close(0xc00018e000)
/home/sean/go/pkg/mod/github.com/pion/webrtc/v4@v4.0.0-beta.21/internal/mux/mux.go:92 +0xfc fp=0xc0001a8c20 sp=0xc0001a8b80 pc=0x85729c
github.com/pion/webrtc/v4.(*ICETransport).Stop(0xc000216160)
/home/sean/go/pkg/mod/github.com/pion/webrtc/v4@v4.0.0-beta.21/icetransport.go:200 +0x10b fp=0xc0001a8c80 sp=0xc0001a8c20 pc=0x87506b
github.com/pion/webrtc/v4.(*PeerConnection).Close(0xc000252000)
/home/sean/go/pkg/mod/github.com/pion/webrtc/v4@v4.0.0-beta.21/peerconnection.go:2094 +0x4ab fp=0xc0001a8da8 sp=0xc0001a8c80 pc=0x88d70b
github.com/glimesh/broadcast-box/internal/webrtc.WHIP.func2(0xc000252110?)
/home/sean/workspaces/broadcast-box/internal/webrtc/whip.go:164 +0x3d fp=0xc0001a8e18 sp=0xc0001a8da8 pc=0x8b847d
github.com/pion/webrtc/v4.(*PeerConnection).onICEConnectionStateChange(0xc000252000, 0x9560e0?)
/home/sean/go/pkg/mod/github.com/pion/webrtc/v4@v4.0.0-beta.21/peerconnection.go:478 +0x132 fp=0xc0001a8e78 sp=0xc0001a8e18 pc=0x880912
github.com/pion/webrtc/v4.(*PeerConnection).createICETransport.func1(0x5)
/home/sean/go/pkg/mod/github.com/pion/webrtc/v4@v4.0.0-beta.21/peerconnection.go:793 +0x91 fp=0xc0001a8ed0 sp=0xc0001a8e78 pc=0x882691
github.com/pion/webrtc/v4.(*ICETransport).onConnectionStateChange(0xc0002161b0?, 0x933aa0?)
/home/sean/go/pkg/mod/github.com/pion/webrtc/v4@v4.0.0-beta.21/icetransport.go:230 +0xd4 fp=0xc0001a8f10 sp=0xc0001a8ed0 pc=0x875334
github.com/pion/webrtc/v4.(*ICETransport).Start.func1(0x0?)
/home/sean/go/pkg/mod/github.com/pion/webrtc/v4@v4.0.0-beta.21/icetransport.go:109 +0xbf fp=0xc0001a8f48 sp=0xc0001a8f10 pc=0x874cdf
github.com/pion/ice/v3.(*Agent).onConnectionStateChange(0xc00061a000?, 0x7daa20?)
/home/sean/go/pkg/mod/github.com/pion/ice/v3@v3.0.9/agent_handlers.go:42 +0x5c fp=0xc0001a8f70 sp=0xc0001a8f48 pc=0x7d835c
github.com/pion/ice/v3.(*Agent).onConnectionStateChange-fm(0x0?)
<autogenerated>:1 +0x26 fp=0xc0001a8f90 sp=0xc0001a8f70 pc=0x7fd886
github.com/pion/ice/v3.(*handlerNotifier).EnqueueConnectionState.func1()
/home/sean/go/pkg/mod/github.com/pion/ice/v3@v3.0.9/agent_handlers.go:101 +0x5e fp=0xc0001a8fe0 sp=0xc0001a8f90 pc=0x7d867e
runtime.goexit()
/nix/store/nnh57s7m672k6snkanhz1kb18skwjpbg-go-1.21.11/share/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0001a8fe8 sp=0xc0001a8fe0 pc=0x46cbc1
created by github.com/pion/ice/v3.(*handlerNotifier).EnqueueConnectionState in goroutine 48
/home/sean/go/pkg/mod/github.com/pion/ice/v3@v3.0.9/agent_handlers.go:109 +0x157
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment