View previous topic :: View next topic |
Author |
Message |
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Fri Sep 09, 2005 9:00 pm Post subject: amarok keeps crashing |
|
|
Since i've heard many good stories about amarok and I've got fed up with the slow development of xmms I decided to give amarok a try.
I've emerged it, but all it does is crash. The first time it asked where I had my music and which database to use, then it crashed, now it just crashes right away.
I've tried 'amarok --engine arts', 'amarok --engine xine' and 'amarok --engine gst', all crash.
When using arts I first get a message that arts is not running real-time priority but that that isn't necessary a problem, then crashes(I get the nice KDE-crash dialog, if anyone cares for the backtrace, let me know, i'll post it).
Gst crashes instantly without any message.
Xine seems to behave the best, since if I'm lucky, I can actually listen to music for a couple of seconds before it crashes. But not always. sometimes it crashes immediatly, sometimes it runs for a whole minute(!!!). If it crashes while on the xine backend I don't get the KDE-crash dialog, but I do get a KMail dialog with some generated e-mail message about amarok crashing and the following info:
Code: |
Engine: xine-engine
Build date: Sep 9 2005
CC version: 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r2, ssp-3.4.3.20050110-0, pie-8.7.7)
KDElibs: 3.4.1
TagLib: 1.4.0
NDEBUG: true
|
What can I do to actually use amarok?
I already tried re-emering gstreamer, arts, amarok, I also emerged a masked (newer) version of amarok to see if that would help but I get the same problems. _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
ArsDangor Guru
Joined: 20 May 2003 Posts: 477
|
Posted: Fri Sep 09, 2005 9:36 pm Post subject: |
|
|
You can try to remove your .kde/share/apps/amarok (that's the easy try). These are the other things you can try, ordered by speed:
Code: | $ emerge -uDN world # N stands for newuse |
Code: | $ emerge -e amarok # Or world. It is slow, but it will solve many things when everything else goes wrong |
If you still have packages that were compiled with GCC 3.3.x, I'm afraid you'll have to emerge -e world. _________________ Cómo usar Portage correctamente |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Sat Sep 10, 2005 7:28 am Post subject: |
|
|
ArsDangor wrote: | You can try to remove your .kde/share/apps/amarok (that's the easy try). These are the other things you can try, ordered by speed:
Code: | $ emerge -uDN world # N stands for newuse |
Code: | $ emerge -e amarok # Or world. It is slow, but it will solve many things when everything else goes wrong |
If you still have packages that were compiled with GCC 3.3.x, I'm afraid you'll have to emerge -e world. |
The first one won't make much difference since I haven't changed my use-flags for quite some time. I did try to recompile amarok(first I just used 'emerge amarok', later I re-emerged it using: 'USE="visualization -mysql" emerge amarok" but none of those worked.
I'm trying revdep-rebuild now, to see if that helps. Why would I need to re-emerge everything after a GCC-switch? Indeed I haven't updated my system for a couple of months until last week, when I synced the portage tree and did an 'emerge -u world'. That finished yesterday; the first thing upgraded was GCC from 3.3 to 3.4. But now KDE and Gnome and other updated packages all are compiled using 3.4. But when I do 'emerge -e world' it will re-emerge those again, meaning my rig won't be usable for another half week.... Anyway, if that is necessary, why doesn't it tell me in the ebuild or something? _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
ArsDangor Guru
Joined: 20 May 2003 Posts: 477
|
Posted: Sat Sep 10, 2005 7:29 pm Post subject: |
|
|
There were some ABI differences between 3.3 and 3.4. And perhaps 3.4 solves a few bugs on your architecture... All I know is that I had to emerge -e world to get gnomemeeting working. _________________ Cómo usar Portage correctamente |
|
Back to top |
|
|
blueworm l33t
Joined: 09 May 2003 Posts: 962
|
Posted: Sun Sep 11, 2005 12:55 am Post subject: |
|
|
bump for same problem here and emerge -e world did'nt fix it.
EDIT:
got it to run by Code: | USE="-opengl -gstreamer -mad -oggvorbis -xmms" emerge amarok
|
Its the opengl!
Anyone know what its for anyway? |
|
Back to top |
|
|
ArsDangor Guru
Joined: 20 May 2003 Posts: 477
|
Posted: Sun Sep 11, 2005 3:27 am Post subject: |
|
|
What version of nvidia-glx and amarok are you installing? Did you do opengl-update nvidia? Amarok runs smoothly here, with opengl enabled. _________________ Cómo usar Portage correctamente |
|
Back to top |
|
|
blueworm l33t
Joined: 09 May 2003 Posts: 962
|
Posted: Sun Sep 11, 2005 2:10 pm Post subject: |
|
|
ArsDangor wrote: | What version of nvidia-glx and amarok are you installing? Did you do opengl-update nvidia? Amarok runs smoothly here, with opengl enabled. |
Thats it then I'm using 7676. |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Mon Sep 12, 2005 8:04 am Post subject: |
|
|
ArsDangor wrote: | What version of nvidia-glx and amarok are you installing? Did you do opengl-update nvidia? Amarok runs smoothly here, with opengl enabled. |
I might try that one...
I've tried amarok 1.2.4 and 1.3, both fail. I'm using nvidia-drivers 7676.
I'm also trying emerge -u world atm, but that wants to re-emerge 700+ packages but fails on something stupid(wrong MD5-hash or something) every 50 packages and it won't resume(at least I can't get it to) so that might take another year before I finish that _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Mon Sep 12, 2005 8:42 am Post subject: |
|
|
Hmm, re-emerge of amarok with 'USE="-opengl -gstreamer -mad -oggvorbis -xmms" emerge amarok' didn't help me, still the same problem...
The backtrace of the KDE-crash-dialog:
Code: |
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1232442592 (LWP 32704)]
[New Thread -1276388432 (LWP 32713)]
[New Thread -1267995728 (LWP 32712)]
[New Thread -1257714768 (LWP 32711)]
[New Thread -1234076752 (LWP 32710)]
[New Thread -1242469456 (LWP 32709)]
[KCrash handler]
#7 0xb6cf09a6 in std::locale::operator= ()
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#8 0xb6ce9b4f in std::ios_base::_M_init ()
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#9 0xb6ce80b1 in std::basic_ios<char, std::char_traits<char> >::init ()
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#10 0x080b5322 in QValueList<QPair<QString, QString> >::detachInternal ()
#11 0x080a105e in QValueList<QString>::detachInternal ()
#12 0x080897bd in KToggleAction::metaObject ()
#13 0x0817f80c in QWizard::setFinish ()
#14 0xb68efef8 in __libc_start_main () from /lib/tls/libc.so.6
#15 0x0807feb1 in ?? ()
|
Hmm, now that I look at it, it's moaning about 3.3.6, while it's compiled using gcc 3.4. Looks like it's the problem of the compiler switch... only what package causes it? Any way to find out? The upgrade from KDE 3.4.0 to KDE 3.4.1 was done entirely using GCC 3.4 and I figure most of amarok's dependecies are KDE-libs so that rules a lot of them out, right? _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
markey n00b
Joined: 12 Sep 2005 Posts: 32
|
Posted: Mon Sep 12, 2005 12:10 pm Post subject: |
|
|
amaroK doesn't currently work with HyperThreading. It's probably causing the crashes. You will have to disable HT. |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Mon Sep 12, 2005 1:06 pm Post subject: |
|
|
Isn't there a way to have amaroK use just one virtual processor instead of disabling HT overall? Anyway, I'll give it a try, thanks for the suggestion. _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Mon Sep 12, 2005 2:24 pm Post subject: |
|
|
I disabled HT in my BIOS setup, still the same results. Continu-ing on emerge -e world...
Or should I disable HT in my kernel as well and recompile? _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
blueworm l33t
Joined: 09 May 2003 Posts: 962
|
Posted: Tue Sep 13, 2005 8:33 pm Post subject: |
|
|
Mine misteriously started crashing again after about a minute of play back.
Code: | rm -Rf .kde/share/apps/amarok/ |
fixed it for now
Back up the directory albumcovers first |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Wed Sep 14, 2005 11:24 am Post subject: |
|
|
I just finished my manual 'emerge -e world', but still same results. I recompiled my entire system without result. Is it just a stupid app or what? _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
TheWitePony Apprentice
Joined: 04 Feb 2004 Posts: 211
|
Posted: Wed Sep 14, 2005 2:52 pm Post subject: |
|
|
Have you tried amarok-1.3.1 yet? I had a lot of probelms with 1.3, audio locking up, messed up tags, etc. But after I upgraded to 1.3.1 I haven't had a single problem with it. I think its up to r2 now. You might want to try that. Be sure to unmask it first so emerge uses the latest version. |
|
Back to top |
|
|
Illissius Guru
Joined: 31 Jul 2004 Posts: 395 Location: Hungary
|
Posted: Wed Sep 14, 2005 5:21 pm Post subject: |
|
|
So, just to get this straight... you have OpenGL and HT turned off, and it still crashes, regardless of engine?
It'd be really nice to find the reason, we get a whole lot of similar backtraces to yours, and they're pretty mysterious. (As an aside, QWizard::setFinish appears in nearly all of them, and yet there is nowhere in the code I can find that calls it -- *and* checking the Qt sources, the function does literally nothing (as in, { }), yet all the backtraces I've seen are several levels deeper within that -- so the whole thing seems to be several layers of impossible.)
Quick checklist off the top of my head:
- have you tried removing ~/.kde/share/apps/amarok and ~/.kde/share/config/amarokrc?
- using MySQL instead of the bundled SQLite?
- are you sure your setup is otherwise stable? (no hardware problems, insane CFLAGS, or other external software issues) _________________ Work is punishment for failing to procrastinate effectively.
last.fm |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Thu Sep 15, 2005 10:52 am Post subject: |
|
|
Illissius wrote: | So, just to get this straight... you have OpenGL and HT turned off, and it still crashes, regardless of engine?
It'd be really nice to find the reason, we get a whole lot of similar backtraces to yours, and they're pretty mysterious. (As an aside, QWizard::setFinish appears in nearly all of them, and yet there is nowhere in the code I can find that calls it -- *and* checking the Qt sources, the function does literally nothing (as in, { }), yet all the backtraces I've seen are several levels deeper within that -- so the whole thing seems to be several layers of impossible.)
Quick checklist off the top of my head:
- have you tried removing ~/.kde/share/apps/amarok and ~/.kde/share/config/amarokrc?
- using MySQL instead of the bundled SQLite?
- are you sure your setup is otherwise stable? (no hardware problems, insane CFLAGS, or other external software issues) |
I compiled amarok using USE="-opengl -visualization", and HT is turned off in my BIOS setup now. HT Scheduler is still enabled in my kernel but I presume that is automatically turned off when HT is off. It still crashes, regardless of engine.
I tried amarok-1.2.4 and amarok-1.3.1, no -r2 so far.
I've removed .kde/share/apps/amarok and .kde/share/config/amarokrc several times, all to no avail.
I haven't tried using MySQL yet, I do have it installed but it's been a while since i've used it so i'll have to spent some time configuring it before I can try that.
I'm not completely sure my setup is otherwise stable, I haven't used my Gentoo install for half a year until 2 weeks ago, when I updated everything and decided to try amarok, when i ran into these problems. But before the pause, say 6 months back, my machine was quite stable, and since I'm using it again I haven't had any stability issues so I figure it's still stable. I'm not using any extrem CFLAGS anyway: "-O3 -march=pentium4 -pipe" is all. I could of course try compiling with -O2 or something but I get the feeling that over-optimized binaries aren't really the problem here.
Hmm, what I'm gonna do now, emerge the last available version of amarok and try configuring it to use MySQL. Might as well try if it is stable as root, haven't tried that yet, could rule out any permission-related problems...
[edit]Tried running as root, doesn't make any difference either [/edit] _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Thu Sep 15, 2005 11:21 am Post subject: |
|
|
I tried 1.3.1_r2 but still the same problem. Backtrace(quite similar to the one I posted above):
Code: |
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1241266496 (LWP 2481)]
[New Thread -1285006416 (LWP 2558)]
[New Thread -1276613712 (LWP 2557)]
[New Thread -1266332752 (LWP 2556)]
[New Thread -1243276368 (LWP 2555)]
[New Thread -1251669072 (LWP 2554)]
[KCrash handler]
#4 0xb66419a6 in std::locale::operator= ()
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#5 0xb663ab4f in std::ios_base::_M_init ()
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#6 0xb66390b1 in std::basic_ios<char, std::char_traits<char> >::init ()
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
#7 0x080cd7c2 in TagLib::List<TagLib::ID3v2::Frame*>::front ()
#8 0x080b24c6 in QValueList<QString>::detachInternal ()
#9 0x08090780 in KToggleAction::metaObject ()
#10 0x081fe502 in QWizard::setFinish ()
#11 0xb6086ef8 in __libc_start_main () from /lib/tls/libc.so.6
#12 0x08084f41 in ?? () |
Exactly the same happens when using MySQL instead of SQLite... _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
roothorick Tux's lil' helper
Joined: 30 May 2004 Posts: 83
|
Posted: Fri Sep 16, 2005 12:52 am Post subject: |
|
|
I'm having the same problem on my system.
FWIW: AMD AthlonXP 2200+, this system has been in constant active use for years, and my CFLAGS: "-march=athlon-xp -pipe -pass-exit-codes -O2 -ftracer" (-ftracer is included in -O3).
I run this system compiled entirely on GCC 3.3, and I occasionally unmerge 3.4 just to make sure everything's still linked correctly. amaroK lasts longer on this system, being usable enough to play a couple MP3s before crashing after a few minutes. Attempting to play any Vorbis files is an instant crash, however (the same files play without problem in XMMS2 and MPlayer), as is editing ID3 tags (or sometimes, cancelling the edit dialog). Looking at backtraces for each of these suggests there's some major memory corruption going on, or SOMETHING. I really don't know what to make of this. The ID3 and random crashes often result in a stack looking something like this:
Code: |
#0 0xb71510fc in free (m=0x0) at malloc.c:5535
#1 0xb5f128d3 in operator delete () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
(More stack frames follow...)
|
By definition, operator delete() NEVER calls free() on 0x0.
The Vorbis crashes produce an obviously corrupt stack, with liberal amounts of 0xffffffff and 0x00000000 on the stack.
For testing purposes, I've been adding select packages as -~x86 to package.keywords, and so far it's been met with limited success (after downgrading amaroK to 1.2 something it successfully played a Vorbis file, but only once before it went back to crashing). _________________ Note: This user has been arrested under the DMCA for copyright infringement based on a complaint from The Inernational Cliche Company. He is also facing charges for violating US patents describing the encoding of text in digital form. |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Fri Sep 16, 2005 1:08 pm Post subject: |
|
|
Right, seems it's not purely my fault then, maybe I should turn to the amarok developers instead of posting here. I'll just file a bug report. _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
Illissius Guru
Joined: 31 Jul 2004 Posts: 395 Location: Hungary
|
Posted: Sat Sep 17, 2005 4:25 pm Post subject: |
|
|
Just FYI, markey and I are developers ;)
And the issue is plenty known... we get tons of similar emails to amarok-backtraces. Problem is, none of the devs can reproduce it. You could try running the prime95 torture test for a while to test for hardware stability, changing the CXXFLAGS, checking whether other apps using Xine and GStreamer (e.g. Kaffeine) exhibit similar behaviour, whether it depends on the filetype... but I'm kind of running out of ideas :(.
You could even try checking it out from SVN:
Code: |
svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia
cd multimedia
svn up amarok
make -f Makefile.cvs
./configure --enable-debug=full --prefix=`kde-config --prefix` #optionally --without-arts
make
make install
|
That'll remove CXXFLAGS (--enable-debug=full) and possible though unlikely distribution issues from the equation. _________________ Work is punishment for failing to procrastinate effectively.
last.fm |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Sun Sep 18, 2005 9:16 am Post subject: |
|
|
Oh, I didn't know that
I'll try testing my hardware, but I'm pretty sure it's stable. I'll also check out the SVN-version. Thanks for the help! _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
yrjan n00b
Joined: 06 Jan 2005 Posts: 4 Location: Norway
|
Posted: Mon Sep 26, 2005 9:23 pm Post subject: |
|
|
I'm having trouble with amaroK crashing everytime I try to scan the collection, and nothing is pasted into ~/.kde/share/apps/amarok/collection_scan.log ... (except for the three first lines). It just freezes and crashes, almost without error. Anyway I just emerged it with the debug use flag, and now it doesn't crash on collection scan anymore ... |
|
Back to top |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Tue Sep 27, 2005 9:42 am Post subject: |
|
|
My amarok stopped crashing after I compiled it with USE=-sqlite. _________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Tue Sep 27, 2005 2:31 pm Post subject: |
|
|
alinv wrote: | My amarok stopped crashing after I compiled it with USE=-sqlite. |
That must be coincidence since -sqlite doesn't seem to have any effect on the emerge-process, it isn't mentioned in the ebuild and emerge -pv returns:
Code: | daedalus ~ # USE="-sqlite -visualization -opengl" emerge amarok -pv
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] media-sound/amarok-1.2.4 +arts -debug +flac +gstreamer +kde -kdeenablefinal +mad +mysql -noamazon +oggvorbis -opengl* -visualization +xine +xinerama +xmms 0 kB
Total size of downloads: 0 kB
daedalus ~ # |
SQlite isn't mentioned there either...
But I'm trying 1.3.2 now, the portage changelog says something about a patch curing startup crashes so that sounds hopeful _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|