cxueqin / idoubs

Automatically exported from code.google.com/p/idoubs
0 stars 0 forks source link

STUN issue #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Enable stun function
2.Start idoubs app to register.
3.Register failed.

What is the expected output? What do you see instead?
register and un-register successfully

What version of the product are you using? On what operating system?
IOS4.2.1

Please provide any additional information below.
MSG: The FSM is in the final state.
*INFO: === NICT terminated ===
*INFO: *** REGISTER Dialog destroyed ***
*INFO: *** NICT destroyed ***
*INFO: STUN request got response
**WARN: function: "tnet_transport_mainthread()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "673" 
MSG: IOCTLT returned zero for fd=12
*INFO: Socket removed
***ERROR: function: "tnet_get_ip_n_port()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_utils.c" 
line: "920" 
MSG: TNET_GET_SOCKADDR has failed with status code: -1
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Bad file descriptor
***ERROR: function: "tnet_get_ip_n_port()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_utils.c" 
line: "920" 
MSG: TNET_GET_SOCKADDR has failed with status code: -1
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Bad file descriptor
***ERROR: function: "tnet_get_ip_n_port()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_utils.c" 
line: "920" 
MSG: TNET_GET_SOCKADDR has failed with status code: -1
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Bad file descriptor
***ERROR: function: "tnet_get_ip_n_port()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_utils.c" 
line: "920" 
MSG: TNET_GET_SOCKADDR has failed with status code: -1
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Bad file descriptor
***ERROR: function: "tnet_get_ip_n_port()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_utils.c" 
line: "920" 
MSG: TNET_GET_SOCKADDR has failed with status code: -1
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Bad file descriptor
***ERROR: function: "tnet_get_ip_n_port()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_utils.c" 
line: "920" 
MSG: TNET_GET_SOCKADDR has failed with status code: -1
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Bad file descriptor
***ERROR: function: "tnet_get_ip_n_port()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_utils.c" 
line: "920" 
MSG: TNET_GET_SOCKADDR has failed with status code: -1
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Bad file descriptor
***ERROR: function: "tnet_get_ip_n_port()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_utils.c" 
line: "920" 
MSG: TNET_GET_SOCKADDR has failed with status code: -1
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Bad file descriptor
***ERROR: function: "tnet_get_ip_n_port()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_utils.c" 
line: "920" 
MSG: TNET_GET_SOCKADDR has failed with status code: -1
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Bad file descriptor
***ERROR: function: "tnet_get_ip_n_port()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_utils.c" 
line: "920" 
MSG: TNET_GET_SOCKADDR has failed with status code: -1
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: sendto have failed.
***ERROR: function: "tnet_transport_sendto()" 
file: 
"/Users/dt/work/Doubango_4_2/iPhone/../../doubango/tinyNET/src/tnet_transport_po
ll.c" 
line: "241" 
MSG: (SYSTEM)NETWORK ERROR ==>Bad file descriptor
*INFO: === REGISTER Dialog terminated ===
*INFO: == Shutting down - Phase-2 completed ==
*INFO: === NICT terminated ===
*INFO: *** REGISTER Dialog destroyed ***
*INFO: *** NICT destroyed ***
*INFO: Timer manager run()::exit
*INFO: TIMER MANAGER -- STOP
*INFO: Transport::run() - exit
*INFO: Stopping [SIP transport] server with IP {172.20.137.169} on port 
{65072}...
*INFO: Stopped [SIP transport] server with IP {172.20.137.169} on port {65072}
*INFO: Socket removed
*INFO: SIP STACK::run -- STOP
*INFO: SIP STACK -- STOP

Original issue reported on code.google.com by libin...@gmail.com on 14 May 2011 at 5:43

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 20 May 2011 at 3:54

GoogleCodeExporter commented 9 years ago
Please try iDoubs v2.x
For more information on how to build iDoubs v2.x: 
http://code.google.com/p/idoubs/wiki/Building_iDoubs_v2_x

Original comment by boss...@yahoo.fr on 4 Jun 2011 at 6:21

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 8 Jun 2012 at 11:27