Summary: | Xine shows the splash screen then segfaults. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Beetle B. <usefuljunk> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED DUPLICATE | ||
Severity: | critical | CC: | tekknokaetzi |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Beetle B.
2005-05-10 12:03:02 UTC
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... |