You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.
What steps will reproduce the problem?
1. w/ latest IMSDroid code, I toggle registration off & on
2. intermittently I get socket errors, see debug trace below
What is the expected output?
No socket errors
What do you see instead?
Just toggling registration, no changes in cellular or WLAN data coverage (WiFi,
3G or HSPA+). The problem can occur both on WiFi or cellular data. Then
inexplicably register/deregister will start working again.
What version of the product are you using? On what operating system?
Latest version IMSDroid, latest version of Doubango compiled with NEON=yes (I
am using my own build of Doubango stack, will go back and try the public
version checked into SVN)
Please provide any additional information below.
Here are 2 traces, I am happy to provide my tinyWrap.so build, if that would
help isolate. It seems like the network connectivity state is related.
01-25 12:01:18.676: ERROR/tinyWRAP(5327): ***ERROR: function:
"tnet_get_ip_n_port()"
01-25 12:01:18.676: ERROR/tinyWRAP(5327): file: "src/tnet_utils.c"
01-25 12:01:18.676: ERROR/tinyWRAP(5327): line: "920"
01-25 12:01:18.676: ERROR/tinyWRAP(5327): MSG: TNET_GET_SOCKADDR has failed
with status code: -1
01-25 12:01:18.676: ERROR/tinyWRAP(5327): ***ERROR: function:
"tnet_transport_sendto()"
01-25 12:01:18.676: ERROR/tinyWRAP(5327): file: "src/tnet_transport_poll.c"
01-25 12:01:18.676: ERROR/tinyWRAP(5327): line: "241"
01-25 12:01:18.676: ERROR/tinyWRAP(5327): MSG: sendto have failed.
01-25 12:01:18.676: ERROR/tinyWRAP(5327): ***ERROR: function:
"tnet_transport_sendto()"
01-25 12:01:18.676: ERROR/tinyWRAP(5327): file: "src/tnet_transport_poll.c"
01-25 12:01:18.676: ERROR/tinyWRAP(5327): line: "241"
01-25 12:01:18.676: ERROR/tinyWRAP(5327): MSG: (SYSTEM)NETWORK ERROR ==>Socket
operation on non-socket
01-25 12:01:18.725: ERROR/tinyWRAP(5327): ***ERROR: function:
"tnet_get_ip_n_port()"
01-25 12:01:18.725: ERROR/tinyWRAP(5327): file: "src/tnet_utils.c"
01-25 12:01:18.725: ERROR/tinyWRAP(5327): line: "920"
01-25 12:01:18.725: ERROR/tinyWRAP(5327): MSG: TNET_GET_SOCKADDR has failed
with status code: -1
01-25 12:01:18.725: ERROR/tinyWRAP(5327): ***ERROR: function:
"tnet_transport_sendto()"
01-25 12:01:18.725: ERROR/tinyWRAP(5327): file: "src/tnet_transport_poll.c"
01-25 12:01:18.725: ERROR/tinyWRAP(5327): line: "241"
01-25 12:01:18.725: ERROR/tinyWRAP(5327): MSG: sendto have failed.
01-25 12:01:18.725: ERROR/tinyWRAP(5327): ***ERROR: function:
"tnet_transport_sendto()"
01-25 12:01:18.725: ERROR/tinyWRAP(5327): file: "src/tnet_transport_poll.c"
01-25 12:01:18.725: ERROR/tinyWRAP(5327): line: "241"
01-25 12:01:18.725: ERROR/tinyWRAP(5327): MSG: (SYSTEM)NETWORK ERROR ==>Socket
operation on non-socket
I did add some more trace to get the value of socket file descriptor. Here is
what the trace outputs now:
02-04 02:09:01.478: ERROR/tinyWRAP(3084): ***ERROR: function:
"tnet_get_ip_n_port()"
02-04 02:09:01.478: ERROR/tinyWRAP(3084): file: "src/tnet_utils.c"
02-04 02:09:01.478: ERROR/tinyWRAP(3084): line: "924"
02-04 02:09:01.478: ERROR/tinyWRAP(3084): MSG: TNET_GET_SOCKADDR has failed
with status code: -1, fd = 45
02-04 02:09:01.478: ERROR/tinyWRAP(3084): ***ERROR: function:
"tnet_transport_sendto()"
02-04 02:09:01.478: ERROR/tinyWRAP(3084): file: "src/tnet_transport_poll.c"
02-04 02:09:01.478: ERROR/tinyWRAP(3084): line: "241"
02-04 02:09:01.478: ERROR/tinyWRAP(3084): MSG: sendto have failed.
02-04 02:09:01.478: ERROR/tinyWRAP(3084): ***ERROR: function:
"tnet_transport_sendto()"
02-04 02:09:01.478: ERROR/tinyWRAP(3084): file: "src/tnet_transport_poll.c"
02-04 02:09:01.478: ERROR/tinyWRAP(3084): line: "241"
02-04 02:09:01.478: ERROR/tinyWRAP(3084): MSG: (SYSTEM)NETWORK ERROR ==>Bad
file number
02-04 02:09:01.521: ERROR/tinyWRAP(3084): ***ERROR: function:
"tnet_get_ip_n_port()"
02-04 02:09:01.521: ERROR/tinyWRAP(3084): file: "src/tnet_utils.c"
02-04 02:09:01.521: ERROR/tinyWRAP(3084): line: "924"
02-04 02:09:01.521: ERROR/tinyWRAP(3084): MSG: TNET_GET_SOCKADDR has failed
with status code: -1, fd = 45
02-04 02:09:01.521: ERROR/tinyWRAP(3084): ***ERROR: function:
"tnet_transport_sendto()"
02-04 02:09:01.521: ERROR/tinyWRAP(3084): file: "src/tnet_transport_poll.c"
02-04 02:09:01.521: ERROR/tinyWRAP(3084): line: "241"
02-04 02:09:01.521: ERROR/tinyWRAP(3084): MSG: sendto have failed.
02-04 02:09:01.523: ERROR/tinyWRAP(3084): ***ERROR: function:
"tnet_transport_sendto()"
02-04 02:09:01.523: ERROR/tinyWRAP(3084): file: "src/tnet_transport_poll.c"
02-04 02:09:01.523: ERROR/tinyWRAP(3084): line: "241"
02-04 02:09:01.523: ERROR/tinyWRAP(3084): MSG: (SYSTEM)NETWORK ERROR ==>Bad
file number
Original issue reported on code.google.com by [email protected] on 4 Feb 2011 at 7:27
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 4 Feb 2011 at 7:27The text was updated successfully, but these errors were encountered: