This forum has been archived. All content is frozen. Please use KDE Discuss instead.

amarok freezes

Tags: None
(comma "," separated)
xtx
Registered Member
Posts
21
Karma
0
OS

amarok freezes

Mon Jan 30, 2012 1:38 am
kde 4.8
amarok 2.5
(although this problem has persisted for previous versions of both)
os: gentoo

amarok has been freezing constantly on me. it may or may not work when i first boot my computer, if it does i'll play a song and 'X' out of amarok, and when i try to click on the icon in the lower right panel nothing occurs. when i right click to 'quit' there is a delay of about 20 seconds, and when i click quit nothing happens.

killall amarok does nothing
typing "ps ax" to get job id numbers and then killing all numbers with amarok involved does nothing.

in the rare instance that amarok works long enough, and i need to quit it for whatever reason, the icon goes away but it must not successfully quit but i cannot open amarok again. when i type amarok in konsole it says 'amarok is already running!'

so... major problems that have persisted for awhile.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: amarok freezes

Mon Jan 30, 2012 8:01 am
Sounds like a problematic installation. Could you please remove the configuration files amarok* located in $HOME/.kde/share/config/ and try again? Also make sure you deactivate all 3rd-party scripts you are running to make sure it is not caused by a script.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
xtx
Registered Member
Posts
21
Karma
0
OS

Re: amarok freezes

Tue Jan 31, 2012 6:07 am
removing the config files deleted the only script i had (alarm) and it seems to run much better now, it hasn't frozen while i've been using it yet. however, when i quit amarok i am still unable to open it up again. it still says 'amarok is already running!'
xtx
Registered Member
Posts
21
Karma
0
OS

Re: amarok freezes

Tue Jan 31, 2012 6:23 am
ah but i just noticed, at the bottom of the left and middle frames there are blue boxes with no buttons (for example, no 'wikipedia' box in the middle frame. screenshot here: http://www.niutke.com/images/amarok.jpeg

that can't be right
User avatar
Sentynel
KDE Developer
Posts
285
Karma
1
OS

Re: amarok freezes

Tue Jan 31, 2012 10:29 am
xtx wrote:ah but i just noticed, at the bottom of the left and middle frames there are blue boxes with no buttons (for example, no 'wikipedia' box in the middle frame. screenshot here: http://www.niutke.com/images/amarok.jpeg

that can't be right

The middle one is a known issue for Amarok 2.5 on KDE 4.8. There is a patch available which has been sent to packagers.
The left-hand one is a status bar and does not display buttons.


Can you attach GDB and get a backtrace when you've quit the program but it's still present in memory and a new copy won't open, please?


xtx
Registered Member
Posts
21
Karma
0
OS

Re: amarok freezes

Tue Jan 31, 2012 8:49 pm
how do i attach a gdb and get a backtrace? never done this before.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: amarok freezes

Tue Jan 31, 2012 11:05 pm
Please have a look here: http://techbase.kde.org/Development/Tut ... sh_reports

But as the forum states: bug reports really don't belong here but should be sent to http://bugs.kde.org


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
xtx
Registered Member
Posts
21
Karma
0
OS

Re: amarok freezes

Fri Feb 03, 2012 11:46 pm
don't know what happened... without installing any scripts or anything amarok is suddenly worse than ever. i am now completely unable to open it. upon entering a kde session amarok rests in the bottom right tray of kde and does not respond to anything.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: amarok freezes

Mon Feb 06, 2012 12:32 am
Kill it with the command
Code: Select all
killall amarok
, then erase the config files again.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
xtx
Registered Member
Posts
21
Karma
0
OS

Re: amarok freezes

Mon Feb 06, 2012 6:59 pm
killall amarok doesn't do anything no matter how many times i execute the command, and i'd prefer to not have to delete my config files every few days just to have amarok working properly.
xtx
Registered Member
Posts
21
Karma
0
OS

Re: amarok freezes

Wed Jun 06, 2012 3:20 am
For a long time amarok seemed to work but recently it has been back to acting up constantly. I deleted my entire .kde4 folder earlier but amarok froze the first time i opened it back up again. i ran amarok --debug, it works fine for a minute or so, and then it freezes. as it freezes code starts coming pretty quickly and suddenly stops. that code is:
Code: Select all
amarok:     BEGIN: virtual void SqlScanResultProcessor::commit()
amarok:       [SqlScanResultProcessor] in commit, dir not skipped "/home/.../Music/Grateful Dead/1973 - Wake Of The Flood/"

skipped my username above. the second line of code above is repeated about for about 20 lines each with a different album folder. after those 20 repeated lines the code continues:
Code: Select all
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "38" from 1310364824 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 38;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "53" from 1338952173 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 53;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "78" from 1338952202 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 78;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "87" from 1338952173 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 87;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "124" from 1338952174 to 1338952372
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952372 WHERE id = 124;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "217" from 1338952173 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 217;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "233" from 1310364832 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 233;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "373" from 1310365726 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 373;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "380" from 1310364784 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 380;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "387" from 1338952174 to 1338952372
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952372 WHERE id = 387;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "495" from 1310364840 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 495;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "508" from 1338952202 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 508;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "516" from 1310364812 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 516;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "567" from 1310364836 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 567;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "573" from 1310364816 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 573;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "709" from 1310364820 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 709;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "761" from 1310364788 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 761;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "780" from 1338952175 to 1338952372
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952372 WHERE id = 780;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "900" from 1310364808 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 900;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "902" from 1338952173 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 902;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "903" from 1310364780 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 903;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "979" from 1338952202 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 979;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "1028" from 1338952202 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 1028;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "1149" from 1310364850 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 1149;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "1150" from 1310364762 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 1150;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "1261" from 1338952174 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 1261;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "1286" from 1310364846 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 1286;"
amarok:       [SqlRegistry] SqlRegistry::getDirectory update Directory "1332" from 1310364828 to 1338952371
amarok:       [SqlRegistry] "UPDATE directories SET changedate = 1338952371 WHERE id = 1332;"
amarok:       [SqlRegistryP] obtained max_allowed_packet is  "1048576"
amarok:     END__: virtual void SqlScanResultProcessor::commit() [Took: 1.5s]
amarok:     [ScanManager] ScannerJob finished
amarok:   END__: virtual void ScannerJob::run() [DELAY Took (quite long) 22s]
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: amarok freezes

Wed Jun 06, 2012 7:00 am
Which exact Amarok version do you use now? Please test Amarok 2.6 beta.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
xtx
Registered Member
Posts
21
Karma
0
OS

Re: amarok freezes

Wed Jun 06, 2012 11:03 am
2.5.0-r2 is the latest version available on gentoo
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: amarok freezes

Wed Jun 06, 2012 11:14 am
wrong, there is Amarok from git as well, by using the following command:

Code: Select all
layman -a kde && emerge -avt --autounmask=y --autounmask-write=y =amarok-9999

In order to help the Amarok team, you should enable tests (by having ‘test’ in FEATURES), install debugging symbols (by having ‘splitdebug’ in FEATURES and ‘-ggdb’ in CXXFLAGS) and enable debugging assertions (by having ‘debug’ in USE) for Amarok as well.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
xtx
Registered Member
Posts
21
Karma
0
OS

Re: amarok freezes

Sun Aug 26, 2012 4:03 pm
Amarok 2.6
KDE4.9
Gentoo

I have determined the problem occurs with my music collection. It is on a NAS box shared via NFS mounted to my ~/Music folder. When I delete my amarok files in .kde4/ and start amarok fresh there are zero problems; it does not freeze and I am able to quit correctly and re-open without amarok telling me it is 'already running'.

Am I using amarok correctly by simply adding the ~/Music folder as my 'local collection' source even though it is not really 'local'?
Why would an NFS share freeze amarok?

I never have any issues watching movies on the NFS share (obviously movies are not mounted to my ~/Music folder), and clementine does not freeze, however I prefer to use amarok.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]