/usr/lib/sflphone/sflphoned core dumps: "yamlnode.cpp:143: node codecs not found"

Bug #1297401 reported by Andres Gomez (Tanty)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sflphone (Ubuntu)
New
Undecided
Unassigned

Bug Description

When launching sflphone, it spits the following error:

$ sflphone
sflphone-client-gnome 1.1.0

Copyright (c) 2005 - 2012 Savoir-faire Linux Inc.

This is free software. You may redistribute copies of it under the
terms of
the GNU General Public License Version 3
<http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Additional permission under GNU GPL version 3 section 7:

If you modify this program, or any covered work, by linking or
combining it with the OpenSSL project's OpenSSL library (or a
modified version of that library), containing parts covered by the
terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
grants you additional permission to convey the resulting work.
Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work.

<error> main.c:89: Message did not receive a reply (timeout by message
bus)

---

It seems the problem is that the daemon was not starting. When running
manually with debug:

$ /usr/lib/sflphone/sflphoned -c -d
SFLphone Daemon 1.1.0, by Savoir-Faire Linux 2004-2012
http://www.sflphone.org/
audiocodecfactory.cpp:168: Scanning /home/tanty/.sflphone/ to find audio
codecs....
audiocodecfactory.cpp:168: Scanning /usr/lib/sflphone/codecs/ to find
audio codecs....
audiocodecfactory.cpp:168: Scanning /usr/lib/sflphone/audio/codecs/ to
find audio codecs....
audiocodecfactory.cpp:57: Loaded codec PCMA
audiocodecfactory.cpp:57: Loaded codec PCMU
audiocodecfactory.cpp:57: Loaded codec GSM
audiocodecfactory.cpp:57: Loaded codec speex
audiocodecfactory.cpp:57: Loaded codec G722
audiocodecfactory.cpp:57: Loaded codec speex
audiocodecfactory.cpp:57: Loaded codec speex
managerimpl.cpp:93: Configuration file
path: /home/tanty/.config/sflphone/sflphoned.yml
 18:24:05.928 os_core_unix.c pjlib 1.10.0 for POSIX initialized
sipvoiplink.cpp:458: pjsip version 1.10.0 for linux initialized
sipvoiplink.cpp:513: Registering threadyamlnode.cpp:143: node codecs not
found
siptransport.cpp:370: Create default sip udp transport
siptransport.cpp:404: Create UDP transport on default:5060
siptransport.cpp:447: Listening address 192.168.0.24:5060
siptransport.cpp:389: Created default sip transport on 5060
Segmentation fault (core dumped)

Revision history for this message
Andres Gomez (Tanty) (tanty) wrote :

After some investigation, I've found that the problem is that I'm using an old configuration file at:
$ ~/.config/sflphone/sflphoned.yml

I've wiped the directory, opened sflphone and configured again my account and now it is not crashing.

I'm attaching the crashing sflphoned.yml file.

description: updated
Revision history for this message
Andres Gomez (Tanty) (tanty) wrote :

Attaching also the crash generated file.

Revision history for this message
Andres Gomez (Tanty) (tanty) wrote :

Attaching new non-crashing configuration file.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.