Bug 327871 - Amarok crashes on playing podcast when dynamic playlists is active
Summary: Amarok crashes on playing podcast when dynamic playlists is active
Status: RESOLVED DUPLICATE of bug 315759
Alias: None
Product: amarok
Classification: Applications
Component: Playlists/Dynamic Playlists (other bugs)
Version First Reported In: 2.8.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.9
Assignee: Amarok Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 16:08 UTC by robert marshall
Modified: 2013-11-20 20:31 UTC (History)
1 user (show)

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 robert marshall 2013-11-20 16:08:35 UTC
Will amrok stopped I added a podcast to the playlist  when I started playing the podcast amarok crashed immediately. On restarting amarok it crashed again (before completing startup).
In order to get amarok to start I had to manually remove the podcast from current.xspf (in .kde/share/apps/amarok)

The lines I removed were
    <track>
      <location>http://downloads.bbc.co.uk/podcasts/radio3/musicmat/musicmat_20131116-1230a.mp3</location>
      <identifier>http://downloads.bbc.co.uk/podcasts/radio3/musicmat/musicmat_20131116-1230a.mp3</identifier>
      <title>MusicMat: 16 Oct 13: John Tavener</title>
      <creator>BBC Radio 3</creator>
      <album>Music Matters</album>
    </track>

My dynamic playlist contains
                    <follow>directlyFollow</follow>
(next track from the album which would be my suspect!)
The relevant thread traceback was

Thread 20 (Thread 0x9f06ab40 (LWP 9922)):
[KCrash Handler]
#7  0xb6ea519d in KSharedPtr (o=..., this=0x9f069e78) at /usr/include/KDE/../ksharedptr.h:84
#8  Dynamic::AlbumPlayBias::matchingTracks (this=0x8e65330, playlist=..., contextCount=7, finalCount=48, universe=...) at ../../src/dynamic/biases/AlbumPlayBias.cpp:161
#9  0xb6eabe89 in Dynamic::IfElseBias::matchingTracks (this=0x8e744f8, playlist=..., contextCount=7, finalCount=48, universe=...) at ../../src/dynamic/biases/IfElseBias.cpp:101
#10 0xb6ea3030 in Dynamic::AndBias::matchingTracks (this=0x8e65270, playlist=..., contextCount=7, finalCount=48, universe=...) at ../../src/dynamic/Bias.cpp:247
#11 0xb6e9638b in Dynamic::BiasSolver::matchingTracks (this=this@entry=0x9cf9b50, playlist=...) at ../../src/dynamic/BiasSolver.cpp:257
#12 0xb6e97914 in Dynamic::BiasSolver::addTracks (this=0x9cf9b50, list=0x9f06a0cc) at ../../src/dynamic/BiasSolver.cpp:177
#13 0xb6e981d6 in Dynamic::BiasSolver::run (this=0x9cf9b50) at ../../src/dynamic/BiasSolver.cpp:157
#14 0xb50549c9 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x9f06a198, th=0x8e5fa68, job=job@entry=0x9cf9b50) at ../../../threadweaver/Weaver/Job.cpp:106
#15 0xb5054bc5 in ThreadWeaver::Job::execute (this=0x9cf9b50, th=0x8e5fa68) at ../../../threadweaver/Weaver/Job.cpp:135
#16 0xb5054314 in ThreadWeaver::Thread::run (this=0x8e5fa68) at ../../../threadweaver/Weaver/Thread.cpp:108
#17 0xb5b1772f in QThreadPrivate::start (arg=0x8e5fa68) at thread/qthread_unix.cpp:338
#18 0xb1416101 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#19 0x5c8b0824 in ?? ()
#20 0xbab80424 in ?? ()
#21 0x65000000 in ?? ()
#22 0x001015ff in ?? ()
#23 0xd3890000 in ?? ()
#24 0xfff0013d in ?? ()
#25 0xc30173ff in ?? ()
#26 0x0fed12e8 in ?? ()
#27 0x9bc18100 in ?? ()

After successfully restarting amarok I then turned dynamic playlists off and played the podcast without a problem.

Reproducible: Always




Maybe I shouldn't have had dynamic playlists active with my settings when playing a podcast but the crash is undesireable.
Comment 1 Myriam Schweingruber 2013-11-20 20:31:07 UTC
Well, you should not mix podcasts and dynamic playlists that relies on local files from the collection, I am only mildly surprised this didn't work.

Of course it shouldn't crash, though.

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