Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92415 - xine-ui crashs on startup with amd64 (as does codeine, as does amaroK with lib-xine)
Summary: xine-ui crashs on startup with amd64 (as does codeine, as does amaroK with li...
Status: RESOLVED DUPLICATE of bug 64818
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 12:36 UTC by Ian Monroe
Modified: 2005-07-12 11:08 UTC (History)
0 users

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


Attachments
strace of xineui starting (xineui_strace,390.54 KB, text/plain)
2005-05-12 21:39 UTC, Ian Monroe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Monroe 2005-05-12 12:36:49 UTC
Both codeine and xine-ui crash on startup. I have lib-xine compiled with debug on, this required a little change to the ebuild as the 'debug' use flag for lib-xine doesn't do anything (basically doing make debug, make install-debug).

The reason I'm not sending directly to upstream is that for some reason a /usr/X11R6/bin/xine gets installed by 'emerge xine-ui'. It has the same date, diff says its the same file as /usr/bin/xine, but equery says its not owned by anything. Not sure if this is relevant or not. 


Here's the output of xine-bugreport plus the backtrace:
short description: xine doesn't start
xine-lib version: 1.0.1
xine --version says:
This is xine (X11 gui) - a free video player v0.99.3.
(c) 2000-2004 The xine Team.


xine output:
-----------
> to continue, or q <return> to quit---
(gdb) run
Starting program: /usr/bin/xine
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 18973)]
This is xine (X11 gui) - a free video player v0.99.3.
(c) 2000-2004 The xine Team.
[New Thread 32769 (LWP 18976)]
[New Thread 16386 (LWP 18977)]
[New Thread 32771 (LWP 18978)]
[New Thread 49156 (LWP 18979)]
[New Thread 65541 (LWP 18980)]
[New Thread 81926 (LWP 18981)]
[New Thread 98311 (LWP 18982)]
[New Thread 114696 (LWP 18983)]
[New Thread 131081 (LWP 18984)]
[New Thread 147466 (LWP 18985)]
[New Thread 163851 (LWP 18986)]
[New Thread 180236 (LWP 18987)]
[New Thread 196621 (LWP 18988)]
[New Thread 213006 (LWP 18989)]
[New Thread 229391 (LWP 18990)]
[New Thread 245776 (LWP 18991)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 114696 (LWP 18983)]
0x00002aaaab6cebac in xine_profiler_stop_count (id=0) at monitor.c:69
69      monitor.c: No such file or directory.
        in monitor.c
(gdb) bt all
No symbol "all" in current context.
(gdb) bt full
#0  0x00002aaaab6cebac in xine_profiler_stop_count (id=0) at monitor.c:69
No locals.
#1  0x00002aaaab6b8aea in video_decoder_loop (stream_gen=0x0) at video_decoder.c:448
        i = -1417767008
        j = -1417767296
        buf = (buf_element_t *) 0xcca460
        stream = (xine_stream_t *) 0xcb1a10
        running_ticket = (xine_ticket_t *) 0x69efb0
        running = 1
        streamtype = 0
        prof_video_decode = 0
        prof_spu_decode = 1
        buftype_unknown = 0
#2  0x00002aaaaba99bb9 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00002aaaaba99c63 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00002aaaacb639b3 in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.
#6  0x00000000001cd002 in ?? ()
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.
#8  0x0000000000000000 in ?? ()
No symbol table info available.

additional description:
----------------------

PUT YOUR DESCRIPTION HERE
(please replace these two lines by your complete problem description)


system info, as found by xine-check:
-----------------------------------

0 using-linux
0 have-procfs
0 kernel-recent
1 arch-non-i386
1 several-xine
0 xine-in-path
0 xine-config-in-path
0 plugindir-exists
0 unknown-plugin
0 found-plugins
0 found-plugins
0 found-plugins
0 found-plugins
0 found-plugins
0 skindir-exists
0 logo-exists
0 found-skins
0 have-cdrom
0 have-dvdrom
0 dvd-dma-enabled
0 have-xv
0 have-yv12
0 have-yuy2
0 xv-planes
UNAME=Linux wasabi 2.6.11.8 #2 Thu May 5 15:05:41 CDT 2005 x86_64 AMD Athlon(tm) 64 Processor 3800+ AuthenticAMD GNU/Linux
OS=Linux
ARCH=x86_64
DISTRO=unknown_Linux
KERNEL_VERSION=2.6.11.8
xine_executable=/usr/bin/xine
xine_executables=/usr/bin/xine
/usr/X11R6/bin/xine
xine_configs=
xine_config=/usr/bin/xine-config
xine_prefix=/usr
plugindir=/usr/lib64/xine/plugins/1.0.1
skindir=/usr/share/xine/skins
input= cdda dvb dvd file gnome_vfs http mms net pnm pvr rtp rtsp smb stdin_fifo v4l vcdo
demux= audio avi fli flv games iff image matroska mpeg mpeg_block mpeg_elem mpeg_pes mpeg_ts nsv ogg pva qt rawdv real slave sputext yuv4mpeg2 yuv_frames
decoder= a52 bitplane dts dvaudio faad ff gsm610 image lpcm mad mpc mpeg2 nsf real real_audio rgb spu spucc spucmml spudvb sputext theora vorbis yuv
video_out= none opengl sdl xshm xv xvmc xxmc
skins= xinetic
CDROM=/dev/hdc
DVDROM=/dev/hdc
drivetype=ATAPI
hdparm=//sbin/hdparm
dma=1
DISPLAY=:0.0
xvinfo=/usr/bin/xvinfo
XVIDEO=X-Video Extension version 2.2
YUV=true
YUY2=true
planes= YUY2 YV12 UYVY I420 YUY2 YV12 UYVY I420


Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.11.8 x86_64)
=================================================================
System uname: 2.6.11.8 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.6.11
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, May  7 2005, 16:36:12)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks nostrip sandbox strict
userpriv usersandbox"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 avi bash-completion berkdb bitmap-fonts
cdparanoia cdr crypt cups curl dga dvd dvdr dvdread encode faad fam ffmpeg flac
font-server fortran gdbm ggi gif gnome gpm gstreamer gtk imagemagick ipv6 java
jp2 jpeg kde live lzw lzw-tiff mad matroska mozilla mozsvg mp3 mpeg mysql
ncurses network nls nvidia nvidida oav ogg oggvorbis opengl pam perl png pnp
python qt quicktime readline real rtc ruby samba sdl socks5 spell ssl tcpd
theora tiff truetype truetype-fonts type1-fonts usb userlocales vidix vorbis
wifi wmf xine xinerama xml xml2 xpm xprint xrandr xv xvid xvmc zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-12 13:14:52 UTC
> The reason I'm not sending directly to upstream is that for some reason a /usr/X11R6/bin/xine gets installed by 'emerge xine-ui'. It has the same date, diff says its the same file as /usr/bin/xine, but equery says its not owned by anything. Not sure if this is relevant or not.

That's because /usr/X11R6 is a symlink to /usr. So maybe reporting it upstream is the best thing to do? :)
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-12 13:34:23 UTC
Can you post the output of strace xine ?
Comment 3 Ian Monroe 2005-05-12 21:39:02 UTC
Created attachment 58800 [details]
strace of xineui starting

I've always thought of strace as the poor man's backtrace, but maybe someone is
able to make more sense out of them then I can.

Well, it being a symlink makes a lot of sense. Heh. Um. Perhaps we can narrow
the bug down a little bit before sending it upstream.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-13 01:55:30 UTC
Are you using alsa drivers in-kernel? Or the external one?
which versions of alsa-lib and alsa-driver are you using?

Please note that using in-kernel drivers can lead to problems, you should always use alsa-driver. Also note that you need to have the same version for -driver and -lib.

1.0.8 had problems, so you probably want to move to 1.0.7 or 1.0.9 as you feel.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-07-12 11:08:59 UTC

*** This bug has been marked as a duplicate of 64818 ***