In a certain place in one of my DVDs vlc always segfaults. This crash must have been introduced a month or 2 ago, as I remember playing this dvd not so long ago. I ruled out ffmpeg-0.7_rc1, it crashes with 0.6.90_rc0-r2 as well. Maybe someone had a similar problem? Here's the backtrace: Program terminated with signal 11, Segmentation fault. #0 mpeg_decode_frame (avctx=0x1fe49c0, data=0x1f68f60, data_size=0x7f673c113b9c, avpkt=0x0) at libavcodec/mpeg12.c:2279 2279 int buf_size = avpkt->size; (gdb) bt #0 mpeg_decode_frame (avctx=0x1fe49c0, data=0x1f68f60, data_size=0x7f673c113b9c, avpkt=0x0) at libavcodec/mpeg12.c:2279 #1 0x00007f675c227fb8 in avcodec_decode_video2 (avctx=0x1fe49c0, picture=0x1f68f60, got_picture_ptr=0x7f673c113b9c, avpkt=0x0) at libavcodec/utils.c:725 #2 0x00007f674c47c8a1 in DecodeVideo (p_dec=0x1f82550, pp_block=<value optimized out>) at video.c:555 #3 0x00007f67713d8910 in DecoderDecodeVideo (p_dec=0x1f82550, p_block=0x25448b0) at input/decoder.c:1466 #4 0x00007f67713d849b in DecoderProcessVideo (p_dec=0x1f82550, p_block=<value optimized out>) at input/decoder.c:1819 #5 DecoderProcess (p_dec=0x1f82550, p_block=<value optimized out>) at input/decoder.c:2007 #6 0x00007f67713d86db in DecoderThread (p_this=0x1f82550) at input/decoder.c:892 #7 0x00007f677141ab04 in thread_entry (data=<value optimized out>) at misc/threads.c:58 #8 0x00007f67682bc903 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1 #9 0x00007f6771180d4c in start_thread (arg=0x7f673c114700) at pthread_create.c:301 #10 0x00007f6770cc140d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 (gdb) bt full #0 mpeg_decode_frame (avctx=0x1fe49c0, data=0x1f68f60, data_size=0x7f673c113b9c, avpkt=0x0) at libavcodec/mpeg12.c:2279 buf = <value optimized out> buf_size = 0 s = <value optimized out> picture = <value optimized out> s2 = <value optimized out> #1 0x00007f675c227fb8 in avcodec_decode_video2 (avctx=0x1fe49c0, picture=0x1f68f60, got_picture_ptr=0x7f673c113b9c, avpkt=0x0) at libavcodec/utils.c:725 ret = <value optimized out> #2 0x00007f674c47c8a1 in DecodeVideo (p_dec=0x1f82550, pp_block=<value optimized out>) at video.c:555 p_pic = <value optimized out> pkt = {pts = -9223372036854775808, dts = -9223372036854775808, data = 0x254cb7a "", size = 0, stream_index = 0, flags = 0, duration = 0, destruct = 0, priv = 0x0, pos = -1, convergence_duration = 0} i_used = <value optimized out> b_gotpicture = 0 i_display_date = <value optimized out> p_sys = <value optimized out> b_drawpicture = 1 b_null_size = 0 p_block = 0x25448b0 #3 0x00007f67713d8910 in DecoderDecodeVideo (p_dec=0x1f82550, p_block=0x25448b0) at input/decoder.c:1466 p_owner = 0x1fd3370 p_input = 0x1d716f0 p_pic = <value optimized out> i_lost = 0 i_decoded = 1 i_displayed = 1 #4 0x00007f67713d849b in DecoderProcessVideo (p_dec=0x1f82550, p_block=<value optimized out>) at input/decoder.c:1819 p_next = <value optimized out> p_packetized_block = 0x25448b0 p_owner = 0x1fd3370 #5 DecoderProcess (p_dec=0x1f82550, p_block=<value optimized out>) at input/decoder.c:2007 b_flush = false p_owner = 0x1fd3370 b_flush_request = false #6 0x00007f67713d86db in DecoderThread (p_this=0x1f82550) at input/decoder.c:892 canc = 0 p_block = 0x24924a0 p_dec = 0x1f82550 p_owner = 0x1fd3370 #7 0x00007f677141ab04 in thread_entry (data=<value optimized out>) at misc/threads.c:58 obj = 0x1f82550 func = 0x7f67713d8660 <DecoderThread> #8 0x00007f67682bc903 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1 No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #9 0x00007f6771180d4c in start_thread (arg=0x7f673c114700) at pthread_create.c:301 pd = 0x7f673c114700 now = <value optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140081366124288, 1635556498678596162, 140081403592784, 140081366124992, 140082265280512, 3, -1694248624823614910, -1694396036158209470}, 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> sp = <value optimized out> freesize = <value optimized out> __PRETTY_FUNCTION__ = "start_thread" #10 0x00007f6770cc140d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 No locals. Reproducible: Always Portage 2.2.0_alpha30 (default/linux/amd64/10.0/desktop, gcc-4.5.2, libc-0-r0, 2.6.38-pf6 x86_64) ================================================================= System uname: Linux-2.6.38-pf6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7400_@_2.80GHz-with-gentoo-2.0.2 Timestamp of tree: Tue, 03 May 2011 10:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p8-r1 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.38 sys-libs/glibc: 2.13-r2 virtual/os-headers: 0 Repositories: gentoo dupa Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -msse3 -mssse3 -msse4.1 -pipe -g" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=core2 -msse3 -mssse3 -msse4.1 -pipe -g" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -march=core2 -msse3 -mssse3 -msse4.1 -pipe -g" GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://gentoo.po.opole.pl http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="pl_PL.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/moje" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr amrnb amrwb apng async audiofile automount bash-completion berkdb bfq bineditor branding bzip2 cairo cdda cddb cdparanoia cdr chdir cli consolekit cracklib crypt css cuda cups curl cxx dbus dirac disk-partition divx djvu dri dts dvd dvdr editor emboss emovix enca encode exchange exif faac faad fam fat ffmpeg fftw firefox firefox3 flac fontconfig fortran gd gdbm gdu geoip gif glitz gmedia gphoto2 gpm gtk hddtemp iconv id3 id3tag imagemagick inotify ipod jpeg kde kde4 kdehiddenvisibility kipi kompare kpathsea kqemu ladspa lame laptop lastfm latex lcms libass libcaca libnotify libsamplerate lm_sensors lzma lzo mad matroska midi mjpeg mmap mmx mmxext mng modules mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin ntfs ogg okteta openal opencore-amr opengl openmp pam pango pch pcre pdf perl plasma png policykit portage ppds pppd private-headers python qt3 qt3support qt4 qthelp readline realmedia roe scanner schroedinger sdl secure-delete semantic-desktop sensord session shaders slang sndfile solver soundtouch sourceview sparse spell sse sse2 sse3 sse4 sse4a ssl ssse3 startup-notification suid svg swat symlink sysfs syslog tcpd theora threads tiff truetype udev unicode upnp usb vaapi vamp vcd vdpau vorbis webkit wicd wmf wmp wxwidgets wxwindows x264 xcb xcomposite xine xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I can confirm. same Problem here on two ~x86 (i686) Machines.
Created attachment 272467 [details] emerge --info and emerge -pvq vlc
vlc also crashes here on two computers, one x86, the other amd64, with nearly every DVD (did not get one that wanted to play the video). I did not build with debugging-symbols (pc is too slow...), but it also crashes in mpeg_decode_frame. But here it can't be libav/ffmpeg, as this did not change (last build: Sun Jan 02 20:18:16 CET 2011), so the error must be within vlc. I think I can remember vlc running fine before the last patch (libav-patch) was introduced, but i can't really say.
So, I first built 1.1.9999 - still crashing. Removing the complete patchset - bingo! So there seems to be a "fix" in the patchset, that makes vlc crash. I need to wait, until this faster Computer is free for a longer period, so i can test the different patches.
>But here it can't be libav/ffmpeg, as this did not change (last build: Sun Jan 02 20:18:16 CET 2011), so the error must be within vlc. Weird, I noticed the same crash happens in Dragon Player. It doesn't happen in Kaffeine though.
Same bug here with vlc 1.1.9. I installed vlc-9999 (vlc 1.2 pre/rc/git/?), and everything works fine now. This vlc-9999 uses the patchset #96, mainly removing 330_all_ffmpeg.patch. I don't know if this is the problematic patch or if it is not needed anymore.
indeed, the ffmpeg compatibiliy patch was broken... please try with 1.1.9-r1 that should fix your problem thanks for reporting!
(In reply to comment #7) > please try with 1.1.9-r1 > that should fix your problem Yes, fixed, thx :) At least for me.
Me too. Thanks.
Yes =vlc-1.1.9-r1 works here fine Thank you
As 1.1.9-r1 seems to fix this issue, could it get marked stable?
*** Bug 368935 has been marked as a duplicate of this bug. ***