here is the problem : on Debian Squeeze (testing) I want to have a light VLC configuration to stream DVB-T on the network (using RTSP). I disabled everything I could except DVB-T and RTSP related options. Everything goes fine on compilation, but I have a segfault.
Code: Select all
Linux tnt 2.6.32-3-686 #1 SMP Thu Feb 25 06:14:20 UTC 2010 i686 GNU/Linux
Code: Select all
vlc@tnt:~/apps/bin$ gdb --args ./vlc -vvv --color --ttl 12 --ts-es-id-pid --programs=1537,1538,1542 dvb:// --dvb-adapter=2 --dvb-frequency=586000000 --dvb-bandwidth=8 --sout-standard-access=udp --sout-standard-mux=ts --sout '#duplicate{dst=rtp{mux=ts,sdp=rtsp://:8011/tv.sdp,port=9011,name="TV - FR - TF1"},select="program=1537",dst=rtp{mux=ts,sdp=rtsp://:8012/tv.sdp,port=9012,name="TV - FR - NRJ12"},select="program=1538",dst=rtp{mux=ts,sdp=rtsp://:8013/tv.sdp,port=9013,name="TV - FR - TMC"},select="program=1542"}'
GNU gdb (GDB) 7.0.1-debian
Copyright (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 /home/vlc/apps/bin/vlc...done.
(gdb) run
Starting program: /home/vlc/apps/bin/vlc -vvv --color --ttl 12 --ts-es-id-pid --programs=1537,1538,1542 dvb:// --dvb-adapter=2 --dvb-frequency=586000000 --dvb-bandwidth=8 --sout-standard-access=udp --sout-standard-mux=ts --sout \#duplicate\{dst=rtp\{mux=ts,sdp=rtsp://:8011/tv.sdp,port=9011,name=\"TV\ -\ FR\ -\ TF1\"\},select=\"program=1537\",dst=rtp\{mux=ts,sdp=rtsp://:8012/tv.sdp,port=9012,name=\"TV\ -\ FR\ -\ NRJ12\"\},select=\"program=1538\",dst=rtp\{mux=ts,sdp=rtsp://:8013/tv.sdp,port=9013,name=\"TV\ -\ FR\ -\ TMC\"\},select=\"program=1542\"\}
[Thread debugging using libthread_db enabled]
VLC media player 1.1.0-rc2 The Luggage (revision 1.1.0-rc2-37-ga6d4afc)
[0x804b9c0] main libvlc debug: VLC media player - 1.1.0-rc2 The Luggage
[0x804b9c0] main libvlc debug: Copyright © 1996-2010 the VideoLAN team
[0x804b9c0] main libvlc debug: revision 1.1.0-rc2-37-ga6d4afc
[0x804b9c0] main libvlc debug: configured with ./configure '--enable-debug' '--enable-static' '--disable-telepathy' '--disable-dbus' '--disable-dbus-control' '--disable-lua' '--disable-httpd' '--disable-vlm' '--disable-dc1394' '--disable-dvdread' '--disable-dvdnav' '--disable-smb' '--disable-libcddb' '--disable-vcd' '--disable-screen' '--disable-ogg' '--disable-mux_ogg' '--disable-mkv' '--disable-mod' '--disable-mpc' '--disable-gme' '--disable-id3tag' '--disable-swscale' '--disable-postproc' '--enable-real' '--enable-realrtsp' '--disable-libtar' '--disable-a52' '--disable-dca' '--disable-vorbis' '--disable-speex' '--disable-theora' '--disable-schroedinger' '--disable-png' '--disable-x264' '--disable-fluidsynth' '--disable-zvbi' '--disable-telx' '--disable-kate' '--without-x' '--disable-xcb' '--disable-xvideo' '--disable-glx' '--disable-sdl' '--disable-sdl-image' '--disable-freetype' '--disable-fribidi' '--disable-fontconfig' '--disable-libxml2' '--disable-fb' '--disable-oss' '--disable-pulse' '--disable-alsa' '--disable-upnp' '--disable-skins2' '--disable-qt4' '--disable-ncurses' '--disable-visual' '--disable-atmo' '--disable-bonjour' '--disable-remoteosd' '--with-tuning=pentium4' '--disable-update-check' '--prefix=/home/vlc/apps/' '--with-binary-version=2'
[0x804b9c0] main libvlc debug: translation test: code is "FR"
[0x804b9c0] main libvlc debug: checking plugin modules
[0x804b9c0] main libvlc debug: loading plugins cache file /home/vlc/apps/lib/vlc/plugins/plugins-04041e-1e8.dat
[0x804b9c0] main libvlc debug: recursively browsing `/home/vlc/apps/lib/vlc/plugins'
[0x804b9c0] main libvlc debug: saving plugins cache /home/vlc/apps/lib/vlc/plugins/plugins-04041e-1e8.dat
[0x804b9c0] main libvlc debug: module bank initialized (287 modules)
[0x804b9c0] main libvlc debug: opening config file (/home/vlc/.config/vlc/vlcrc)
[0x804b9c0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 FPU
[0x804b9c0] main libvlc debug: looking for memcpy module: 3 candidates
[0x804b9c0] main libvlc debug: using memcpy module "memcpymmxext"
[0x80cd468] main input debug: Creating an input for 'Bibliothèque'
vlc: misc/variables.c :826 : var_GetChecked: L'assertion « expected_type == 0 || (p_var->i_type & 0x00f0) == expected_type » a échoué.
Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
On VLC 1.0.5 the following configuration works, so I assumed it should be working without many changes for VLC 1.1 (except deprecated options like '--disable-opengl') :
Code: Select all
VLC media player 1.0.5 Goldeneye
[0x94dd8a8] main libvlc debug: VLC media player - version 1.0.5 Goldeneye - (c) 1996-2010 the VideoLAN team
[0x94dd8a8] main libvlc debug: libvlc was configured with ./configure '--disable-telepathy' '--disable-dbus' '--disable-dbus-control' '--disable-lua' '--disable-vlm' '--disable-dvdread' '--disable-dvdnav' '--disable-smb' '--disable-libcddb' '--disable-vcd' '--disable-screen' '--disable-ogg' '--disable-mkv' '--disable-mod' '--disable-mpc' '--disable-gme' '--disable-id3tag' '--disable-postproc' '--enable-real' '--enable-realrtsp' '--disable-libtar' '--disable-a52' '--disable-dca' '--disable-vorbis' '--disable-speex' '--disable-schroedinger' '--disable-png' '--disable-x264' '--disable-fluidsynth' '--disable-zvbi' '--disable-telx' '--disable-kate' '--without-x' '--disable-xcb' '--disable-xvideo' '--disable-glx' '--disable-opengl' '--disable-sdl' '--disable-sdl-image' '--disable-freetype' '--disable-fribidi' '--disable-fontconfig' '--disable-libxml2' '--disable-fb' '--disable-oss' '--disable-pulse' '--disable-alsa' '--disable-upnp' '--disable-skins2' '--disable-qt4' '--disable-ncurses' '--disable-visual' '--disable-atmo' '--disable-bonjour' '--with-tuning=pentium4' '--disable-update-check' '--prefix=/usr' '--with-binary-version=2'