Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121218 - amarok 1.3.8 crashes with .mp3 works with .rm files
Summary: amarok 1.3.8 crashes with .mp3 works with .rm files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-01 13:07 UTC by Gioele Barabucci
Modified: 2006-02-05 04:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gioele Barabucci 2006-02-01 13:07:34 UTC
I used amarok 1.3.6 with the xine engine until yesterday. Yesterday I recompiled amarok, xine-lib and ffmpeg. Now amarok plays file .rm files over the rtp protocol (thanks to binary codecs) but crashes when it starts playing an mp3 file.
Comment 1 Gioele Barabucci 2006-02-01 13:08:08 UTC
$ emerge --info
Portage 2.1_pre4-r1 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.14-gentoo-r2 ppc)
=================================================================
System uname: 2.6.14-gentoo-r2 ppc 750FX
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt"
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"
PORTDIR_OVERLAY="/usr/portage-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="ppc S3TC X a52 aac acl alsa apache2 arts berkdb c++ cdr crypt cups dv dvd dvdr emboss encode exif flac gif gtk2 hal howl ieee1394 ipv6 jack jpeg jpeg2k kde lcms libwww matroska mime mmap mng motif mp3 mpeg mpeg4 ncurses nls nptl ogg oggvorbis opengl pam pdflib png pnp python qt quicktime readline ruby sdl speex spell ssl subversion svg sysfs theora threads truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vhosts vorbis wifi xinerama xml2 xv xvid zeroconf zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Gioele Barabucci 2006-02-01 13:10:09 UTC
$ equery uses amarok
[ Found these USE variables for media-sound/amarok-1.3.8 ]
 U I
 + + arts          : Adds support for aRts: the KDE sound daemon
 + + flac          : Adds support for the flac audio codec
 - - gstreamer     : Adds support for media-libs/gstreamer (Streaming media)
 + + kde           : Adds support for kde-base/kde (K Desktop Enviroment)
 + + mp3           : Add support for reading mp3 files
 - - mysql         : Adds mySQL support
 - - noamazon      : Disable support for downloading covers from amazon.com
 + + opengl        : Adds support for OpenGL
 - - postgres      : Adds support for the postgresql database
 + + xine          : Add support for the XINE movie libraries
 - - xmms          : Check/Support for XMMS (X MultiMedia System) player.
 - - visualization : Support visualization plugins through media-libs/libvisual
 + + vorbis        : Adds support for the OggVorbis audio codec
 + + musicbrainz   : Enable support for MusicBrainz audio lookups (musicbrainz.org)
 - - debug         : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 + + arts          : Adds support for aRts: the KDE sound daemon
 + + xinerama      : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors
Comment 3 Gioele Barabucci 2006-02-01 13:11:28 UTC
$ equery uses xine-lib
[ Found these USE variables for media-libs/xine-lib-1.1.1-r4 ]
 U I
 - - aalib       : Adds support for media-libs/aalib (ASCII-Graphics Library)
 - - libcaca     : Add support for colored ASCII-art graphics
 + + arts        : Adds support for aRts: the KDE sound daemon
 - - cle266      : Suport for the via XvMC libs
 - - esd         : Adds support for media-sound/esound (Enlightened Sound Daemon)
 - - win32codecs : use win32codecs package for dll avi decoding support (wmv and what not)
 + + nls         : <unknown>
 + + dvd         : Adds support for DVDs
 + + X           : Adds support for X11
 - - directfb    : Adds support for DirectFB layer (library for FB devices)
 + + vorbis      : Adds support for the OggVorbis audio codec
 + + alsa        : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - gnome       : Adds GNOME support
 + + sdl         : Adds support for Simple Direct Layer (media library)
 + + speex       : Adds support for the speex audio codec
 + + theora      : Adds support for the Theora Video Compression Codec
 + + ipv6        : Adds support for IP version 6
 - - altivec     : Adds support for optimizations for G4 and G5/ppc970 processors
 + + opengl      : Adds support for OpenGL
 + + aac         : Enables support for MPEG-4 AAC Audio
 - - fbcon       : Adds framebuffer support for the console, via the kernel
 + + xv          : Adds in optional support for the Xvideo extension (an X API for video playback)
 - - xvmc        : Support for XVideo Motion Compensation (accellerated mpeg playback)
 - - nvidia      : Support the nvidia XvMC libs
 - - i8x0        : Support the i8x0 XvMC libs
 - - samba       : Adds support for SAMBA
 - - dxr3        : Support for DXR3 mpeg accelleration cards
 - - vidix       : Support for vidix video output
 + + mng         : Adds support for libmng (MNG images)
 + + flac        : Adds support for the flac audio codec
 + - oss         : Adds support for OSS (Open Sound System)
 - - v4l         : Enables video4linux support
 + + xinerama    : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors
 - - vcd         : Video CD support
 + + a52         : Enables support for decoding ATSC A/52 streams used in DVD
 - - mad         : Adds support for mad (high-quality mp3 decoder library and cli frontend)
 - - imagemagick : Enables support for Imagemagick (image converter)
 - - dts         : Enables libdts (DTS Coherent Acoustics decoder) support
 - - asf         : Support for ASF demuxer (required for win32codecs)
 - - ffmpeg      : Enable ffmpeg support
 - - debug       : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 - - modplug     : Build with modplug support
Comment 4 Gioele Barabucci 2006-02-01 13:13:28 UTC
$ equery uses ffmpeg
[ Found these USE variables for media-video/ffmpeg-0.4.9_p20051120 ]
 U I
 + + aac      : Enables support for MPEG-4 AAC Audio
 - - altivec  : Adds support for optimizations for G4 and G5/ppc970 processors
 - - debug    : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 - - doc      : Adds extra documentation (API, Javadoc, etc)
 + + ieee1394 : Enable FireWire/iLink IEEE1394 support (dv, camera, ...)
 + + a52      : Enables support for decoding ATSC A/52 streams used in DVD
 + + encode   : Adds support for encoding of audio or video files
 - - imlib    : Adds support for imlib, an image loading and rendering library
 - - mmx      : Adds support for optimizations for Pentium MMX and Athlon class processors
 + + ogg      : Adds support for the Ogg container format (commonly used by Vorbis, Theora and flac)
 + + vorbis   : Adds support for the OggVorbis audio codec
 + - oss      : Adds support for OSS (Open Sound System)
 - - test     : Work around to pull in packages needed to run with FEATURES=maketest / FEATURES=test
 + + theora   : Adds support for the Theora Video Compression Codec
 + + threads  : Adds threads support for various packages. Usually pthreads
 + + truetype : Adds support for FreeType and/or FreeType2 fonts
 - - v4l      : Enables video4linux support
 + + xvid     : Adds support for xvid.org's open-source mpeg-4 codec
 - - dts      : Enables libdts (DTS Coherent Acoustics decoder) support
 - - network  : Enables network streaming support
 + + zlib     : Adds support for zlib (de)compression
 + + sdl      : Adds support for Simple Direct Layer (media library)
Comment 5 Gioele Barabucci 2006-02-01 13:17:06 UTC
Backtrace generated from amarok. I don't think it is useful

1.3.8 [___stripped][validity: 1.00][frames:  30][xine]

======== DEBUG INFORMATION  =======
Engine:     xine-engine
Build date: Feb  1 2006
CC version: 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)
KDElibs:    3.4.1
TagLib:     1.4.0
NDEBUG:     true
==== file `which amarokapp` =======
/usr/kde/3.4/bin/amarokapp: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux 2.6.6, dynamically linked (uses shared libs), for GNU/Linux 2.6.6, stripped


==== (gdb) bt =====================
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 805457664 (LWP 10497)]
[New Thread 851088624 (LWP 18481)]
[New Thread 842700016 (LWP 18480)]
[New Thread 832423152 (LWP 18479)]
[New Thread 814605552 (LWP 18478)]
[New Thread 822994160 (LWP 18477)]
0x0ddac580 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#0  0x0ddac580 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#3  0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#4  0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#5  0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#6  0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#7  0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#8  0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#9  0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#10 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#11 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#12 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#13 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#14 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#15 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#16 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#17 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#18 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#19 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#20 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#21 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#22 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#23 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#24 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#25 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#26 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#27 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#28 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#29 0x0ddac564 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0


==== kdBacktrace() ================
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-01 13:22:49 UTC
Build xine-lib with +mad, that should fix it.
Comment 7 David Grant 2006-02-02 00:08:39 UTC
Gioele: did it crash when you upgraded to xine-lib-1.1.x? That's what did it to me (I think). I'm going to downgrade to xine-lib-1.0.x and see if that fixes it. I might try the +mad USE flag thing after.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-02 00:19:42 UTC
Downgrading to 1.0.x will solve, because mad in that case is always built...
Please try with +mad, that will solve correctly the problem, I'm almost sure.
Comment 9 Gioele Barabucci 2006-02-02 13:04:01 UTC
Thanks for the help, +mad solved this issue.

I added +mad to the list of xine-lib flags.
Can't xine-lib use the ffmpeg mp* decode ability?
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-02 13:16:21 UTC
Unfortunately it seems like not.
Comment 11 Georges Toth 2006-02-05 02:43:28 UTC
maybe you could display a warning when you build or after the build of amarok, if the mad use-flag hasn't been set for xine-lib ?
I experienced this problem too. I always thought amarok wasn't compatible with newer version of xine-lib, so I kept downgrading or masking.
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-05 04:03:29 UTC
I've added a warning in xine-lib.
For the rest I can't do any much... try to ask amaroK upstream if they can check if xine-lib has or not mp3 support before playing, but I'm not sure if it's possible anyway.
Comment 13 Georges Toth 2006-02-05 04:23:15 UTC
isn't it possible to add a use-flag check to the amarok ebuild ?
so if you try to merge amarok with the xine flag, but xine doesn't have the mad flag, exit, or stop for 2secs and display a warning ?

the php ebuild f.ex. does that ...

anyway...thnx for your help