Bug 129986 - Invalid playlist XML after exiting KDE without quitting Amarok
Summary: Invalid playlist XML after exiting KDE without quitting Amarok
Status: RESOLVED DUPLICATE of bug 124294
Alias: None
Product: amarok
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-28 21:13 UTC by mklencke
Modified: 2006-06-30 04:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mklencke 2006-06-28 21:14:02 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Slackware Packages
Compiler:          gcc (GCC) 3.3.5 
OS:                Linux

My collection is about 3750 songs and use the Smart playlist "All Collection". When my collection got up to a certain size, I started noticing that Amarok displayed an "invalid playlist XML" message upon startup and loaded only a random number of songs, usually in the 2000ish area.

After living with this for a while I inspected the XML and found that the XML file abruptly stopped. The end of current.xml looked like this on one occasion:

  <Title>Storm In A Teacup</Title>
  <Artist>Red Hot Chili Peppers</Artist>
  <Compose

and then EOF. The point at which the EOF occurs is random.

After some testing this only seems to happen when Amarok is not manually quit, and thus when it is stopped when logging out of KDE.

I suspect that KDE gives Amarok some grace period to shut down. In this time, Amarok tries to write the current playlist to current.xml, but can't quite finish in time, which results in the application being killed by KDE.

I use Amarok 1.4.0, build date May 19 2006.
Comment 1 Alexandre Oliveira 2006-06-30 04:44:38 UTC

*** This bug has been marked as a duplicate of 124294 ***