Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197137 - media-video/vlc-0.9.0_alpha20071022 segmentation faults when trying to transcode a stream to a file
Summary: media-video/vlc-0.9.0_alpha20071022 segmentation faults when trying to transc...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 202142 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-26 14:29 UTC by Petteri Räty (RETIRED)
Modified: 2008-07-11 18:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-10-26 14:29:52 UTC
Calculating dependencies... done!
[ebuild   R   ] media-video/vlc-0.9.0_alpha20071022  USE="X a52 alsa cddb dbus dts dvd ffmpeg hal httpd libnotify mp3 mpeg ncurses nsplugin ogg opengl png stream svg theora truetype vorbis win32codecs wxwindows xinerama xml xv -3dfx -aalib (-altivec) -arts -avahi -bidi -cdda -cdio -daap -dc1394 -debug -directfb -dvb -esd -fbcon -flac -ggi -gnome -gnutls -id3tag -jack -libcaca -libgcrypt -lirc -live -lua -matroska -mod -musepack -musicbrainz -optimisememory -oss -pvr -rtsp -samba -sdl -sdl-image -seamonkey -shout -skins -speex -svga -taglib -twolame -upnp -v4l -v4l2 -vcd -vcdx -vlm -x264 -xosd -xulrunner" 0 kB

Using File --> Wizard I get the following to console when it finishes:

betelgeuse@pena ~/Desktop $ wxvlc tv.m3u
VLC media player 0.9.0-svn Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.0-svn Grishenko - (c) 1996-2007 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-glide' '--enable-a52' '--disable-aa' '--enable-alsa' '--disable-altivec' '--disable-arts' '--disable-bonjour' '--disable-fribidi' '--disable-cdda' '--disable-cddax' '--enable-libcddb' '--disable-libcdio' '--disable-daap' '--enable-dbus' '--enable-dbus-control' '--disable-dirac' '--disable-directfb' '--disable-dc1394' '--enable-dca' '--disable-dv' '--disable-dvb' '--enable-dvdread' '--enable-dvdplay' '--enable-dvdnav' '--disable-esd' '--disable-faad' '--disable-fb' '--enable-ffmpeg' '--disable-flac' '--disable-fluidsynth' '--disable-ggi' '--disable-gnomevfs' '--disable-gnutls' '--enable-hal' '--enable-httpd' '--disable-id3tag' '--disable-jack' '--disable-caca' '--disable-libgcrypt' '--enable-notify' '--disable-libtar' '--disable-lirc' '--disable-live555' '--disable-lua' '--disable-mkv' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mpc' '--disable-musicbrainz' '--enable-ncurses' '--enable-mozilla' 'XPIDL=/usr/lib/mozilla-firefox' 'MOZILLA_CONFIG=/usr/lib/mozilla-firefox/firefox-config' '--enable-ogg' '--enable-glx' '--enable-opengl' '--enable-galaktos' '--disable-optimize-memory' '--disable-oss' '--enable-png' '--disable-portaudio' '--disable-pvr' '--disable-qt4' '--disable-rtsp' '--disable-realrtsp' '--disable-smb' '--disable-sdl' '--disable-sdl-image' '--disable-shout' '--disable-skins2' '--disable-speex' '--enable-sout' '--enable-svg' '--disable-svgalib' '--disable-taglib' '--enable-theora' '--enable-freetype' '--disable-twolame' '--disable-upnp' '--disable-v4l' '--disable-v4l2' '--disable-vcd' '--disable-vcdx' '--enable-vorbis' '--enable-loader' '--enable-wxwidgets' 'WX_CONFIG=/usr/lib/wx/config/gtk2-unicode-release-2.6' '--enable-x11' '--enable-screen' '--disable-x264' '--enable-xinerama' '--enable-libxml2' '--disable-xosd' '--enable-xvideo' '--disable-xvmc' '--disable-zvbi' '--disable-libvc1' '--disable-snapshot' '--disable-growl' '--disable-pth' '--disable-optimizations' '--enable-utf8' '--enable-libtool' '--enable-fast-install' '--disable-vlm' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=native -pipe -fomit-frame-pointer' 'LDFLAGS=-Wl,--as-needed -Wl,-O1' 'CXXFLAGS=-O2 -march=native -pipe -fomit-frame-pointer'
[00000001] main libvlc debug: translation test: code is "C"

** (.:7804): CRITICAL **: gtk_pizza_set_size: assertion `pizza != NULL' failed
libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0) for PID 256
Segmentation fault

Portage 2.1.3.15 (default-linux/x86/2006.1/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo i686)
=================================================================
System uname: 2.6.23-gentoo i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Unknown
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r2
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc4-r1
sys-apps/sandbox:    1.2.18.1-r1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks fixpackages parallel-fetch sandbox sfperms sign strict unmerge-orphans userfetch userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="fi"
MAKEOPTS="-j2"
PKGDIR="/home/pkg/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/checkouts/overlays/betelgeuse"
SYNC="rsync://192.168.150.1/portage"
USE="a52 aac acl acpi alsa audiofile bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cdb cddb cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread emboss fam ffmpeg firefox gif gstreamer hal iconv isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libnotify logitech-mouse mad mikmod mjpeg mmx mp3 mpeg mudflap ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre png ppds pppd qt3 quicktime readline real reflection rtc session spell spl sse sse2 ssl startup-notification subversion svg symlink theora threads truetype truetype-fonts type1-fonts udev unicode usb userlocales vim-syntax vorbis win32codecs x86 xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-10-26 14:35:14 UTC
Here is the backtrace:

0x4a28a18b in strlen () from /lib/libc.so.6
(gdb) bt
#0  0x4a28a18b in strlen () from /lib/libc.so.6
#1  0x4a25d3cb in vfprintf () from /lib/libc.so.6
#2  0x4a27c82c in vasprintf () from /lib/libc.so.6
#3  0xb7eda1a2 in QueueMsg (p_this=0xb3f00724, i_queue=0, i_type=3, psz_module=0xb74cb9ec "wxwidgets", psz_format=0xb74cb9c8 "starting transcode of %s to file %s", _args=0xb2efcf34 "��}���\230�d")
    at misc/messages.c:361
#4  0xb7ed9faa in __msg_Generic (p_this=0xb3f00724, i_queue=0, i_type=3, psz_module=0xb74cb9ec "wxwidgets", psz_format=0xb74cb9c8 "starting transcode of %s to file %s") at misc/messages.c:232
#5  0xb7463ac2 in wxvlc::WizardDialog::Run () from /usr/lib/vlc/gui/libwxwidgets_plugin.so
#6  0xb743d6f0 in wxvlc::DialogsProvider::OnWizardDialog () from /usr/lib/vlc/gui/libwxwidgets_plugin.so
#7  0x4d9b5ec9 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#8  0x4da47399 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.6.so.0
#9  0x4da474f6 in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#10 0x4da4767f in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#11 0x4da47bc7 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.6.so.0
#12 0x4d9b6389 in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.6.so.0
#13 0xb6fca279 in ?? () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#14 0x4e1cfd80 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00000000 in ?? ()

I used the following selections:
1. Transcode/Save to file
2. Existing playlist item
3. Selected Transcode for both
4. OGG
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-10-26 14:44:53 UTC
Not selecting any transcode options did not make a difference.
Comment 3 Alexis Ballier gentoo-dev 2007-11-03 18:30:19 UTC
seems weird, can you select anything from your playlist when you choose "existing playlist item" ? here I cannot, it's probably the playlist being broken.
I also can continue without selecting anything and get a segfault there; I guess the wxgui lacks a check when nothing has been selected.

did you get more luck with the qt4 gui ?
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-11-04 00:59:40 UTC
(In reply to comment #3)
> 
> did you get more luck with the qt4 gui ?
> 

Nope.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-12-13 16:30:22 UTC
*** Bug 202142 has been marked as a duplicate of this bug. ***
Comment 6 Alexis Ballier gentoo-dev 2008-01-28 19:43:31 UTC
Now that I think about it, I remember having seen some discussion about localization problems with glibc, I'm not sure what the outcome was, I think it's been patched upstream and vlc now has a check for it and forces no localisation if it detects it (I still have to investigate this though).

Could you check if this still happens with latest snapshots ? If it does, can you try it with LC_ALL=C vlc ?
Comment 7 Alexis Ballier gentoo-dev 2008-07-11 18:47:45 UTC
(In reply to comment #6)
> Now that I think about it, I remember having seen some discussion about
> localization problems with glibc, I'm not sure what the outcome was, I think
> it's been patched upstream and vlc now has a check for it and forces no
> localisation if it detects it (I still have to investigate this though).
> 
> Could you check if this still happens with latest snapshots ? If it does, can
> you try it with LC_ALL=C vlc ?
> 

please also try with _beta1 and/or glibc 2.8