Summary: | Crash when attempting to repopulate the playlist with an empty local collection | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Dima Ryazanov <dima> |
Component: | Collections/Local | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | matej, ralf-engels, xeaprog |
Priority: | NOR | ||
Version: | 2.8.0 | ||
Target Milestone: | 2.9 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Dima Ryazanov
2014-11-10 23:52:38 UTC
(In reply to Dima Ryazanov from comment #0) ... > Reproducible: Always > > Steps to Reproduce: > 1. Create a dynamic playlist > 2. Uncheck all folders in the collection config > 3. Try to repopulate the playlist > Could you please specify why you would disable the collection and then try to run a dynamic playlist on a non-existing collection in the first place? Sounds like a far stretched corner case... Why is it "far stretched" if there's a UI for that? In any case, here's the reason: My collection had a single folder selected, "/home/dima/Music". (It was actually a symlink to another folder.) I moved some folders around, and Amarok froze for a few hours while using up 100% of CPU. Turns out, it scanned my whole home directory, /home/dima/, and added everything to the collection. My playlist now contained files like /home/dima/src/chromium/src/third_party/WebKit/LayoutTests/http/tests/resources/test.mp4, that were clearly outside of the "Music" directory. (Just to be clear: I never had any symlinks inside of "Music", so there's no excuse for that.) I decided to debug this a bit and unselected "Music" in the collection config. The collection became empty, but the playlist still contained the same files. I wanted to see if Amarok was picking up files that weren't actually in the collection, so I clicked "repopulate". (So there are two bugs here. I figured I'd file the crash first because it was easy to repro.) There have been quite some changes in the behavior of the database in current git, could you maybe test this again? Closing for lack of feedback. Please feel free to reopen if you can reproduce tis with a current git master build. Created attachment 94787 [details]
New crash information added by DrKonqi
amarok (2.8.0) on KDE Platform 4.14.6 using Qt 4.8.6
- What I was doing when the application crashed:
I click on a music inside a playlist inside my amarok database while the dynamic mode is enable
note: I don't know if it's useful for the backtrace but the music name is "02 - mp3" and my playlist name is "music", I also use the gstream phonon backend
-- Backtrace (Reduced):
#7 QString (other=..., this=0x7f4180823a50) at ../../include/QtCore/../../src/corelib/tools/qstring.h:726
#8 putString (number=false, s=..., this=0x7f41782e1960) at io/qtextstream.cpp:968
#9 QTextStream::operator<< (this=0x7f41782ab6f0, string=...) at io/qtextstream.cpp:2533
#10 0x00007f41ca7906b5 in operator<< (t=..., this=<optimized out>) at /usr/include/qt4/QtCore/qdebug.h:112
#11 Dynamic::TrackSet::subtract (this=0x7f41782ab6f0, this@entry=0x7f4180823bd0, B=...) at ../../src/dynamic/TrackSet.cpp:220
(In reply to xeaprog from comment #5) > Created attachment 94787 [details] > New crash information added by DrKonqi > > amarok (2.8.0) on KDE Platform 4.14.6 using Qt 4.8.6 > > - What I was doing when the application crashed: > > I click on a music inside a playlist inside my amarok database while the > dynamic mode is enable > > note: I don't know if it's useful for the backtrace but the music name is > "02 - mp3" and my playlist name is "music", I also use the gstream phonon > backend > > -- Backtrace (Reduced): > #7 QString (other=..., this=0x7f4180823a50) at > ../../include/QtCore/../../src/corelib/tools/qstring.h:726 > #8 putString (number=false, s=..., this=0x7f41782e1960) at > io/qtextstream.cpp:968 > #9 QTextStream::operator<< (this=0x7f41782ab6f0, string=...) at > io/qtextstream.cpp:2533 > #10 0x00007f41ca7906b5 in operator<< (t=..., this=<optimized out>) at > /usr/include/qt4/QtCore/qdebug.h:112 > #11 Dynamic::TrackSet::subtract (this=0x7f41782ab6f0, > this@entry=0x7f4180823bd0, B=...) at ../../src/dynamic/TrackSet.cpp:220 Please open a new bug, you submitted this to a bug closed as invalid, because important feedback was missing from the original reporter. |