lxdyy / rfc5766-turn-server

Automatically exported from code.google.com/p/rfc5766-turn-server
0 stars 0 forks source link

Segmentation fault #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launch turnserver with the parameters below (on Ubuntu 12.10, running on 
Azure)
2. Try to establish a WebRTC connection between two browsers ith Chrome 25.

What is the expected output? What do you see instead?
As soon as the browsers try to connect, the turnserver process exits with a 
"segmentation fault".

What version of the product are you using? On what operating system?
Version Citrix-1.6.1.2, newly built from the svn repo.

Please provide any additional information below.

Here's the log file:

Administrator@alantaux1:/usr/local/bin$ turnserver -r alanta.com -X 
168.61.73.72 --no-tls --no-dtls -a -b turnuserdb.co
nf -f -u alanta@alanta.com:password -v
RFC 5389/5766/6062/6156 STUN/TURN Server, version Citrix-1.6.1.2 'Whirrun'
File found: ../etc/turnserver.conf
File found: ../etc/turnserver.conf
File found: ../etc/turnuserdb.conf
===========Discovering listener addresses: =========
Listener address to use: 127.0.0.1
Listener address to use: 100.68.58.111
Listener address to use: ::1
=====================================================
===========Discovering relay addresses: =============
Relay address to use: 100.68.58.111
=====================================================
IO method (listener thread): epoll
create_server_socket:209:start

IPv4. UDP listener opened on : 127.0.0.1:3478
create_server_socket:243:end
create_server_socket:209:start

IPv4. UDP listener opened on : 127.0.0.1:3479
create_server_socket:243:end
create_server_listener:130:start

IPv4. TCP listener opened on : 127.0.0.1:3478
create_server_listener:168:end
create_server_listener:130:start

IPv4. TCP listener opened on : 127.0.0.1:3479
create_server_listener:168:end
create_server_socket:209:start

IPv4. UDP listener opened on : 100.68.58.111:3478
create_server_socket:243:end
create_server_socket:209:start

IPv4. UDP listener opened on : 100.68.58.111:3479
create_server_socket:243:end
create_server_listener:130:start

IPv4. TCP listener opened on : 100.68.58.111:3478
create_server_listener:168:end
create_server_listener:130:start

IPv4. TCP listener opened on : 100.68.58.111:3479
create_server_listener:168:end
create_server_socket:209:start

IPv6. UDP listener opened on : ::1:3478
create_server_socket:243:end
create_server_socket:209:start

IPv6. UDP listener opened on : ::1:3479
create_server_socket:243:end
create_server_listener:130:start

IPv6. TCP listener opened on : ::1:3478
create_server_listener:168:end
create_server_listener:130:start

IPv6. TCP listener opened on : ::1:3479
create_server_listener:168:end
IO method (auth thread): epoll
run_listener_server: cycle=1, stats=0
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x162b740: rtcp_map_timeout_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x162b740: rtcp_map_timeout_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x162b740: rtcp_map_timeout_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x162b740: rtcp_map_timeout_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x162b740: rtcp_map_timeout_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x162b740: rtcp_map_timeout_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x162b740: rtcp_map_timeout_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x16268f0: timer_handler
timer_event_handler: timeout 0x162b740: rtcp_map_timeout_handler
timer_event_handler: timeout 0x16268f0: timer_handler
server_input_handler:76:start
open_client_connection_socket:161:start
open_client_connection_socket: AF: 2:2
Binding socket 24 to addr

IPv4. Bind to: 100.68.58.111:3478

IPv4. UDP connected to: 98.247.37.95:59370
open_client_connection_socket:202:end
Segmentation fault (core dumped)

Please let me know if I can do anything to provide troubleshooting help.

Original issue reported on code.google.com by smithk...@gmail.com on 22 Mar 2013 at 3:43

GoogleCodeExporter commented 8 years ago
Indeed this problem was present in 1.6.1.2 and 1.6.1.1, but it was fixed in 
1.6.1.3. Please download the newer version.

Original comment by mom040...@gmail.com on 22 Mar 2013 at 3:48

GoogleCodeExporter commented 8 years ago

Original comment by mom040...@gmail.com on 22 Mar 2013 at 3:48

GoogleCodeExporter commented 8 years ago

Original comment by mom040...@gmail.com on 27 Mar 2013 at 9:56