Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153877 - media-sound/amarok-1.4.4: crashes after one minute in firstRunWizard()
Summary: media-sound/amarok-1.4.4: crashes after one minute in firstRunWizard()
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-02 16:35 UTC by Martin von Gagern
Modified: 2007-06-07 23:51 UTC (History)
3 users (show)

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


Attachments
stdout and stderr of crashed amarok run (amarok3.txt,7.99 KB, text/plain)
2006-11-02 16:37 UTC, Martin von Gagern
Details
backtrace (bt.txt,2.85 KB, text/plain)
2006-11-02 16:40 UTC, Martin von Gagern
Details
emerge --info (emerge.info,3.52 KB, text/plain)
2006-11-02 16:41 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2006-11-02 16:35:53 UTC
I haven't used amarok before, so when I start amarok I get this wizard thingy. It takes me some time to figure what dirs to add, and suddenly the wizard crashes. I try again, choose my dirs, and while I'm busy creating a mysql db for amarok to use, the wizard crashes again. Trying to reproduce this, I run amarokapp from command line and simply leave it alone. After one minute (and about 2 seconds) the app crashes. To get some more information I recompiled using these settings:
CFLAGS="-O0 -ggdb" CXXFLAGS="-O0 -ggdb" FEATURES="nostrip" USE="debug"
I'll attach the log. "amarok: BEGIN: void App::firstRunWizard()" is the line where the dialog is displayed for that minute. Looks like loadPodcasts gets invoked after some fixed time even if the application has not been configured yet. And it looks like it tries to use SQlite then, so this might be related to bug #149119 although that is marked a ppc problem.
Comment 1 Martin von Gagern 2006-11-02 16:37:18 UTC
Created attachment 101104 [details]
stdout and stderr of crashed amarok run

Simply "amarok 2>&1 | tee file" and leaving the wizard alone for one minute.
Comment 2 Martin von Gagern 2006-11-02 16:40:07 UTC
Created attachment 101105 [details]
backtrace

This backtrace from running "gdb amarok". You see a SIGSEGV in
Playlist::dynamicMode () from /usr/lib/libamarok.so.0
and there seem to be no SQLite related calls in the trace.
Comment 3 Martin von Gagern 2006-11-02 16:41:18 UTC
Created attachment 101106 [details]
emerge --info

Output from "emerge --info".
Note however the overrides I mentioned in comment #0.
Comment 4 Kim Nilsson 2006-11-12 02:49:23 UTC
Dies on me too.
I made it start once.
Don't know what I did differently.
It then ran for a while, but it can't create a collection, because of failed access to mysql.
I tried all instructions in the amarok-mysql howto, and nothing helps.
Now I can't get it to run again.

$ amarokapp
QLayout "unnamed" added to QVBox "unnamed", which already has a layout
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
Amarok is crashing...
Running: gdb --nw -n --batch -x /tmp/kde-encripted/amarokptlDuc.tmp amarokapp 17923
Failed to read a valid object file image from memory.
Running: file `which amarokapp`
1.4.4 [___stripped][validity: 0.20][frames:  20][]
Comment 5 Kim Nilsson 2006-11-12 02:52:59 UTC
> # emerge --info
> Portage 2.1.2_rc1-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1,
> glibc-2.4-r4, 2.6.18-gentoo-r1 i686)
> =================================================================
> System uname: 2.6.18-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
> Gentoo Base System version 1.12.6
> Last Sync: Sun, 12 Nov 2006 05:20:01 +0000
> ccache version 2.3 [disabled]
> dev-java/java-config: 1.3.7, 2.0.30
> dev-lang/python:     2.3.6, 2.4.4
> dev-python/pycrypto: 2.0.1-r5
> dev-util/ccache:     2.3
> sys-apps/sandbox:    1.2.17
> sys-devel/autoconf:  2.13, 2.60
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
> sys-devel/binutils:  2.16.1-r3
> sys-devel/gcc-config: 1.3.13-r4
> sys-devel/libtool:   1.5.22
> virtual/os-headers:  2.6.17-r1
> ACCEPT_KEYWORDS="x86"
> AUTOCLEAN="yes"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
> /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
> /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
> /etc/java-config/vms/ /etc/splash /etc/terminfo"
> CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> EMERGE_DEFAULT_OPTS="--alphabetical"
> FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
> strict"
> GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo
> http://mirror.gentoo.no/ http://gentoo.osuosl.org/
> ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
> ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo
> ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/
> ftp://gentoo.mirrors.tds.net/gentoo
> ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
> ftp://mirror.datapipe.net/gentoo http://mirror.uni-c.dk/pub/gentoo/
> http://trumpetti.atm.tut.fi/gentoo/
> http://ftp.club-internet.fr/pub/mirrors/gentoo
> ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
> ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://files.gentoo.org
> ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
> ftp://mirrors.blueyonder.co.uk/mirrors/gentoo
> ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/
> ftp://ftp.planetmirror.com/pub/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo
> ftp://mirror.isp.net.au/pub/gentoo/ "
> LANG="sv_SE.UTF-8"
> LC_ALL="en_US"
> LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
> LINGUAS="sv_SE sv en en_GB en_US da"
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
> --force --whole-file --delete --delete-after --stats --timeout=180
> --exclude=/distfiles --exclude=/local --exclude=/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/gentoo-webapps-overlay/experimental
> /usr/local/gentoo-webapps-overlay/production-ready
> /usr/local/gentoo-general-overlay
> /usr/local/gentoo-webapps-overlay/experimental
> /usr/local/gentoo-webapps-overlay/production-ready
> /usr/local/gentoo-general-overlay"
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
> USE="x86 7zip X a52 acpi alsa bcmath berkdb bitmap-fonts bzlib cairo cdr cli
> cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode
> fam ffmpeg firefox flac fortran ftp gdbm gif gnome gnutls gpm gstreamer gtk hal
> iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kde
> kernel_linux ldap libg++ linguas_da linguas_en linguas_en_GB linguas_en_US
> linguas_sv linguas_sv_SE lzo mad mikmod mmx mp3 mpeg ncurses network nls nptl
> nptlonly nsplugin opengl oss pam pcre perl png ppds pppd python qt qt3 qt4
> quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd
> theora truetype truetype-fonts type1-fonts udev unicode userland_GNU
> video_cards_nvidia win32codecs xinerama xml xml2 xorg xv zlib"
> Unset:  CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
> 

Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-07 18:27:41 UTC
Please follow http://www.gentoo.org/proj/en/qa/backtraces.xml, and make sure to execute gdb over amarokapp, not amarok.
Comment 7 Martin von Gagern 2007-06-07 23:51:31 UTC
(In reply to comment #6)
> Please follow http://www.gentoo.org/proj/en/qa/backtraces.xml, and make sure to
> execute gdb over amarokapp, not amarok.

I've tried amarok-1.4.5-r1 today, and that seems to work. As it is already stable, I'd not put more effort into investigating the 1.4.4 issue.