Hello.
Linphone crashes with virtual webcam.
It was in 3.6.1:
http://lists.nongnu.org/archive/html/linphone-users/2013-10/msg00026.html
And it is still in 3.7.0.
$ LANG=C linphone --verbose:
=== begin log ===
** Message: Found lang ru
** (linphone:13144): WARNING **: Couldn't find pixmap file: linphone.png
(linphone:13144): Gtk-WARNING **: Could not find signal handler 'linphone_gtk_internet_kind_changed'
linphone-message : Using (r/w) config information from /home/ilya/.linphonerc
linphone-message : Initializing LinphoneCore 3.7.0
linphone-message : srtp init
linphone-message : oRTP-0.23.0 initialized.
linphone-message : assigning PCMU/8000 payload type number 0
linphone-message : assigning GSM/8000 payload type number 3
linphone-message : assigning PCMA/8000 payload type number 8
linphone-message : assigning speex/8000 payload type number 110
linphone-message : assigning speex/16000 payload type number 111
linphone-message : assigning speex/32000 payload type number 112
linphone-message : assigning telephone-event/8000 payload type number 101
linphone-message : assigning G722/8000 payload type number 9
linphone-message : assigning H263/90000 payload type number 34
linphone-message : assigning H263-1998/90000 payload type number 98
linphone-message : assigning MP4V-ES/90000 payload type number 99
linphone-message : assigning H264/90000 payload type number 102
linphone-message : assigning VP8/90000 payload type number 103
linphone-message : assigning theora/90000 payload type number 97
linphone-message : assigning x-snow/90000 payload type number 96
linphone-message : assigning iLBC/8000 payload type number 100
linphone-message : assigning AMR/8000 payload type number 104
linphone-message : assigning AMR-WB/16000 payload type number 105
linphone-message : assigning 1015/8000 payload type number 106
linphone-message : assigning G726-16/8000 payload type number 107
linphone-message : assigning G726-24/8000 payload type number 108
linphone-message : assigning G726-32/8000 payload type number 109
linphone-message : assigning G726-40/8000 payload type number 113
linphone-message : assigning AAL2-G726-16/8000 payload type number 114
linphone-message : assigning AAL2-G726-24/8000 payload type number 115
linphone-message : assigning AAL2-G726-32/8000 payload type number 116
linphone-message : assigning AAL2-G726-40/8000 payload type number 117
linphone-message : assigning SILK/8000 payload type number 118
linphone-message : assigning SILK/12000 payload type number 119
linphone-message : assigning SILK/16000 payload type number 120
linphone-message : assigning SILK/24000 payload type number 121
linphone-message : assigning G729/8000 payload type number 18
linphone-message : assigning mpeg4-generic/22050 payload type number 122
linphone-message : assigning mpeg4-generic/44100 payload type number 123
linphone-message : assigning opus/48000 payload type number 124
linphone-message : assigning iSAC/16000 payload type number 125
linphone-message : assigning 1016/8000 payload type number 1
linphone-message : assigning G723/8000 payload type number 4
linphone-message : assigning LPC/8000 payload type number 7
linphone-message : assigning L16/44100 payload type number 10
linphone-message : assigning L16/44100 payload type number 11
linphone-message : assigning H261/90000 payload type number 31
linphone-message : assigning MPV/90000 payload type number 32
linphone-message : Mediastreamer2 2.10.0 (git: 2.10.0) starting.
linphone-message : CPU count set to 4
linphone-message : ms_base_init() done
linphone-message : Registering all soundcard handlers
linphone-message : Card 'ALSA: default device' added
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL default:0
linphone-warning : Could not attach mixer to card: Invalid argument
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:0
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:0
linphone-warning : Strange, sound card HDA Intel PCH does not seems to be capable of anything, retrying with plughw...
linphone-message : Card 'ALSA: HDA Intel PCH' added
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 1
ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL default:1
linphone-warning : Could not attach mixer to card: Invalid argument
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 1
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:1
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 1
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:1
linphone-warning : Strange, sound card C-Media CMI8738 does not seems to be capable of anything, retrying with plughw...
linphone-message : Card 'ALSA: C-Media CMI8738' added
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 2
ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL default:2
linphone-warning : Could not attach mixer to card: Invalid argument
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 2
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:2
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 2
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:2
linphone-warning : Strange, sound card HDA NVidia does not seems to be capable of anything, retrying with plughw...
linphone-warning : Strange, sound card HDA NVidia seems totally unusable.
linphone-message : Card 'ALSA: HDA NVidia' added
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 3
ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL default:3
linphone-warning : Could not attach mixer to card: Invalid argument
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 3
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:3
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 3
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:3
linphone-warning : Strange, sound card USB Device 0x46d:0x807 does not seems to be capable of anything, retrying with plughw...
linphone-message : Card 'ALSA: USB Device 0x46d:0x807' added
linphone-message : Card 'PulseAudio: default' added
linphone-message : New PulseAudio context state: PA_CONTEXT_CONNECTING
linphone-message : Registering all webcam handlers
linphone-message : Webcam V4L2: /dev/video0 added
linphone-message : New PulseAudio context state: PA_CONTEXT_AUTHORIZING
linphone-message : Webcam V4L2: /dev/video1 added
linphone-message : Webcam StaticImage: Static picture added
linphone-message : New PulseAudio context state: PA_CONTEXT_SETTING_NAME
linphone-message : New PulseAudio context state: PA_CONTEXT_READY
linphone-message : ms_voip_init() done
linphone-message : Loading ms plugins from [/usr/lib/x86_64-linux-gnu/mediastreamer/plugins]
linphone-message : Loading plugin /usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsilbc.so...
linphone-message : Plugin loaded (/usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsilbc.so)
linphone-message : Loading plugin /usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsbcg729.so...
linphone-message : libmsbcg729 1.0.0 plugin loaded
linphone-message : Plugin loaded (/usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsbcg729.so)
linphone-message : Loading plugin /usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsamr.so.0...
linphone-message : libmsamr 0.0.2 plugin loaded
linphone-message : Plugin loaded (/usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsamr.so.0)
linphone-message : Loading plugin /usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmssilk.so.0.0.0...
linphone-message : libmssilk 1.0.0 plugin loaded
linphone-message : Plugin loaded (/usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmssilk.so.0.0.0)
linphone-message : Loading plugin /usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsx264.so.0...
linphone-message : ms264-1.4.3 plugin registered.
linphone-message : Plugin loaded (/usr/lib/x86_64-linux-gnu/mediastreamer/plugins/libmsx264.so.0)
belle-sip-warning-There is no object pool created in thread [139977899248064]. Use belle_sip_object_pool_push() to create one. Unowned objects not unref'd will be leaked.
linphone-message : Sal nat helper [enabled]
linphone-message : Root ca path set to /etc/ssl/certs
linphone-message : Cannot open directory /usr/lib/liblinphone/plugins: No such file or directory
linphone-message : linphone_core_set_playback_gain_db(): no active call.
linphone-message : linphone_core_set_mic_gain_db(): no active call.
linphone-message : Sal nat helper [enabled]
linphone-message : Sal use rport [enabled]
linphone-message : Could not find encoder for 1016
linphone-message : Could not find decoder for 1016
linphone-message : Could not find encoder for G723
linphone-message : Could not find decoder for G723
linphone-message : Could not find encoder for LPC
linphone-message : Could not find decoder for LPC
linphone-message : Could not find encoder for telephone-event
linphone-message : Could not find decoder for telephone-event
linphone-message : Could not find encoder for AMR-WB
linphone-message : Could not find decoder for AMR-WB
linphone-message : Could not find encoder for 1015
linphone-message : Could not find decoder for 1015
linphone-message : Could not find encoder for mpeg4-generic
linphone-message : Could not find decoder for mpeg4-generic
linphone-message : Could not find encoder for mpeg4-generic
linphone-message : Could not find decoder for mpeg4-generic
linphone-message : Could not find encoder for iSAC
linphone-message : Could not find decoder for iSAC
linphone-message : Could not find encoder for H261
linphone-message : Could not find decoder for H261
linphone-message : Could not find encoder for MPV
linphone-message : Could not find decoder for MPV
linphone-message : Sal use rport [enabled]
linphone-message : sal_unlisten_ports done
linphone-message : Creating listening point [0x20ce020] on [sip:0.0.0.0:5060;transport=UDP]
linphone-message : Creating listening point [0x20ce510] on [sip:0.0.0.0:5060;transport=TCP]
linphone-message : Creating listening point [0x20ce8c0] on [sip:0.0.0.0:6074;transport=TLS]
linphone-message : Root ca path set to /etc/ssl/certs
linphone-message : Root ca path set to /etc/ssl/certs
linphone-error : linphone_core_add_auth_info(): info supplied with empty password or ha1.
linphone-error : linphone_core_add_auth_info(): info supplied with empty password or ha1.
linphone-message : Notifying all friends that we are [online]
linphone-warning : Table already up to date: duplicate column name: url.
linphone-message : New local ip address is 10.2.11.201
linphone-message : Network state is now [UP]
linphone-message : Setting video size 640x480
linphone-message : Driver is v4l2 loopback
linphone-message : v4l2: trying 640x480
linphone-message : v4lv2: YUV420P chosen
linphone-message : Size of webcam delivered pictures is 640x480
linphone-message : ms_filter_link: MSV4L2Capture:0x20b4800,0-->MSPixConv:0x206e110,0
linphone-message : ms_filter_link: MSPixConv:0x206e110,0-->MSX11Video:0x20b3160,0
linphone-message : Video MSTicker priority left to normal.
linphone-message : msv4l2_thread starting
linphone-message : V4L2 video capture started.
linphone-message : x11video_prepare(): Window has size 640x480, received video is 352x288
linphone-message : Found output adaptor; name=NV17 Video Texture num_ports=32, with 152 formats:
linphone-message : type=YUV/Packed id=YUY2
linphone-message : type=YUV/Planar id=YV12
linphone-message : Grabbed port 601
linphone-message : type=YUV/Packed id=UYVY
linphone-message : type=YUV/Planar id=I420
linphone-message : Updating window decorations for preview
linphone-message : received size is 640x480
linphone-message : autofit: new window size should be 640x480
linphone-message : x11video_prepare(): Window has size 640x480, received video is 640x480
linphone-message : Found output adaptor; name=NV17 Video Texture num_ports=32, with 152 formats:
linphone-message : type=YUV/Packed id=YUY2
linphone-message : type=YUV/Planar id=YV12
linphone-message : Grabbed port 601
linphone-message : type=YUV/Packed id=UYVY
linphone-message : type=YUV/Planar id=I420
str_utils.c:136- assertionmp->b_datap->db_base!=NULLfailed
Segmentation fault (made memory dump)
=== end log ===
$ gdb -batch -ex 'set pagination 0' -ex 'echo \n' -ex 'backtrace' -ex 'echo \n' -ex 'info registers' -ex 'echo \n' -ex 'x/16i $pc' -ex 'echo \n' -ex 'thread apply all backtrace' -ex 'quit' /usr/bin/linphone core
=== begin trace ===
[New LWP 13154]
[New LWP 13148]
[New LWP 13147]
[New LWP 13149]
[New LWP 13153]
[New LWP 13152]
[New LWP 13144]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `linphone --verbose'.
Program terminated with signal 11, Segmentation fault.
#0 dupmsg (m=0x7f4eec001a40) at str_utils.c:156
#0 dupmsg (m=0x7f4eec001a40) at str_utils.c:156
#1 0x00007f4f22206e59 in msv4l2_thread (ptr=0x21c3da0) at videofilters/msv4l2.c:440
#2 0x00007f4f244c7e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007f4f2281d3fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
rax 0x7f4eec002130 139976943608112
rbx 0x7f4eec001a40 139976943606336
rcx 0x7f4eec000048 139976943599688
rdx 0x7f4eec000020 139976943599648
rsi 0x7f4eec002130 139976943608112
rdi 0x7f4eec001a40 139976943606336
rbp 0x0 0x0
rsp 0x7f4ef2b3ba90 0x7f4ef2b3ba90
r8 0x7f4eec0020c0 139976943608000
r9 0x5f62643e2d706174 6873166199533887860
r10 0x554e3d2165736162 6146917755052581218
r11 0x0 0
r12 0x0 0
r13 0x21c3db8 35405240
r14 0x4 4
r15 0x21c3e88 35405448
rip 0x7f4f246e616b 0x7f4f246e616b <dupmsg+43>
eflags 0x10206 [ PF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
=> 0x7f4f246e616b <dupmsg+43>: mov %rax,0x10(%rbp)
0x7f4f246e616f <dupmsg+47>: mov 0x10(%rbx),%rbx
0x7f4f246e6173 <dupmsg+51>: test %rbx,%rbx
0x7f4f246e6176 <dupmsg+54>: jne 0x7f4f246e6160 <dupmsg+32>
0x7f4f246e6178 <dupmsg+56>: pop %rbx
0x7f4f246e6179 <dupmsg+57>: pop %rbp
0x7f4f246e617a <dupmsg+58>: mov %r12,%rax
0x7f4f246e617d <dupmsg+61>: pop %r12
0x7f4f246e617f <dupmsg+63>: retq
0x7f4f246e6180 <putq>: mov (%rdi),%rax
0x7f4f246e6183 <putq+3>: mov %rsi,0x8(%rax)
0x7f4f246e6187 <putq+7>: mov %rax,(%rsi)
0x7f4f246e618a <putq+10>: mov %rdi,0x8(%rsi)
0x7f4f246e618e <putq+14>: mov %rsi,(%rdi)
0x7f4f246e6191 <putq+17>: addl $0x1,0x50(%rdi)
0x7f4f246e6195 <putq+21>: retq
Thread 7 (Thread 0x7f4f24f609c0 (LWP 13144)):
#0 0x00007f4f22811a43 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f4f22d3dff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f4f22d3e45a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f4f23fba397 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4 0x00000000004166e5 in main (argc=1, argv=0x7fff23771788) at main.c:2293
Thread 6 (Thread 0x7f4f0cf92700 (LWP 13152)):
#0 0x00007f4f22811a43 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f4f1d26235f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2 0x00007f4f1d25376c in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3 0x00007f4f1d253dd9 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4 0x00007f4f1d253e90 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5 0x00007f4f1d26230f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6 0x00007f4f17f1dd18 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#7 0x00007f4f244c7e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8 0x00007f4f2281d3fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7f4efb33d700 (LWP 13153)):
#0 0x00007f4f244cf52d in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007f4f2490a0c1 in sleepMs (ms=<optimized out>) at base/msticker.c:311
#2 wait_next_tick (data="" virt_ticker_time=<optimized out>) at base/msticker.c:405
#3 0x00007f4f2490a595 in ms_ticker_run (arg=0x21d6a20) at base/msticker.c:450
#4 0x00007f4f244c7e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5 0x00007f4f2281d3fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7f4f0d99a700 (LWP 13149)):
#0 0x00007f4f244cc0fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007f4f22d79935 in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f4f22d141c1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f4f22d6023a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f4f22d5f9b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f4f244c7e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6 0x00007f4f2281d3fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7f4f0f1fe700 (LWP 13147)):
#0 0x00007f4f244cf04d in accept () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007f4f246e6b01 in ortp_server_pipe_accept_client (server=<optimized out>) at port.c:434
#2 0x000000000042c5fb in server_pipe_thread (pointer=<optimized out>) at singleinstance.c:48
#3 0x00007f4f244c7e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4 0x00007f4f2281d3fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7f4f0e9fd700 (LWP 13148)):
#0 0x00007f4f22811a43 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f4f22d3dff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f4f22d3e45a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f4f233035e6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007f4f22d5f9b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f4f244c7e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6 0x00007f4f2281d3fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7f4ef2b3c700 (LWP 13154)):
#0 dupmsg (m=0x7f4eec001a40) at str_utils.c:156
#1 0x00007f4f22206e59 in msv4l2_thread (ptr=0x21c3da0) at videofilters/msv4l2.c:440
#2 0x00007f4f244c7e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007f4f2281d3fd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
=== end trace ===
--
Ilya Melnikov
Saturday 24 May 2014 14:59:11 |