Hi Thiago,

On Mon, Nov 9, 2015 at 9:38 PM, Thiago Macieira
<thiago.macieira at intel.com> wrote:
> On Monday 09 November 2015 11:23:24 Iovene, Salvatore wrote:
>> D/IP_ADAP ( 6347): Send Multicast Data is called
>> D/IP_MONITOR( 6347): Got ifaddrs:: 10.10.15.41
>> E/IP_MONITOR( 6347): Added interface: wlan0 (2)
>> E/IP_SERVER( 6347): send IP_MULTICAST_IF failed: Bad file number (using
>> defualt) D/IP_SERVER( 6347): IN
>> E/IP_SERVER( 6347): multicast ipv4 sendTo failed: Bad file number
>> D/IP_ADAP ( 6347): OUT
>
> Can you run the application in strace? Or in gdb and stop at that "send
> IP_MULTICAST_IF failed" error message, give us the backtrace and the value of
> the file descriptor?

Kind of hard to get strace or gdb working on Android. The Iotivity
libraries are currently dynamically loaded when running Crosswalk. If
you have any clue about how to get gdb working in that scenario, it
would be a life safer :)

Regarding the file descriptor, here's its value on 5 consecutive runs:

D/IP_SERVER(27242): fd = 141
D/IP_SERVER(27747): fd = 129
D/IP_SERVER(27891): fd = 139
D/IP_SERVER(28079): fd = 139
D/IP_SERVER(28247): fd = 141

Any other tips?
Salvatore


-- 
Salvatore Iovene <salvatore.iovene at intel.com>
Linux Software Engineer
Intel Open Source Technology Center, Finland
Tel.: +358504804026

Reply via email to