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

[BUG] with latest commit from master branch sample ./kvsWebrtcClientMaster code Crash #693

Closed
shiv50084 opened this issue Aug 10, 2020 · 7 comments · Fixed by #698
Closed
Assignees
Labels
bug Something isn't working

Comments

@shiv50084
Copy link

Describe the bug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KVS Master] Using trickleICE by default
[KVS Master] Created signaling channel myChannel
[KVS Master] Finished setting audio and video handlers
[KVS Master] Checked sample video frame availability....available
[KVS Master] Checked sample audio frame availability....available
[New Thread 0x7ffff60c6700 (LWP 23502)]
[New Thread 0x7ffff58c5700 (LWP 23503)]
[New Thread 0x7ffff50c4700 (LWP 23504)]
[New Thread 0x7ffff48c3700 (LWP 23505)]
[KVS Master] KVS WebRTC initialization completed successfully
2020-08-10 20:40:29 INFO createSignalingClientSync(): Creating Signaling Client Sync
2020-08-10 20:40:29 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 21
[New Thread 0x7fffeffff700 (LWP 23506)]
2020-08-10 20:40:29 VERBOSE signalingClientStateChanged(): Signaling client state changed to 1 - 'New'
2020-08-10 20:40:29 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2020-08-10 20:40:29 VERBOSE signalingClientStateChanged(): Signaling client state changed to 2 - 'Get Security Credentials'
2020-08-10 20:40:29 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000004
2020-08-10 20:40:29 VERBOSE signalingClientStateChanged(): Signaling client state changed to 3 - 'Describe Channel'
2020-08-10 20:40:29 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000004, Next state: 0x0000000000000010
2020-08-10 20:40:29 VERBOSE signalingClientStateChanged(): Signaling client state changed to 5 - 'Get Channel Endpoint'
2020-08-10 20:40:29 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000020
2020-08-10 20:40:29 VERBOSE signalingClientStateChanged(): Signaling client state changed to 6 - 'Get ICE Server Configuration'
2020-08-10 20:40:29 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000020, Next state: 0x0000000000000040
2020-08-10 20:40:29 VERBOSE signalingClientStateChanged(): Signaling client state changed to 7 - 'Ready'
[KVS Master] Signaling client created successfully
2020-08-10 20:40:29 INFO signalingClientConnectSync(): Signaling Client Connect Sync
2020-08-10 20:40:29 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000040, Next state: 0x0000000000000080
2020-08-10 20:40:29 VERBOSE signalingClientStateChanged(): Signaling client state changed to 8 - 'Connecting'
[New Thread 0x7fffef7fe700 (LWP 23507)]
2020-08-10 20:40:29 VERBOSE lwsCompleteSync(): Perform secure synchronous call for URL: wss://m-3bffc0cd.kinesisvideo.ap-south-1.amazonaws.com?X-Amz-ChannelARN=arn:aws:kinesisvideo:ap-south-1:781053068706:channel/myChannel/1596801545881
2020-08-10 20:40:29 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 27
2020-08-10 20:40:29 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 27
2020-08-10 20:40:29 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 85
2020-08-10 20:40:29 DEBUG refreshIceConfigurationCallback(): Refreshing the ICE Server Configuration
2020-08-10 20:40:31 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 29
2020-08-10 20:40:31 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 19
2020-08-10 20:40:31 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 31
2020-08-10 20:40:31 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 71
2020-08-10 20:40:31 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 71
2020-08-10 20:40:31 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2020-08-10 20:40:31 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2020-08-10 20:40:31 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2020-08-10 20:40:31 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2020-08-10 20:40:31 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 24
2020-08-10 20:40:31 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 2
2020-08-10 20:40:31 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 3
2020-08-10 20:40:31 DEBUG lwsWssCallbackRoutine(): Connection established
2020-08-10 20:40:31 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000080, Next state: 0x0000000000000020
2020-08-10 20:40:31 VERBOSE signalingClientStateChanged(): Signaling client state changed to 6 - 'Get ICE Server Configuration'
2020-08-10 20:40:31 VERBOSE lwsCompleteSync(): Perform secure synchronous call for URL: https://r-2168f5b4.kinesisvideo.ap-south-1.amazonaws.com/v1/get-ice-server-config
2020-08-10 20:40:31 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 85
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 29
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 19
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 71
2020-08-10 20:40:32 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 71
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 58
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 24
2020-08-10 20:40:32 DEBUG lwsHttpCallbackRoutine(): Client append handshake header

2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): Appending header - Authorization: AWS4-HMAC-SHA256 Credential=AKIAIA7TUST754JITWGA/20200810/ap-south-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=f7c8fae129d0c8a0a239b34d042cbeaaa018ab5c9ad70c847e0db9b4ed669613
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): Appending header - content-length: 148
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): Appending header - content-type: application/json
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): Appending header - user-agent: AWS-SDK-KVS/3.0.0 GCC/5.4.0 Linux/4.4.0-177-generic x86_64
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): Appending header - X-Amz-Date: 20200810T204031Z
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 57
2020-08-10 20:40:32 DEBUG lwsHttpCallbackRoutine(): Sending the body {
"ChannelARN": "arn:aws:kinesisvideo:ap-south-1:781053068706:channel/myChannel/1596801545881",
"ClientId": "ProducerMaster",
"Service": "TURN"
}, size 148
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 2
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 44
2020-08-10 20:40:32 DEBUG lwsHttpCallbackRoutine(): Connected with server response: 200
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 46
2020-08-10 20:40:32 DEBUG lwsHttpCallbackRoutine(): Received client http
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 48
2020-08-10 20:40:32 DEBUG lwsHttpCallbackRoutine(): Received client http read: 966 bytes
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 47
2020-08-10 20:40:32 DEBUG lwsHttpCallbackRoutine(): Http client completed
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 45
2020-08-10 20:40:32 DEBUG lwsHttpCallbackRoutine(): Client http closed
2020-08-10 20:40:32 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 30
2020-08-10 20:40:32 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000020, Next state: 0x0000000000000040
2020-08-10 20:40:32 VERBOSE signalingClientStateChanged(): Signaling client state changed to 7 - 'Ready'
2020-08-10 20:40:32 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000040, Next state: 0x0000000000000080
2020-08-10 20:40:32 VERBOSE signalingClientStateChanged(): Signaling client state changed to 8 - 'Connecting'
2020-08-10 20:40:32 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000080, Next state: 0x0000000000000100
2020-08-10 20:40:32 VERBOSE signalingClientStateChanged(): Signaling client state changed to 9 - 'Connected'
[KVS Master] Signaling client connection to socket established
[KVS Master] Channel myChannel set up done
2020-08-10 20:40:37 VERBOSE signalingClientGetCurrentState(): Signaling Client Get Current State
2020-08-10 20:40:41 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:41 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:42 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 9
2020-08-10 20:40:42 VERBOSE signalingClientGetCurrentState(): Signaling Client Get Current State
2020-08-10 20:40:47 VERBOSE signalingClientGetCurrentState(): Signaling Client Get Current State
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6MTc3ODA4OTUxIDEgdWRwIDIxMjE5OTgwNzkgMTkyLjE2OC40My4xNzUgNjUzNjIgdHlwIGhvc3QgZ2VuZXJhdGlvbiAwIHVmcmFnIHRoR1YgbmV0d29yay1pZCAyIG5ldHdvcmstY29zdCAxMCIsInNkcE1pZCI6IjAiLCJzZHBNTGluZUluZGV4IjowfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffee9c9700 (LWP 23508)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6Mjk5OTc0NTg1MSAxIHVkcCAyMTIyMjYwMjIzIDE5Mi4xNjguNTYuMSA2NTM1OCB0eXAgaG9zdCBnZW5lcmF0aW9uIDAgdWZyYWcgdGhHViBuZXR3b3JrLWlkIDEiLCJzZHBNaWQiOiIwIiwic2RwTUxpbmVJbmRleCI6MH0=","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
2020-08-10 20:40:51 DEBUG masterMessageReceived(): Creating new streaming session for peer B2Z1KS8H35N
2020-08-10 20:40:51 INFO signalingClientGetIceConfigInfoCount(): Signaling Client Get ICE Config Info Count
2020-08-10 20:40:51 INFO signalingClientGetIceConfigInfo(): Signaling Client Get ICE Config Info
[New Thread 0x7fffee1c8700 (LWP 23509)]
[New Thread 0x7fffed9c7700 (LWP 23510)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJ0eXBlIjoib2ZmZXIiLCJzZHAiOiJ2PTBcclxubz0tIDUyMjQ0ODMxOTU3OTM3NjI0MDggMiBJTiBJUDQgMTI3LjAuMC4xXHJc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mlldGYub3JnL2lkL2RyYWZ0LWhvbG1lci1ybWNhdC10cmFuc3BvcnQtd2lkZS1jYy1leHRlbnNpb25zLTAxXHJcbmE9ZXh0bWFwOjEyIGh0dHA6Ly93d3cud2VicnRjLm9yZy9leHBlcmltZW50cy9ydHAtaGRyZXh0L3BsYXlvdXQtZGVsYXlcclxuYT1leHRtYXA6MTEgaHR0cDovL3d3dy53ZWJydGMub3JnL2V4cGVyaW1lbnRzL3J0cC1oZHJleHQvdmlkZW8tY29udGVudC10eXBlXHJcbmE9ZXh0bWFwOjcgaHR0cDovL3d3dy53ZWJydGMub3JnL2V4cGVyaW1lbnRzL3J0cC1oZHJleHQvdmlkZW8tdGltaW5nXHJcbmE9ZXh0bWFwOjggaHR0cDovL3Rvb2xzLmlldGYub3JnL2h0bWwvZHJhZnQtaWV0Zi1hdnRleHQtZnJhbWVtYXJraW5nLTA3XHJcbmE9ZXh0bWFwOjkgaHR0cDovL3d3dy53ZWJydGMub3JnL2V4cGVyaW1lbnRzL3J0cC1oZHJleHQvY29sb3Itc3BhY2VcclxuYT1leHRtYXA6NCB1cm46aWV0ZjpwYXJhbXM6cnRwLWhkcmV4dDpzZGVzOm1pZFxyXG5hPWV4dG1hcDo1IHVybjppZXRmOnBhcmFtczpydHAtaGRyZXh0OnNkZXM6cnRwLXN0cmVhbS1pZFxyXG5hPWV4dG1hcDo2IHVybjppZXRmOnBhcmFtczpydHAtaGRyZXh0OnNkZXM6cmVwYWlyZWQtcnRwLXN0cmVhbS1pZFxyX
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive G5hPXJlY3Zvbmx5XHJcbmE9cnRjcC1tdXhcclxuYT1ydGNwLXJzaXplXHJcbmE9cnRwbWFwOjk2IFZQOC85MDAwMFxyXG5hPXJ0Y3AtZmI6OTYgZ29vZy1yZW1iXHJcbmE9cnRjcC1mYjo5NiB0cmFuc3BvcnQtY2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IHJlZC85MDAwMFxyXG5hPXJ0cG1hcDoxMTUgcnR4LzkwMDAwXHJcbmE9Zm10cDoxMTUgYXB0PTExNFxyXG5hPXJ0cG1hcDoxMTYgdWxwZmVjLzkwMDAwXHJcbiJ9","messageType":"SDP_OFFER","senderClientId":"B2Z1KS8H35N"}
2020-08-10 20:40:51 DEBUG iceAgentValidateKvsRtcConfig():
iceLocalCandidateGatheringTimeout: 10000 ms
iceConnectionCheckTimeout: 10000 ms
iceCandidateNominationTimeout: 10000 ms
iceConnectionCheckPollingInterval: 50 ms
[New Thread 0x7fffed1c6700 (LWP 23511)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6MzczNzY3NDcwMSAxIHVkcCAyMTIyMDY2MTc1IDI0MDI6M2E4MDo5ZDI6NzlkNDpiNGY3OmMzYTphMDVjOmIxZjkgNjUzNjEgdHlwIGhvc3QgZ2VuZXJhdGlvbiAwIHVmcmFnIHRoR1YgbmV0d29yay1pZCA0IG5ldHdvcmstY29zdCAxMCIsInNkcE1pZCI6IjAiLCJzZHBNTGluZUluZGV4IjowfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffec9c5700 (LWP 23512)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6Mjk0NzgyMjE4MCAxIHVkcCAyMTIyMTMxNzExIDI0MDI6M2E4MDo5ZDI6NzlkNDozOTA0OmJiNWQ6Mzk5ZjplMTRiIDY1MzY1IHR5cCBob3N0IGdlbmVyYXRpb24gMCB1ZnJhZyB0aEdWIG5ldHdvcmstaWQgMyBuZXR3b3JrLWNvc3QgMTAiLCJzZHBNaWQiOiIxIiwic2RwTUxpbmVJbmRleCI6MX0=","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffe3fff700 (LWP 23513)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6NzcxNDIyMjEgMSB1ZHAgMjEyMjE5NDY4NyAxOTIuMTY4LjEzNy4xIDY1MzU5IHR5cCBob3N0IGdlbmVyYXRpb24gMCB1ZnJhZyB0aEdWIG5ldHdvcmstaWQgNSIsInNkcE1pZCI6IjAiLCJzZHBNTGluZUluZGV4IjowfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffe37fe700 (LWP 23514)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6Mjk5OTc0NTg1MSAxIHVkcCAyMTIyMjYwMjIzIDE5Mi4xNjguNTYuMSA2NTM2MyB0eXAgaG9zdCBnZW5lcmF0aW9uIDAgdWZyYWcgdGhHViBuZXR3b3JrLWlkIDEiLCJzZHBNaWQiOiIxIiwic2RwTUxpbmVJbmRleCI6MX0=","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffe2ffd700 (LWP 23515)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6Mjk0NzgyMjE4MCAxIHVkcCAyMTIyMTMxNzExIDI0MDI6M2E4MDo5ZDI6NzlkNDozOTA0OmJiNWQ6Mzk5ZjplMTRiIDY1MzYwIHR5cCBob3N0IGdlbmVyYXRpb24gMCB1ZnJhZyB0aEdWIG5ldHdvcmstaWQgMyBuZXR3b3JrLWNvc3QgMTAiLCJzZHBNaWQiOiIwIiwic2RwTUxpbmVJbmRleCI6MH0=","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffe27fc700 (LWP 23516)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6MTc3ODA4OTUxIDEgdWRwIDIxMjE5OTgwNzkgMTkyLjE2OC40My4xNzUgNjUzNjcgdHlwIGhvc3QgZ2VuZXJhdGlvbiAwIHVmcmFnIHRoR1YgbmV0d29yay1pZCAyIG5ldHdvcmstY29zdCAxMCIsInNkcE1pZCI6IjEiLCJzZHBNTGluZUluZGV4IjoxfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffe1ffb700 (LWP 23517)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6NzcxNDIyMjEgMSB1ZHAgMjEyMjE5NDY4NyAxOTIuMTY4LjEzNy4xIDY1MzY0IHR5cCBob3N0IGdlbmVyYXRpb24gMCB1ZnJhZyB0aEdWIG5ldHdvcmstaWQgNSIsInNkcE1pZCI6IjEiLCJzZHBNTGluZUluZGV4IjoxfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffe17fa700 (LWP 23518)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6MzczNzY3NDcwMSAxIHVkcCAyMTIyMDY2MTc1IDI0MDI6M2E4MDo5ZDI6NzlkNDpiNGY3OmMzYTphMDVjOmIxZjkgNjUzNjYgdHlwIGhvc3QgZ2VuZXJhdGlvbiAwIHVmcmFnIHRoR1YgbmV0d29yay1pZCA0IG5ldHdvcmstY29zdCAxMCIsInNkcE1pZCI6IjEiLCJzZHBNTGluZUluZGV4IjoxfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffe0ff9700 (LWP 23519)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6Mzc3ODUzMDk2NCAxIHRjcCAxNTE4MTUxOTM1IDI0MDI6M2E4MDo5ZDI6NzlkNDozOTA0OmJiNWQ6Mzk5ZjplMTRiIDkgdHlwIGhvc3QgdGNwdHlwZSBhY3RpdmUgZ2VuZXJhdGlvbiAwIHVmcmFnIHRoR1YgbmV0d29yay1pZCAzIG5ldHdvcmstY29zdCAxMCIsInNkcE1pZCI6IjAiLCJzZHBNTGluZUluZGV4IjowfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffdbfff700 (LWP 23520)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6MTI0MzI3NjM0OSAxIHRjcCAxNTE4MjE0OTExIDE5Mi4xNjguMTM3LjEgOSB0eXAgaG9zdCB0Y3B0eXBlIGFjdGl2ZSBnZW5lcmF0aW9uIDAgdWZyYWcgdGhHViBuZXR3b3JrLWlkIDUiLCJzZHBNaWQiOiIwIiwic2RwTUxpbmVJbmRleCI6MH0=","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffdb7fe700 (LWP 23521)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6MjQyMDg3NTA2OSAxIHRjcCAxNTE4MDg2Mzk5IDI0MDI6M2E4MDo5ZDI6NzlkNDpiNGY3OmMzYTphMDVjOmIxZjkgOSB0eXAgaG9zdCB0Y3B0eXBlIGFjdGl2ZSBnZW5lcmF0aW9uIDAgdWZyYWcgdGhHViBuZXR3b3JrLWlkIDQgbmV0d29yay1jb3N0IDEwIiwic2RwTWlkIjoiMSIsInNkcE1MaW5lSW5kZXgiOjF9","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffdaffd700 (LWP 23522)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6NDIzMzA2OTAwMyAxIHRjcCAxNTE4MjgwNDQ3IDE5Mi4xNjguNTYuMSA5IHR5cCBob3N0IHRjcHR5cGUgYWN0aXZlIGdlbmVyYXRpb24gMCB1ZnJhZyB0aEdWIG5ldHdvcmstaWQgMSIsInNkcE1pZCI6IjEiLCJzZHBNTGluZUluZGV4IjoxfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffda7fc700 (LWP 23523)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6MTE0MjYxMDYzMSAxIHRjcCAxNTE4MDE4MzAzIDE5Mi4xNjguNDMuMTc1IDkgdHlwIGhvc3QgdGNwdHlwZSBhY3RpdmUgZ2VuZXJhdGlvbiAwIHVmcmFnIHRoR1YgbmV0d29yay1pZCAyIG5ldHdvcmstY29zdCAxMCIsInNkcE1pZCI6IjAiLCJzZHBNTGluZUluZGV4IjowfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffd9ffb700 (LWP 23524)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6MTE0MjYxMDYzMSAxIHRjcCAxNTE4MDE4MzAzIDE5Mi4xNjguNDMuMTc1IDkgdHlwIGhvc3QgdGNwdHlwZSBhY3RpdmUgZ2VuZXJhdGlvbiAwIHVmcmFnIHRoR1YgbmV0d29yay1pZCAyIG5ldHdvcmstY29zdCAxMCIsInNkcE1pZCI6IjEiLCJzZHBNTGluZUluZGV4IjoxfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffd97fa700 (LWP 23525)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6Mzc3ODUzMDk2NCAxIHRjcCAxNTE4MTUxOTM1IDI0MDI6M2E4MDo5ZDI6NzlkNDozOTA0OmJiNWQ6Mzk5ZjplMTRiIDkgdHlwIGhvc3QgdGNwdHlwZSBhY3RpdmUgZ2VuZXJhdGlvbiAwIHVmcmFnIHRoR1YgbmV0d29yay1pZCAzIG5ldHdvcmstY29zdCAxMCIsInNkcE1pZCI6IjEiLCJzZHBNTGluZUluZGV4IjoxfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffd8ff9700 (LWP 23526)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6MjQyMDg3NTA2OSAxIHRjcCAxNTE4MDg2Mzk5IDI0MDI6M2E4MDo5ZDI6NzlkNDpiNGY3OmMzYTphMDVjOmIxZjkgOSB0eXAgaG9zdCB0Y3B0eXBlIGFjdGl2ZSBnZW5lcmF0aW9uIDAgdWZyYWcgdGhHViBuZXR3b3JrLWlkIDQgbmV0d29yay1jb3N0IDEwIiwic2RwTWlkIjoiMCIsInNkcE1MaW5lSW5kZXgiOjB9","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffd87f8700 (LWP 23527)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6MTI0MzI3NjM0OSAxIHRjcCAxNTE4MjE0OTExIDE5Mi4xNjguMTM3LjEgOSB0eXAgaG9zdCB0Y3B0eXBlIGFjdGl2ZSBnZW5lcmF0aW9uIDAgdWZyYWcgdGhHViBuZXR3b3JrLWlkIDUiLCJzZHBNaWQiOiIxIiwic2RwTUxpbmVJbmRleCI6MX0=","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffd7ff7700 (LWP 23528)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 8
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client receive {"messagePayload":"eyJjYW5kaWRhdGUiOiJjYW5kaWRhdGU6NDIzMzA2OTAwMyAxIHRjcCAxNTE4MjgwNDQ3IDE5Mi4xNjguNTYuMSA5IHR5cCBob3N0IHRjcHR5cGUgYWN0aXZlIGdlbmVyYXRpb24gMCB1ZnJhZyB0aEdWIG5ldHdvcmstaWQgMSIsInNkcE1pZCI6IjAiLCJzZHBNTGluZUluZGV4IjowfQ==","messageType":"ICE_CANDIDATE","senderClientId":"B2Z1KS8H35N"}
[New Thread 0x7fffd77f6700 (LWP 23529)]
2020-08-10 20:40:51 VERBOSE lwsWssCallbackRoutine(): WSS callback with reason 10
2020-08-10 20:40:51 DEBUG lwsWssCallbackRoutine(): Client is writable
2020-08-10 20:40:51 DEBUG iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: 35FVCJr5Y. Ip: 192.168.43.175:65362. Type: host. Protocol: UDP.
2020-08-10 20:40:51 DEBUG iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: /KCdsgAKW. Ip: 192.168.56.1:65358. Type: host. Protocol: UDP.
2020-08-10 20:40:51 DEBUG createSocket(): setsockopt() failed with errno Protocol not available
[Thread 0x7fffee1c8700 (LWP 23509) exited]
2020-08-10 20:40:51 DEBUG stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2020-08-10 20:40:51 DEBUG iceAgentCheckConnectionStateSetup(): ice candidate pair count 2
2020-08-10 20:40:51 DEBUG stepIceAgentStateMachine(): Ice agent state changed from ICE_AGENT_STATE_NONE to ICE_AGENT_STATE_CHECK_CONNECTION.
2020-08-10 20:40:51 INFO onConnectionStateChange(): New connection state 2
2020-08-10 20:40:51 DEBUG createSocket(): setsockopt() failed with errno Protocol not available
2020-08-10 20:40:51 DEBUG createSocket(): setsockopt() failed with errno Protocol not available
[Thread 0x7fffee9c9700 (LWP 23508) exited]
2020-08-10 20:40:51 DEBUG createSocket(): setsockopt() failed with errno Protocol not available
2020-08-10 20:40:51 DEBUG createSocket(): setsockopt() failed with errno Protocol not available
2020-08-10 20:40:51 DEBUG createSocket(): setsockopt() failed with errno Protocol not available
2020-08-10 20:40:51 DEBUG createSocket(): setsockopt() failed with errno Protocol not available
2020-08-10 20:40:51 ERROR iceAgentInitRelayCandidate(): operation returned status code: 0x00000002
2020-08-10 20:40:51 ERROR iceAgentInitRelayCandidates(): operation returned status code: 0x00000002
2020-08-10 20:40:51 ERROR iceAgentStartGathering(): operation returned status code: 0x00000002
2020-08-10 20:40:51 ERROR handleOffer(): operation returned status code: 0x00000002
2020-08-10 20:40:51 DEBUG iceAgentLogNewCandidate(): New remote ice candidate discovered. Id: b3VKHxTVg. Ip: 2402:3a80:09d2:79d4:b4f7:0c3a:a05c:b1f9:65361. Type: host. Protocol: UDP.
kvsWebrtcClientMaster: /home/shiv/project/kent/amazon-kinesis-video-streams-webrtc-sdk-c/src/source/Ice/TurnConnection.c:620: turnConnectionAddPeer: Assertion `0' failed.
2020-08-10 20:40:51 ERROR receiveLwsMessageWrapper(): operation returned status code: 0x00000002
[Thread 0x7fffed1c6700 (LWP 23511) exited]

Thread 12 "kvsWebrtcClient" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffec9c5700 (LWP 23512)]
0x00007ffff75c7438 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff75c7438 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff75c903a in __GI_abort () at abort.c:89
#2 0x00007ffff75bfbe7 in __assert_fail_base (fmt=, assertion=assertion@entry=0x7ffff7bcc1b2 "0",
file=file@entry=0x7ffff7bcc150 "/home/shiv/project/kent/amazon-kinesis-video-streams-webrtc-sdk-c/src/source/Ice/TurnConnection.c", line=line@entry=620,
function=function@entry=0x7ffff7bcc7d0 <PRETTY_FUNCTION.32335> "turnConnectionAddPeer") at assert.c:92
#3 0x00007ffff75bfc92 in __GI___assert_fail (assertion=0x7ffff7bcc1b2 "0",
file=0x7ffff7bcc150 "/home/shiv/project/kent/amazon-kinesis-video-streams-webrtc-sdk-c/src/source/Ice/TurnConnection.c", line=620,
function=0x7ffff7bcc7d0 <PRETTY_FUNCTION.32335> "turnConnectionAddPeer") at assert.c:101
#4 0x00007ffff7ba8fb0 in turnConnectionAddPeer () from /home/shiv/project/kent/amazon-kinesis-video-streams-webrtc-sdk-c/build/libkvsWebrtcClient.so
#5 0x00007ffff7b9a41c in iceAgentAddRemoteCandidate () from /home/shiv/project/kent/amazon-kinesis-video-streams-webrtc-sdk-c/build/libkvsWebrtcClient.so
#6 0x00007ffff7bb11d3 in addIceCandidate () from /home/shiv/project/kent/amazon-kinesis-video-streams-webrtc-sdk-c/build/libkvsWebrtcClient.so
#7 0x00000000004057ef in handleRemoteCandidate ()
#8 0x0000000000403950 in masterMessageReceived ()
#9 0x00007ffff796dd6c in receiveLwsMessageWrapper () from /home/shiv/project/kent/amazon-kinesis-video-streams-webrtc-sdk-c/build/libkvsWebrtcSignalingClient.so
#10 0x00007ffff737c6ba in start_thread (arg=0x7fffec9c5700) at pthread_create.c:333
#11 0x00007ffff76994dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb)

SDK version number
with latest commit 148e0db

Open source building
If it is a build issue, include 3rd party library version and steps to how you are building it

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...' After compilation run sample ./kvsWebrtcClientMaster myChannel
  2. Click on '....' Start Viewer from then its crash
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@shiv50084 shiv50084 added the bug Something isn't working label Aug 10, 2020
@MushMal
Copy link
Contributor

MushMal commented Aug 10, 2020

Odd, seems that we are ending up with an IPv6 address which causes internal assertion in the code TurnConnection.c LN 620.

Need to look further into this.

@chehefen
Copy link
Contributor

can you tell us what application are you using to view?

@shiv50084
Copy link
Author

@shiv50084
Copy link
Author

@MushMal
Yes you are right When i am using Wifi Router which having IPv4 Public IP on that Its working Fine without any crash.
When i am using Mobile Network DATA to connect my camera and laptop . Its having IPv6 public IP. Its crash.

But even i am connecting through mobile network .Its should not crash. Its through some error without assert.

@MushMal
Copy link
Contributor

MushMal commented Aug 11, 2020

@shiv50084 you are absolutely correct, it shouldn't assert. What we need to understand is why we are hitting the IPv6 case in the TurnConnection in the first place as we are not expecting this. This is indeed a bug on the SDK side and we need to get to the bottom of this issue and fix. In this case, due to IPv6, it would fail to connect but certainly not assert with a following crash.

@shiv50084
Copy link
Author

@MushMal Can you please let me know when we (your team and our team) fix this issue?

And when we support IPv6 for this SDK.

As in normal condition if end user not having proper internet connection through ISP provider then they use mobile data network to connect their devices.
So in that condition we are failing here to implement webrtc in our device.

@MushMal
Copy link
Contributor

MushMal commented Aug 11, 2020

We are using public open-source development model so all of the progress is done via GitHub. You can certainly monitor the progress here.

This said, you have two questions:

  1. Assert that is the root cause of the crash
  2. IPv6 support

N1 is what we will need to fix as a follow-up to this issue. This is the case that for some reason we end up with attempting to use TURN with IPv6 whereas if this is the only connection available we should actually fail the connection.

N2 is a lot deeper discussion to support IPv6 across the board in AWS. This issue will not be addressing it.

P.S. We would love any contribution from the developer community to the codebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants