Multiples DVB-T Programs = Segmentation Error

About encoding, codec settings, muxers and filter usage
captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 05 Apr 2010 18:14

Hi everyone,

I've got a problem with VLC (1.1.0-git) when i try to capture multiples DVB-T programs to a file or to stream it.
Please find below the GDB trace.
Do you have any idea about that boring problem ?

-------

Bonjour à tous,

J'ai un problème plutôt embêtant lorsque j'essaie de capturer plusieurs programmes DVB-T à la fois. Mon but serait de capturer au minimum 2 programmes sur le même adaptateur et sur la même fréquence pour les streamer en http ou en udp.
Ci dessous la trace GDB de mon erreur. Auriez vous une idée pouvant m'aider ?

Code: Select all

Starting program: /usr/local/bin/vlc -vvvvv --programs=1025,1026 dvb:// --dvb-frequency=498167000 --dvb-adapter=0 --dvb-bandwidth=8 --sout-standard-access=http --sout-standard-mux=ts --sout '#duplicate{dst=std{dst=0.0.0.0:8001},select="program=1025",dst=std{dst=0.0.0.0:8002},select="program=1026"}' [Thread debugging using libthread_db enabled] VLC media player 1.1.0-git The Luggage [0x60c8e8] main libvlc debug: VLC media player - version 1.1.0-git The Luggage - (c) 1996-2010 the VideoLAN team [0x60c8e8] main libvlc debug: libvlc was configured with ./configure '--enable-x11' '--enable-xvideo' '--disable-gtk' '--enable-sdl' '--enable-avcodec' '--enable-avformat' '--enable-swscale' '--enable-mad' '--enable-dvbpsi' '--enable-a52' '--enable-libmpeg2' '--enable-dvdnav' '--enable-faad' '--enable-vorbis' '--enable-ogg' '--enable-theora' '--enable-faac' '--enable-mkv' '--enable-freetype' '--enable-fribidi' '--enable-speex' '--enable-flac' '--enable-live555' '--enable-caca' '--enable-alsa' '--disable-kde' '--enable-qt4' '--enable-ncurses' '--enable-release' '--enable-x264' [0x60c8e8] main libvlc debug: translation test: code is "FR" [0x60c8e8] main libvlc debug: checking plugin modules [0x60c8e8] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/modules/plugins-04081e-7e8.dat [0x60c8e8] main libvlc debug: recursively browsing `/usr/local/lib/vlc/modules' [0x60c8e8] main libvlc debug: saving plugins cache /usr/local/lib/vlc/modules/plugins-04081e-7e8.dat [0x60c8e8] main libvlc debug: module bank initialized (363 modules) [0x60c8e8] main libvlc debug: opening config file (/home/captainloc/.config/vlc/vlcrc) [0x60c8e8] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU [0x60c8e8] main libvlc debug: looking for memcpy module: 3 candidates [0x60c8e8] main libvlc debug: using memcpy module "memcpymmxext" [0x6448c8] main input debug: Creating an input for 'Bibliothèque' [0x6448c8] main input debug: Input is a meta file: disabling unneeded options [0x6448c8] main input debug: using timeshift granularity of 50 MBytes [0x6448c8] main input debug: using timeshift path '/tmp' [0x6448c8] main input debug: `file/xspf-open:///home/captainloc/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/captainloc/.local/share/vlc/ml.xspf' [0x6448c8] main input debug: creating demux: access='file' demux='xspf-open' path='/home/captainloc/.local/share/vlc/ml.xspf' [0x802818] main demux debug: looking for access_demux module: 1 candidate [0x802818] main demux debug: no access_demux module matching "file" could be loaded [0x802818] main demux debug: TIMER module_need() : 0.052 ms - Total 0.052 ms / 1 intvls (Avg 0.052 ms) [0x6448c8] main input debug: creating access 'file' path='/home/captainloc/.local/share/vlc/ml.xspf' [0x802b78] main access debug: looking for access module: 2 candidates [0x802b78] filesystem access debug: opening file `/home/captainloc/.local/share/vlc/ml.xspf' [0x802b78] main access debug: using access module "filesystem" [0x802b78] main access debug: TIMER module_need() : 0.065 ms - Total 0.065 ms / 1 intvls (Avg 0.065 ms) [0x802ea8] main stream debug: Using AStream*Stream [0x802ea8] main stream debug: pre buffering [0x802ea8] main stream debug: received first data after 0 ms [0x802ea8] main stream debug: pre-buffering done 296 bytes in 0s - 20647 kbytes/s [0x803158] main stream debug: looking for stream_filter module: 5 candidates [0x803158] main stream debug: no stream_filter module matching "any" could be loaded [0x803158] main stream debug: TIMER module_need() : 0.059 ms - Total 0.059 ms / 1 intvls (Avg 0.059 ms) [0x803158] main stream debug: looking for stream_filter module: 1 candidate [0x803158] main stream debug: using stream_filter module "stream_filter_record" [0x803158] main stream debug: TIMER module_need() : 0.042 ms - Total 0.042 ms / 1 intvls (Avg 0.042 ms) [0x6448c8] main input debug: creating demux: access='file' demux='xspf-open' path='/home/captainloc/.local/share/vlc/ml.xspf' [0x8034e8] main demux debug: looking for demux module: 1 candidate [0x8034e8] playlist demux debug: using XSPF playlist reader [0x8034e8] main demux debug: using demux module "playlist" [0x8034e8] main demux debug: TIMER module_need() : 0.055 ms - Total 0.055 ms / 1 intvls (Avg 0.055 ms) [0x803678] main demux meta debug: looking for meta reader module: 1 candidate [0x803678] lua demux meta debug: Trying Lua scripts in /home/captainloc/.local/share/vlc/lua/meta/reader [0x803678] lua demux meta debug: Trying Lua scripts in /usr/local/lib/vlc/lua/meta/reader [0x803678] lua demux meta debug: Trying Lua playlist script /usr/local/lib/vlc/lua/meta/reader/filename.luac [0x803678] lua demux meta debug: Trying Lua scripts in /usr/local/share/vlc/lua/meta/reader [0x803678] main demux meta debug: no meta reader module matching "any" could be loaded [0x803678] main demux meta debug: TIMER module_need() : 0.385 ms - Total 0.385 ms / 1 intvls (Avg 0.385 ms) [0x6448c8] main input debug: `file/xspf-open:///home/captainloc/.local/share/vlc/ml.xspf' successfully opened [0x827fd8] main xml debug: looking for xml module: 2 candidates [0x827fd8] main xml debug: using xml module "xml" [0x827fd8] main xml debug: TIMER module_need() : 0.085 ms - Total 0.085 ms / 1 intvls (Avg 0.085 ms) [0x8034e8] playlist demux debug: parsed 0 tracks successfully [0x827fd8] main xml debug: removing module "xml" [0x6448c8] main input debug: EOF reached [0x8034e8] main demux debug: removing module "playlist" [0x803158] main stream debug: removing module "stream_filter_record" [0x802b78] main access debug: removing module "filesystem" [0x6448c8] main input debug: TIMER input launching for 'Bibliothèque' : 1.016 ms - Total 1.016 ms / 1 intvls (Avg 1.016 ms) Program received signal SIGSEGV, Segmentation fault. 0x00007ffff797d3c9 in FreeList () from /usr/local/lib/libvlccore.so.4
Thanks a lot.

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Multiples DVB-T Programs = Segmentation Error

Postby Rémi Denis-Courmont » 06 Apr 2010 12:04

Please provide the full stack trace. There is not much we can do with a single line.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

hingwah
New Cone
New Cone
Posts: 3
Joined: 17 Jun 2010 09:26

Re: Multiples DVB-T Programs = Segmentation Error

Postby hingwah » 17 Jun 2010 09:30

Hi,


I get the same problem with vlc 1.1.0 RC when I try to stream DVB .
OS: Debian unstable amd64



hingwah@hwwan-desktop:~/local/vlc/bin$ ./cvlc -vvvvvvvvvvvvvv dvb:// --dvb-frequency=674000000 --dvb-bandwidth=8 --programs=1,2 --sout '#duplicate{dst="transcode{audio-sync=1,vcodec=h264{cabac=0},venc=x264,vb=500,acodec=mpga,ab=128,width=320}:std{access=http,mux=ts,dst=0.0.0.0:10006}",select="program=1",dst="transcode{audio-sync=1,vcodec=h264{cabac=0},venc=x264,vb=500 acodec=mpga,vb=800,ab=128,width=320}:std{access=http,mux=ts,dst=0.0.0.0:10007}",select="program=2"}'
VLC media player 1.1.0-rc The Luggage (revision exported)
[0x7f4268] main libvlc debug: VLC media player - 1.1.0-rc The Luggage
[0x7f4268] main libvlc debug: Copyright © 1996-2010 the VideoLAN team
[0x7f4268] main libvlc debug: revision exported
[0x7f4268] main libvlc debug: configured with ./configure '--prefix=/home/hingwah/local/vlc' '--with-kde-solid=/home/hingwah/local/vlc/kde4' '--disable-lua'
[0x7f4268] main libvlc debug: translation test: code is "C"
[0x7f4268] main libvlc debug: checking plugin modules
[0x7f4268] main libvlc debug: loading plugins cache file /home/hingwah/local/vlc/lib/vlc/plugins/plugins-04081e-7e8.dat
[0x7f4268] main libvlc debug: recursively browsing `/home/hingwah/local/vlc/lib/vlc/plugins'
[0x7f4268] main libvlc debug: saving plugins cache /home/hingwah/local/vlc/lib/vlc/plugins/plugins-04081e-7e8.dat
[0x7f4268] main libvlc debug: module bank initialized (377 modules)
[0x7f4268] main libvlc debug: opening config file (/home/hingwah/.config/vlc/vlcrc)
[0x7f4268] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU
[0x7f4268] main libvlc debug: looking for memcpy module: 3 candidates
[0x7f4268] main libvlc debug: using memcpy module "memcpymmxext"
[0x8e4f98] main input debug: Creating an input for 'Media Library'
[0x8e4f98] main input debug: Input is a meta file: disabling unneeded options
[0x8e4f98] main input debug: using timeshift granularity of 50 MiB
[0x8e4f98] main input debug: using timeshift path '/tmp'
[0x8e4f98] main input debug: `file/xspf-open:///home/hingwah/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/hingwah/.local/share/vlc/ml.xspf'
[0x8e4f98] main input debug: creating demux: access='file' demux='xspf-open' path='/home/hingwah/.local/share/vlc/ml.xspf'
[0x8e7158] main demux debug: looking for access_demux module: 2 candidates
[0x8e7158] main demux debug: no access_demux module matching "file" could be loaded
[0x8e7158] main demux debug: TIMER module_need() : 0.333 ms - Total 0.333 ms / 1 intvls (Avg 0.333 ms)
[0x8e4f98] main input debug: creating access 'file' path='/home/hingwah/.local/share/vlc/ml.xspf'
[0x8ea3c8] main access debug: looking for access module: 2 candidates
[0x8ea3c8] filesystem access debug: opening file `/home/hingwah/.local/share/vlc/ml.xspf'
[0x8ea3c8] main access debug: using access module "filesystem"
[0x8ea3c8] main access debug: TIMER module_need() : 0.158 ms - Total 0.158 ms / 1 intvls (Avg 0.158 ms)
[0x8e8f78] main stream debug: Using AStream*Stream
[0x8e8f78] main stream debug: pre buffering
[0x8e8f78] main stream debug: received first data after 0 ms
[0x8e8f78] main stream debug: pre-buffering done 296 bytes in 0s - 41294 KiB/s
[0x8e9338] main stream debug: looking for stream_filter module: 5 candidates
[0x8e9338] main stream debug: no stream_filter module matching "any" could be loaded
[0x8e9338] main stream debug: TIMER module_need() : 0.252 ms - Total 0.252 ms / 1 intvls (Avg 0.252 ms)
[0x8e9338] main stream debug: looking for stream_filter module: 1 candidate
[0x8e9338] main stream debug: using stream_filter module "stream_filter_record"
[0x8e9338] main stream debug: TIMER module_need() : 0.143 ms - Total 0.143 ms / 1 intvls (Avg 0.143 ms)
[0x8e4f98] main input debug: creating demux: access='file' demux='xspf-open' path='/home/hingwah/.local/share/vlc/ml.xspf'
[0x8eec98] main demux debug: looking for demux module: 1 candidate
[0x8eec98] playlist demux debug: using XSPF playlist reader
[0x8eec98] main demux debug: using demux module "playlist"
[0x8eec98] main demux debug: TIMER module_need() : 0.132 ms - Total 0.132 ms / 1 intvls (Avg 0.132 ms)
[0x8f3ea8] main demux meta debug: looking for meta reader module: 1 candidate
[0x8f3ea8] main demux meta debug: no meta reader module matching "any" could be loaded
[0x8f3ea8] main demux meta debug: TIMER module_need() : 1.860 ms - Total 1.860 ms / 1 intvls (Avg 1.860 ms)
[0x8e4f98] main input debug: `file/xspf-open:///home/hingwah/.local/share/vlc/ml.xspf' successfully opened
[0x8f47d8] main xml debug: looking for xml module: 2 candidates
[0x8f47d8] main xml debug: using xml module "xml"
[0x8f47d8] main xml debug: TIMER module_need() : 0.338 ms - Total 0.338 ms / 1 intvls (Avg 0.338 ms)
[0x8eec98] playlist demux debug: parsed 0 tracks successfully
[0x8f47d8] main xml debug: removing module "xml"
[0x8e4f98] main input debug: EOF reached
[0x8eec98] main demux debug: removing module "playlist"
[0x8e9338] main stream debug: removing module "stream_filter_record"
[0x8ea3c8] main access debug: removing module "filesystem"
[0x8e4f98] main input debug: TIMER input launching for 'Media Library' : 3.146 ms - Total 3.146 ms / 1 intvls (Avg 3.146 ms)
Segmentation fault (core dumped)


Stack trace
(gdb) bt full
#0 0x00007fb8c1ad7b29 in FreeList () from /home/hingwah/local/vlc/lib/libvlccore.so.4
No symbol table info available.
#1 0x00007fb8c1ad7a32 in Destroy () from /home/hingwah/local/vlc/lib/libvlccore.so.4
No symbol table info available.
#2 0x00007fb8c1385228 in tdestroy_recurse (root=0x8d6d60, freefct=0x7fb8c1ad7ab0 <CleanupVar>) at tsearch.c:643
No locals.
#3 0x00007fb8c1385212 in tdestroy_recurse (root=0x8d63f0, freefct=0x7fb8c1ad7ab0 <CleanupVar>) at tsearch.c:640
No locals.
#4 0x00007fb8c1385212 in tdestroy_recurse (root=0x8d64d0, freefct=0x7fb8c1ad7ab0 <CleanupVar>) at tsearch.c:640
No locals.
#5 0x00007fb8c1385212 in tdestroy_recurse (root=0x8d4830, freefct=0x7fb8c1ad7ab0 <CleanupVar>) at tsearch.c:640
No locals.
#6 0x00007fb8c1385212 in tdestroy_recurse (root=0x8d4130, freefct=0x7fb8c1ad7ab0 <CleanupVar>) at tsearch.c:640
No locals.
#7 0x00007fb8c1385212 in tdestroy_recurse (root=0x8e5430, freefct=0x7fb8c1ad7ab0 <CleanupVar>) at tsearch.c:640
No locals.
#8 0x00007fb8c1385223 in tdestroy_recurse (root=0x8d5570, freefct=0x7fb8c1ad7ab0 <CleanupVar>) at tsearch.c:642
No locals.
#9 0x00007fb8c1ad659b in vlc_object_release () from /home/hingwah/local/vlc/lib/libvlccore.so.4
No symbol table info available.
#10 0x00007fb8c1a91a9e in input_Read () from /home/hingwah/local/vlc/lib/libvlccore.so.4
No symbol table info available.
#11 0x00007fb8c1a6fd0f in playlist_MLLoad () from /home/hingwah/local/vlc/lib/libvlccore.so.4
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#12 0x00007fb8c1a6c58d in playlist_Create () from /home/hingwah/local/vlc/lib/libvlccore.so.4
No symbol table info available.
#13 0x00007fb8c1a5a0aa in libvlc_InternalInit () from /home/hingwah/local/vlc/lib/libvlccore.so.4
No symbol table info available.
#14 0x00007fb8c1d272ee in libvlc_new () from /home/hingwah/local/vlc/lib/libvlc.so.5
No symbol table info available.
#15 0x0000000000401417 in main ()
No symbol table info available.

hingwah
New Cone
New Cone
Posts: 3
Joined: 17 Jun 2010 09:26

Re: Multiples DVB-T Programs = Segmentation Error

Postby hingwah » 17 Jun 2010 09:53

Hi,
I have rebuilt vlc with debug and the stack trace now is different:

hingwah@hwwan-desktop:~/local/vlc/bin$ ./cvlc -vvvvvvvvvvvvvv dvb:// --dvb-frequency=674000000 --dvb-bandwidth=8 --programs=1,2 --sout '#duplicate{dst="transcode{audio-sync=1,vcodec=h264{cabac=0},venc=x264,vb=500,acodec=mpga,ab=128,width=320}:std{access=http,mux=ts,dst=0.0.0.0:10006}",select="program=1",dst="transcode{audio-sync=1,vcodec=h264{cabac=0},venc=x264,vb=500 acodec=mpga,vb=800,ab=128,width=320}:std{access=http,mux=ts,dst=0.0.0.0:10007}",select="program=2"}'
VLC media player 1.1.0-rc The Luggage (revision exported)
[0x1028328] main libvlc debug: VLC media player - 1.1.0-rc The Luggage
[0x1028328] main libvlc debug: Copyright © 1996-2010 the VideoLAN team
[0x1028328] main libvlc debug: revision exported
[0x1028328] main libvlc debug: configured with ./configure '--prefix=/home/hingwah/local/vlc' '--with-kde-solid=/home/hingwah/local/vlc/kde4' '--disable-lua' '--disable-qt4' '--enable-debug' '--disable-skins2'
[0x1028328] main libvlc debug: translation test: code is "C"
[0x1028328] main libvlc debug: checking plugin modules
[0x1028328] main libvlc debug: loading plugins cache file /home/hingwah/local/vlc/lib/vlc/plugins/plugins-04081e-7e8.dat
[0x1028328] main libvlc debug: recursively browsing `/home/hingwah/local/vlc/lib/vlc/plugins'
[0x1028328] main libvlc debug: saving plugins cache /home/hingwah/local/vlc/lib/vlc/plugins/plugins-04081e-7e8.dat
[0x1028328] main libvlc debug: module bank initialized (371 modules)
[0x1028328] main libvlc debug: opening config file (/home/hingwah/.config/vlc/vlcrc)
[0x1028328] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU
[0x1028328] main libvlc debug: looking for memcpy module: 3 candidates
[0x1028328] main libvlc debug: using memcpy module "memcpymmxext"
[0x1115748] main input debug: Creating an input for 'Media Library'
vlc: misc/variables.c:826: var_GetChecked: Assertion `expected_type == 0 || (p_var->i_type & 0x00f0) == expected_type' failed.
Aborted (core dumped)


(gdb) bt full
#0 0x00007fead5471175 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
pid = <value optimized out>
selftid = <value optimized out>
#1 0x00007fead5473f80 in *__GI_abort () at abort.c:92
act = {__sigaction_handler = {sa_handler = 0x7fead5c92fd8, sa_sigaction = 0x7fead5c92fd8}, sa_mask = {__val = {140646578281339, 140737430579344, 826, 140737430579584, 140646577475798, 206158430232, 140737430579600,
140737430579376, 140646577388088, 206158430256, 140737430579624, 17857536, 1904, 733634176081289574, 8751724881507086945, 140737430590784}}, sa_flags = -715768769, sa_restorer = 0x7fead5c92f72}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007fead546a2b1 in *__GI___assert_fail (assertion=0x7fead5c92fd8 "expected_type == 0 || (p_var->i_type & 0x00f0) == expected_type", file=<value optimized out>, line=826, function=0x7fead5c933d0 "var_GetChecked") at assert.c:81
buf = 0x1107c00 "vlc: misc/variables.c:826: var_GetChecked: Assertion `expected_type == 0 || (p_var->i_type & 0x00f0) == expected_type' failed.\n"
#3 0x00007fead5c622c4 in var_GetChecked (p_this=0x1028328, psz_name=0x7fead5c83714 "programs", expected_type=144, p_val=0x1107608) at misc/variables.c:825
__PRETTY_FUNCTION__ = "var_GetChecked"
p_var = 0x105a730
err = <value optimized out>
#4 0x00007fead5c62359 in var_Inherit (p_this=0x1115748, psz_name=0x7fead5c83714 "programs", i_type=144, p_val=0x1107608) at misc/variables.c:1277
obj = 0x1028328
__func__ = "var_Inherit"
#5 0x00007fead5c6326c in var_Create (p_this=0x1115748, psz_name=0x7fead5c83714 "programs", i_type=32912) at misc/variables.c:303
dummy_null_list = {i_count = 0, p_values = 0x0, pi_types = 0x0}
__PRETTY_FUNCTION__ = "var_Create"
p_priv = <value optimized out>
p_oldvar = <value optimized out>
ret = <value optimized out>
#6 0x00007fead5c22c77 in input_ControlVarInit (p_input=0x1115748) at input/var.c:181
---Type <return> to continue, or q <return> to quit---
val = {i_int = 0, b_bool = false, f_float = 0, psz_string = 0x0, p_address = 0x0, p_object = 0x0, p_list = 0x0, i_time = 0, coords = {x = 0, y = 0}, padding = "\000\000\000\000\000\000\000"}
text = {i_int = -708299005, b_bool = 3, f_float = -2.75173249e+13, psz_string = 0x7fead5c83703 "Program", p_address = 0x7fead5c83703, p_object = 0x7fead5c83703, p_list = 0x7fead5c83703, i_time = 140646585743107, coords = {
x = -708299005, y = 32746}, padding = "\003\067\310\325\352\177\000"}
#7 0x00007fead5c12e37 in Create (p_parent=<value optimized out>, p_item=0x1115cd0, psz_header=<value optimized out>, b_quick=false, p_resource=<value optimized out>) at input/input.c:414
input_name = "input"
p_input = 0x1115748
i = <value optimized out>
psz_timer_name = "input launching for 'Media Library'\000\352\177\000\000\377\377\377\377\000\000\000\000HF\274\325\352\177\000\000\001\000\000\000\000\000\000\000\230\322.", '\000' <repeats 13 times>, "\036t\310\325\352\177\000\000\240\252\003\001\000\000\000\000\000\000\274\325\352\177\000\000\302C\r\326\352\177\000\000\210N\274\325\352\177\000\000\060;.\326\352\177\000\000\000\000\274\325\352\177\000\000\377\377\377\377\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\240\307.", '\000' <repeats 13 times>"\240, \263\020\001\000\000\000\000 q\216\374\377\177\000\000\000\000\274\325\352\177\000\000\302C\r\326\352\177\000\000\001\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000(\203\002\001\000\000\000\000\210N\274\325\352\177\000\000\000\035\021\001\000\000\000\000\210\244\003\001\000\000"
psz_name = <value optimized out>
__PRETTY_FUNCTION__ = "Create"
f_rate = <value optimized out>
#8 0x00007fead5c1908d in input_Read (p_parent=0x4ed8, p_item=0x4ed8) at input/input.c:164
p_input = <value optimized out>
#9 0x00007fead5bf63df in playlist_MLLoad (p_playlist=0x103a488) at playlist/loadsave.c:181
psz_datadir = <value optimized out>
psz_uri = 0x111e6e0 "/usr/share/locale/en_HK.UTF-8.utf8/LC_MESSAGES/libc.mo"
p_input = 0x1115cd0
options = {0x7fead5c873f6 "meta-file"}
#10 0x00007fead5bf2c2d in playlist_Create (p_parent=<value optimized out>) at playlist/engine.c:172
b_auto_preparse = true
---Type <return> to continue, or q <return> to quit---
playlist_name = "playlist"
p_playlist = 0x103a488
p = 0x103a488
b_ml = <value optimized out>
#11 0x00007fead5be038a in libvlc_InternalInit (p_libvlc=0x1028328, i_argc=11, ppsz_argv=0x7ffffc8e7120) at libvlc.c:806
psz_modules = <value optimized out>
psz_parser = <value optimized out>
psz_control = 0x33bcdfa <Address 0x33bcdfa out of bounds>
b_exit = false
i_ret = <value optimized out>
p_playlist = <value optimized out>
module_count = 371
list = <value optimized out>
vlc_optind = <value optimized out>
psz_verbose_objects = <value optimized out>
p_capabilities = "MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU ", '\000' <repeats 14 times>, "0;.\326\352\177\000\000B\024\353\325\352\177\000\000`\202\274\325\352\177\000\000\200\370\352\325\352\177\000\000\000\000\000\000\001\000\000\000\207\002\000\000\001\000\000\000\210>.\326\352\177\000\000`p\216\374\377\177\000\000\230\071.\326\352\177\000\000pp\216\374\377\177\000\000\000\000\000\000\000\000\000\000\230p\216\374\377\177\000\000@6.\326\352\177\000\000\221~\363\316\000\000\000\000b\b\r\326\352\177", '\000' <repeats 18 times>, "\001\000\000\000\377\177\000"
#12 0x00007fead5eb539e in libvlc_new (argc=<value optimized out>, argv=<value optimized out>) at control/core.c:58
p_new = 0x1028210
p_libvlc_int = <value optimized out>
#13 0x0000000000401540 in main (i_argc=10, ppsz_argv=<value optimized out>) at vlc.c:183
set = {__val = {16391, 0 <repeats 15 times>}}
---Type <return> to continue, or q <return> to quit---
argc = 10
vlc = <value optimized out>

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Multiples DVB-T Programs = Segmentation Error

Postby Rémi Denis-Courmont » 18 Jun 2010 03:32

This was already fixed in 1.1.0-rc3, AFAIK.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

hingwah
New Cone
New Cone
Posts: 3
Joined: 17 Jun 2010 09:26

Re: Multiples DVB-T Programs = Segmentation Error

Postby hingwah » 18 Jun 2010 04:26

I 'm using the one refered in http://www.videolan.org/vlc/releases/1.1.0-RC.html, look likes it do not point to the latest rc.

Thanks

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 05 Jul 2010 20:35

I reinstalled VLC on an other Ubuntu box and i got another segmentation fault

Code: Select all

gdb vlc GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/local/bin/vlc...done. (gdb) run -vvv --ts-es-id-pid dvb:// --dvb-frequency=674000000 --dvb-adapter=0 --dvb-bandwidth=8 --programs=100,200 --sout '#duplicate{dst="std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="std{access=http,mux=ts,dst=0.0.0.0:2020}",select="program=200"}' Starting program: /usr/local/bin/vlc -vvv --ts-es-id-pid dvb:// --dvb-frequency=674000000 --dvb-adapter=0 --dvb-bandwidth=8 --programs=100,200 --sout '#duplicate{dst="std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="std{access=http,mux=ts,dst=0.0.0.0:2020}",select="program=200"}' [Thread debugging using libthread_db enabled] VLC media player 1.1.0 The Luggage (revision exported) [0x805215c] main libvlc debug: VLC media player - 1.1.0 The Luggage [0x805215c] main libvlc debug: Copyright © 1996-2010 the VideoLAN team [0x805215c] main libvlc debug: revision exported [0x805215c] main libvlc debug: configured with ../configure '--enable-run-as-root' '--enable-sout' '--enable-httpd' '--enable-live555' '--enable-dvdread' '--enable-dvdnav' '-enable-dvbpsi' '-enable-v4l2' '-enable-v4l' '--enable-dvb' '--enable-avcodec' '--enable-avformat' '--enable-swscale' '--enable-postproc' '--enable-faad' '--enable-twolame' '--enable-a52' '--enable-flac' '--enable-libmpeg2' '--enable-theora' '--enable-x264' '--enable-xcb' '--enable-caca' '--disable-skins2' '--enable-lirc' '--enable-release' '--disable-glx' [0x805215c] main libvlc debug: translation test: code is "C" [0x805215c] main libvlc debug: checking plugin modules [0x805215c] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins-04041e-7e8.dat [0x805215c] main libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins' [0x805215c] main libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins-04041e-7e8.dat [0x805215c] main libvlc debug: module bank initialized (343 modules) [0x805215c] main libvlc debug: opening config file (/home/captainloc/.config/vlc/vlcrc) [0x805215c] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU [0x805215c] main libvlc debug: looking for memcpy module: 3 candidates [0x805215c] main libvlc debug: using memcpy module "memcpymmxext" [0x80ecfdc] main input debug: Creating an input for 'Media Library' [0x80ecfdc] main input debug: Input is a meta file: disabling unneeded options [0x80ecfdc] main input debug: using timeshift granularity of 50 MiB [0x80ecfdc] main input debug: using timeshift path '/tmp' [0x80ecfdc] main input debug: `file/xspf-open:///home/captainloc/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/captainloc/.local/share/vlc/ml.xspf' [0x80ecfdc] main input debug: creating demux: access='file' demux='xspf-open' path='/home/captainloc/.local/share/vlc/ml.xspf' [0x80d9e9c] main demux debug: looking for access_demux module: 2 candidates [0x80d9e9c] main demux debug: no access_demux module matching "file" could be loaded [0x80d9e9c] main demux debug: TIMER module_need() : 4.830 ms - Total 4.830 ms / 1 intvls (Avg 4.830 ms) [0x80ecfdc] main input debug: creating access 'file' path='/home/captainloc/.local/share/vlc/ml.xspf' [0x80d58bc] main access debug: looking for access module: 2 candidates [0x80d58bc] filesystem access debug: opening file `/home/captainloc/.local/share/vlc/ml.xspf' [0x80d58bc] main access debug: using access module "filesystem" [0x80d58bc] main access debug: TIMER module_need() : 3.388 ms - Total 3.388 ms / 1 intvls (Avg 3.388 ms) [0x80daf0c] main stream debug: Using AStream*Stream [0x80daf0c] main stream debug: pre buffering [0x80daf0c] main stream debug: received first data after 0 ms [0x80daf0c] main stream debug: pre-buffering done 296 bytes in 0s - 19270 KiB/s [0x80dac2c] main stream debug: looking for stream_filter module: 5 candidates [0x80dac2c] main stream debug: no stream_filter module matching "any" could be loaded [0x80dac2c] main stream debug: TIMER module_need() : 5.995 ms - Total 5.995 ms / 1 intvls (Avg 5.995 ms) [0x80dac2c] main stream debug: looking for stream_filter module: 1 candidate [0x80dac2c] main stream debug: using stream_filter module "stream_filter_record" [0x80dac2c] main stream debug: TIMER module_need() : 1.973 ms - Total 1.973 ms / 1 intvls (Avg 1.973 ms) [0x80ecfdc] main input debug: creating demux: access='file' demux='xspf-open' path='/home/captainloc/.local/share/vlc/ml.xspf' [0x80d77ac] main demux debug: looking for demux module: 1 candidate [0x80d77ac] playlist demux debug: using XSPF playlist reader [0x80d77ac] main demux debug: using demux module "playlist" [0x80d77ac] main demux debug: TIMER module_need() : 2.295 ms - Total 2.295 ms / 1 intvls (Avg 2.295 ms) [0x80e436c] main demux meta debug: looking for meta reader module: 1 candidate [0x80e436c] lua demux meta debug: Trying Lua scripts in /home/captainloc/.local/share/vlc/lua/meta/reader [0x80e436c] lua demux meta debug: Trying Lua scripts in /usr/local/lib/vlc/lua/meta/reader [0x80e436c] lua demux meta debug: Trying Lua playlist script /usr/local/lib/vlc/lua/meta/reader/filename.luac [0x80e436c] lua demux meta debug: Trying Lua scripts in /usr/local/share/vlc/lua/meta/reader [0x80e436c] main demux meta debug: no meta reader module matching "any" could be loaded [0x80e436c] main demux meta debug: TIMER module_need() : 4.293 ms - Total 4.293 ms / 1 intvls (Avg 4.293 ms) [0x80ecfdc] main input debug: `file/xspf-open:///home/captainloc/.local/share/vlc/ml.xspf' successfully opened [0x80e436c] main xml debug: looking for xml module: 1 candidate [0x80e436c] main xml debug: using xml module "xtag" [0x80e436c] main xml debug: TIMER module_need() : 2.195 ms - Total 2.195 ms / 1 intvls (Avg 2.195 ms) [0x80d77ac] playlist demux debug: parsed 0 tracks successfully [0x80e436c] main xml debug: removing module "xtag" [0x80ecfdc] main input debug: EOF reached [0x80d77ac] main demux debug: removing module "playlist" [0x80dac2c] main stream debug: removing module "stream_filter_record" [0x80d58bc] main access debug: removing module "filesystem" [0x80ecfdc] main input debug: TIMER input launching for 'Media Library' : 23.240 ms - Total 23.240 ms / 1 intvls (Avg 23.240 ms) [0x80daeac] main interface debug: looking for interface module: 1 candidate [0x80daeac] main interface debug: using interface module "hotkeys" [0x80daeac] main interface debug: TIMER module_need() : 2.444 ms - Total 2.444 ms / 1 intvls (Avg 2.444 ms) [0x80d62ec] main interface debug: looking for interface module: 1 candidate Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x80d62ec] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally without any error message [0x80d62ec] main interface debug: no interface module matching "inhibit,none" could be loaded [0x80d62ec] main interface debug: TIMER module_need() : 3.289 ms - Total 3.289 ms / 1 intvls (Avg 3.289 ms) [0x80d62ec] main interface error: no suitable interface module [New Thread 0xb7b0fb70 (LWP 5277)] [0x80eca3c] main playlist debug: Activated [0x80eca3c] main playlist debug: adding item `dvb://' ( dvb:// ) [0x80eca3c] main playlist debug: rebuilding array of current - root Playlist [0x80eca3c] main playlist debug: rebuild done - 0 items, index -1 [New Thread 0xb7a8eb70 (LWP 5278)] [Thread 0xb7a8eb70 (LWP 5278) exited] [0x80d59dc] main interface debug: looking for interface module: 1 candidate [New Thread 0xb7a8eb70 (LWP 5279)] [0x80d59dc] main interface debug: using interface module "signals" [0x80d59dc] main interface debug: TIMER module_need() : 3.806 ms - Total 3.806 ms / 1 intvls (Avg 3.806 ms) [0x80ec4ac] main interface debug: looking for interface module: 1 candidate [0x80ec4ac] main interface debug: no interface module matching "globalhotkeys,none" could be loaded [0x80ec4ac] main interface debug: TIMER module_need() : 4.781 ms - Total 4.781 ms / 1 intvls (Avg 4.781 ms) [0x80ec4ac] main interface error: no suitable interface module [0x805215c] main libvlc error: interface "globalhotkeys,none" initialization failed [0x805215c] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x80ec674] main interface debug: looking for interface module: 2 candidates [0x80ec674] lua interface debug: Found lua interface script: /usr/local/lib/vlc/lua/intf/rc.luac [New Thread 0xb78d2b70 (LWP 5280)] [0x80ec674] [rc] main interface debug: using interface module "lua" [0x80ec674] [rc] main interface debug: TIMER module_need() : 0.992 ms - Total 0.992 ms / 1 intvls (Avg 0.992 ms) [0x80eca3c] main playlist debug: processing request item null node Playlist skip 0 [0x80eca3c] main playlist debug: rebuilding array of current - root Playlist [0x80eca3c] main playlist debug: rebuild done - 1 items, index -1 [0x80eca3c] main playlist debug: starting new item [0x80eca3c] main playlist debug: creating new input thread [0xb79007fc] main input debug: Creating an input for 'dvb://' [0x80ec674] [rc] lua interface: Listening on host "*console". VLC media player 1.1.0 The Luggage Remote control interface initialized. Type `help' for help. > [New Thread 0xb7851b70 (LWP 5281)] [0xb79007fc] main input debug: thread (input) created at priority 10 (../../src/input/input.c:214) [0xb79007fc] main input debug: thread started [0xb790b924] main stream output debug: using sout chain=`duplicate{dst="std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="std{access=http,mux=ts,dst=0.0.0.0:2020}",select="program=200"}' [0xb790b924] main stream output debug: stream=`duplicate' [0xb790bbac] main stream out debug: looking for sout stream module: 1 candidate [0xb790bbac] stream_out_duplicate stream out debug: creating 'duplicate' [0xb790bbac] stream_out_duplicate stream out debug: * adding `std{access=http,mux=ts,dst=0.0.0.0:2010}' [0xb790b924] main stream output debug: stream=`std' [0x8101614] main stream out debug: looking for sout stream module: 1 candidate [0x8101614] main stream out debug: set config option: sout-standard-access to http [0x8101614] main stream out debug: set config option: sout-standard-mux to ts [0x8101614] main stream out debug: set config option: sout-standard-dst to 0.0.0.0:2010 [0x8101614] stream_out_standard stream out debug: creating `http/ts://0.0.0.0:2010' [0x8101614] stream_out_standard stream out debug: extension is 0:2010 [0x8101614] stream_out_standard stream out debug: extension -> mux=(null) [0x8101614] stream_out_standard stream out debug: using `http/ts://0.0.0.0:2010' [0x81028e4] main access out debug: looking for sout access module: 1 candidate [0x81028e4] main access out: creating httpd [0x81028e4] main access out debug: net: listening to 0.0.0.0 port 2010 [New Thread 0xb77cab70 (LWP 5282)] [0x81028e4] main access out debug: using sout access module "access_output_http" [0x81028e4] main access out debug: TIMER module_need() : 3.760 ms - Total 3.760 ms / 1 intvls (Avg 3.760 ms) [0x8101614] stream_out_standard stream out debug: access opened [0x8103cbc] main mux debug: looking for sout mux module: 1 candidate [0x8103cbc] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000 [0x8103cbc] main mux debug: using sout mux module "mux_ts" [0x8103cbc] main mux debug: TIMER module_need() : 6.666 ms - Total 6.666 ms / 1 intvls (Avg 6.666 ms) [0xb790b924] main stream output debug: muxer support adding stream at any time [0xb790b924] main stream output debug: muxer prefers to wait for all ES before starting to mux [0x8101614] stream_out_standard stream out debug: mux opened [0x8101614] main stream out debug: using sout stream module "stream_out_standard" [0x8101614] main stream out debug: TIMER module_need() : 13.760 ms - Total 13.760 ms / 1 intvls (Avg 13.760 ms) [0xb790bbac] stream_out_duplicate stream out debug: * apply selection `program=100' [0xb790bbac] stream_out_duplicate stream out debug: * adding `std{access=http,mux=ts,dst=0.0.0.0:2020}' [0xb790b924] main stream output debug: stream=`std' [0x8104ed4] main stream out debug: looking for sout stream module: 1 candidate [0x8104ed4] main stream out debug: set config option: sout-standard-access to http [0x8104ed4] main stream out debug: set config option: sout-standard-mux to ts [0x8104ed4] main stream out debug: set config option: sout-standard-dst to 0.0.0.0:2020 [0x8104ed4] stream_out_standard stream out debug: creating `http/ts://0.0.0.0:2020' [0x8104ed4] stream_out_standard stream out debug: extension is 0:2020 [0x8104ed4] stream_out_standard stream out debug: extension -> mux=(null) [0x8104ed4] stream_out_standard stream out debug: using `http/ts://0.0.0.0:2020' [0x810556c] main access out debug: looking for sout access module: 1 candidate [0x810556c] main access out debug: net: listening to 0.0.0.0 port 2020 [New Thread 0xb7250b70 (LWP 5283)] [0x810556c] main access out debug: using sout access module "access_output_http" [0x810556c] main access out debug: TIMER module_need() : 0.666 ms - Total 0.666 ms / 1 intvls (Avg 0.666 ms) [0x8104ed4] stream_out_standard stream out debug: access opened [0x8108444] main mux debug: looking for sout mux module: 1 candidate [0x8108444] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000 [0x8108444] main mux debug: using sout mux module "mux_ts" [0x8108444] main mux debug: TIMER module_need() : 0.129 ms - Total 0.129 ms / 1 intvls (Avg 0.129 ms) [0xb790b924] main stream output debug: muxer support adding stream at any time [0x8104ed4] stream_out_standard stream out debug: mux opened [0x8104ed4] main stream out debug: using sout stream module "stream_out_standard" [0x8104ed4] main stream out debug: TIMER module_need() : 0.973 ms - Total 0.973 ms / 1 intvls (Avg 0.973 ms) [0xb790bbac] stream_out_duplicate stream out debug: * apply selection `program=200' [0xb790bbac] main stream out debug: using sout stream module "stream_out_duplicate" [0xb790bbac] main stream out debug: TIMER module_need() : 17.896 ms - Total 17.896 ms / 1 intvls (Avg 17.896 ms) [0xb79007fc] main input debug: using timeshift granularity of 50 MiB [0xb79007fc] main input debug: using timeshift path '/tmp' [0xb79007fc] main input debug: `dvb://' gives access `dvb' demux `' path `' [0xb79007fc] main input debug: creating demux: access='dvb' demux='' path='' [0x81098fc] main demux debug: looking for access_demux module: 0 candidates [0x81098fc] main demux debug: no access_demux module matched "dvb" [0x81098fc] main demux debug: TIMER module_need() : 0.054 ms - Total 0.054 ms / 1 intvls (Avg 0.054 ms) [0xb79007fc] main input debug: creating access 'dvb' path='' [0x81098dc] main access debug: looking for access module: 1 candidate [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/frontend0 [0x81098dc] dvb access debug: Frontend Info: [0x81098dc] dvb access debug: name = DiBcom 7000PC [0x81098dc] dvb access debug: type = OFDM (DVB-T) [0x81098dc] dvb access debug: frequency_min = 45000000 (kHz) [0x81098dc] dvb access debug: frequency_max = 860000000 (kHz) [0x81098dc] dvb access debug: frequency_stepsize = 62500 [0x81098dc] dvb access debug: frequency_tolerance = 0 [0x81098dc] dvb access debug: symbol_rate_min = 0 (kHz) [0x81098dc] dvb access debug: symbol_rate_max = 0 (kHz) [0x81098dc] dvb access debug: symbol_rate_tolerance (ppm) = 0 [0x81098dc] dvb access debug: notifier_delay (ms) = 0 [0x81098dc] dvb access debug: Frontend Info capability list: [0x81098dc] dvb access debug: inversion auto [0x81098dc] dvb access debug: forward error correction 1/2 [0x81098dc] dvb access debug: forward error correction 2/3 [0x81098dc] dvb access debug: forward error correction 3/4 [0x81098dc] dvb access debug: forward error correction 5/6 [0x81098dc] dvb access debug: forward error correction 7/8 [0x81098dc] dvb access debug: forward error correction auto [0x81098dc] dvb access debug: card can do QPSK [0x81098dc] dvb access debug: card can do QAM 16 [0x81098dc] dvb access debug: card can do QAM 64 [0x81098dc] dvb access debug: card can do QAM auto [0x81098dc] dvb access debug: transmission mode auto [0x81098dc] dvb access debug: guard interval mode auto [0x81098dc] dvb access debug: hierarchy mode auto [0x81098dc] dvb access debug: card can recover from a cable unplug [0x81098dc] dvb access debug: End of capability list [0x81098dc] dvb access debug: trying to tune the frontend... [0x81098dc] dvb access debug: using inversion=2 [0x81098dc] dvb access debug: using bandwidth=8 [0x81098dc] dvb access debug: using fec=9 [0x81098dc] dvb access debug: using fec=9 [0x81098dc] dvb access debug: using transmission=0 [0x81098dc] dvb access debug: using guard=0 [0x81098dc] dvb access debug: using hierarchy=0 [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/dvr0 [0x81098dc] dvb access debug: setting filter on PAT [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/demux0 [0x81098dc] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 0 [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/ca0 [0x81098dc] dvb access warning: CAMInit: opening CAM device failed (No such file or directory) [0x81098dc] main access debug: using access module "dvb" [0x81098dc] main access debug: TIMER module_need() : 26.345 ms - Total 26.345 ms / 1 intvls (Avg 26.345 ms) [0x8100c84] main stream debug: Using AStream*Block [0x8100c84] main stream debug: pre buffering [0x8100c84] main stream debug: received first data after 666 ms [0x8100c84] main stream debug: prebuffering done 188 bytes in 0s - 0 KiB/s [0x81010cc] main stream debug: looking for stream_filter module: 5 candidates [0x81010cc] main stream debug: no stream_filter module matching "any" could be loaded [0x81010cc] main stream debug: TIMER module_need() : 0.084 ms - Total 0.084 ms / 1 intvls (Avg 0.084 ms) [0x81010a4] main stream debug: looking for stream_filter module: 1 candidate [0x81010a4] main stream debug: using stream_filter module "stream_filter_record" [0x81010a4] main stream debug: TIMER module_need() : 0.075 ms - Total 0.075 ms / 1 intvls (Avg 0.075 ms) [0xb79007fc] main input debug: creating demux: access='dvb' demux='ts' path='' [0x81012dc] main demux debug: looking for demux module: 1 candidate [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/demux0 [0x81098dc] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 17 [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/demux0 [0x81098dc] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 20 [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/demux0 [0x81098dc] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 18 [0x81012dc] main demux debug: using demux module "ts" [0x81012dc] main demux debug: TIMER module_need() : 666.500 ms - Total 666.500 ms / 1 intvls (Avg 666.500 ms) [0x81012dc] ts demux debug: DEMUX_SET_GROUP -1 0xb78512ac *** glibc detected *** /usr/local/bin/vlc: free(): invalid next size (fast): 0x0810db30 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xb7dc6591] /lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0xb7dc7de8] /lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xb7dcaecd] /usr/local/lib/libvlccore.so.4(+0x57ac7)[0xb7f2aac7] [0x0] [0x1010074] ======= Memory map: ======== 08048000-0804a000 r-xp 00000000 08:05 8733454 /usr/local/bin/vlc 0804a000-0804b000 r--p 00001000 08:05 8733454 /usr/local/bin/vlc 0804b000-0804c000 rw-p 00002000 08:05 8733454 /usr/local/bin/vlc 0804c000-0811d000 rw-p 00000000 00:00 0 [heap] b69c0000-b6e85000 rw-p 00000000 00:00 0 b6e85000-b6eaa000 r-xp 00000000 08:05 8723831 /usr/lib/liblua5.1.so.0.0.0 b6eaa000-b6eab000 r--p 00024000 08:05 8723831 /usr/lib/liblua5.1.so.0.0.0 b6eab000-b6eac000 rw-p 00025000 08:05 8723831 /usr/lib/liblua5.1.so.0.0.0 b6eb5000-b6ed6000 r-xp 00000000 08:05 8864120 /usr/local/lib/vlc/plugins/misc/liblua_plugin.so b6ed6000-b6ed7000 r--p 00021000 08:05 8864120 /usr/local/lib/vlc/plugins/misc/liblua_plugin.so b6ed7000-b6ed8000 rw-p 00022000 08:05 8864120 /usr/local/lib/vlc/plugins/misc/liblua_plugin.so b6ed8000-b6eee000 r-xp 00000000 08:05 8864044 /usr/local/lib/vlc/plugins/demux/libplaylist_plugin.so b6eee000-b6eef000 r--p 00015000 08:05 8864044 /usr/local/lib/vlc/plugins/demux/libplaylist_plugin.so b6eef000-b6ef0000 rw-p 00016000 08:05 8864044 /usr/local/lib/vlc/plugins/demux/libplaylist_plugin.so b6ef0000-b6f03000 r-xp 00000000 08:05 20005110 /lib/libz.so.1.2.3.3 b6f03000-b6f04000 r--p 00012000 08:05 20005110 /lib/libz.so.1.2.3.3 b6f04000-b6f05000 rw-p 00013000 08:05 20005110 /lib/libz.so.1.2.3.3 b6f06000-b6f08000 r-xp 00000000 08:05 8864118 /usr/local/lib/vlc/plugins/misc/libxtag_plugin.so b6f08000-b6f09000 r--p 00001000 08:05 8864118 /usr/local/lib/vlc/plugins/misc/libxtag_plugin.so b6f09000-b6f0a000 rw-p 00002000 08:05 8864118 /usr/local/lib/vlc/plugins/misc/libxtag_plugin.so b6f0a000-b6f0c000 r-xp 00000000 08:05 8864164 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_record_plugin.so b6f0c000-b6f0d000 r--p 00001000 08:05 8864164 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_record_plugin.so b6f0d000-b6f0e000 rw-p 00002000 08:05 8864164 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_record_plugin.so b6f0e000-b6f15000 r-xp 00000000 08:05 8863850 /usr/local/lib/vlc/plugins/access/libzip_plugin.so b6f15000-b6f16000 r--p 00006000 08:05 8863850 /usr/local/lib/vlc/plugins/access/libzip_plugin.so b6f16000-b6f17000 rw-p 00007000 08:05 8863850 /usr/local/lib/vlc/plugins/access/libzip_plugin.so b6f17000-b6f19000 r-xp 00000000 08:05 8864166 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_rar_plugin.so b6f19000-b6f1a000 r--p 00001000 08:05 8864166 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_rar_plugin.so b6f1a000-b6f1b000 rw-p 00002000 08:05 8864166 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_rar_plugin.so b712e000-b714b000 r-xp 00000000 08:05 20004919 /lib/libgcc_s.so.1 b714b000-b714c000 r--p 0001c000 08:05 20004919 /lib/libgcc_s.so.1 b714c000-b714d000 rw-p 0001d000 08:05 20004919 /lib/libgcc_s.so.1 b714d000-b719e000 rw-p 00000000 00:00 0 b719e000-b71b1000 r-xp 00000000 08:05 8864050 /usr/local/lib/vlc/plugins/demux/libts_plugin.so b71b1000-b71b2000 r--p 00012000 08:05 8864050 /usr/local/lib/vlc/plugins/demux/libts_plugin.so b71b2000-b71b3000 rw-p 00013000 08:05 8864050 /usr/local/lib/vlc/plugins/demux/libts_plugin.so b71b3000-b71ce000 r-xp 00000000 08:05 8863837 /usr/local/lib/vlc/plugins/access/libdvb_plugin.so b71ce000-b71cf000 r--p 0001a000 08:05 8863837 /usr/local/lib/vlc/plugins/access/libdvb_plugin.so b71cf000-b71d0000 rw-p 0001b000 08:05 8863837 /usr/local/lib/vlc/plugins/access/libdvb_plugin.so b71d0000-b71d1000 ---p 00000000 00:00 0 b71d1000-b7251000 rw-p 00000000 00:00 0 b7251000-b725f000 r-xp 00000000 08:05 8733468 /usr/local/lib/libdvbpsi.so.6.0.0 b725f000-b7260000 r--p 0000d000 08:05 8733468 /usr/local/lib/libdvbpsi.so.6.0.0 b7260000-b7261000 rw-p 0000e000 08:05 8733468 /usr/local/lib/libdvbpsi.so.6.0.0 b726a000-b7283000 r-xp 00000000 08:05 8864311 /usr/local/lib/vlc/plugins/mux/libmux_ts_plugin.so b7283000-b7284000 r--p 00018000 08:05 8864311 /usr/local/lib/vlc/plugins/mux/libmux_ts_plugin.so b7284000-b7285000 rw-p 00019000 08:05 8864311 /usr/local/lib/vlc/plugins/mux/libmux_ts_plugin.so b7285000-b774a000 rw-p 00000000 00:00 0 b774a000-b774b000 ---p 00000000 00:00 0 b774b000-b77cb000 rw-p 00000000 00:00 0 b77cb000-b77cf000 r-xp 00000000 08:05 8864340 /usr/local/lib/vlc/plugins/stream_out/libstream_out_standard_plugin.so b77cf000-b77d0000 r--p 00003000 08:05 8864340 /usr/local/lib/vlc/plugins/stream_out/libstream_out_standard_plugin.so b77d0000-b77d1000 rw-p 00004000 08:05 8864340 /usr/local/lib/vlc/plugins/stream_out/libstream_out_standard_plugin.so b77d1000-b77d2000 ---p 00000000 00:00 0 b77d2000-b7852000 rw-p 00000000 00:00 0 b7852000-b7853000 ---p 00000000 00:00 0 b7853000-b78d3000 rw-p 00000000 00:00 0 b78d3000-b78d7000 r-xp 00000000 08:05 8720890 /usr/lib/libXdmcp.so.6.0.0 b78d7000-b78d8000 r--p 00003000 08:05 8720890 /usr/lib/libXdmcp.so.6.0.0 b78d8000-b78d9000 rw-p 00004000 08:05 8720890 /usr/lib/libXdmcp.so.6.0.0 b78d9000-b78f1000 r-xp 00000000 08:05 8720892 /usr/lib/libxcb.so.1.1.0 b78f1000-b78f2000 r--p 00017000 08:05 8720892 /usr/lib/libxcb.so.1.1.0 b78f2000-b78f3000 rw-p 00018000 08:05 8720892 /usr/lib/libxcb.so.1.1.0 b78f3000-b78f5000 r-xp 00000000 08:05 14254153 /usr/lib/libxcb-keysyms.so.1.0.0 b78f5000-b78f6000 r--p 00001000 08:05 14254153 /usr/lib/libxcb-keysyms.so.1.0.0 Program received signal SIGABRT, Aborted. [Switching to Thread 0xb7851b70 (LWP 5281)] 0xb7fe2430 in __kernel_vsyscall () (gdb) bt #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb7d85651 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7d88a82 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7dbc49d in ?? () from /lib/tls/i686/cmov/libc.so.6 #4 0xb7dc6591 in ?? () from /lib/tls/i686/cmov/libc.so.6 #5 0xb7dc7de8 in ?? () from /lib/tls/i686/cmov/libc.so.6 #6 0xb7dcaecd in free () from /lib/tls/i686/cmov/libc.so.6 #7 0xb7f2aac7 in Init () from /usr/local/lib/libvlccore.so.4 #8 0x00000008 in ?? () #9 0xffffffff in ?? () #10 0xb78512ac in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Do you have any idea ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Multiples DVB-T Programs = Segmentation Error

Postby Rémi Denis-Courmont » 06 Jul 2010 18:02

I guess this was fixed by Laurent's changes in the very latest 1.1.1 preversions.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 06 Jul 2010 18:16

Unfortunately not :(
I tried also the last version from the Git Hub and i got the same problem

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Multiples DVB-T Programs = Segmentation Error

Postby Jean-Baptiste Kempf » 07 Jul 2010 00:29

Last version? 1.1.0-git? 1.1.1? 1.2.0-git?
GitHub? You mean git.videolan.org?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 07 Jul 2010 05:39

Hi Jean Baptiste
I Tried with 2 versions :
- 1.1.0 from the main website (tar.gz archive)
- 1.2.0-git from git.videolan.org

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 07 Jul 2010 06:00

i got this error in particular :
*** glibc detected *** /usr/local/bin/vlc: realloc(): invalid next size: 0x095de728 ***
I looked for a quick answer on google and some guy had a similar problem in C with pointer or memory allocation.

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: Multiples DVB-T Programs = Segmentation Error

Postby ivoire » 07 Jul 2010 14:04

we need more information, like a full backtrace.
Run vlc under gdb and when it crash ask for a backtrace (bt)

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 07 Jul 2010 17:34

I already posted it :
I reinstalled VLC on an other Ubuntu box and i got another segmentation fault

Code: Select all

gdb vlc GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/local/bin/vlc...done. (gdb) run -vvv --ts-es-id-pid dvb:// --dvb-frequency=674000000 --dvb-adapter=0 --dvb-bandwidth=8 --programs=100,200 --sout '#duplicate{dst="std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="std{access=http,mux=ts,dst=0.0.0.0:2020}",select="program=200"}' Starting program: /usr/local/bin/vlc -vvv --ts-es-id-pid dvb:// --dvb-frequency=674000000 --dvb-adapter=0 --dvb-bandwidth=8 --programs=100,200 --sout '#duplicate{dst="std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="std{access=http,mux=ts,dst=0.0.0.0:2020}",select="program=200"}' [Thread debugging using libthread_db enabled] VLC media player 1.1.0 The Luggage (revision exported) [0x805215c] main libvlc debug: VLC media player - 1.1.0 The Luggage [0x805215c] main libvlc debug: Copyright © 1996-2010 the VideoLAN team [0x805215c] main libvlc debug: revision exported [0x805215c] main libvlc debug: configured with ../configure '--enable-run-as-root' '--enable-sout' '--enable-httpd' '--enable-live555' '--enable-dvdread' '--enable-dvdnav' '-enable-dvbpsi' '-enable-v4l2' '-enable-v4l' '--enable-dvb' '--enable-avcodec' '--enable-avformat' '--enable-swscale' '--enable-postproc' '--enable-faad' '--enable-twolame' '--enable-a52' '--enable-flac' '--enable-libmpeg2' '--enable-theora' '--enable-x264' '--enable-xcb' '--enable-caca' '--disable-skins2' '--enable-lirc' '--enable-release' '--disable-glx' [0x805215c] main libvlc debug: translation test: code is "C" [0x805215c] main libvlc debug: checking plugin modules [0x805215c] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins-04041e-7e8.dat [0x805215c] main libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins' [0x805215c] main libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins-04041e-7e8.dat [0x805215c] main libvlc debug: module bank initialized (343 modules) [0x805215c] main libvlc debug: opening config file (/home/captainloc/.config/vlc/vlcrc) [0x805215c] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU [0x805215c] main libvlc debug: looking for memcpy module: 3 candidates [0x805215c] main libvlc debug: using memcpy module "memcpymmxext" [0x80ecfdc] main input debug: Creating an input for 'Media Library' [0x80ecfdc] main input debug: Input is a meta file: disabling unneeded options [0x80ecfdc] main input debug: using timeshift granularity of 50 MiB [0x80ecfdc] main input debug: using timeshift path '/tmp' [0x80ecfdc] main input debug: `file/xspf-open:///home/captainloc/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/captainloc/.local/share/vlc/ml.xspf' [0x80ecfdc] main input debug: creating demux: access='file' demux='xspf-open' path='/home/captainloc/.local/share/vlc/ml.xspf' [0x80d9e9c] main demux debug: looking for access_demux module: 2 candidates [0x80d9e9c] main demux debug: no access_demux module matching "file" could be loaded [0x80d9e9c] main demux debug: TIMER module_need() : 4.830 ms - Total 4.830 ms / 1 intvls (Avg 4.830 ms) [0x80ecfdc] main input debug: creating access 'file' path='/home/captainloc/.local/share/vlc/ml.xspf' [0x80d58bc] main access debug: looking for access module: 2 candidates [0x80d58bc] filesystem access debug: opening file `/home/captainloc/.local/share/vlc/ml.xspf' [0x80d58bc] main access debug: using access module "filesystem" [0x80d58bc] main access debug: TIMER module_need() : 3.388 ms - Total 3.388 ms / 1 intvls (Avg 3.388 ms) [0x80daf0c] main stream debug: Using AStream*Stream [0x80daf0c] main stream debug: pre buffering [0x80daf0c] main stream debug: received first data after 0 ms [0x80daf0c] main stream debug: pre-buffering done 296 bytes in 0s - 19270 KiB/s [0x80dac2c] main stream debug: looking for stream_filter module: 5 candidates [0x80dac2c] main stream debug: no stream_filter module matching "any" could be loaded [0x80dac2c] main stream debug: TIMER module_need() : 5.995 ms - Total 5.995 ms / 1 intvls (Avg 5.995 ms) [0x80dac2c] main stream debug: looking for stream_filter module: 1 candidate [0x80dac2c] main stream debug: using stream_filter module "stream_filter_record" [0x80dac2c] main stream debug: TIMER module_need() : 1.973 ms - Total 1.973 ms / 1 intvls (Avg 1.973 ms) [0x80ecfdc] main input debug: creating demux: access='file' demux='xspf-open' path='/home/captainloc/.local/share/vlc/ml.xspf' [0x80d77ac] main demux debug: looking for demux module: 1 candidate [0x80d77ac] playlist demux debug: using XSPF playlist reader [0x80d77ac] main demux debug: using demux module "playlist" [0x80d77ac] main demux debug: TIMER module_need() : 2.295 ms - Total 2.295 ms / 1 intvls (Avg 2.295 ms) [0x80e436c] main demux meta debug: looking for meta reader module: 1 candidate [0x80e436c] lua demux meta debug: Trying Lua scripts in /home/captainloc/.local/share/vlc/lua/meta/reader [0x80e436c] lua demux meta debug: Trying Lua scripts in /usr/local/lib/vlc/lua/meta/reader [0x80e436c] lua demux meta debug: Trying Lua playlist script /usr/local/lib/vlc/lua/meta/reader/filename.luac [0x80e436c] lua demux meta debug: Trying Lua scripts in /usr/local/share/vlc/lua/meta/reader [0x80e436c] main demux meta debug: no meta reader module matching "any" could be loaded [0x80e436c] main demux meta debug: TIMER module_need() : 4.293 ms - Total 4.293 ms / 1 intvls (Avg 4.293 ms) [0x80ecfdc] main input debug: `file/xspf-open:///home/captainloc/.local/share/vlc/ml.xspf' successfully opened [0x80e436c] main xml debug: looking for xml module: 1 candidate [0x80e436c] main xml debug: using xml module "xtag" [0x80e436c] main xml debug: TIMER module_need() : 2.195 ms - Total 2.195 ms / 1 intvls (Avg 2.195 ms) [0x80d77ac] playlist demux debug: parsed 0 tracks successfully [0x80e436c] main xml debug: removing module "xtag" [0x80ecfdc] main input debug: EOF reached [0x80d77ac] main demux debug: removing module "playlist" [0x80dac2c] main stream debug: removing module "stream_filter_record" [0x80d58bc] main access debug: removing module "filesystem" [0x80ecfdc] main input debug: TIMER input launching for 'Media Library' : 23.240 ms - Total 23.240 ms / 1 intvls (Avg 23.240 ms) [0x80daeac] main interface debug: looking for interface module: 1 candidate [0x80daeac] main interface debug: using interface module "hotkeys" [0x80daeac] main interface debug: TIMER module_need() : 2.444 ms - Total 2.444 ms / 1 intvls (Avg 2.444 ms) [0x80d62ec] main interface debug: looking for interface module: 1 candidate Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x80d62ec] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally without any error message [0x80d62ec] main interface debug: no interface module matching "inhibit,none" could be loaded [0x80d62ec] main interface debug: TIMER module_need() : 3.289 ms - Total 3.289 ms / 1 intvls (Avg 3.289 ms) [0x80d62ec] main interface error: no suitable interface module [New Thread 0xb7b0fb70 (LWP 5277)] [0x80eca3c] main playlist debug: Activated [0x80eca3c] main playlist debug: adding item `dvb://' ( dvb:// ) [0x80eca3c] main playlist debug: rebuilding array of current - root Playlist [0x80eca3c] main playlist debug: rebuild done - 0 items, index -1 [New Thread 0xb7a8eb70 (LWP 5278)] [Thread 0xb7a8eb70 (LWP 5278) exited] [0x80d59dc] main interface debug: looking for interface module: 1 candidate [New Thread 0xb7a8eb70 (LWP 5279)] [0x80d59dc] main interface debug: using interface module "signals" [0x80d59dc] main interface debug: TIMER module_need() : 3.806 ms - Total 3.806 ms / 1 intvls (Avg 3.806 ms) [0x80ec4ac] main interface debug: looking for interface module: 1 candidate [0x80ec4ac] main interface debug: no interface module matching "globalhotkeys,none" could be loaded [0x80ec4ac] main interface debug: TIMER module_need() : 4.781 ms - Total 4.781 ms / 1 intvls (Avg 4.781 ms) [0x80ec4ac] main interface error: no suitable interface module [0x805215c] main libvlc error: interface "globalhotkeys,none" initialization failed [0x805215c] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x80ec674] main interface debug: looking for interface module: 2 candidates [0x80ec674] lua interface debug: Found lua interface script: /usr/local/lib/vlc/lua/intf/rc.luac [New Thread 0xb78d2b70 (LWP 5280)] [0x80ec674] [rc] main interface debug: using interface module "lua" [0x80ec674] [rc] main interface debug: TIMER module_need() : 0.992 ms - Total 0.992 ms / 1 intvls (Avg 0.992 ms) [0x80eca3c] main playlist debug: processing request item null node Playlist skip 0 [0x80eca3c] main playlist debug: rebuilding array of current - root Playlist [0x80eca3c] main playlist debug: rebuild done - 1 items, index -1 [0x80eca3c] main playlist debug: starting new item [0x80eca3c] main playlist debug: creating new input thread [0xb79007fc] main input debug: Creating an input for 'dvb://' [0x80ec674] [rc] lua interface: Listening on host "*console". VLC media player 1.1.0 The Luggage Remote control interface initialized. Type `help' for help. > [New Thread 0xb7851b70 (LWP 5281)] [0xb79007fc] main input debug: thread (input) created at priority 10 (../../src/input/input.c:214) [0xb79007fc] main input debug: thread started [0xb790b924] main stream output debug: using sout chain=`duplicate{dst="std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="std{access=http,mux=ts,dst=0.0.0.0:2020}",select="program=200"}' [0xb790b924] main stream output debug: stream=`duplicate' [0xb790bbac] main stream out debug: looking for sout stream module: 1 candidate [0xb790bbac] stream_out_duplicate stream out debug: creating 'duplicate' [0xb790bbac] stream_out_duplicate stream out debug: * adding `std{access=http,mux=ts,dst=0.0.0.0:2010}' [0xb790b924] main stream output debug: stream=`std' [0x8101614] main stream out debug: looking for sout stream module: 1 candidate [0x8101614] main stream out debug: set config option: sout-standard-access to http [0x8101614] main stream out debug: set config option: sout-standard-mux to ts [0x8101614] main stream out debug: set config option: sout-standard-dst to 0.0.0.0:2010 [0x8101614] stream_out_standard stream out debug: creating `http/ts://0.0.0.0:2010' [0x8101614] stream_out_standard stream out debug: extension is 0:2010 [0x8101614] stream_out_standard stream out debug: extension -> mux=(null) [0x8101614] stream_out_standard stream out debug: using `http/ts://0.0.0.0:2010' [0x81028e4] main access out debug: looking for sout access module: 1 candidate [0x81028e4] main access out: creating httpd [0x81028e4] main access out debug: net: listening to 0.0.0.0 port 2010 [New Thread 0xb77cab70 (LWP 5282)] [0x81028e4] main access out debug: using sout access module "access_output_http" [0x81028e4] main access out debug: TIMER module_need() : 3.760 ms - Total 3.760 ms / 1 intvls (Avg 3.760 ms) [0x8101614] stream_out_standard stream out debug: access opened [0x8103cbc] main mux debug: looking for sout mux module: 1 candidate [0x8103cbc] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000 [0x8103cbc] main mux debug: using sout mux module "mux_ts" [0x8103cbc] main mux debug: TIMER module_need() : 6.666 ms - Total 6.666 ms / 1 intvls (Avg 6.666 ms) [0xb790b924] main stream output debug: muxer support adding stream at any time [0xb790b924] main stream output debug: muxer prefers to wait for all ES before starting to mux [0x8101614] stream_out_standard stream out debug: mux opened [0x8101614] main stream out debug: using sout stream module "stream_out_standard" [0x8101614] main stream out debug: TIMER module_need() : 13.760 ms - Total 13.760 ms / 1 intvls (Avg 13.760 ms) [0xb790bbac] stream_out_duplicate stream out debug: * apply selection `program=100' [0xb790bbac] stream_out_duplicate stream out debug: * adding `std{access=http,mux=ts,dst=0.0.0.0:2020}' [0xb790b924] main stream output debug: stream=`std' [0x8104ed4] main stream out debug: looking for sout stream module: 1 candidate [0x8104ed4] main stream out debug: set config option: sout-standard-access to http [0x8104ed4] main stream out debug: set config option: sout-standard-mux to ts [0x8104ed4] main stream out debug: set config option: sout-standard-dst to 0.0.0.0:2020 [0x8104ed4] stream_out_standard stream out debug: creating `http/ts://0.0.0.0:2020' [0x8104ed4] stream_out_standard stream out debug: extension is 0:2020 [0x8104ed4] stream_out_standard stream out debug: extension -> mux=(null) [0x8104ed4] stream_out_standard stream out debug: using `http/ts://0.0.0.0:2020' [0x810556c] main access out debug: looking for sout access module: 1 candidate [0x810556c] main access out debug: net: listening to 0.0.0.0 port 2020 [New Thread 0xb7250b70 (LWP 5283)] [0x810556c] main access out debug: using sout access module "access_output_http" [0x810556c] main access out debug: TIMER module_need() : 0.666 ms - Total 0.666 ms / 1 intvls (Avg 0.666 ms) [0x8104ed4] stream_out_standard stream out debug: access opened [0x8108444] main mux debug: looking for sout mux module: 1 candidate [0x8108444] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000 [0x8108444] main mux debug: using sout mux module "mux_ts" [0x8108444] main mux debug: TIMER module_need() : 0.129 ms - Total 0.129 ms / 1 intvls (Avg 0.129 ms) [0xb790b924] main stream output debug: muxer support adding stream at any time [0x8104ed4] stream_out_standard stream out debug: mux opened [0x8104ed4] main stream out debug: using sout stream module "stream_out_standard" [0x8104ed4] main stream out debug: TIMER module_need() : 0.973 ms - Total 0.973 ms / 1 intvls (Avg 0.973 ms) [0xb790bbac] stream_out_duplicate stream out debug: * apply selection `program=200' [0xb790bbac] main stream out debug: using sout stream module "stream_out_duplicate" [0xb790bbac] main stream out debug: TIMER module_need() : 17.896 ms - Total 17.896 ms / 1 intvls (Avg 17.896 ms) [0xb79007fc] main input debug: using timeshift granularity of 50 MiB [0xb79007fc] main input debug: using timeshift path '/tmp' [0xb79007fc] main input debug: `dvb://' gives access `dvb' demux `' path `' [0xb79007fc] main input debug: creating demux: access='dvb' demux='' path='' [0x81098fc] main demux debug: looking for access_demux module: 0 candidates [0x81098fc] main demux debug: no access_demux module matched "dvb" [0x81098fc] main demux debug: TIMER module_need() : 0.054 ms - Total 0.054 ms / 1 intvls (Avg 0.054 ms) [0xb79007fc] main input debug: creating access 'dvb' path='' [0x81098dc] main access debug: looking for access module: 1 candidate [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/frontend0 [0x81098dc] dvb access debug: Frontend Info: [0x81098dc] dvb access debug: name = DiBcom 7000PC [0x81098dc] dvb access debug: type = OFDM (DVB-T) [0x81098dc] dvb access debug: frequency_min = 45000000 (kHz) [0x81098dc] dvb access debug: frequency_max = 860000000 (kHz) [0x81098dc] dvb access debug: frequency_stepsize = 62500 [0x81098dc] dvb access debug: frequency_tolerance = 0 [0x81098dc] dvb access debug: symbol_rate_min = 0 (kHz) [0x81098dc] dvb access debug: symbol_rate_max = 0 (kHz) [0x81098dc] dvb access debug: symbol_rate_tolerance (ppm) = 0 [0x81098dc] dvb access debug: notifier_delay (ms) = 0 [0x81098dc] dvb access debug: Frontend Info capability list: [0x81098dc] dvb access debug: inversion auto [0x81098dc] dvb access debug: forward error correction 1/2 [0x81098dc] dvb access debug: forward error correction 2/3 [0x81098dc] dvb access debug: forward error correction 3/4 [0x81098dc] dvb access debug: forward error correction 5/6 [0x81098dc] dvb access debug: forward error correction 7/8 [0x81098dc] dvb access debug: forward error correction auto [0x81098dc] dvb access debug: card can do QPSK [0x81098dc] dvb access debug: card can do QAM 16 [0x81098dc] dvb access debug: card can do QAM 64 [0x81098dc] dvb access debug: card can do QAM auto [0x81098dc] dvb access debug: transmission mode auto [0x81098dc] dvb access debug: guard interval mode auto [0x81098dc] dvb access debug: hierarchy mode auto [0x81098dc] dvb access debug: card can recover from a cable unplug [0x81098dc] dvb access debug: End of capability list [0x81098dc] dvb access debug: trying to tune the frontend... [0x81098dc] dvb access debug: using inversion=2 [0x81098dc] dvb access debug: using bandwidth=8 [0x81098dc] dvb access debug: using fec=9 [0x81098dc] dvb access debug: using fec=9 [0x81098dc] dvb access debug: using transmission=0 [0x81098dc] dvb access debug: using guard=0 [0x81098dc] dvb access debug: using hierarchy=0 [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/dvr0 [0x81098dc] dvb access debug: setting filter on PAT [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/demux0 [0x81098dc] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 0 [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/ca0 [0x81098dc] dvb access warning: CAMInit: opening CAM device failed (No such file or directory) [0x81098dc] main access debug: using access module "dvb" [0x81098dc] main access debug: TIMER module_need() : 26.345 ms - Total 26.345 ms / 1 intvls (Avg 26.345 ms) [0x8100c84] main stream debug: Using AStream*Block [0x8100c84] main stream debug: pre buffering [0x8100c84] main stream debug: received first data after 666 ms [0x8100c84] main stream debug: prebuffering done 188 bytes in 0s - 0 KiB/s [0x81010cc] main stream debug: looking for stream_filter module: 5 candidates [0x81010cc] main stream debug: no stream_filter module matching "any" could be loaded [0x81010cc] main stream debug: TIMER module_need() : 0.084 ms - Total 0.084 ms / 1 intvls (Avg 0.084 ms) [0x81010a4] main stream debug: looking for stream_filter module: 1 candidate [0x81010a4] main stream debug: using stream_filter module "stream_filter_record" [0x81010a4] main stream debug: TIMER module_need() : 0.075 ms - Total 0.075 ms / 1 intvls (Avg 0.075 ms) [0xb79007fc] main input debug: creating demux: access='dvb' demux='ts' path='' [0x81012dc] main demux debug: looking for demux module: 1 candidate [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/demux0 [0x81098dc] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 17 [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/demux0 [0x81098dc] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 20 [0x81098dc] dvb access debug: Opening device /dev/dvb/adapter0/demux0 [0x81098dc] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 18 [0x81012dc] main demux debug: using demux module "ts" [0x81012dc] main demux debug: TIMER module_need() : 666.500 ms - Total 666.500 ms / 1 intvls (Avg 666.500 ms) [0x81012dc] ts demux debug: DEMUX_SET_GROUP -1 0xb78512ac *** glibc detected *** /usr/local/bin/vlc: free(): invalid next size (fast): 0x0810db30 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xb7dc6591] /lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0xb7dc7de8] /lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xb7dcaecd] /usr/local/lib/libvlccore.so.4(+0x57ac7)[0xb7f2aac7] [0x0] [0x1010074] ======= Memory map: ======== 08048000-0804a000 r-xp 00000000 08:05 8733454 /usr/local/bin/vlc 0804a000-0804b000 r--p 00001000 08:05 8733454 /usr/local/bin/vlc 0804b000-0804c000 rw-p 00002000 08:05 8733454 /usr/local/bin/vlc 0804c000-0811d000 rw-p 00000000 00:00 0 [heap] b69c0000-b6e85000 rw-p 00000000 00:00 0 b6e85000-b6eaa000 r-xp 00000000 08:05 8723831 /usr/lib/liblua5.1.so.0.0.0 b6eaa000-b6eab000 r--p 00024000 08:05 8723831 /usr/lib/liblua5.1.so.0.0.0 b6eab000-b6eac000 rw-p 00025000 08:05 8723831 /usr/lib/liblua5.1.so.0.0.0 b6eb5000-b6ed6000 r-xp 00000000 08:05 8864120 /usr/local/lib/vlc/plugins/misc/liblua_plugin.so b6ed6000-b6ed7000 r--p 00021000 08:05 8864120 /usr/local/lib/vlc/plugins/misc/liblua_plugin.so b6ed7000-b6ed8000 rw-p 00022000 08:05 8864120 /usr/local/lib/vlc/plugins/misc/liblua_plugin.so b6ed8000-b6eee000 r-xp 00000000 08:05 8864044 /usr/local/lib/vlc/plugins/demux/libplaylist_plugin.so b6eee000-b6eef000 r--p 00015000 08:05 8864044 /usr/local/lib/vlc/plugins/demux/libplaylist_plugin.so b6eef000-b6ef0000 rw-p 00016000 08:05 8864044 /usr/local/lib/vlc/plugins/demux/libplaylist_plugin.so b6ef0000-b6f03000 r-xp 00000000 08:05 20005110 /lib/libz.so.1.2.3.3 b6f03000-b6f04000 r--p 00012000 08:05 20005110 /lib/libz.so.1.2.3.3 b6f04000-b6f05000 rw-p 00013000 08:05 20005110 /lib/libz.so.1.2.3.3 b6f06000-b6f08000 r-xp 00000000 08:05 8864118 /usr/local/lib/vlc/plugins/misc/libxtag_plugin.so b6f08000-b6f09000 r--p 00001000 08:05 8864118 /usr/local/lib/vlc/plugins/misc/libxtag_plugin.so b6f09000-b6f0a000 rw-p 00002000 08:05 8864118 /usr/local/lib/vlc/plugins/misc/libxtag_plugin.so b6f0a000-b6f0c000 r-xp 00000000 08:05 8864164 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_record_plugin.so b6f0c000-b6f0d000 r--p 00001000 08:05 8864164 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_record_plugin.so b6f0d000-b6f0e000 rw-p 00002000 08:05 8864164 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_record_plugin.so b6f0e000-b6f15000 r-xp 00000000 08:05 8863850 /usr/local/lib/vlc/plugins/access/libzip_plugin.so b6f15000-b6f16000 r--p 00006000 08:05 8863850 /usr/local/lib/vlc/plugins/access/libzip_plugin.so b6f16000-b6f17000 rw-p 00007000 08:05 8863850 /usr/local/lib/vlc/plugins/access/libzip_plugin.so b6f17000-b6f19000 r-xp 00000000 08:05 8864166 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_rar_plugin.so b6f19000-b6f1a000 r--p 00001000 08:05 8864166 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_rar_plugin.so b6f1a000-b6f1b000 rw-p 00002000 08:05 8864166 /usr/local/lib/vlc/plugins/stream_filter/libstream_filter_rar_plugin.so b712e000-b714b000 r-xp 00000000 08:05 20004919 /lib/libgcc_s.so.1 b714b000-b714c000 r--p 0001c000 08:05 20004919 /lib/libgcc_s.so.1 b714c000-b714d000 rw-p 0001d000 08:05 20004919 /lib/libgcc_s.so.1 b714d000-b719e000 rw-p 00000000 00:00 0 b719e000-b71b1000 r-xp 00000000 08:05 8864050 /usr/local/lib/vlc/plugins/demux/libts_plugin.so b71b1000-b71b2000 r--p 00012000 08:05 8864050 /usr/local/lib/vlc/plugins/demux/libts_plugin.so b71b2000-b71b3000 rw-p 00013000 08:05 8864050 /usr/local/lib/vlc/plugins/demux/libts_plugin.so b71b3000-b71ce000 r-xp 00000000 08:05 8863837 /usr/local/lib/vlc/plugins/access/libdvb_plugin.so b71ce000-b71cf000 r--p 0001a000 08:05 8863837 /usr/local/lib/vlc/plugins/access/libdvb_plugin.so b71cf000-b71d0000 rw-p 0001b000 08:05 8863837 /usr/local/lib/vlc/plugins/access/libdvb_plugin.so b71d0000-b71d1000 ---p 00000000 00:00 0 b71d1000-b7251000 rw-p 00000000 00:00 0 b7251000-b725f000 r-xp 00000000 08:05 8733468 /usr/local/lib/libdvbpsi.so.6.0.0 b725f000-b7260000 r--p 0000d000 08:05 8733468 /usr/local/lib/libdvbpsi.so.6.0.0 b7260000-b7261000 rw-p 0000e000 08:05 8733468 /usr/local/lib/libdvbpsi.so.6.0.0 b726a000-b7283000 r-xp 00000000 08:05 8864311 /usr/local/lib/vlc/plugins/mux/libmux_ts_plugin.so b7283000-b7284000 r--p 00018000 08:05 8864311 /usr/local/lib/vlc/plugins/mux/libmux_ts_plugin.so b7284000-b7285000 rw-p 00019000 08:05 8864311 /usr/local/lib/vlc/plugins/mux/libmux_ts_plugin.so b7285000-b774a000 rw-p 00000000 00:00 0 b774a000-b774b000 ---p 00000000 00:00 0 b774b000-b77cb000 rw-p 00000000 00:00 0 b77cb000-b77cf000 r-xp 00000000 08:05 8864340 /usr/local/lib/vlc/plugins/stream_out/libstream_out_standard_plugin.so b77cf000-b77d0000 r--p 00003000 08:05 8864340 /usr/local/lib/vlc/plugins/stream_out/libstream_out_standard_plugin.so b77d0000-b77d1000 rw-p 00004000 08:05 8864340 /usr/local/lib/vlc/plugins/stream_out/libstream_out_standard_plugin.so b77d1000-b77d2000 ---p 00000000 00:00 0 b77d2000-b7852000 rw-p 00000000 00:00 0 b7852000-b7853000 ---p 00000000 00:00 0 b7853000-b78d3000 rw-p 00000000 00:00 0 b78d3000-b78d7000 r-xp 00000000 08:05 8720890 /usr/lib/libXdmcp.so.6.0.0 b78d7000-b78d8000 r--p 00003000 08:05 8720890 /usr/lib/libXdmcp.so.6.0.0 b78d8000-b78d9000 rw-p 00004000 08:05 8720890 /usr/lib/libXdmcp.so.6.0.0 b78d9000-b78f1000 r-xp 00000000 08:05 8720892 /usr/lib/libxcb.so.1.1.0 b78f1000-b78f2000 r--p 00017000 08:05 8720892 /usr/lib/libxcb.so.1.1.0 b78f2000-b78f3000 rw-p 00018000 08:05 8720892 /usr/lib/libxcb.so.1.1.0 b78f3000-b78f5000 r-xp 00000000 08:05 14254153 /usr/lib/libxcb-keysyms.so.1.0.0 b78f5000-b78f6000 r--p 00001000 08:05 14254153 /usr/lib/libxcb-keysyms.so.1.0.0 Program received signal SIGABRT, Aborted. [Switching to Thread 0xb7851b70 (LWP 5281)] 0xb7fe2430 in __kernel_vsyscall () (gdb) bt #0 0xb7fe2430 in __kernel_vsyscall () #1 0xb7d85651 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7d88a82 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7dbc49d in ?? () from /lib/tls/i686/cmov/libc.so.6 #4 0xb7dc6591 in ?? () from /lib/tls/i686/cmov/libc.so.6 #5 0xb7dc7de8 in ?? () from /lib/tls/i686/cmov/libc.so.6 #6 0xb7dcaecd in free () from /lib/tls/i686/cmov/libc.so.6 #7 0xb7f2aac7 in Init () from /usr/local/lib/libvlccore.so.4 #8 0x00000008 in ?? () #9 0xffffffff in ?? () #10 0xb78512ac in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Do you have any idea ?
to be more clear, here it is again :
#0 0xb7fe2430 in __kernel_vsyscall ()
#1 0xb7d85651 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7d88a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7dbc49d in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0xb7dc6591 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5 0xb7dcbcbd in ?? () from /lib/tls/i686/cmov/libc.so.6
#6 0xb7dcbf9d in realloc () from /lib/tls/i686/cmov/libc.so.6
#7 0xb7f2b07c in Init () from /usr/local/lib/libvlccore.so.5
#8 0x0000000c in ?? ()
#9 0x0000000a in ?? ()
#10 0xb78d72d4 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 07 Jul 2010 17:35

The first one was with VLC 1-1.0 Final version and the last ont with 1.2.0-Git

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: Multiples DVB-T Programs = Segmentation Error

Postby ivoire » 08 Jul 2010 13:45

You must compile vlc with --enable-debug to have symbols in your backtrace. "#10 0xb78d72d4 in ?? ()" does not means anything to me sorry :)

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 08 Jul 2010 17:24

Sorry :(
#0 0xb7fe2430 in __kernel_vsyscall ()
#1 0xb7d12651 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7d15a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7d4949d in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0xb7d53591 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5 0xb7d58cbd in ?? () from /lib/tls/i686/cmov/libc.so.6
#6 0xb7d58f9d in realloc () from /lib/tls/i686/cmov/libc.so.6
#7 0xb7f2bdf0 in InitPrograms (p_input=<value optimized out>) at ../../src/input/input.c:1170
#8 Init (p_input=<value optimized out>) at ../../src/input/input.c:1258
#9 0xb7f2eb2b in Run (p_this=0x80cd804) at ../../src/input/input.c:533
#10 0xb7f76048 in thread_entry (data=0x80d04f0) at ../../src/misc/threads.c:58
#11 0xb7e4c96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb7db5a4e in clone () from /lib/tls/i686/cmov/libc.so.6

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 08 Jul 2010 17:32

Maybe it can be usefull :

Code: Select all

Starting program: /usr/local/bin/vlc dvb:// --dvb-frequency=682000000 --dvb-adapter=0 --dvb-bandwidth=8 --programs=500,600 --sout '#duplicate{dst="transcode{vcodec=h264,vb=500k,deinterlace,weight=640,height=360,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=500",dst="transcode{vcodec=h264,vb=500k,deinterlace,weight=640,height=360,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2020}",select="program=600"}' [Thread debugging using libthread_db enabled] VLC media player 1.2.0-git Twoflower (revision 5661954) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") /usr/local/bin/vlc(unsetenv+0x6b)[0x8049b9b] /lib/libdbus-1.so.3(+0x2be48)[0xb7d43e48] /lib/libdbus-1.so.3(+0x9f06)[0xb7d21f06] Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") /usr/local/bin/vlc(unsetenv+0x6b)[0x8049b9b] /lib/libdbus-1.so.3(+0x2be48)[0xb7d43e48] /lib/libdbus-1.so.3(+0xa056)[0xb7d22056] [0x80cf3bc] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally without any error message [0x80cf3bc] main interface error: no suitable interface module [New Thread 0xb7adcb70 (LWP 20412)] [New Thread 0xb78ffb70 (LWP 20413)] [Thread 0xb78ffb70 (LWP 20413) exited] [0x80e751c] main interface error: no suitable interface module [0x805322c] main libvlc error: interface "globalhotkeys,none" initialization failed [0x805322c] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [New Thread 0xb78ffb70 (LWP 20414)] [New Thread 0xb787eb70 (LWP 20415)] [0x80edcbc] main access out: creating httpd [New Thread 0xb77fdb70 (LWP 20416)] [0x80e751c] [rc] lua interface: Listening on host "*console". VLC media player 1.2.0-git Twoflower Remote control interface initialized. Type `help' for help. > [New Thread 0xb70dcb70 (LWP 20417)] libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 0) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 45 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb787eb70 (LWP 20415)] 0xb7dc1959 in ?? () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt full #0 0xb7dc1959 in ?? () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #1 0xb7dc1f9d in realloc () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #2 0xb7f662ae in module_list_get (n=0xb787dcc0) at ../../src/modules/modules.c:358 nt = 0x8225d50 mod = 0x80c8800 tab = 0x8225d50 i = 20 __PRETTY_FUNCTION__ = "module_list_get" #3 0xb7f667a5 in module_need (p_this=0x821b1dc, psz_capability=0xb7fa9c95 "packetizer", psz_name=0xb7fa9657 "$packetizer", b_strict=false) at ../../src/modules/modules.c:464 p_module = <value optimized out> i_shortcuts = 136433152 psz_shortcuts = 0x0 psz_var = 0x821ce00 "" psz_alias = <value optimized out> b_force_backup = false count = <value optimized out> p_all = 0x821b160 #4 0xb7f0c4c2 in CreateDecoder (p_input=<value optimized out>, fmt=<value optimized out>, b_packetizer=true, p_sout=0xb7900a64) at ../../src/input/decoder.c:785 p_dec = 0x821b1dc null_es_format = {i_cat = 0, i_codec = 0, i_original_fourcc = 0, i_id = 0, i_group = 0, i_priority = 0, psz_language = 0x0, psz_description = 0x0, i_extra_languages = 0, p_extra_languages = 0x0, audio = {i_format = 0, i_rate = 0, i_physical_channels = 0, i_original_channels = 0, i_bytes_per_frame = 0, i_frame_length = 0, i_bitspersample = 0, i_blockalign = 0, i_channels = 0 '\000'}, audio_replay_gain = {pb_peak = {false, false}, pf_peak = {0, 0}, pb_gain = {false, false}, pf_gain = {0, 0}}, video = {i_chroma = 0, i_width = 0, i_height = 0, i_x_offset = 0, i_y_offset = 0, i_visible_width = 0, i_visible_height = 0, i_bits_per_pixel = 0, i_sar_num = 0, i_sar_den = 0, i_frame_rate = 0, i_frame_rate_base = 0, i_rmask = 0, i_gmask = 0, i_bmask = 0, i_rrshift = 0, i_lrshift = 0, i_rgshift = 0, i_lgshift = 0, i_rbshift = 0, i_lbshift = 0, p_palette = 0x0}, subs = {psz_encoding = 0x0, i_x_origin = 0, i_y_origin = 0, spu = {palette = { 0 <repeats 17 times>}, i_original_frame_width = 0, i_original_frame_height = 0}, dvb = {i_id = 0}, teletext = { i_magazine = 0, i_page = 0}}, i_bitrate = 0, i_profile = 0, i_level = 0, b_packetized = false, i_extra = 0, p_extra = 0x0} #5 0xb7f0ca0f in input_DecoderNew (p_input=0x80ddde4, fmt=0x821fda8, p_clock=0x821ff30, p_sout=0xb7900a64) at ../../src/input/decoder.c:276 p_dec = <value optimized out> psz_type = 0xb7fa9c95 "packetizer" i_priority = <value optimized out> ---Type <return> to continue, or q <return> to quit--- __PRETTY_FUNCTION__ = "input_DecoderNew" #6 0xb7f11b02 in EsCreateDecoder (out=<value optimized out>, p_es=0x821fd98) at ../../src/input/es_out.c:1589 p_sys = 0x80eb5c8 p_input = <value optimized out> #7 0xb7f11cce in EsSelect (out=<value optimized out>, es=0x821fd98) at ../../src/input/es_out.c:1674 b_sout = 192 p_sys = 0x80eb5c8 p_input = 0x80ddde4 #8 0xb7f133c5 in EsOutSelect (out=<value optimized out>, es=0x821fd98, b_force=false) at ../../src/input/es_out.c:1775 prgm = <value optimized out> buf = <value optimized out> prgms = <value optimized out> p_sys = 0x80eb5c8 i_cat = 1 #9 0xb7f14d46 in EsOutControlLocked (out=0x80eb5a8, i_query=65536, args=0xb787e0f8 "\003") at ../../src/input/es_out.c:2200 i = 1 i_mode = 3 p_sys = 0x80eb5c8 #10 EsOutControl (out=0x80eb5a8, i_query=65536, args=0xb787e0f8 "\003") at ../../src/input/es_out.c:2702 i_ret = <value optimized out> #11 0xb7f1a25d in es_out_vaControl (out=0x80eb5a8, i_query=65536) at ../../include/vlc_es_out.h:126 No locals. #12 es_out_Control (out=0x80eb5a8, i_query=65536) at ../../include/vlc_es_out.h:135 i_result = 0 #13 0xb7f1a3a5 in CmdExecuteControl (p_out=0x0, p_cmd=<value optimized out>) at ../../src/input/es_out_timeshift.c:1462 i_query = -1209367616 __PRETTY_FUNCTION__ = "CmdExecuteControl" #14 0xb7f1aeb4 in ControlLocked (p_out=0x818d548, i_query=65536, args=0xb787e208 "\003") at ../../src/input/es_out_timeshift.c:620 cmd = {i_type = 3 '\003', i_date = 1391167058592, u = {add = {p_es = 0x10000, p_fmt = 0x3}, del = {p_es = 0x10000}, send = { p_es = 0x10000, p_block = 0x3, i_offset = -1210312491}, control = {i_query = 65536, u = {b_bool = 3, i_int = 3, i_i64 = -5198252566785294333, p_es = 0x3, int_i64 = {i_int = 3, i_i64 = -5190285279107475243}, int_meta = {i_int = 3, p_meta = 0xb7dc18d5}, int_epg = {i_int = 3, p_epg = 0xb7dc18d5}, es_bool = {p_es = 0x3, b_bool = 213}, es_fmt = { p_es = 0x3, p_fmt = 0xb7dc18d5}, times = {f_position = -1.2901509733807339e-39, i_time = -5189325495648884983, i_length = 4294967295}, jitter = {i_pts_delay = -5198252566785294333, i_pts_jitter = -5189325495648884983, i_cr_average = -1}}}}} p_sys = 0x8195fd0 #15 Control (p_out=0x818d548, i_query=65536, args=0xb787e208 "\003") at ../../src/input/es_out_timeshift.c:718 i_ret = <value optimized out> ---Type <return> to continue, or q <return> to quit--- #16 0xb7f1d2bd in es_out_vaControl (out=0x818d548, i_query=65536) at ../../include/vlc_es_out.h:126 No locals. #17 es_out_Control (out=0x818d548, i_query=65536) at ../../include/vlc_es_out.h:135 i_result = 0 #18 0xb7f22477 in es_out_SetMode (p_input=<value optimized out>) at ../../src/input/es_out.h:90 i_ret = <value optimized out> #19 InitPrograms (p_input=<value optimized out>) at ../../src/input/input.c:1180 i_es_out_mode = 3 list = {i_count = 2, p_values = 0x8225da8, pi_types = 0x0} #20 Init (p_input=<value optimized out>) at ../../src/input/input.c:1258 p_meta = 0x818ddd0 i = <value optimized out> i_length = -1 #21 0xb7f25b2b in Run (p_this=0x80ddde4) at ../../src/input/input.c:533 canc = 0 b_abort = <value optimized out> #22 0xb7f6d048 in thread_entry (data=0x80eb6a0) at ../../src/misc/threads.c:58 obj = 0x80ddde4 func = 0xb7f25b00 <Run> #23 0xb7eb496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #24 0xb7e1ea4e in clone () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available.

garlantinapple
New Cone
New Cone
Posts: 9
Joined: 14 Jul 2010 06:02
VLC version: windows
Operating System: windows
Location: USA
Contact:

Re: Multiples DVB-T Programs = Segmentation Error

Postby garlantinapple » 17 Jul 2010 08:51

I looked for a quick answer on google and some guy had a similar problem in C with pointer or memory allocation.

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Multiples DVB-T Programs = Segmentation Error

Postby Rémi Denis-Courmont » 17 Jul 2010 11:59

Heap corruption are difficult if not impossible to track in GDB. You should try with valgrind instead.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 19 Jul 2010 17:28

Hi !
That's the first time i used Valgrind so just tell me if you want something else !


valgrind --tool=callgrind --main-stacksize=16322608 vlc dvb:// --dvb-frequency=674000000 --dvb-adapter=0 --dvb-bandwidth=8 --programs=100,300 --marq-marquee "www.eurostream.tv" --marq-size=20 --marq-x 400 --marq-y 520 --marq-opacity 110 --sout '#duplicate{dst="transcode{vcodec=h264,vb=600k,deinterlace,scale=0.8,acodec=mp3,ab=96,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="transcode{vcodec=h264,vb=600k,deinterlace,scale=0.8,acodec=mp3,ab=96,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2030}",select="program=300"}'

Code: Select all

==14356== Callgrind, a call-graph generating cache profiler ==14356== Copyright (C) 2002-2009, and GNU GPL'd, by Josef Weidendorfer et al. ==14356== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for copyright info ==14356== Command: vlc dvb:// --dvb-frequency=674000000 --dvb-adapter=0 --dvb-bandwidth=8 --programs=100,300 --marq-marquee www.eurostream.tv --marq-size=20 --marq-x 400 --marq-y 520 --marq-opacity 110 --sout #duplicate{dst="transcode{vcodec=h264,vb=600k,deinterlace,scale=0.8,acodec=mp3,ab=96,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="transcode{vcodec=h264,vb=600k,deinterlace,scale=0.8,acodec=mp3,ab=96,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2030}",select="program=300"} ==14356== ==14356== For interactive control, run 'callgrind_control -h'. VLC media player 1.2.0-git Twoflower (revision 8cbfee1) ==14356== ==14356== Events : Ir ==14356== Collected : 2617038 ==14356== ==14356== I refs: 2,617,038 ==14356== ==14356== Events : Ir ==14356== Collected : 2618646 ==14356== ==14356== I refs: 2,618,646 ==14356== ==14356== Events : Ir ==14356== Collected : 2619003 ==14356== ==14356== I refs: 2,619,003 ==14356== ==14356== Events : Ir ==14356== Collected : 2619360 ==14356== ==14356== I refs: 2,619,360 Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") vlc(unsetenv+0x6b)[0x8049cbb] /lib/libdbus-1.so.3[0x42cfdf8] /lib/libdbus-1.so.3[0x42adf06] Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") vlc(unsetenv+0x6b)[0x8049cbb] /lib/libdbus-1.so.3[0x42cfdf8] /lib/libdbus-1.so.3[0x42ae056] [0x8178dbc] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. [0x8178dbc] main interface error: no suitable interface module [0x8179b2c] main interface error: no suitable interface module [0x805323c] main libvlc error: interface "globalhotkeys,none" initialization failed [0x805323c] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x813baec] main access out: creating httpd [0x817999c] [rc] lua interface: Listening on host "*console". VLC media player 1.2.0-git Twoflower Remote control interface initialized. Type `help' for help. > libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 9) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 13) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 12) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 2) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 6) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 9) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 11) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 7) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 41 ==14356== ==14356== Process terminating with default action of signal 11 (SIGSEGV) ==14356== Access not within mapped region at address 0x70 ==14356== at 0x41CF347: _int_realloc (malloc.c:5219) ==14356== by 0x41CF93C: realloc (malloc.c:3799) ==14356== by 0x40E95DD: module_list_get (modules.c:358) ==14356== by 0x40E9AB3: module_need (modules.c:464) ==14356== by 0x408E931: CreateDecoder (decoder.c:785) ==14356== by 0x408FF2E: input_DecoderNew (decoder.c:276) ==14356== by 0x4095031: EsCreateDecoder (es_out.c:1589) ==14356== by 0x40951E5: EsSelect (es_out.c:1674) ==14356== by 0x4096824: EsOutSelect (es_out.c:1775) ==14356== by 0x4098355: EsOutControl (es_out.c:2200) ==14356== by 0x409C9EC: es_out_Control (vlc_es_out.h:126) ==14356== by 0x409CB34: CmdExecuteControl (es_out_timeshift.c:1462) ==14356== If you believe this happened as a result of a stack ==14356== overflow in your program's main thread (unlikely but ==14356== possible), you can try to increase the size of the ==14356== main thread stack using the --main-stacksize= flag. ==14356== The main thread stack size used in this run was 16326656. ==14356== ==14356== Events : Ir ==14356== Collected : 83501674 ==14356== ==14356== I refs: 83,501,674 Killed
With GDB

Code: Select all

GNU gdb (GDB) 7.0-ubuntuCopyright (C) 2009 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/local/bin/vlc...done. (gdb) run dvb:// --dvb-frequency=674000000 --dvb-adapter=0 --dvb-bandwidth=8 --programs=100,300 --marq-marquee "www.eurostream.tv" --marq-size=20 --marq-x 400 --marq-y 520 --marq-opacity 110 --sout '#duplicate{dst="transcode{vcodec=h264,vb=600k,deinterlace,scale=0.8,acodec=mp3,ab=96,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="transcode{vcodec=h264,vb=600k,deinterlace,scale=0.8,acodec=mp3,ab=96,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2030}",select="program=300"}' Starting program: /usr/local/bin/vlc dvb:// --dvb-frequency=674000000 --dvb-adapter=0 --dvb-bandwidth=8 --programs=100,300 --marq-marquee "www.eurostream.tv" --marq-size=20 --marq-x 400 --marq-y 520 --marq-opacity 110 --sout '#duplicate{dst="transcode{vcodec=h264,vb=600k,deinterlace,scale=0.8,acodec=mp3,ab=96,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="transcode{vcodec=h264,vb=600k,deinterlace,scale=0.8,acodec=mp3,ab=96,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2030}",select="program=300"}' [Thread debugging using libthread_db enabled] VLC media player 1.2.0-git Twoflower (revision 8cbfee1) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") /usr/local/bin/vlc(unsetenv+0x6b)[0x8049cbb] /lib/libdbus-1.so.3[0xb7d50df8] /lib/libdbus-1.so.3[0xb7d2ef06] Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") /usr/local/bin/vlc(unsetenv+0x6b)[0x8049cbb] /lib/libdbus-1.so.3[0xb7d50df8] /lib/libdbus-1.so.3[0xb7d2f056] [0x80d7fcc] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. [0x80d7fcc] main interface error: no suitable interface module [New Thread 0xb7b1cb70 (LWP 14385)] [New Thread 0xb7a9bb70 (LWP 14386)] [Thread 0xb7a9bb70 (LWP 14386) exited] [0x80d7c5c] main interface error: no suitable interface module [0x805322c] main libvlc error: interface "globalhotkeys,none" initialization failed [0x805322c] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [New Thread 0xb7a9bb70 (LWP 14387)] [0x80d7c5c] [rc] lua interface: Listening on host "*console". VLC media player 1.2.0-git Twoflower Remote control interface initialized. Type `help' for help. > [New Thread 0xb78e1b70 (LWP 14388)] [0x8110be4] main access out: creating httpd [New Thread 0xb7860b70 (LWP 14389)] [New Thread 0xb7227b70 (LWP 14390)] libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 9) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 15) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 11) for PID 0 libdvbpsi error (PSI decoder): PSI section too long libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 0) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 6) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 5) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 15) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 11) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 5) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 7) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 9) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 7) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 11) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 7) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 6) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 1) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 13) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 0) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 14) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 4) for PID 18 libdvbpsi error (misc PSI): Bad CRC_32 (0xa1d05dbf) !!! libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 12) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 9) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 13) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 2) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 7) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 11) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 11) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 1) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 6) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 9) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 8) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 1) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 0) for PID 17 libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 6) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 10) for PID 18 libdvbpsi error (misc PSI): Bad CRC_32 (0x63604521) !!! libdvbpsi error (PSI decoder): PSI section too long libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 14) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 8) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 13) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 11) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 6) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 11) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 13) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 2) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 4) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 10) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 15) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 4) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 9) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 13) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 0) for PID 17 libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 14) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 12) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 12) for PID 18 libdvbpsi error (misc PSI): Bad CRC_32 (0x9952b4d8) !!! libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 11) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 9) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 9) for PID 18 libdvbpsi error (misc PSI): Bad CRC_32 (0xeafce2b8) !!! libdvbpsi error (misc PSI): Bad CRC_32 (0xbd1cd3f2) !!! libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 3) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 2) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0) for PID 41 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb78e1b70 (LWP 14388)] 0xb7dce347 in _int_realloc (av=0xb7ea03a0, oldp=0x824dc68, oldsize=88, nb=96) at malloc.c:5219 5219 malloc.c: No such file or directory. in malloc.c
Full Backtrace from GDB

Code: Select all

(gdb) bt full#0 0xb7dce347 in _int_realloc (av=0xb7ea03a0, oldp=0x824dc68, oldsize=88, nb=96) at malloc.c:5219 nextsize = <value optimized out> newp = <value optimized out> newsize = <value optimized out> newmem = 0x68 next = 0x824dcc0 remainder = <value optimized out> remainder_size = <value optimized out> bck = 0x0 fwd = 0x64 copysize = <value optimized out> ncopies = 15 s = <value optimized out> errstr = <value optimized out> __PRETTY_FUNCTION__ = "_int_realloc" #1 0xb7dce93d in *__GI___libc_realloc (oldmem=0x824dc70, bytes=88) at malloc.c:3799 ar_ptr = 0xb7ea03a0 nb = 96 newp = <value optimized out> oldp = 0x824dc68 oldsize = 88 __PRETTY_FUNCTION__ = "__libc_realloc" ---Type <return> to continue, or q <return> to quit--- #2 0xb7f5e5de in module_list_get (n=0xb78e0cec) at ../../src/modules/modules.c:358 nt = 0x824dc70 mod = 0x80d0500 tab = 0x824dc70 i = 20 __PRETTY_FUNCTION__ = "module_list_get" #3 0xb7f5eab4 in module_need (p_this=0x823be54, psz_capability=0xb7fa21b5 "packetizer", psz_name=0x826bae8 "", b_strict=false) at ../../src/modules/modules.c:464 p_module = <value optimized out> i_shortcuts = 136755944 psz_shortcuts = 0x0 psz_var = 0x826bae8 "" psz_alias = <value optimized out> b_force_backup = false count = <value optimized out> p_all = 0x80532b4 #4 0xb7f03932 in CreateDecoder (p_input=<value optimized out>, fmt=<value optimized out>, b_packetizer=true, p_sout=0x810e294) at ../../src/input/decoder.c:785 p_dec = 0x823be54 null_es_format = {i_cat = 0, i_codec = 0, i_original_fourcc = 0, i_id = 0, i_group = 0, i_priority = 0, psz_language = 0x0, psz_description = 0x0, i_extra_languages = 0, p_extra_languages = 0x0, audio = {i_format = 0, i_rate = 0, i_physical_channels = 0, i_original_channels = 0, i_bytes_per_frame = 0, i_frame_length = 0, i_bitspersample = 0, i_blockalign = 0, i_channels = 0 '\000'}, ---Type <return> to continue, or q <return> to quit--- audio_replay_gain = {pb_peak = {false, false}, pf_peak = {0, 0}, pb_gain = {false, false}, pf_gain = {0, 0}}, video = {i_chroma = 0, i_width = 0, i_height = 0, i_x_offset = 0, i_y_offset = 0, i_visible_width = 0, i_visible_height = 0, i_bits_per_pixel = 0, i_sar_num = 0, i_sar_den = 0, i_frame_rate = 0, i_frame_rate_base = 0, i_rmask = 0, i_gmask = 0, i_bmask = 0, i_rrshift = 0, i_lrshift = 0, i_rgshift = 0, i_lgshift = 0, i_rbshift = 0, i_lbshift = 0, p_palette = 0x0}, subs = {psz_encoding = 0x0, i_x_origin = 0, i_y_origin = 0, spu = {palette = {0 <repeats 17 times>}, i_original_frame_width = 0, i_original_frame_height = 0}, dvb = {i_id = 0}, teletext = {i_magazine = 0, i_page = 0}}, i_bitrate = 0, i_profile = 0, i_level = 0, b_packetized = false, i_extra = 0, p_extra = 0x0} #5 0xb7f04f2f in input_DecoderNew (p_input=0x810a5ec, fmt=0x8241240, p_clock=0x82413c8, p_sout=0x810e294) at ../../src/input/decoder.c:276 p_dec = <value optimized out> psz_type = 0xb7fa21b5 "packetizer" i_priority = <value optimized out> __PRETTY_FUNCTION__ = "input_DecoderNew" #6 0xb7f0a032 in EsCreateDecoder (out=<value optimized out>, p_es=0x8241230) at ../../src/input/es_out.c:1589 p_sys = 0x810daf0 p_input = <value optimized out> #7 0xb7f0a1e6 in EsSelect (out=<value optimized out>, es=0x8241230) at ../../src/input/es_out.c:1674 b_sout = 160 p_sys = 0x810daf0 p_input = 0x810a5ec #8 0xb7f0b825 in EsOutSelect (out=<value optimized out>, es=0x8241230, b_force=false) at ../../src/input/es_out.c:1775 prgm = <value optimized out> buf = <value optimized out> ---Type <return> to continue, or q <return> to quit--- prgms = <value optimized out> p_sys = 0x810daf0 i_cat = 1 #9 0xb7f0d356 in EsOutControlLocked (out=0x810dad0, i_query=65536, args=0xb78e1108 "\003") at ../../src/input/es_out.c:2200 i = 1 i_mode = 3 p_sys = 0x810daf0 #10 EsOutControl (out=0x810dad0, i_query=65536, args=0xb78e1108 "\003") at ../../src/input/es_out.c:2702 i_ret = <value optimized out> #11 0xb7f119ed in es_out_vaControl (out=0x810dad0, i_query=65536) at ../../include/vlc_es_out.h:126 No locals. #12 es_out_Control (out=0x810dad0, i_query=65536) at ../../include/vlc_es_out.h:135 i_result = 0 #13 0xb7f11b35 in CmdExecuteControl (p_out=0x0, p_cmd=<value optimized out>) at ../../src/input/es_out_timeshift.c:1462 i_query = -1209400416 __PRETTY_FUNCTION__ = "CmdExecuteControl" #14 0xb7f13204 in ControlLocked (p_out=0x810e558, i_query=65536, args=0xb78e1218 "\003") at ../../src/input/es_out_timeshift.c:620 cmd = {i_type = 3 '\003', i_date = 27009132194, u = {add = {p_es = 0x10000, p_fmt = 0x3}, del = {p_es = 0x10000}, send = {p_es = 0x10000, p_block = 0x3, i_offset = -1208364317}, control = {i_query = 65536, u = {b_bool = 3, i_int = 3, i_i64 = -5189885223168376829, p_es = 0x3, int_i64 = {i_int = 3, i_i64 = -5190423955009580317}, int_meta = {i_int = 3, p_meta = 0xb7f9d2e3}, int_epg = { i_int = 3, p_epg = 0xb7f9d2e3}, es_bool = {p_es = 0x3, b_bool = 227}, es_fmt = {p_es = 0x3, p_fmt = 0xb7f9d2e3}, times = { f_position = -4.7430786082865703e-39, i_time = 71805954281, i_length = 68719476752}, jitter = { ---Type <return> to continue, or q <return> to quit--- i_pts_delay = -5189885223168376829, i_pts_jitter = 71805954281, i_cr_average = 16}}}}} p_sys = 0x81b6d90 #15 Control (p_out=0x810e558, i_query=65536, args=0xb78e1218 "\003") at ../../src/input/es_out_timeshift.c:718 i_ret = <value optimized out> #16 0xb7f1565d in es_out_vaControl (out=0x810e558, i_query=65536) at ../../include/vlc_es_out.h:126 No locals. #17 es_out_Control (out=0x810e558, i_query=65536) at ../../include/vlc_es_out.h:135 i_result = 0 #18 0xb7f1a866 in es_out_SetMode (p_input=<value optimized out>) at ../../src/input/es_out.h:90 i_ret = <value optimized out> #19 InitPrograms (p_input=<value optimized out>) at ../../src/input/input.c:1180 i_es_out_mode = 3 list = {i_count = 2, p_values = 0x824dcc8, pi_types = 0x0} #20 Init (p_input=<value optimized out>) at ../../src/input/input.c:1258 p_meta = 0x810f338 i = <value optimized out> i_length = -1 #21 0xb7f1ddeb in Run (p_this=0x810a5ec) at ../../src/input/input.c:533 canc = 0 b_abort = <value optimized out> #22 0xb7f653d8 in thread_entry (data=0x810dbc8) at ../../src/misc/threads.c:58 obj = 0x810a5ec ---Type <return> to continue, or q <return> to quit--- func = 0xb7f1ddc0 <Run> #23 0xb7eac80e in start_thread (arg=0xb78e1b70) at pthread_create.c:300 __res = <value optimized out> __ignore1 = <value optimized out> __ignore2 = <value optimized out> pd = 0xb78e1b70 now = <value optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1209282572, 0, 4001536, -1215425400, -1138860894, 1974902946}, mask_was_saved = 0}}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <value optimized out> robust = <value optimized out> #24 0xb7e2aa0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 No locals. (gdb)
I Tried a lot of things :
  • Ubuntu 10.04 Desktop & Server
    Ubuntu 9.10 Server & Desktop
  • VLC 1.1.0 Final
    VLC 1-2-0-GIT
Please let me know if i can help you with that, I'm not a programmer but i'll do my best to fix that and improve VLC !
Thanks a lot for your support

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Multiples DVB-T Programs = Segmentation Error

Postby Rémi Denis-Courmont » 19 Jul 2010 17:32

Noo, the real valgrind, not callgrind:
valgrind vlc ...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 19 Jul 2010 18:10

Oh ok Sorry ! you can find it below. But i had to stop it because the VLC Process was restarting every time
valgrind -v --track-origins=yes vlc dvb:// --dvb-frequency=674000000 --dvb-adapter=1 --dvb-bandwidth=8 --programs=100,300 --marq-marquee "www.eurostream.tv" --marq-size=20 --marq-x 400 --marq-y 520 --marq-opacity 110 --sout '#duplicate{dst="transcode{vcodec=h264,vb=600k,deinterlace,scale=0.8,acodec=mp3,ab=96,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2010}",select="program=100",dst="transcode{vcodec=h264,vb=600k,deinterlace,scale=0.8,acodec=mp3,ab=96,sfilter=marq}:std{access=http,mux=ts,dst=0.0.0.0:2030}",select="program=300"}'

http://pastebin.com/SnZVNMvm

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Multiples DVB-T Programs = Segmentation Error

Postby Rémi Denis-Courmont » 19 Jul 2010 19:01

Aah! now the problem is obvious. thanks. Should be fixed in latest git.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

captainloc
Blank Cone
Blank Cone
Posts: 24
Joined: 05 Apr 2010 18:08
Location: Montréal, QC

Re: Multiples DVB-T Programs = Segmentation Error

Postby captainloc » 19 Jul 2010 19:22

Wahoo Thanks a lot ! I was stuck with that problem since a while now !! Sorry for that, next time (if there is a next time) i will know the exact procedure to post a problem !!!
Thanks again for your amazing support ;)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests