Fixed : Local & Cloud (both): Segmentation Fault in libnice (used by erizoAgent) ... Happens only when we configure turn-server configuration

Hi,

I am facing below issue on cloud.

Logs from syslog

kernel: [ 3997.422832] node[11141]: segfault at 4 ip 00007fd655aeb9d0 sp 00007fd631fd7d58 error 4 in libnice.so.10.4.1[7fd655ae3000+3b000]

Logs from Licode

[erizo-9795a75b-5f39-bae4-e124-8336de9811fd] 2017-04-17 13:19:55.049 - INFO: ErizoJS - message: Started, erizoId: 9795a75b-5f39-bae4-e124-8336de9811fd
2017-04-17 13:19:55.086 - INFO: ErizoAgent - message: closed, erizoId: 80dd94c5-df10-5768-91d4-3633750dfd76
2017-04-17 13:20:14.613 - ERROR: RoomController - message: ErizoJS timed out will be removed, erizoId: 80dd94c5-df10-5768-91d4-3633750dfd76, publishersAffected: 1
2017-04-17 13:20:14.613 - WARN: ErizoController - message: Triggering removal of stream because of ErizoJS timeout, streamId: 359006540756075400
2017-04-17 13:20:14.614 - INFO: EcCloudHandler - message: deleting erizoJS, erizoId: 80dd94c5-df10-5768-91d4-3633750dfd76
2017-04-17 13:20:14.649 - INFO: RoomController - message: removePublisher, publisherId: 359006540756075400, erizoId: ErizoJS_80dd94c5-df10-5768-91d4-3633750dfd76
2017-04-17 13:20:14.649 - WARN: RoomController - message: removePublisher was already removed, publisherId: 359006540756075400, erizoId: ErizoJS_80dd94c5-df10-5768-91d4-3633750dfd76
2017-04-17 13:20:14.660 - INFO: ErizoController - message: Socket disconnect, clientId: ZL75vs9S522Efg4VAAAA
2017-04-17 13:20:14.660 - INFO: RoomController - message: removeSubscriptions, clientId: ZL75vs9S522Efg4VAAAA
2017-04-17 13:20:19.716 - INFO: TokensResource - message: createToken success, roomId: 58f4c0f961c5093995387f7f, serviceId: 58ef284043bbbdfc3c7c345d
2017-04-17 13:20:19.807 - INFO: ErizoController - message: erizoClient connected, clientId: GHBSF_4cvkkB07RlAAAB
2017-04-17 13:20:19.920 - INFO: ErizoController - message: addPublisher requested, streamId: 116965940604645260, clientId: GHBSF_4cvkkB07RlAAAB, state: erizo, data: true, audio: true, video: false, minVideoBW: 0, attributes: [Object], name: audio-1, type: public

Any Idea guys?

Thanks,
Hemanth

No one is facing this issue on Ubuntu 14.0.4 with turn-server configuration ?

Issue is fixed with yesterday’s code update.

Please find the working hash code details:
commit 0a0ebb1fbf2441427a7aea5fce5a29452f14eff0
Date: Wed Apr 19 11:28:22 2017 +0200

We need to ensure that master branch always works.
And thanks for the fix guys.

Thanks,
Hemanth

just to be sure:
before build the project you have to:
kill al node process (killall node)
since libnice was reverted to a previous version you have to:
cd build/libdeps
rm -R ./libnice*
cd /licode/scripts
./installUbuntuDeps.sh
./installErizo.sh
./initLicode.sh
./initBasicExample

in this way you have everything rebuilt and ready to test

Thanks for the information.