Linphone-3 + Webcam = crash on startup+segmentation fault

Asked by Ragnar

Hi every1! Recently I installed linphone. While my camera was unplugged it worked... But when I plugged the camera it crashed with segfault:
rgnr@rgnr:~$ linphone-3
** Message: Found lang C

(linphone-3:1984): libglade-WARNING **: Radio button group video_item could not be found
ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:902:(snd_ctl_open_noupdate) Invalid CTL default:0
ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default:0
ALSA lib conf.c:4600:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default:0
Segmentation fault

Any ideas?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
François Tissandier (baloo) said :
#1

Sounds bad...
I don't think "answers" is the best place for this problem, it seems that there is a bug in Alsa crashing the application.
You should report this problem. The good question is now : where? I don't know if it's really related to Alsa, or to Linphone. As Linphone is crashing, I would report the problem to its editor first.

Revision history for this message
Tommy Trussell (tommy-trussell) said :
#2

I am getting the crash under Ubuntu 10.4 Lucid without a webcam installed. I found linphone to work well (also no camera) under Ubuntu 9.10 Karmic, though there are bug reports to the contrary. I added my comments to Bug #380596, though you might also want to look at Bug #352339 and see if that workaround changes your situation any (it didn't for me).

I am getting the libglade warning like you are, so I suspect a bad parameter in the glade (graphical interface) definitions for the application, unlike the missing video device error mentioned in Bug #352339.

I can't really afford the space to do it on this netbook, but a next step might be to see what messages come up when compiling linphone from its source files.

There is a brand new version of linphone mentioned at linphone.org so maybe it would be worth downloading and compiling the new version and letting the maintainer of the Ubuntu package know about our experiences.

For me this will have to wait at least two weeks...

I suggest if you haven't already you might want to open a NEW bug because you and I are seeing a different error than what was mentioned by the folks who opened the other bugs. Let me know what you do.

Revision history for this message
Paul EBEYAN (paulebeyan) said :
#3

I have about the same issue.
Try the following command to launch the application:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so linphone-3

Revision history for this message
Stanel (smratlif-7) said :
#4

I've got the same problem. It works when I run "linphone-3", but not when built from Linphone 3.4.3 source (run ./linphone from the ../gtk directory). Any recommendations? I'd like to run more current source...

Revision history for this message
Paul EBEYAN (paulebeyan) said :
#5

Can you ensure that your own linphone is using your linphone libs (liblinphone, libmediastreamer) ?
Type "ldd ./liphone" to list the dynamic libs used by your linphone.
By default, libraries paths are defined in /etc/ld.so.conf

This can be overriden with export LD_LIBRARY_PATH=path_to_your_libs_dir.

Can you help with this problem?

Provide an answer of your own, or ask Ragnar for more information if necessary.

To post a message you must log in.