Every time I load Xine, it shows the splash screen and then segfaults. This started occuring after a recent world update. I don't think Xine was one of the apps updated, though. However, the splash screen IS different... A revdep-rebuild shows everything is fine. I upgraded to the latest alsa-lib (1.0.9_rc3) to eliminate that problem. I don't use NVidia. mplayer plays just fine. Reproducible: Always Steps to Reproduce: 1.Run Xine 2.Crash after splash. Actual Results: Crashed. (Segmentation Fault) Expected Results: Continued running Portage 2.0.51.19 (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 Python: dev-lang/python-2.3.5,dev-lang/python-2.2.3-r5 [2.3.5 (#1,May 7 2005, 18:44:58)] dev-lang/python: 2.3.5, 2.2.3-r5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.5, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.19-r1, 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" 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/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="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="ftp://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://mir.zyrianes.net/gentoo/ http://mirror.datapipe.net/gentoo http://ftp.heanet.ie/pub/gentoo/ http://212.219.56.162/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" 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 aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl dga directfb divx4linux doc dvd dvdr dvdread emacs embossencode esd fam fbcon fbdev flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 ir java jpeg junit justify kde lcms ldap leim libg++ libwww live mad maild mbox mikmod mmx motif mozilla mp3 mpeg mysql ncurses network nls oav ofx ogg 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 tiff truetype truetype-fonts type1-fonts usb vesa vorbis wmf x86 xine xinerama xml xml2 xmms xv xvid zlibvideo_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
if i understand this one right, updating the alsa-lib fixed it? the problem with the alsa-lib is known, there were quite a lot of bugs in the past related to the alsa-lib 1.0.8 and 1.0.9_rc2 . another problem is when version get out of sync, i.e. you use the driver from the kernel and use the lib from the tree which is a more current version or something.
My apologies - I must have been half awake when I wrote the bug report. What I meant was that I upgraded alsa-lib to 1.0.9_rc3 with the intention of eliminating that problem, as has been reported elsewhere. However, the problem still exists with 1.0.9_rc3. I just downgraded to 1.0.7, and it still behaves the same way - crashing.
are you familiar with gdb? could you re-emerge xine (the lib and the ui would be good) with CFLAGS set to "-O0 -ggdb" and FEATURES="nostrip" ? afterwards run 'gdb xine' , when it segfaults type bt full, that produces the output of interest. that would make debugging easiert, thanks.
With those, xine-lib did not compile. Gave the following error: make[5]: Entering directory `/var/tmp/portage/xine-lib-1.0-r2/work/xine-lib-1.0/src/libffmpeg/libavcodec/i386' /bin/sh ../../../../libtool-nofpic --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../include -I../../../../include -I../../../../src -I../../../../src/xine-engine -I../../../../src/xine-engine -I../../../../src/xine-utils -I../../../../src/input -I../../../../src/input -I../../../../lib -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT-DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB `echo -mcpu=pentiumpro -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENABLE_IPV6 -O0 -ggdb -frename-registers -mno-sse2 -mno-sse3 -ffunction-sections | sed -e 's/-funroll-loops//g'` -c -o cputest.lo `test -f 'cputest.c' || echo './'`cputest.c mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../include -I../../../../include -I../../../../src -I../../../../src/xine-engine -I../../../../src/xine-engine -I../../../../src/xine-utils -I../../../../src/input -I../../../../src/input -I../../../../lib -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB -mcpu=pentiumpro -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE-Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENABLE_IPV6 -O0 -ggdb -frename-registers -mno-sse2 -mno-sse3 -ffunction-sections -c cputest.c -o .libs/cputest.o /bin/sh ../../../../libtool-nofpic --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../include -I../../../../include -I../../../../src -I../../../../src/xine-engine -I../../../../src/xine-engine -I../../../../src/xine-utils -I../../../../src/input -I../../../../src/input -I../../../../lib -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT-DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB `echo -mcpu=pentiumpro -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENABLE_IPV6 -O0 -ggdb -frename-registers -mno-sse2 -mno-sse3 -ffunction-sections | sed -e 's/-funroll-loops//g'` -c -o dsputil_mmx.lo `test -f 'dsputil_mmx.c' || echo './'`dsputil_mmx.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../include -I../../../../include -I../../../../src -I../../../../src/xine-engine -I../../../../src/xine-engine -I../../../../src/xine-utils -I../../../../src/input -I../../../../src/input -I../../../../lib -DSIMPLE_IDCT -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DUSE_FASTMEMCPY -DCONFIG_RISKY -DCONFIG_DECODERS -DXINE_MPEG_ENCODER -DCONFIG_ZLIB -mcpu=pentiumpro -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE-Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENABLE_IPV6 -O0 -ggdb -frename-registers -mno-sse2 -mno-sse3 -ffunction-sections -c dsputil_mmx.c -o .libs/dsputil_mmx.o dsputil_mmx.c: In function `h263_h_loop_filter_mmx': dsputil_mmx.c:633: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make[5]: *** [dsputil_mmx.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/xine-lib-1.0-r2/work/xine-lib-1.0/src/libffmpeg/libavcodec/i386' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1.0-r2/work/xine-lib-1.0/src/libffmpeg/libavcodec' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.0-r2/work/xine-lib-1.0/src/libffmpeg' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.0-r2/work/xine-lib-1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.0-r2/work/xine-lib-1.0' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1.0-r2 failed. !!! Function src_compile, Line 212, Exitcode 2 !!! Parallel make failed !!! If you need support, post the topmost build error, NOT this status message.
I had a similar problem about 4 months ago. xine refused to start, I just saw the splashscreen and then xine segfaulted. I found out that xine crashed when it tried to load the plugins. It crashed everytime when it tried to load ll /usr/lib/xine/plugins/[version number]/xineplug_dmx_audio.so I just removed this file from the xine plugins directory and from that on xine worked properly. Maybe this could help you as a workaround!
Are you using in-kernel drivers or alsa-driver's one? In the first case just use 1.0.9 drivers AND lib.
I'm using the ALSA driver. And that plugin is not the problem...
*** This bug has been marked as a duplicate of 64818 ***