Warsaw, Poland
Comment by ~krystianch on ~krystianch/whipd
REPORTED
RESOLVED CLOSEDComment by ~krystianch on ~krystianch/whipd
Krystian Chachuła referenced this ticket in commit 92ac3b0.
REPORTED
RESOLVED FIXEDComment by ~krystianch on ~krystianch/whipd
Krystian Chachuła referenced this ticket in commit b69a9df.
REPORTED
RESOLVED FIXEDTicket created by ~krystianch on ~krystianch/whipd
time=2024-11-24T18:26:33.313+01:00 level=INFO msg="RTC connection state change" name=testcam state=connecting time=2024-11-24T18:26:33.350+01:00 level=INFO msg="WHIP resource created" name=testcam time=2024-11-24T18:26:33.594+01:00 level=INFO msg="RTC connection state change" name=testcam state=connected time=2024-11-24T18:27:07.942+01:00 level=INFO msg="RTC connection state change" name=testcam state=closed time=2024-11-24T18:27:07.942+01:00 level=INFO msg="RTC connection state change" name=testcam state=closed fatal error: sync: unlock of unlocked mutex goroutine 304 [running]: sync.fatal({0x9071f6?, 0x0?}) /usr/lib/go/src/runtime/panic.go:1007 +0x18 sync.(*Mutex).unlockSlow(0xc000078410, 0xffffffff) /usr/lib/go/src/sync/mutex.go:229 +0x35 sync.(*Mutex).Unlock(...) /usr/lib/go/src/sync/mutex.go:223 main.whipHandler.func1(0x6) /home/krystianch/whipd/main.go:129 +0x2fa created by github.com/pion/webrtc/v4.(*PeerConnection).onConnectionStateChange in goroutine 333 /home/krystianch/.local/share/go/pkg/mod/github.com/pion/webrtc/v4@v4.0.1/peerconnection.go:498 +0x16f goroutine 1 [chan receive, 48 minutes]: main.main() /home/krystianch/whipd/main.go:440 +0x8fd goroutine 6 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7fbbcbcebfb0, 0x72) /usr/lib/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0x6?, 0x2?, 0x0) /usr/lib/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/lib/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000166000) /usr/lib/go/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000166000) /usr/lib/go/src/net/fd_unix.go:172 +0x29 net.(*UnixListener).accept(0xc000208de0?) /usr/lib/go/src/net/unixsock_posix.go:172 +0x16 net.(*UnixListener).Accept(0xc00007fb00) /usr/lib/go/src/net/unixsock.go:260 +0x30 net/http.(*Server).Serve(0xc000178000, {0x9b3e40, 0xc00007fb00}) /usr/lib/go/src/net/http/server.go:3260 +0x33e main.main.func1() /home/krystianch/whipd/main.go:432 +0x11d created by main.main in goroutine 1 /home/krystianch/whipd/main.go:428 +0x772 goroutine 8 [syscall, 48 minutes]: os/signal.signal_recv() /usr/lib/go/src/runtime/sigqueue.go:152 +0x29 os/signal.loop() /usr/lib/go/src/os/signal/signal_unix.go:23 +0x13 created by os/signal.Notify.func1.1 in goroutine 1 /usr/lib/go/src/os/signal/signal.go:151 +0x1f goroutine 322 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7fbbcb673120, 0x72) /usr/lib/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc000462100?, 0xc0000a0000?, 0x0) /usr/lib/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/lib/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc000462100, {0xc0000a0000, 0x1000, 0x1000}) /usr/lib/go/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc000462100, {0xc0000a0000?, 0xc000033a98?, 0x4cff05?}) /usr/lib/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc000276008, {0xc0000a0000?, 0x0?, 0xc00028e038?}) /usr/lib/go/src/net/net.go:185 +0x45 net/http.(*connReader).Read(0xc00028e030, {0xc0000a0000, 0x1000, 0x1000}) /usr/lib/go/src/net/http/server.go:789 +0x14b bufio.(*Reader).fill(0xc0003b6300) /usr/lib/go/src/bufio/bufio.go:110 +0x103 bufio.(*Reader).Peek(0xc0003b6300, 0x4) /usr/lib/go/src/bufio/bufio.go:148 +0x53 net/http.(*conn).serve(0xc000486000, {0x9b4e00, 0xc0000b8120}) /usr/lib/go/src/net/http/server.go:2079 +0x749 created by net/http.(*Server).Serve in goroutine 6 /usr/lib/go/src/net/http/server.go:3290 +0x4b4
Ticket created by ~krystianch on ~krystianch/whipd
[PANIC] time=2024-11-21T22:07:02.711+01:00 level=ERROR msg="Failed listening" net=unix addr=/run/whipd/whipd.sock
Ticket created by ~krystianch on ~krystianch/whipd
time=2024-11-21T22:07:00.269+01:00 level=INFO msg="RTC connection state change" name=cam1 state=connecting time=2024-11-21T22:07:00.331+01:00 level=INFO msg="WHIP resource created" name=cam1 time=2024-11-21T22:07:00.587+01:00 level=INFO msg="RTC connection state change" name=cam1 state=connected time=2024-11-21T22:07:00.590+01:00 level=INFO msg="RTC connection state change" name=cam1 state=closed [sdp @ 0x7f390d8c3580] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options [segment @ 0x7f3909433180] dimensions not set panic: Invalid argument goroutine 1499 [running]: main.NewRecorder.func1() /home/krystianch/whipd/rec.go:107 +0x916 created by main.NewRecorder in goroutine 1494 /home/krystianch/whipd/rec.go:72 +0x4c5
Comment by ~krystianch on ~krystianch/whipd
Seems to be reproducibile only with OBS Studio.
Comment by ~krystianch on ~krystianch/whipd
Krystian Chachuła referenced this ticket in commit 22b73c2.
REPORTED
RESOLVED FIXEDComment by ~krystianch on ~krystianch/whipd
From docs:
WriteRTP writes a RTP Packet to the TrackLocalStaticRTP If one PeerConnection fails the packets will still be sent to all PeerConnections. The error message will contain the ID of the failed PeerConnections so you can remove them
This error can probably be ignored.