Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288255 - media-sound/amarok-2.2: Crashes when enabling a dynamic playlist and does not start anymore afterwards
Summary: media-sound/amarok-2.2: Crashes when enabling a dynamic playlist and does not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-08 22:28 UTC by Tobias Leupold
Modified: 2009-11-20 14:51 UTC (History)
3 users (show)

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


Attachments
First Start, dynamic playlist (first start.txt,43.11 KB, text/plain)
2009-10-08 22:30 UTC, Tobias Leupold
Details
KDE's backtrace (backtrace.txt,12.69 KB, text/plain)
2009-10-08 22:30 UTC, Tobias Leupold
Details
Crash on second start (second start.txt,7.23 KB, text/plain)
2009-10-08 22:30 UTC, Tobias Leupold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2009-10-08 22:28:20 UTC
After a fresh install of Amarok 2.2 and a complete scan of my collection, Amarok crashes when I enable a dynamic (random) playlist. Afterwards, Amarok does not start at all anymore. Not even KDE's crash handler shows up.

See the attached files for the console output of amarok --debug and the backtrace of the KDE crash handler.

Reproducible: Always

Steps to Reproduce:
Comment 1 Tobias Leupold 2009-10-08 22:30:08 UTC
Created attachment 206485 [details]
First Start, dynamic playlist
Comment 2 Tobias Leupold 2009-10-08 22:30:35 UTC
Created attachment 206487 [details]
KDE's backtrace
Comment 3 Tobias Leupold 2009-10-08 22:30:57 UTC
Created attachment 206488 [details]
Crash on second start
Comment 4 Tobias Leupold 2009-10-09 10:34:02 UTC
Sorry, I forgot my emerge --info:

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r3, 2.6.31.1 x86_64)
=================================================================                                        
System uname: Linux-2.6.31.1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.0         
Timestamp of tree: Fri, 09 Oct 2009 10:00:01 +0000                                                       
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                
app-shells/bash:     4.0_p28                                                                             
dev-java/java-config: 2.1.8-r1                                                                           
dev-lang/python:     2.5.4-r3, 2.6.2-r1, 3.1.1-r1                                                        
dev-util/cmake:      2.6.4                                                                               
sys-apps/baselayout: 2.0.0                                                                               
sys-apps/openrc:     0.4.3-r3                                                                            
sys-apps/sandbox:    1.6-r2                                                                              
sys-devel/autoconf:  2.63-r1                                                                             
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                
sys-devel/binutils:  2.18-r3                                                                             
sys-devel/gcc-config: 1.4.1                                                                              
sys-devel/libtool:   2.2.6a                                                                              
virtual/os-headers:  2.6.27-r2                                                                           
ACCEPT_KEYWORDS="amd64"                                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                                             
CFLAGS="-march=core2 -O2 -pipe -msse4.1"                                                                 
CHOST="x86_64-pc-linux-gnu"                                                                              
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                                                          
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"                                                                               
DISTDIR="/usr/src/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="        http://ftp.uni-erlangen.de/pub/mirrors/gentoo/  http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/       http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage/tree"
PORTDIR_OVERLAY="/var/portage/local /var/portage/layman/sunrise /var/portage/layman/kde-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode esd evo fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl semantic-desktop session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb vim-syntax vorbis wmf x264 xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Tobias Leupold 2009-10-12 21:52:13 UTC
Same thing with mysql-5.0.84-r1 (if this could be caused by the mysql installation complaining about -fPIC in CFLAGS).
Comment 6 Tobias Leupold 2009-10-17 10:41:51 UTC
Seems to be known: https://bugs.kde.org/show_bug.cgi?id=201111
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-10-28 11:03:35 UTC
(In reply to comment #5)
> Same thing with mysql-5.0.84-r1 (if this could be caused by the mysql
> installation complaining about -fPIC in CFLAGS).

If you still have -fPIC in the CFLAGS for mysql, please remove it - the hack is no longer required and can cause issues. Does rebuilding mysql fix the issue?

Looking at the first backtrace, I see the following:

amarok:                 [BiasSolver] track selected: "Gelaber 1" "EMPIRE"
<unknown program name>(7618)/: Communication problem with  "amarok" , it probably crashed.

Have you tried moving the collection to another dir and starting amarok again? It shouldn't crash. Another thing you could do is to add incrementally files to your collection to check whether you have a problem with some files or their names. You can also try to move the collection to a mysql server, instead of using the embedded server.
Comment 8 Tobias Leupold 2009-10-28 18:41:05 UTC
Compiling mysql and Amarok without -fPIC results in exactly the same behaviour. According to the KDE Bug Report, Amarok crashes the second time (after enabling a dynamic playlist) because the playlist is still activated.
Comment 9 Jeff Mitchell 2009-11-11 00:38:35 UTC
Where did this idea about this being mysql-related come from?
Comment 10 Tobias Leupold 2009-11-11 17:57:59 UTC
I don't think this has something to do with it. I think there were some MySQL related problems with Amarok 2 some time ago, so I thought this one could also be MySQL related.
Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-11-20 14:51:45 UTC
I'm closing this bug as it is reported as fixed by upstream.
The relevant upstream bugs are:

https://bugs.kde.org/show_bug.cgi?id=200546
https://bugs.kde.org/show_bug.cgi?id=201111

If anyone hits this issue again, please reopen the bug.