[vlc-devel] gather-module causes segfault in current svn

Ilkka Ollakka ilkka.ollakka+vlc at oamk.fi
Tue Feb 27 14:08:21 CET 2007


I've tested vlm streaming with gather-module (quite handy with multiple
input-items), it seems to work just fine with 0.8.6-bugfix version but
with current svn version I get segfault when item changes. Here's gdb
backtrace and vlm_config I used.

commandline I used is:
./vlc --no-plugins-cache -I telnet --telnet-port 4243 --telnet-password testi --vlm-conf ~/tmp/testi_vlm.conf -vvv

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1318487136 (LWP 32626)]
Del (p_stream=0x8186370, id=0x1) at standard.c:474
474         sout_MuxDeleteStream( p_sys->p_mux, id->p_input );
(gdb) bt
#0  Del (p_stream=0x8186370, id=0x1) at standard.c:474
#1  0xb6debcad in Del (p_stream=0x8144ce8, id=0x8184fd0) at transcode.c:1132
#2  0xb6dab9a1 in Close (p_this=0x804f238) at ../../include/vlc_sout.h:203
#3  0xb7f3163f in __module_Unneed (p_this=0x804f238, p_module=0x80c2420) at misc/modules.c:733
#4  0xb7f138ea in sout_StreamDelete (p_stream=0x804f238) at stream_output/stream_output.c:845
#5  0xb7f146bd in sout_DeleteInstance (p_sout=0x80b0b18) at stream_output/stream_output.c:171
#6  0xb7ee5a6e in End (p_input=0x8149f18) at input/input.c:1199
#7  0xb7eed1e4 in Run (p_input=0x8149f18) at input/input.c:484
#8  0xb7e4634b in start_thread () from /lib/libpthread.so.0
#9  0xb7cfa65e in clone () from /lib/libc.so.6

testi_vlm.conf file:

new testi broadcast enabled loop
setup testi input /afs/purkkaliima.net/home/ileoo/tmp/mixmedia/viikko7.mp4
setup testi output "#gather:transcode{width=384,height=288,vb=400,ab=64,vcodec=FLV1,acodec=mp3}:std{access=http,dst=:8090/testi.flv}"

control testi play

Ilkka Ollakka

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list