vlc-0.8.6e ubuntu8.04 seg faults/glibc errors with libshout

*nix specific usage questions
inittab
New Cone
New Cone
Posts: 3
Joined: 06 May 2008 14:43

vlc-0.8.6e ubuntu8.04 seg faults/glibc errors with libshout

Postby inittab » 06 May 2008 14:51

Hello I'm currently having trouble with vlc-0.8.6e compiled on an ubuntu 8.04 system.
configure string: ./configure --prefix=/opt/vlc-0.8.6e/ --exec-prefix=/opt/vlc-0.8.6e/ --enable-theora --enable-shout --enable-v4l --enable-dvb

everything compiles fine. but when I run the next command it either works, then when control-c'ed causes a glibc error like so:
inittab@karma:/opt/vlc-0.8.6e/bin$ ./vlc v4l:/dev/video0 --sout '#transcode{vcodec=theo,vb=1024}:std{access=shout,mux=ogg,url=source:joshsucks@inittab.us:8000/vlc.ogg}}'
VLC media player 0.8.6e Janus
[00000283] skins2 interface error: Cannot open display
[00000283] skins2 interface error: cannot initialize OSFactory
Remote control interface initialized. Type `help' for help.
status change: ( new input: v4l:/dev/video0 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000297] mux_ogg private: Open
[00000299] v4l demuxer error: cannot open audio device (No such file or directory)
signal 2 received, terminating vlc - do it again in case it gets stuck
status change: ( stop state: 0 )
status change: ( quit )
[00000297] mux_ogg private: Close
[00000277] main playlist: stopping playback
*** glibc detected *** ./vlc: double free or corruption (!prev): 0x082fd618 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7e01a85]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7e054f0]
./vlc[0x80ad575]
======= Memory map: ========
08048000-08123000 r-xp 00000000 08:01 3260796 /opt/vlc-0.8.6e/bin/vlc
08123000-08128000 rw-p 000da000 08:01 3260796 /opt/vlc-0.8.6e/bin/vlc
08128000-083dc000 rw-p 08128000 00:00 0 [heap]
b2e7b000-b350d000 rw-p b2e7b000 00:00 0
b3d61000-b3d62000 ---p b3d61000 00:00 0
b3d62000-b4562000 rw-p b3d62000 00:00 0
b47c2000-b47d1000 r-xp 00000000 08:01 4022443 /lib/tls/i686/cmov/libresolv-2.7.so
b47d1000-b47d3000 rw-p 0000f000 08:01 4022443 /lib/tls/i686/cmov/libresolv-2.7.so
b47d3000-b47d5000 rw-p b47d3000 00:00 0
b47d5000-b47d9000 r-xp 00000000 08:01 4022436 /lib/tls/i686/cmov/libnss_dns-2.7.so
b47d9000-b47db000 rw-p 00003000 08:01 4022436 /lib/tls/i686/cmov/libnss_dns-2.7.so
b4849000-b484a000 ---p b4849000 00:00 0
b484a000-b504a000 rw-p b484a000 00:00 0
b6b00000-b6b21000 rw-p b6b00000 00:00 0
b6b21000-b6c00000 ---p b6b21000 00:00 0
b6c3a000-b6c44000 r-xp 00000000 08:01 4022288 /lib/libgcc_s.so.1
b6c44000-b6c45000 rw-p 0000a000 08:01 4022288 /lib/libgcc_s.so.1
b6c45000-b6c46000 ---p b6c45000 00:00 0
b6c46000-b7446000 rw-p b6c46000 00:00 0
b7446000-b7447000 ---p b7446000 00:00 0
b7447000-b7c47000 rw-p b7447000 00:00 0
b7c47000-b7d06000 r-xp 00000000 08:01 315775 /usr/lib/libasound.so.2.0.0
b7d06000-b7d0a000 rw-p 000be000 08:01 315775 /usr/lib/libasound.so.2.0.0
b7d15000-b7d1e000 r-xp 00000000 08:01 4022437 /lib/tls/i686/cmov/libnss_files-2.7.so
b7d1e000-b7d20000 rw-p 00008000 08:01 4022437 /lib/tls/i686/cmov/libnss_files-2.7.so
b7d20000-b7d28000 r-xp 00000000 08:01 4022439 /lib/tls/i686/cmov/libnss_nis-2.7.so
b7d28000-b7d2a000 rw-p 00007000 08:01 4022439 /lib/tls/i686/cmov/libnss_nis-2.7.so
b7d2a000-b7d3e000 r-xp 00000000 08:01 4022433 /lib/tls/i686/cmov/libnsl-2.7.so
b7d3e000-b7d40000 rw-p 00013000 08:01 4022433 /lib/tls/i686/cmov/libnsl-2.7.so
b7d40000-b7d42000 rw-p b7d40000 00:00 0
b7d42000-b7d49000 r-xp 00000000 08:01 4022434 /lib/tls/i686/cmov/libnss_compat-2.7.so
b7d49000-b7d4b000 rw-p 00006000 08:01 4022434 /lib/tls/i686/cmov/libnss_compat-2.7.so
b7d50000-b7d55000 r-xp 00000000 08:01 3260495 /opt/vlc-0.8.6e/lib/vlc/audio_output/libalsa_plugin.so
b7d55000-b7d56000 rw-p 00004000 08:01 3260495 /opt/vlc-0.8.6e/lib/vlc/audio_output/libalsa_plugin.so
b7d56000-b7d95000 r--p 00000000 08:01 335874 /usr/lib/locale/en_US.utf8/LC_CTYPE
b7d95000-b7d96000 rw-p b7d95000 00:00 0
b7d96000-b7edf000 r-xp 00000000 08:01 4022426 /lib/tls/i686/cmov/libc-2.7.so
b7edf000-b7ee0000 r--p 00149000 08:01 4022426 /lib/tls/i686/cmov/libc-2.7.so
b7ee0000-b7ee2000 rw-p 0014a000 08:01 4022426 /lib/tls/i686/cmov/libc-2.7.so
b7ee2000-b7ee5000 rw-p b7ee2000 00:00 0
b7ee5000-b7ee9000 r-xp 00000000 08:01 315806 /usr/lib/libogg.so.0.5.3
b7ee9000-b7eea000 rw-p 00003000 08:01 315806 /usr/lib/libogg.so.0.5.3
b7eea000-b7eeb000 rw-p b7eea000 00:00 0
b7eeb000-b7f32000 r-xp 00000000 08:01 315808 /usr/lib/libtheora.so.0.3.2
b7f32000-b7f34000 rw-p 00046000 08:01 315808 /usr/lib/libtheora.so.0.3.2
b7f34000-b7f3e000 r-xp 00000000 08:01 315855 /usr/lib/libdvbpsi.so.4.0.0
b7f3e000-b7f3f000 rw-p 00009000 08:01 315855 /usr/lib/libdvbpsi.so.4.0.0
b7f3f000-b7f62000 r-xp 00000000 08:01 4022431 /lib/tls/i686/cmov/libm-2.7.so
b7f62000-b7f64000 rw-p 00023000 08:01 4022431 /lib/tls/i686/cmov/libm-2.7.so
b7f64000-b7f66000 r-xp 00000000 08:01 4022429 /lib/tls/i686/cmov/libdl-2.7.so
b7f66000-b7f68000 rw-p 00001000 08:01 4022429 /lib/tls/i686/cmov/libdl-2.7.so
b7f68000-b7f7c000 r-xp 00000000 08:01 4022442 /lib/tls/i686/cmov/libpthread-2.7.so
b7f7c000-b7f7e000 rw-p 00013000 08:01 4022442 /lib/tls/i686/cmov/libpthread-2.7.so
b7f7e000-b7f80000 rw-p b7f7e000 00:00 0
b7f80000-b7f87000 r-xp 00000000 08:01 4022445 /lib/tls/i686/cmov/librt-2.7.so
b7f87000-b7f89000 rw-p 00006000 08:01 4022445 /lib/tls/i686/cmov/librt-2.7.so
b7f89000-b7f8a000 rw-p b7f89000 00:00 0
b7f8a000-b7fbe000 r-xp 00000000 08:01 313661 /usr/lib/libdbus-1.so.3.4.0
b7fbe000-b7fc0000 rw-p 00033000 08:01 313661 /usr/lib/libdbus-1.so.3.4.0
b7fc0000-b7fcf000 r-xp 00000000 08:01 315920 /usr/lib/libhal.so.1.0.0
b7fcf000-b7fd0000 rw-p 0000e000 08:01 315920 /usr/lib/libhal.so.1.0.0
b7fd0000-b7fd1000 rw-p b7fd0000 00:00 0
b7fd3000-b7fda000 r--s 00000000 08:01 313296 /usr/lib/gconv/gconv-modules.cache
b7fda000-b7fdb000 r--p 00000000 08:01 335880 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7fdb000-b7fdd000 rw-p b7fdb000 00:00 0
b7fdd000-b7fde000 r-xp b7fdd000 00:00 0 [vdso]
b7fde000-b7ff8000 r-xp 00000000 08:01 4022289 /lib/ld-2.7.so
b7ff8000-b7ffa000 rw-p 00019000 08:01 4022289 /lib/ld-2.7.so
bfaf9000-bfb0e000 rw-p bffeb000 00:00 0 [stack]
Aborted
inittab@karma:/opt/vlc-0.8.6e/bin$



or just segfaults like so:
inittab@karma:/opt/vlc-0.8.6e/bin$ ./vlc v4l:/dev/video0 --sout '#transcode{vcodec=theo,vb=1024}:std{access=shout,mux=ogg,url=source:joshsucks@inittab.us:8000/vlc.ogg}}'
VLC media player 0.8.6e Janus
[00000283] skins2 interface error: Cannot open display
[00000283] skins2 interface error: cannot initialize OSFactory
Remote control interface initialized. Type `help' for help.
status change: ( new input: v4l:/dev/video0 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000297] mux_ogg private: Open
[00000299] v4l demuxer error: cannot open audio device (No such file or directory)
Segmentation Fault.

Here is some information on ffmpeg2theora and libshout:

root@karma:/home/inittab/test# apt-cache showpkg ffmpeg2theora
Package: ffmpeg2theora
Versions:
0.19-1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_universe_binary-i386_Packages)
Description Language:
File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_universe_binary-i386_Packages
MD5: 16014da1afc81c865a2eafeb82671ebb


Reverse Depends:
ubuntustudio-video,ffmpeg2theora
Dependencies:
0.19-1 - libavcodec1d (2 0.cvs20070307) libavformat1d (2 0.cvs20070307) libavutil1d (2 0.cvs20070307) libc6 (2 2.6) libgsm1 (2 1.0.10) libogg0 (2 1.1.3) libraw1394-8 (0 (null)) libswscale1d (2 0.cvs20070307) libtheora0 (0 (null)) libvorbis0a (2 1.1.2) libvorbisenc2 (2 1.1.2)
Provides:
0.19-1 -
Reverse Provides:
root@karma:/home/inittab/test# apt-cache showpkg ffmpeg2theora libshout3
Package: ffmpeg2theora
Versions:
0.19-1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_universe_binary-i386_Packages)
Description Language:
File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_universe_binary-i386_Packages
MD5: 16014da1afc81c865a2eafeb82671ebb


Reverse Depends:
ubuntustudio-video,ffmpeg2theora
Dependencies:
0.19-1 - libavcodec1d (2 0.cvs20070307) libavformat1d (2 0.cvs20070307) libavutil1d (2 0.cvs20070307) libc6 (2 2.6) libgsm1 (2 1.0.10) libogg0 (2 1.1.3) libraw1394-8 (0 (null)) libswscale1d (2 0.cvs20070307) libtheora0 (0 (null)) libvorbis0a (2 1.1.2) libvorbisenc2 (2 1.1.2)
Provides:
0.19-1 -
Reverse Provides:
Package: libshout3
Versions:
2.2.2-2 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_main_binary-i386_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_hardy_main_binary-i386_Packages
MD5: 11376f8d2238a196b9a58295f5c2d756


Reverse Depends:
xmms2-plugin-ices,libshout3
oggfwd,libshout3
mpd,libshout3
liquidsoap,libshout3
libshout-ocaml,libshout3
idjc,libshout3
ices2,libshout3
freej,libshout3
libshout3-dev,libshout3 2.2.2-2
gstreamer0.10-plugins-good,libshout3
Dependencies:
2.2.2-2 - libc6 (2 2.7-1) libogg0 (2 1.0rc3) libspeex1 (2 1.1.8) libtheora0 (0 (null)) libvorbis0a (2 1.2.0)
Provides:
2.2.2-2 -
Reverse Provides:
root@karma:/home/inittab/test#


anybody have any ideas what might be going on?

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: vlc-0.8.6e ubuntu8.04 seg faults/glibc errors with libshout

Postby funman » 06 May 2008 16:04

can you provide a gdb backtrace ?
also please try vlc 0.8.6f which is the latest released version, and / or 0.9 which the unstable version

for 0.9 there is binary builds for ubuntu on http://nightlies.videolan.org

inittab
New Cone
New Cone
Posts: 3
Joined: 06 May 2008 14:43

Re: vlc-0.8.6e ubuntu8.04 seg faults/glibc errors with libshout

Postby inittab » 06 May 2008 18:31

alright here is the gdb backtrace. I will compile f and try 9 and see what i come up with.

Starting program: /opt/vlc-0.8.6e/bin/vlc v4l:/dev/video0 --sout '#transcode{vcodec=theo,vb=1024}:std{access=shout,mux=ogg,url=source:joshsucks@inittab.us:8000/vlc.ogg}}'
[Thread debugging using libthread_db enabled]
VLC media player 0.8.6e Janus
starting VLC root wrapper...[New Thread 0xb7d646b0 (LWP 21558)]
using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************

It is potentially dangerous, and might not even work properly.
[New Thread 0xb7c1ab90 (LWP 21561)]
[New Thread 0xb7419b90 (LWP 21562)]
[New Thread 0xb6c18b90 (LWP 21563)]
[New Thread 0xb6417b90 (LWP 21564)]
[00000283] skins2 interface error: Cannot open display
[00000283] skins2 interface error: cannot initialize OSFactory
Remote control interface initialized. Type `help' for help.
[New Thread 0xb5819b90 (LWP 21565)]
[New Thread 0xb5018b90 (LWP 21566)]
status change: ( new input: v4l:/dev/video0 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000297] mux_ogg private: Open
[00000299] v4l demuxer error: cannot open audio device (No such file or directory)
[New Thread 0xb4530b90 (LWP 21569)]
*** glibc detected *** /opt/vlc-0.8.6e/bin/vlc: malloc(): memory corruption: 0x08357ad8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7dd1356]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x8d)[0xb7dd2cad]
/opt/vlc-0.8.6e/bin/vlc(__block_New+0x2f)[0x80967ef]
======= Memory map: ========
08048000-08123000 r-xp 00000000 08:01 3260796 /opt/vlc-0.8.6e/bin/vlc
08123000-08128000 rw-p 000da000 08:01 3260796 /opt/vlc-0.8.6e/bin/vlc
08128000-083f4000 rw-p 08128000 00:00 0 [heap]
b2d00000-b2d21000 rw-p b2d00000 00:00 0
b2d21000-b2e00000 ---p b2d21000 00:00 0
b2e4a000-b34dc000 rw-p b2e4a000 00:00 0
b34dc000-b34ee000 r-xp 00000000 08:01 315845 /usr/lib/libdirect-1.0.so.0.1.0
b34ee000-b34ef000 rw-p 00012000 08:01 315845 /usr/lib/libdirect-1.0.so.0.1.0
b34ef000-b3550000 r-xp 00000000 08:01 315846 /usr/lib/libdirectfb-1.0.so.0.1.0
b3550000-b3552000 rw-p 00060000 08:01 315846 /usr/lib/libdirectfb-1.0.so.0.1.0
b3552000-b35b7000 r-xp 00000000 08:01 315953 /usr/lib/libSDL-1.2.so.0.11.1
b35b7000-b35b9000 rw-p 00065000 08:01 315953 /usr/lib/libSDL-1.2.so.0.11.1
b35b9000-b35e1000 rw-p b35b9000 00:00 0
b35e1000-b3600000 r-xp 00000000 08:01 315699 /usr/lib/libjpeg.so.62.0.0
b3600000-b3601000 rw-p 0001e000 08:01 315699 /usr/lib/libjpeg.so.62.0.0
b3601000-b3652000 r-xp 00000000 08:01 315900 /usr/lib/libtiff.so.4.2.1
b3652000-b3654000 rw-p 00050000 08:01 315900 /usr/lib/libtiff.so.4.2.1
b3654000-b365e000 r-xp 00000000 08:01 315955 /usr/lib/libSDL_image-1.2.so.0.1.5
b365e000-b365f000 rw-p 0000a000 08:01 315955 /usr/lib/libSDL_image-1.2.so.0.1.5
b365f000-b366f000 rw-p b365f000 00:00 0
b367a000-b3686000 r-xp 00000000 08:01 315804 /usr/lib/libgsm.so.1.0.12
b3686000-b3687000 rw-p 0000b000 08:01 315804 /usr/lib/libgsm.so.1.0.12
b3687000-b3695000 r-xp 00000000 08:01 315818 /usr/lib/libdc1394_control.so.13.0.0
b3695000-b3696000 rw-p 0000d000 08:01 315818 /usr/lib/libdc1394_control.so.13.0.0
b3696000-b369b000 r-xp 00000000 08:01 315816 /usr/lib/libraw1394.so.8.2.0
b369b000-b369c000 rw-p 00004000 08:01 315816 /usr/lib/libraw1394.so.8.2.0
b369c000-b36a3000 r-xp 00000000 08:01 315802 /usr/lib/libavutil.so.1d.49.3.0
b36a3000-b36a4000 rw-p 00006000 08:01 315802 /usr/lib/libavutil.so.1d.49.3.0
b36a4000-b36a6000 rw-p b36a4000 00:00 0
b36a6000-b3a8f000 r-xp 00000000 08:01 315814 /usr/lib/libavcodec.so.1d.51.38.0
b3a8f000-b3a9b000 rw-p 003e9000 08:01 315814 /usr/lib/libavcodec.so.1d.51.38.0
b3a9b000-b3b03000 rw-p b3a9b000 00:00 0
b3b03000-b3b28000 r-xp 00000000 08:01 315945 /usr/lib/libpostproc.so.1d.51.1.0
b3b28000-b3b29000 rw-p 00024000 08:01 315945 /usr/lib/libpostproc.so.1d.51.1.0
b3b29000-b3ba8000 r-xp 00000000 08:01 315820 /usr/lib/libavformat.so.1d.51.10.0
b3ba8000-b3baf000 rw-p 0007f000 08:01 315820 /usr/lib/libavformat.so.1d.51.10.0
b3baf000-b3bb6000 r-xp 00000000 08:01 315847 /usr/lib/libfusion-1.0.so.0.1.0
b3bb6000-b3bb7000 rw-p 00006000 08:01 315847 /usr/lib/libfusion-1.0.so.0.1.0
b3bb7000-b3bb9000 r-xp 00000000 08:01 3260522 /opt/vlc-0.8.6e/lib/vlc/codec/libsdl_image_plugin.so
b3bb9000-b3bba000 rw-p 00001000 08:01 3260522 /opt/vlc-0.8.6e/lib/vlc/codec/libsdl_image_plugin.so
b3bba000-b3bcc000 r-xp 00000000 08:01 3260501 /opt/vlc-0.8.6e/lib/vlc/codec/libffmpeg_plugin.so
b3bcc000-b3bce000 rw-p 00012000 08:01 3260501 /opt/vlc-0.8.6e/lib/vlc/codec/libffmpeg_plugin.so
b3bce000-b3bd9000 r-xp 00000000 08:01 315812 /usr/lib/libvorbisenc.so.2.0.3
b3bd9000-b3cc7000 rw-p 0000b000 08:01 315812 /usr/lib/libvorbisenc.so.2.0.3
b3cc7000-b3cca000 r-xp 00000000 08:01 3260510 /opt/vlc-0.8.6e/lib/vlc/codec/libspeex_plugin.so
b3cca000-b3ccb000 rw-p 00002000 08:01 3260510 /opt/vlc-0.8.6e/lib/vlc/codec/libspeex_plugin.so
b3ccb000-b3cce000 r-xp 00000000 08:01 3260504 /opt/vlc-0.8.6e/lib/vlc/codec/libcinepak_plugin.so
b3cce000-b3ccf000 rw-p 00002000 08:01 3260504 /opt/vlc-0.8.6e/lib/vlc/codec/libcinepak_plugin.so
b3ccf000-b3cd1000 r-xp 00000000 08:01 3260503 /opt/vlc-0.8.6e/lib/vlc/codec/liba52_plugin.so
b3cd1000-b3cd2000 rw-p 00001000 08:01 3260503 /opt/vlc-0.8.6e/lib/vlc/codec/liba52_plugin.so
b3cd2000-b3cd6000 r-xp 00000000 08:01 3260509 /opt/vlc-0.8.6e/lib/vlc/codec/libvorbis_plugin.so
b3cd6000-b3cd7000 rw-p 00003000 08:01 3260509 /opt/vlc-0.8.6e/lib/vlc/codec/libvorbis_plugin.so
b3cd7000-b3cf4000 r-xp 00000000 08:01 315939 /usr/lib/libmpeg2.so.0.0.0
b3cf4000-b3cf5000 rw-p 0001c000 08:01 315939 /usr/lib/libmpeg2.so.0.0.0
b3cf5000-b3cf7000 rw-p b3cf5000 00:00 0
b3cf8000-b3cfd000 r-xp 00000000 08:01 3260508 /opt/vlc-0.8.6e/lib/vlc/codec/libaraw_plugin.so
b3cfd000-b3cfe000 rw-p 00004000 08:01 3260508 /opt/vlc-0.8.6e/lib/vlc/codec/libaraw_plugin.so
b3cfe000-b3d01000 r-xp 00000000 08:01 3260505 /opt/vlc-0.8.6e/lib/vlc/codec/libdts_plugin.so
b3d01000-b3d02000 rw-p 00002000 08:01 3260505 /opt/vlc-0.8.6e/lib/vlc/codec/libdts_plugin.so
b3d02000-b3d24000 r-xp 00000000 08:01 315833 /usr/lib/libpng12.so.0.15.0
b3d24000-b3d25000 rw-p 00022000 08:01 315833 /usr/lib/libpng12.so.0.15.0
b3d25000-b3d27000 r-xp 00000000 08:01 3260507 /opt/vlc-0.8.6e/lib/vlc/codec/liblpcm_plugin.so
b3d27000-b3d28000 rw-p 00001000 08:01 3260507 /opt/vlc-0.8.6e/lib/vlc/codec/liblpcm_plugin.so
b3d28000-b3d2b000 r-xp 00000000 08:01 3260512
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb4530b90 (LWP 21569)]
0xb7fac410 in __kernel_vsyscall ()
(gdb) backtrace
#0 0xb7fac410 in __kernel_vsyscall ()
#1 0xb7d90085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7d91a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7dc8b7c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0x00000005 in ?? ()
#5 0xb452fa80 in ?? ()
#6 0x00000400 in ?? ()
#7 0x00000000 in ?? ()
(gdb)

inittab
New Cone
New Cone
Posts: 3
Joined: 06 May 2008 14:43

Re: vlc-0.8.6e ubuntu8.04 seg faults/glibc errors with libshout

Postby inittab » 06 May 2008 18:47

ok here is from the 9 nightly build. did the shout command syntax change at all or something? it doesn't seg fault but it doesnt seem to want to connect to my icecast2 server.

log snipplet:
[00000403] main generic debug: set config option: sout-standard-access to shout
[00000403] main generic debug: set config option: sout-standard-mux to ogg
[00000403] main generic debug: set config option: sout-standard-url to source:joshsucks@inittab.us:8000/vlc.ogg
[00000403] stream_out_standard generic debug: creating `shout/ogg://(null)'
[00000403] stream_out_standard generic debug: using `shout/ogg://(null)'
[00000405] main generic debug: looking for sout access module: 1 candidate
[00000405] access_output_shout generic warning: no bitrate information specified (required for listing the server as public on the shoutcast website)
[00000405] access_output_shout generic warning: failed to connect using 'icy' (shoutcast) protocol
[00000405] access_output_shout generic warning: failed to connect using 'http' (icecast 2.x) protocol
[00000405] access_output_shout generic warning: unable to establish connection, retrying...

full log:

root@karma:~# vlc -vvv v4l:/dev/video0 --sout '#transcode{vcodec=theo,vb=1024}:std{access=shout,mux=ogg,url=source:joshsucks@inittab.us:8000/vlc.ogg}}'
***************************************************
*** glibc version with broken libintl detected. ***
*** Messages localization will be disabled. ***
***************************************************
VLC media player 0.9.0-git Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.0-git Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--mandir=/share/man' '--build=i486-linux-gnu' '--enable-maintaner-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-arts' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-wxwidgets' '--with-wx-config=wx-config' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-debug' '--enable-twolame' '--enable-x264' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-x264' '--disable-atmo' '--enable-alsa' '--enable-dv' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-glide' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file /root/.cache/vlc/plugins-04041e.dat
[00000001] main libvlc debug: We will be looking for modules in `modules:/usr/lib/vlc:plugins'
[00000001] main libvlc debug: recursively browsing `modules'
[00000001] main libvlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main libvlc debug: recursively browsing `plugins'
[00000001] main libvlc debug: module bank initialized, found 260 modules
[00000001] main libvlc debug: opening config file (/root/.config/vlc/vlcrc)
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE SSE2 FPU
[00000001] main libvlc debug: looking for memcpy module: 4 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000357] main interaction debug: thread 3072330640 (Interaction control) created at priority 0 (interface/interaction.c:375)
[00000359] main input debug: Input is a meta file: disabling unneeded options
[00000359] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/root/.local/share/vlc/ml.xspf'
[00000359] main input debug: creating access 'file' path='/root/.local/share/vlc/ml.xspf'
[00000360] main access debug: looking for access2 module: 3 candidates
[00000360] access_mmap access debug: opening file /root/.local/share/vlc/ml.xspf
[00000360] main access debug: using access2 module "access_mmap"
[00000364] main stream debug: pre buffering
[00000364] main stream debug: received first data for our buffer
[00000360] access_mmap access debug: at end of memory mapped file
[00000359] main input debug: creating demux: access='file' demux='xspf-open' path='/root/.local/share/vlc/ml.xspf'
[00000365] main demux debug: looking for demux2 module: 1 candidate
[00000365] playlist demux debug: using XSPF playlist reader
[00000365] main demux debug: using demux2 module "playlist"
[00000359] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' successfully opened
[00000380] main xml debug: looking for xml module: 2 candidates
[00000380] main xml debug: using xml module "xml"
[00000360] access_mmap access debug: at end of memory mapped file
[00000365] playlist demux debug: parsed 0 tracks successfully
[00000380] main xml debug: removing module "xml"
[00000359] main input debug: EOF reached
[00000359] main input debug: control type=1
[00000365] main demux debug: removing module "playlist"
[00000360] main access debug: removing module "access_mmap"
[00000382] main generic debug: waiting for thread completion
[00000382] main generic debug: thread 3062528912 (preparser) created at priority 0 (playlist/thread.c:78)
[00000383] main generic debug: waiting for thread completion
[00000383] main generic debug: thread 3054136208 (fetcher) created at priority 0 (playlist/thread.c:108)
[00000358] main playlist debug: waiting for thread completion
[00000358] main playlist debug: rebuilding array of current - root Playlist
[00000358] main playlist debug: rebuild done - 0 items, index -1
[00000358] main playlist debug: thread 3045743504 (playlist) created at priority 0 (playlist/thread.c:117)
[00000384] main interface debug: looking for interface module: 1 candidate
[00000384] main interface debug: using interface module "hotkeys"
[00000384] main interface debug: thread 3037350800 (interface) created at priority 0 (interface/interface.c:148)
[00000386] main interface debug: looking for interface module: 1 candidate
process 21840: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
[00000386] inhibit interface error: Failed to connect to the D-Bus session daemon: Failed to execute dbus-launch to autolaunch D-Bus session
[00000386] main interface warning: no interface module matching "inhibit,none" could be loaded
[00000386] main interface error: no suitable interface module
[00000001] main libvlc error: interface "inhibit,none" initialization failed
[00000388] main interface debug: looking for interface module: 1 candidate
[00000388] main interface debug: using interface module "screensaver"
[00000388] main interface debug: thread 3028958096 (interface) created at priority 0 (interface/interface.c:148)
process 21840: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
[00000388] screensaver interface warning: failed to connect to the D-BUS daemon: Failed to execute dbus-launch to autolaunch D-Bus session
[00000358] main playlist debug: adding item `v4l:/dev/video0' ( v4l:/dev/video0 )
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000390] main interface debug: looking for interface module: 5 candidates
[00000390] qt4 interface error: Could not connect to X server
[00000390] wxwidgets interface error: no X server
[00000390] skins2 interface error: Cannot open display
[00000390] skins2 interface error: cannot initialize OSFactory
Remote control interface initialized. Type `help' for help.
[00000390] main interface debug: using interface module "rc"
[00000358] main playlist debug: rebuilding array of current - root Playlist
[00000358] main playlist debug: rebuild done - 1 items, index -1
[00000358] main playlist debug: starting new item
[00000358] main playlist debug: processing request item null node Playlist skip 0
[00000358] main playlist debug: creating new input thread
[00000398] main input debug: waiting for thread completion
[00000390] main interface debug: thread 2982194064 (interface) created at priority 0 (interface/interface.c:148)
[00000399] main stream output debug: stream=`transcode'
[00000400] main generic debug: looking for sout stream module: 1 candidate
[00000399] main stream output debug: stream=`std'
[00000403] main generic debug: looking for sout stream module: 1 candidate
[00000403] main generic debug: set config option: sout-standard-access to shout
[00000403] main generic debug: set config option: sout-standard-mux to ogg
[00000403] main generic debug: set config option: sout-standard-url to source:joshsucks@inittab.us:8000/vlc.ogg
[00000403] stream_out_standard generic debug: creating `shout/ogg://(null)'
[00000403] stream_out_standard generic debug: using `shout/ogg://(null)'
[00000405] main generic debug: looking for sout access module: 1 candidate
[00000405] access_output_shout generic warning: no bitrate information specified (required for listing the server as public on the shoutcast website)
[00000405] access_output_shout generic warning: failed to connect using 'icy' (shoutcast) protocol
[00000405] access_output_shout generic warning: failed to connect using 'http' (icecast 2.x) protocol
[00000405] access_output_shout generic warning: unable to establish connection, retrying...
[00000398] main input debug: thread 2990586768 (input) created at priority 0 (input/input.c:360)
[00000405] access_output_shout generic warning: failed to connect using 'icy' (shoutcast) protocol
[00000405] access_output_shout generic warning: failed to connect using 'http' (icecast 2.x) protocol
[00000405] access_output_shout generic warning: unable to establish connection, retrying...

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

Re: vlc-0.8.6e ubuntu8.04 seg faults/glibc errors with libshout

Postby Jean-Baptiste Kempf » 10 May 2008 03:01

shout is broken in 0.9.0 AFAIK.
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.

milis
New Cone
New Cone
Posts: 7
Joined: 25 Aug 2009 11:04
VLC version: latest
Operating System: windows
Location: greece

Re: vlc-0.8.6e ubuntu8.04 seg faults/glibc errors with libshout

Postby milis » 27 Aug 2009 20:00

is this fixed?
as I get the same... in latest stable
...
access_output_shout warning: failed to connect using 'http' (icecast 2.x) protocol
...


cheers

panos

milis
New Cone
New Cone
Posts: 7
Joined: 25 Aug 2009 11:04
VLC version: latest
Operating System: windows
Location: greece

Re: vlc-0.8.6e ubuntu8.04 seg faults/glibc errors with libshout

Postby milis » 30 Aug 2009 09:09

it is working guys

thanx VLC team

panos


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 5 guests