Summary: | amarok crashes on dynamic playlist usage [@ Dynamic::AlbumPlayBias::trackMatches] | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Till Schäfer <till2.schaefer> |
Component: | Playlists/Dynamic Playlists | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | anarky, derwurzeljan, dmatej, kantaa, lfranchi, matej, ralf-engels, romivandot |
Priority: | NOR | Keywords: | regression |
Version: | 2.5.0 | ||
Target Milestone: | 2.6 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
albumplaybias-use-albumtracks-safely.patch |
Description
Till Schäfer
2011-08-14 03:44:01 UTC
Thanks for the report. As a first work around please delete (or edit) the file in ~/.kde/share/apps/amarok/dynamicplaylist.xml THX for the tip. I downgraded to 2.4.1 to resolve the issue at the moment. Git commit 0210e20866d4408703417ad846204f55f724e42a by Ralf Engels. Committed on 17/08/2011 at 15:44. Pushed by rengels into branch 'master'. Crash within AlbumPlayBias BUG: 280056 FIXED-IN: 2.4.4 M +1 -1 src/dynamic/biases/AlbumPlayBias.cpp http://commits.kde.org/amarok/0210e20866d4408703417ad846204f55f724e42a *** Bug 284152 has been marked as a duplicate of this bug. *** *** Bug 285628 has been marked as a duplicate of this bug. *** *** Bug 289715 has been marked as a duplicate of this bug. *** *** Bug 290867 has been marked as a duplicate of this bug. *** Reopening based on bug 290867, see the following backtrace: Thread 7 (Thread 0x7fc67cad4700 (LWP 19897)): [KCrash Handler] #6 0x00007fc6ae4bf405 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00007fc6ae4c2680 in *__GI_abort () at abort.c:92 #8 0x00007fc6ae4f5e0b in __libc_message (do_abort=<optimized out>, fmt=<optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189 #9 0x00007fc6ae4ff656 in malloc_printerr (action=3, str=0x7fc6ae5d336b "corrupted double-linked list", ptr=<optimized out>) at malloc.c:6283 #10 0x00007fc6ae4ffa8d in malloc_consolidate (av=<optimized out>) at malloc.c:5161 #11 0x00007fc6ae501db4 in _int_malloc (av=0x7fc674000020, bytes=19897) at malloc.c:4373 #12 0x00007fc6ae504470 in *__GI___libc_malloc (bytes=4096) at malloc.c:3660 #13 0x00007fc6aedc31eb in QListData::detach(int) () from /usr/lib/libQtCore.so.4 #14 0x00007fc6b0831acc in QList<KSharedPtr<Meta::Track> >::detach_helper (this=<optimized out>, alloc=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:694 #15 0x00007fc6b0a08459 in detach_helper (this=0x7fc67cad34a0) at /usr/include/qt4/QtCore/qlist.h:710 #16 detach (this=0x7fc67cad34a0) at /usr/include/qt4/QtCore/qlist.h:126 #17 detach (this=0x7fc67cad34a0) at ./AlbumPlayBias.moc:78 #18 end (this=0x7fc67cad34a0) at /usr/include/qt4/QtCore/qlist.h:257 #19 last (this=0x7fc67cad34a0) at /usr/include/qt4/QtCore/qlist.h:271 #20 Dynamic::AlbumPlayBias::trackMatches (this=0x2abef20, position=<optimized out>, playlist=<optimized out>, contextCount=<optimized out>) at ../../src/dynamic/biases/AlbumPlayBias.cpp:214 #21 0x00007fc6b0a17624 in MatchState::compute (this=0x7fc67cad35a0) at ../../src/dynamic/biases/PartBias.cpp:134 #22 0x00007fc6b0a14896 in MatchState (contextCount=<optimized out>, playlist=..., ignoreTrack=<optimized out>, bias=0x2abd150, this=0x7fc67cad35a0) at ../../src/dynamic/biases/PartBias.cpp:111 #23 Dynamic::PartBias::updateResults (this=0x2abd150) at ../../src/dynamic/biases/PartBias.cpp:464 #24 0x00007fc6b0a15bd9 in Dynamic::PartBias::matchingTracks (this=0x2abd150, position=17, playlist=..., contextCount=1, universe=...) at ../../src/dynamic/biases/PartBias.cpp:450 #25 0x00007fc6b0a10dde in Dynamic::IfElseBias::matchingTracks (this=0x2abc7e0, position=17, playlist=..., contextCount=1, universe=...) at ../../src/dynamic/biases/IfElseBias.cpp:103 #26 0x00007fc6b09ef214 in Dynamic::BiasSolver::matchingTracks (this=0x296f1c0, position=<optimized out>, playlist=<optimized out>) at ../../src/dynamic/BiasSolver.cpp:611 #27 0x00007fc6b09f0f09 in Dynamic::BiasSolver::simpleOptimize (this=0x296f1c0, list=0x7fc67cad3a30) at ../../src/dynamic/BiasSolver.cpp:247 #28 0x00007fc6b09f41ef in Dynamic::BiasSolver::run (this=0x296f1c0) at ../../src/dynamic/BiasSolver.cpp:206 Created attachment 69012 [details]
New crash information added by DrKonqi
I have to start Amarok several times before it does not crash. I use it to play musik via Ampache.
Jan, please upgrade your Amarok 2.3.0 is completely outdated. Created attachment 70976 [details]
albumplaybias-use-albumtracks-safely.patch
Reporters, please test attached patch and report whether it fixed the crash or not. It should apply cleanly both to current git and Amarok 2.5. I suggest asking on #amarok on IRC to get advice on how to patch and build Amarok from sources. Using amarok 2.5.0 (package 2.5.0-2 from debian) I can no longer reproduce the crash I reported in bug #290867 . Echonest test doesn't block the playlist generation anymore. Nobody seems to be able to reproduce this bug now, it could have been recently fixed Qt bug perhaps. The patch was rather theoretical so I'm not going to apply it. |