Summary: | Xine crashes On any File Play | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lee Trager <nukem996> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED NEEDINFO | ||
Severity: | critical | CC: | config, gentoo, pookey, usefuljunk |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
xine strace file
emerge.info |
Description
Lee Trager
2004-09-20 20:45:40 UTC
Could you post a gdb backtrace? This may be an amd64 related issue, but I'd like to see the backtrace before I go off saying that. Here is what I did and the results gdb xine GNU gdb 6.2.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/xine warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. warning: shared library handler failed to enable breakpoint This is xine (X11 gui) - a free video player v0.99.2. (c) 2000-2004 The xine Team. xine never comes up thats all that happens. It hangs there and I have to do killall -9 xine && killall -9 gdb. When I dont use gdb xine comes up but crashes once I select a file. I just added myself to CC and can confirm the same behaviour here Hmm, gdb is kinda weird because of the way portage does symbol stripping for libs. That said, attach an strace output instead. You'll find strace: dev-util/strace-4.5.7 which is the latest version. Simply: strace xine and when xine decides to crash, the kill xine with a nice kill -9 if needed, but don't kill strace or you won't get your output. Then simply attach (no inline attachments for the sake of our sanity :P) the output to this bug. Created attachment 40574 [details]
xine strace file
I see why you wanted this as an attachment, I did a man on it and did strace -o
xine xine. Hopefully this gives you all the information you need.
eradicator recenty added some amd64 libconf (/lib and /lib64) logic which may be the cause of the issue. The latest -rc6 has a fix for that. Please test that out and see if you are experiencing the issue still. I did not have libconf installed but I did have the latest xine. I tried emerge libconf then reemerging xine and I still have the same problem. I have reported this bug to the xine bugzilla but we still cannt figure it out. The reason why one of developers says we cannt figure it out is because gdb is not giving any realy output. He asks if my version of glibc is "unstripped" I told him I dont know. Is the version of glibc "unstripped" in portage? Anyway here is a link to the xine bugzilla. https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1043792&group_id=9655 The developers of xine need more information to figure this out if anyone can help give that information please goto https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1043792&group_id=9655 Try again with the gdb backtrace. Simply do run, then it should hit the segfault, and do "bt" in the command line, then copy and paste here what the result is. I've removed symbol stripping because a) it makes debugging stuff easier and b) it crashed mplayer and xine-lib also runs off an ffmpeg base so.. no chances taking :P. xine hangs at the splash in gdb and I get this after bt #0 0x0000002a96573a0a in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0x0000002a961757b0 in fifo_buffer_get () from /usr/lib/libxine.so.1 #2 0x0000002a9617c7e4 in video_decoder_loop () from /usr/lib/libxine.so.1 #3 0x0000002a965710d1 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0000002a975d1d53 in clone () from /lib/tls/libc.so.6 #5 0x0000000000000000 in ?? () #6 0x0000000000000000 in ?? () #7 0x0000000000000000 in ?? () #8 0x0000000000000000 in ?? () #9 0x0000000000000000 in ?? () #10 0x0000000000000000 in ?? () #11 0x0000000000000000 in ?? () #12 0x0000000000000000 in ?? () #13 0x0000000000000000 in ?? () #14 0x0000000000000000 in ?? () #15 0x0000000000000000 in ?? () #16 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () Repeats for awhile... #215 0x0000002a9773c560 in __check_rhosts_file () from /lib/tls/libc.so.6 #216 0x0000000000000000 in ?? () ... #242 0x0000002a9667b230 in stack_cache_maxsize () from /lib/tls/libpthread.so.0 #243 0x0000000000000000 in ?? () ... Cannot access memory at address 0x47000000 I confirm the same behaviour on x86; doesn't seem to be amd64 issue. Here's my emerge info: Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-LNX i686) ================================================================= System uname: 2.6.10-LNX i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 12:39:22)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r3 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mfpmath=sse -msse2 -mmmx -O3 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" LANG="bg_BG" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-main" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts bonobo breakme cdr crypt cups curl divx4linux dvb dvd dvdread emboss encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib ipv6 jack java jpeg junit kde ldap libg++ libwww lirc lzw-tiff mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nptlonly nvidia oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline real samba scanner sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb v4l v4l2 winbind wmf xml xml2 xmms xorg xorg-x11 xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS Created attachment 56084 [details]
emerge.info
Just wanted to post to confirm that I am getting the same thing on a fresh install of 2005.0 (my first ever Gentoo install). Any file crashes xine. My emerge.info is attached. When Xine is run from the command line it dies with: xiTK received SIGSEGV signal, RIP. Killed also crashes for me, this is *not* am AMD64 problem, I'm on x86. CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" strace before dying... read(6, "\377\3734\304\0\0\0\10\1,\0\0\0\0\307\0\v@\0\0\1\301\225"..., 2514) = 2514 fstat64(6, {st_mode=S_IFREG|0744, st_size=730169344, ...}) = 0 _llseek(6, 0, [12774], SEEK_CUR) = 0 fstat64(6, {st_mode=S_IFREG|0744, st_size=730169344, ...}) = 0 futex(0x87d3e48, FUTEX_WAKE, 1) = 1 futex(0x87d3e44, FUTEX_WAKE, 1) = 1 futex(0x87d3e2c, FUTEX_WAKE, 1) = 1 _llseek(6, 15254, xiTK received SIGSEGV signal, RIP. ptrace: umoven: No such process 0xbffe49d4, SEEK_SET) = 0 trace: ptrace(PTRACE_SYSCALL, ...): No such process This seems like a problem with one of the file open dialogs. If you click on the open button on the front gui it crashes. When I right click on the xine screen(were the movies play), went to Open, then file it works fine. http://bugs.gentoo.org/show_bug.cgi?id=87099 this fixed it for me - dodgy ALSA libs. hope this helps Confirmed, upgrading to alsa-lib 1.0.9_rc2-r1 fixed this for me as well. I have that version installed and I still have the same issue. As I said before right clicking on the screen and then going to open does work its just clicking on the main gui(the control bar) that causes it to crash. which alsa-driver do you use? if you use the kernel driver disable that one, use the portage own alsa-driver and use the same version as the lib. either use 1.0.7 or 1.0.9_rcX , since 1.0.8 has some problems. Try with latest xine-ui and report if it's still an issue. Ive tested with the latest version and I still have the same problem on my desktop (AMD64) and laptop(ia32). Try removing ~/.xine . I can't reproduce it in any way. Removing .xine does nothing. I was at my gf's house today and she has the same problem with xine(running gentoo ~x86 on a p4). The only difference is that xine will only crashes on some files and will be fine on others. I got the same problem with xine, on x86 and same solution. I only have to emerge the latest alsa-lib version (alsa-lib-1.0.9_rc3) to resolve the problem. Please note that you should *not* use in-kernel drivers, and both -driver and -lib must be of the same version. I do have the latest alsa-lib and it does not help. I do not see how this is a problem regarding the fact that alsa is built-in, I have no sound problems. This is a gui problem. Ill try using alsa-driver this weekend though. We are aware of problems with in-kernel alsa drivers, which leads to segfaults and kernel oops. Please try with alsa-driver and if the problem persists, reopen the bug. I tried with with alsa-driver ebuild and the problem is still here. I forgot to add im using alsa-driver, alsa-lib, etc version 1.0.9_rc3. *** Bug 92415 has been marked as a duplicate of this bug. *** *** Bug 92177 has been marked as a duplicate of this bug. *** *** Bug 96073 has been marked as a duplicate of this bug. *** Please can all of you try with alsa-driver 1.0.9b and latest xine version 1.0.1-r3 ? It doesn't crash for me anymore. I just tried it one day and it worked fine. Perhaps I had upgraded the kernel or the compiler or something. I really don't know what changed. Just looked at my /proc/asound/version, I'm using ALSA 1.0.8. No luck - still segfaults with the new ALSA driver and Xine. I do not have the ALSA drivers enabled in the kernel, either. I miss Xine :-( See if you can get a backtrace with gdb after setting FEATURES="nostrip" CFLAGS="-pipe -g -ggdb3" looks like post_goom is broken with xine-lib-1.0.1-r3 this cause me seg faults on totem... #### Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1132489056 (LWP 7201)] 0x00002aaab2563ba5 in zoom_filter_c () from /usr/lib64/xine/plugins/1.0.1/post/xineplug_post_goom.so ### after removing this file totem works fine but with no visualization with mp3/ogg files Haven't done the backtrace yet (just saw the note now). I manually went to my plugins directory and removed all, and added them one by one to see if any were causing problems. The following two caused segfaults: xineplug_decode_speex.so xineplug_dmx_ogg.so Once I remove these, Xine loads up fine. WMV files don't work anymore. I tried Real, Quicktime, mpegs and divx's and they're fine. Haven't tried any ogm ones. Hope this helped. Can you refresh emerge info here? My emerge info: Portage 2.0.51.22-r1 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.4.20-gentoo-r8 i686) ================================================================= System uname: 2.4.20-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.4.16 dev-lang/python: 2.2.3-r5, 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.19-r1, 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="ftp://194.117.143.72/mirrors/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/bmg-main" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl dga directfb divx4linux doc dvb dvd dvdr dvdread emacs emboss encode esd fam fbcon fbdev ffmpeg flac foomaticdb fortran gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 ir java jpeg junit justify kde lcms ldap leim libcaca libg++ libwww live mad maild matroska mbox mikmod mmx motif mozilla mp3 mpeg mysql ncurses network nls oav ofxogg oggvorbis opengl oss pam pda pdflib perl pgp plotutils png pnp python qt quicktime readline real samba sasl sdl slang speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vcd vesa vorbiswmf wxwindows x86 xine xinerama xml xml2 xmms xosd xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS Still having the same problem and everyone I know has it as well. Ive kept up to date so Ive tried all recent versions. Anyway here is my info anything else just post. Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6 .12-ck2-r1 x86_64) ================================================================= System uname: 2.6.12-ck2-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share /config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/default s/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib aim alsa amd64 arts avi bash-completion berkdb bitmap-fonts bzlib cdb cdr crypt cups curl dedicated dvb dvd dvdr dvdread emul-linux-x86 enc ode esd ethereal examples fam ffmpeg flac font-server foomaticdb fortran ftp gcj gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 java javascript jpeg junit kde ldap lm_sensors lzw lzw-tiff mad mikmod mmap mng motif mozilla mp3 mpeg ncurses nls nocd nptl nvidia offensive ogg oggvorbis openal opengl oscar oss pam pda pdflib perl png python qt quicktime readline sd l slang spell ssl svg tcpd theora tiff truetype-fonts type1-fonts usb userlocale s videos vorbis xine xml xml2 xmms xpm xprint xv xvid zlib userland_GNU kernel_l inux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Please also provide emerge -pv ffmpeg xine-lib and also states if gxine and kaffeine works for you. emerge -pv ffmpeg xine-lib These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/ffmpeg-0.4.9_p20050226-r5 +a52 +aac (-altivec) -debug -doc -dts +encode -ieee1394 +imlib (-mmx) -network +ogg +oss +sdl -threads -truetype* -v4l +vorbis +xvid +zlib 1,466 kB [ebuild R ] media-libs/xine-lib-1.0.1-r3 +X +a52 +aac +aalib +alsa (-altivec) +arts -cle266 -directfb +dvd -dxr3 +esd -fbcon +ffmpeg +flac +gnome* -i8x0 +ipv6 -libcaca +mad* +mng +nls +nvidia +opengl +oss +png -samba +sdl -speex +theora -v4l -vcd (-vidix) +vorbis (-win32codecs) -xinerama +xv -xvmc 0 kB Total size of downloads: 1,466 kB These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/ffmpeg-0.4.9_p20050226-r5 +a52 +aac (-altivec) -debug +doc -dts +encode -ieee1394 +imlib +mmx +network +ogg +oss +sdl -threads +truetype -v4l +vorbis +xvid +zlib 0 kB [ebuild R ] media-libs/xine-lib-1.0.1-r3 +X +a52 +aac +aalib +alsa (-altivec) +arts -cle266 +directfb +dvd -dxr3 +esd +fbcon +ffmpeg +flac -gnome -i8x0 +ipv6 +libcaca +mad -mng +nls -nvidia +opengl +oss +png +samba +sdl +speex +theora-v4l +vcd -vidix +vorbis -win32codecs +xinerama +xv -xvmc 0 kB Total size of downloads: 0 kB I also experience this bug with gxine and totem (xine backend) but I am using the built-in kernel version of ALSA in a vanilla kernel (2.6.11.11). Here's my emerge info, if it's needed for anything... Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11.11-rms i686) ================================================================= System uname: 2.6.11.11-rms i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LINGUAS="en_GB" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi alsa apm avi berkdb bitmap-fonts cdr crypt curl dga dio dvd emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 jpeg libg++ libwww mad memlimit mikmod mmap mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis openal opengl pam pdflib perl png python quicktime readline sdl spell sse ssl symlink tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis x86 xine xml2 xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY 1.1.0 is in portage, can all of you try that and see what happens? Version 1.1.0 of xine-lib dosnt not fix anything but version 0.99.4 of xine-ui does indeed fix the problem on both my AMD64 and x86 machine. Can others confirm? Try with xine-lib-1.1.0-r2 and xine-ui-0.99.4 and report back. |