[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] Problem with Linphone 3.1.2 on Blackfin BF536
From: |
Cameron Barfield |
Subject: |
[Linphone-developers] Problem with Linphone 3.1.2 on Blackfin BF536 |
Date: |
Fri, 26 Jun 2009 09:02:58 -0700 |
User-agent: |
Thunderbird 2.0.0.4 (X11/20070604) |
Hi --
I cross posted this on the Blackfin forums, but I'm not entirely sure that this is a
Blackfin problem.
I'm running Linphone 3.1.2 on a BF536. Alsa v1.0.18, oSIP2 v3.2.0, eXosip
v3.2.0.
Everything works perfectly for 1,007 calls. Terminating the 1,007th call causes
some problems:
starting call 1006 Contacting sip:address@hidden
Connected.
ending call
Call ended
starting call 1007 Contacting sip:address@hidden
Connected.
ending call
libeXosip2-3.2.0/src/eXutils.c: setsockopt() failed in function
exosip_default_gatewy_ipv4()
DEBUG: [get_output_if] setsockopt(SOL_SOCKET, SO_BROADCAST: Bad file descriptor
exosip_default_gateway_ipv4 failed. returning -10 to caller
Call ended
starting call 1008 Contacting sip:address@hidden
Connected.
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
ending call
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to
open slave
Call ended
starting call 1009 Contacting sip:address@hidden
Connected.
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3974:(snd_config_expand) Args evaluate error: No
such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
ALSA lib ../../alsa-lib-1.0.18/src/conf.c:3497:(_snd_config_evaluate) Cannot open shared
library (null)
ALSA lib ../../alsa-lib-1.0.18/src/conf.cending call
libeXosip2-3.2.0/src/eXutils.c: setsockopt() failed in function
exosip_default_gatewy_ipv4()
:3974:(snd_config_expand) DEBUG: [get_output_if] setsockopt(SOL_SOCKET, SO_BROADCAST: Bad
file descriptor
exosip_default_gateway_ipv4 failed. returning -10 to caller
Args evaluate error: No such file or directory
ALSA lib ../../../alsa-lib-1.0.18/src/pcm/pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM
default
Call ended
That all goes on for a while, then:
starting call 1014 libeXosip2-3.2.0/src/eXutils.c: setsockopt() failed in function
exosip_default_gatewy_ipv4()
DEBUG: [get_output_if] setsockopt(SOL_SOCKET, SO_BROADCAST: Bad file descriptor
exosip_default_gateway_ipv4 failed. returning -10 to caller
libeXosip2-3.2.0/src/eXutils.c: setsockopt() failed in function
exosip_default_gatewy_ipv4()
DEBUG: [get_output_if] setsockopt(SOL_SOCKET, SO_BROADCAST: Bad file descriptor
exosip_default_gateway_ipv4 failed. returning -10 to caller
libeXosip2-3.2.0/src/eXutils.c: setsockopt() failed in function
exosip_default_gatewy_ipv4()
DEBUG: [get_output_if] setsockopt(SOL_SOCKET, SO_BROADCAST: Bad file descriptor
exosip_default_gateway_ipv4 failed. returning -10 to caller
ortp-error-Could not find default routable ip address !
linphone_core_get_local_ip() could not find default routable ip address
I added some printfs() to help track the problem. I added some code that would cause
Linphone to terminate if linphone_core_get_local_ip() failed. Before that, Linphone would
continue making calls successfully, but with no audio and all of the error messages above.
After terminating Linphone, sound no longer works at all. I used amixer to reset the mono
playback switch, master volume, PCM playback volume, etc. but sound does not work until I
reboot my board.
I'd originally suspected the path of the problem to be:
linphonec_main_loop()
linphone_core_invite()
linphone_call_new_outgoing()
linphone_core_get_local_ip()
exosip_guess_local_ip()
exosip_guess_ip_for_via()
exosip_default_gateway_ipv4()
setsockopt()
It looks like that path is hitting and failing, but it's not the start of the problem. I
find it quite odd that it always fails when terminating the 1,007th call and that Alsa and
the socket both go to lunch at the same time.
I'm going to try to get the same setup running on an x86 PC to see what the
results are.
- [Linphone-developers] Problem with Linphone 3.1.2 on Blackfin BF536,
Cameron Barfield <=