Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic on transport close #41

Closed
tarrencev opened this issue Jul 16, 2020 · 0 comments
Closed

Panic on transport close #41

tarrencev opened this issue Jul 16, 2020 · 0 comments

Comments

@tarrencev
Copy link
Collaborator

2020-07-16 21:17:09.122 INF WebRTCTransport.Close t.ID()=ckcpan12w005c0122fiq0ctfc
2020-07-16 21:17:09.122 INF Router.Close
2020-07-16 21:17:09.122 INF delRouter id=ckcpan12w005c0122fiq0ctfc
2020-07-16 21:17:09.122 ERR JitterBuffer.pliLoop j.Pub.WriteRTCP err=io: read/write on closed pipe
2020-07-16 21:17:09.464 ERR JitterBuffer.rembLoop j.Pub.WriteRTCP err=io: read/write on closed pipe
2020-07-16 21:17:09.757 ERR JitterBuffer.pliLoop j.Pub.WriteRTCP err=io: read/write on closed pipe
2020-07-16 21:17:10.058 INF webrtc ice closed for mid: ckcpan12w005c0122fiq0ctfc
2020-07-16 21:17:10.058 INF WebRTCTransport.Close t.ID()=ckcpankdc005j0122gxd47kfh
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x847350]

goroutine 9155 [running]:
github.com/pion/ion-sfu/pkg/rtc/transport.(*WebRTCTransport).Close(0xc000a50a20)
	/go/src/github.com/pion/ion-sfu/pkg/rtc/transport/webrtctransport.go:146 +0xc0
github.com/pion/ion-sfu/pkg/node.Subscribe.func1(0x6)
	/go/src/github.com/pion/ion-sfu/pkg/node/subscribe.go:53 +0xb6
created by github.com/pion/webrtc/v2.(*PeerConnection).onICEConnectionStateChange
	/go/pkg/mod/github.com/pion/webrtc/v2@v2.2.20/peerconnection.go:301 +0x12a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant