Bug 305014 - Generating APG crashes amarok when current list contains cd tracks
Summary: Generating APG crashes amarok when current list contains cd tracks
Status: RESOLVED DUPLICATE of bug 293698
Alias: None
Product: amarok
Classification: Applications
Component: Playlists/Automated Playlist Generator (show other bugs)
Version: 2.6-git
Platform: Ubuntu Linux
: NOR critical
Target Milestone: 2.8
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-12 11:09 UTC by robert marshall
Modified: 2013-05-27 09:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
the playlist which had just completed (7.99 KB, text/plain)
2012-08-12 11:11 UTC, robert marshall
Details
playlist containing only cd tracks (870 bytes, application/xml)
2012-08-14 15:40 UTC, robert marshall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description robert marshall 2012-08-12 11:09:04 UTC
I'm not able to generate this bug reliably but the typical environment is that I've generated an APG and then I add the tracks from a cd to the end of the list. When the whole play list completes if I then try to generate another APG amarok will crash.

Reproducible: Always

Steps to Reproduce:
1. Generate APG, insert cd add all cd tracks to the play list
2.Let the playlist run to completion
3.Leave amarok for a few minutes (not certain that this is essential)
4. Generate another APG - amarok will crash
Actual Results:  
amarok crashes

Expected Results:  
It shouldn't crash

The drkonq app gives me the following line for the stacktrace
    Application: Amarok (amarok), signal: Segmentation fault
looking as if the call stack has been totally corrupted? (I have amarok-dbg installed)

The last few lines in my .xsession-errors reads:
HTTP POST:  QUrl( "http://post2.audioscrobbler.com:80/protocol_1.2" )  "s=6cffdc038b4a45b889bf69af08cb45fa&a[0]=Berg%2C%20Alban&t[0]=Violinkonzert%20f%C3%BCr%20Louis%20Krasner%20-%20Allegro%20-%20Adagio&i[0]=1344754667&o[0]=P&r[0]=&l[0]=1019&b[0]=Orchesterwerke%20%28Venzago%2C%20Soli%2C%20G%C3%B6terborger%20Symphoniker%29&n[0]=0&m[0]=" 
"OK" 
QSocketNotifier: Invalid socket 5 and type 'Read', disabling...
amarok: Fatal IO error: client killed
KCrash: Application 'amarok' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
QSocketNotifier: Invalid socket 31 and type 'Read', disabling...
QSocketNotifier: Invalid socket 58 and type 'Read', disabling...
QSocketNotifier: Invalid socket 46 and type 'Read', disabling...
sock_file=/home/robert/.kde/socket-poulenc/kdeinit4__0
ptrace: No such process.
/tmp/kde-robert/drkonqinn3078.tmp:2: Error in sourced command file:
No thread selected

If I rerun amarok from this point and then immediately generate an APG it will crash every time but as at this point the cd tracks in the playlist aren't refreshed I'm not sure that this is useful (it may already be in a undesirable state!) - I can add some information to the bug list if you need.

The apg I'm using is
  <generatorpreset title="Not recent">
    <constrainttree>
      <group matchtype="all">
        <constraint field="title" comparison="3" invert="true" type="TagMatch" value="symphony" strictness="1"/>
        <constraint field="composer" comparison="3" invert="true" type="TagMatch" value="Bruckner" strictness="0.1"/>
        <group matchtype="any">
          <group matchtype="all">
            <constraint field="last played" comparison="3" invert="true" type="TagMatch" value="90 days" strictness="1"/>
            <constraint field="length" comparison="0" invert="false" type="TagMatch" value="600000" strictness="1"/>
          </group>
          <group matchtype="all">
            <constraint field="play count" comparison="1" invert="false" type="TagMatch" value="0" strictness="1"/>
          </group>
          <group matchtype="all">
            <constraint field="last played" comparison="3" invert="true" type="TagMatch" value="90 days" strictness="1"/>
          </group>
        </group>
        <constraint field="0" type="PreventDuplicates"/>
        <constraint field="composer" comparison="3" invert="true" type="TagMatch" value="Mahler" strictness="0.1"/>
        <constraint comparison="1" length="30" type="PlaylistLength" strictness="1"/>
      </group>
    </constrainttree>
  </generatorpreset>
I'll add the playlist which has just completed when I run APG as an attachment as I don't think it will be needed for searching.
Comment 1 robert marshall 2012-08-12 11:11:15 UTC
Created attachment 73111 [details]
the playlist which had just completed
Comment 2 robert marshall 2012-08-12 21:06:15 UTC
From another crash in the same circumstances, attaching gdb to amarok first
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa4effb40 (LWP 2498)]
ConstraintTypes::TagMatch::matches (this=0x9293800, track=...)
    at ../../src/playlistgenerator/constraints/TagMatch.cpp:436
436     ../../src/playlistgenerator/constraints/TagMatch.cpp: No such file or directory.
(gdb) where
#0  ConstraintTypes::TagMatch::matches (this=0x9293800, track=...)
    at ../../src/playlistgenerator/constraints/TagMatch.cpp:436
#1  0xb6d5a87e in ConstraintTypes::TagMatch::satisfaction (this=0x9293800, tl=...)
    at ../../src/playlistgenerator/constraints/TagMatch.cpp:314
#2  0xb6d2a5f8 in ConstraintGroup::satisfaction (this=0x9291860, l=...)
    at ../../src/playlistgenerator/ConstraintGroup.cpp:175
#3  0xb6d2a5f8 in ConstraintGroup::satisfaction (this=0x9291c20, l=...)
    at ../../src/playlistgenerator/ConstraintGroup.cpp:175
#4  0xb6d34386 in APG::ConstraintSolver::fill_population (this=0xb59c6e0, population=...)
    at ../../src/playlistgenerator/ConstraintSolver.cpp:238
#5  0xb6d351f9 in APG::ConstraintSolver::run (this=0xb59c6e0)
    at ../../src/playlistgenerator/ConstraintSolver.cpp:164
#6  0xb4db2f03 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa4eff16c, th=0x8d7d408, job=0xb59c6e0)
    at ../../../threadweaver/Weaver/Job.cpp:106
#7  0xb4db30a3 in ThreadWeaver::Job::execute (this=0xb59c6e0, th=0x8d7d408)
    at ../../../threadweaver/Weaver/Job.cpp:135
#8  0xb4db24b2 in ThreadWeaver::ThreadRunHelper::run (this=0xa4eff1f4, parent=0x8d3cbe0, th=0x8d7d408)
    at ../../../threadweaver/Weaver/Thread.cpp:95
#9  0xb4db259a in ThreadWeaver::Thread::run (this=0x8d7d408) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0xb583cde0 in QThreadPrivate::start (arg=0x8d7d408) at thread/qthread_unix.cpp:298
#11 0xb1529a11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0f8122e8 in ?? ()
#20 0x9fc18100 in QtScriptShell_QSpacerItem::expandingDirections() const ()
   from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
#21 0x248c8be0 in ?? ()
Comment 3 Myriam Schweingruber 2012-08-14 08:32:33 UTC
Could you please provide a full backtrace? See also 
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 4 robert marshall 2012-08-14 10:11:07 UTC
Here's the full output from gdb thread apply all backtrace, lots of corrupt stack messages!

Thread 12 (Thread 0xac60fb40 (LWP 9345)):
#0  0xb76df424 in __kernel_vsyscall ()
#1  0xb462f96b in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb55f83dc in __pthread_cond_wait (cond=0x904e85c, mutex=0x904e844) at forward.c:139
#3  0xac9fd613 in vlc_cond_wait () from /usr/lib/libvlccore.so.5
#4  0xac970c91 in ?? () from /usr/lib/libvlccore.so.5
#5  0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x5c8b0824 in ?? ()
#7  0xbab80424 in ?? ()
#8  0x65000000 in ?? ()
#9  0x001015ff in ?? ()
#10 0xd3890000 in ?? ()
#11 0xfff0013d in ?? ()
#12 0xc30173ff in ?? ()
#13 0x0f8122e8 in ?? ()
#14 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 11 (Thread 0xa7631b40 (LWP 9347)):
#0  0xb76df424 in __kernel_vsyscall ()
#1  0xb55dc380 in __GI___poll (fds=0xa6d022e8, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb432aa7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb431d0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb431d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5958887 in QEventDispatcherGlib::processEvents (this=0xa6d004a0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:424
#6  0xb592450d in QEventLoop::processEvents (this=0xa7631190, flags=...) at kernel/qeventloop.cpp:149
#7  0xb59247a9 in QEventLoop::exec (this=0xa7631190, flags=...) at kernel/qeventloop.cpp:204
#8  0xb580d94c in QThread::exec (this=0x90a70d0) at thread/qthread.cpp:501
#9  0xb5901b5d in QInotifyFileSystemWatcherEngine::run (this=0x90a70d0)
    at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5810de0 in QThreadPrivate::start (arg=0x90a70d0) at thread/qthread_unix.cpp:298
#11 0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0f8122e8 in ?? ()
#20 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 10 (Thread 0xa58aab40 (LWP 9349)):
#0  0xb76df424 in __kernel_vsyscall ()
#1  0xb462f96b in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb55f83dc in __pthread_cond_wait (cond=0x92f1a10, mutex=0x92f19f8) at forward.c:139
#3  0xb5811350 in wait (time=4294967295, this=0x92f19f8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x92f1948, mutex=0x92f1b18, time=4294967295)
    at thread/qwaitcondition_unix.cpp:158
#5  0xb4d84acc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92f1930, 
    th=0x92f1d78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4d8795b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x92f1bb8, th=0x92f1d78)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4d8463a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92f1930, th=0x92f1d78)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4d87a5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x92f1bb8, th=0x92f1d78)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4d84533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92f1930, th=0x92f1d78, previous=0x0)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4d87a78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92f1bb8, th=0x92f1d78)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4d84533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92f1930, th=0x92f1d78, previous=0xb3b56b0)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4d864e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa58aa1f4, parent=0x92f1930, th=0x92f1d78)
    at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb4d8659a in ThreadWeaver::Thread::run (this=0x92f1d78) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb5810de0 in QThreadPrivate::start (arg=0x92f1d78) at thread/qthread_unix.cpp:298
#15 0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#16 0x5c8b0824 in ?? ()
#17 0xbab80424 in ?? ()
#18 0x65000000 in ?? ()
#19 0x001015ff in ?? ()
#20 0xd3890000 in ?? ()
#21 0xfff0013d in ?? ()
#22 0xc30173ff in ?? ()
#23 0x0f8122e8 in ?? ()
#24 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 0xa4effb40 (LWP 9350)):
#0  ConstraintTypes::TagMatch::matches (this=0x98427f8, track=...)
    at ../../src/playlistgenerator/constraints/TagMatch.cpp:436
#1  0xb6d2e87e in ConstraintTypes::TagMatch::satisfaction (this=0x98427f8, tl=...)
    at ../../src/playlistgenerator/constraints/TagMatch.cpp:314
#2  0xb6cfe5f8 in ConstraintGroup::satisfaction (this=0x9840858, l=...)
    at ../../src/playlistgenerator/ConstraintGroup.cpp:175
#3  0xb6cfe5f8 in ConstraintGroup::satisfaction (this=0x9840c18, l=...)
    at ../../src/playlistgenerator/ConstraintGroup.cpp:175
#4  0xb6d08386 in APG::ConstraintSolver::fill_population (this=0x9efcb60, population=...)
    at ../../src/playlistgenerator/ConstraintSolver.cpp:238
#5  0xb6d091f9 in APG::ConstraintSolver::run (this=0x9efcb60)
    at ../../src/playlistgenerator/ConstraintSolver.cpp:164
#6  0xb4d86f03 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa4eff16c, th=0x930fa08, job=0x9efcb60)
    at ../../../threadweaver/Weaver/Job.cpp:106
#7  0xb4d870a3 in ThreadWeaver::Job::execute (this=0x9efcb60, th=0x930fa08)
    at ../../../threadweaver/Weaver/Job.cpp:135
#8  0xb4d864b2 in ThreadWeaver::ThreadRunHelper::run (this=0xa4eff1f4, parent=0x92f1930, th=0x930fa08)
    at ../../../threadweaver/Weaver/Thread.cpp:95
#9  0xb4d8659a in ThreadWeaver::Thread::run (this=0x930fa08) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0xb5810de0 in QThreadPrivate::start (arg=0x930fa08) at thread/qthread_unix.cpp:298
#11 0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0f8122e8 in ?? ()
#20 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0xa46feb40 (LWP 9351)):
#0  0xb76df424 in __kernel_vsyscall ()
#1  0xb462f96b in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb55f83dc in __pthread_cond_wait (cond=0x92f1a10, mutex=0x92f19f8) at forward.c:139
#3  0xb5811350 in wait (time=4294967295, this=0x92f19f8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x92f1948, mutex=0x92f1b18, time=4294967295)
    at thread/qwaitcondition_unix.cpp:158
#5  0xb4d84acc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92f1930, 
    th=0x9337e88) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4d8795b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x92f1bb8, th=0x9337e88)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4d8463a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92f1930, th=0x9337e88)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4d87a5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x92f1bb8, th=0x9337e88)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4d84533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92f1930, th=0x9337e88, previous=0x0)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4d87a78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92f1bb8, th=0x9337e88)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4d84533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92f1930, th=0x9337e88, previous=0x0)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4d87a78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92f1bb8, th=0x9337e88)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb4d84533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92f1930, th=0x9337e88, previous=0xbbb7518)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb4d864e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa46fe1f4, parent=0x92f1930, th=0x9337e88)
    at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0xb4d8659a in ThreadWeaver::Thread::run (this=0x9337e88) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0xb5810de0 in QThreadPrivate::start (arg=0x9337e88) at thread/qthread_unix.cpp:298
#17 0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#18 0x5c8b0824 in ?? ()
#19 0xbab80424 in ?? ()
#20 0x65000000 in ?? ()
#21 0x001015ff in ?? ()
#22 0xd3890000 in ?? ()
#23 0xfff0013d in ?? ()
#24 0xc30173ff in ?? ()
#25 0x0f8122e8 in ?? ()
#26 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 0xa3efdb40 (LWP 9352)):
#0  0xb76df424 in __kernel_vsyscall ()
#1  0xb462f96b in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb55f83dc in __pthread_cond_wait (cond=0x92f1a10, mutex=0x92f19f8) at forward.c:139
#3  0xb5811350 in wait (time=4294967295, this=0x92f19f8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x92f1948, mutex=0x92f1b18, time=4294967295)
    at thread/qwaitcondition_unix.cpp:158
#5  0xb4d84acc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92f1930, 
    th=0x9338868) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4d8795b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x92f1bb8, th=0x9338868)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4d8463a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92f1930, th=0x9338868)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4d87a5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x92f1bb8, th=0x9338868)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4d84533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92f1930, th=0x9338868, previous=0x0)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4d87a78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92f1bb8, th=0x9338868)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4d84533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92f1930, th=0x9338868, previous=0x0)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4d87a78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92f1bb8, th=0x9338868)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb4d84533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92f1930, th=0x9338868, previous=0x0)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb4d87a78 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92f1bb8, th=0x9338868)
    at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0xb4d84533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92f1930, th=0x9338868, previous=0xa59e060)
    at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0xb4d864e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa3efd1f4, parent=0x92f1930, th=0x9338868)
    at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0xb4d8659a in ThreadWeaver::Thread::run (this=0x9338868) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0xb5810de0 in QThreadPrivate::start (arg=0x9338868) at thread/qthread_unix.cpp:298
#19 0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#20 0x5c8b0824 in ?? ()
#21 0xbab80424 in ?? ()
#22 0x65000000 in ?? ()
#23 0x001015ff in ?? ()
#24 0xd3890000 in ?? ()
#25 0xfff0013d in ?? ()
#26 0xc30173ff in ?? ()
#27 0x0f8122e8 in ?? ()
#28 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xa34dfb40 (LWP 9353)):
#0  0xb76df424 in __kernel_vsyscall ()
#1  0xb55dc380 in __GI___poll (fds=0xac4022a8, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb432aa7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb431d0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb431d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5958887 in QEventDispatcherGlib::processEvents (this=0xac400498, flags=...)
    at kernel/qeventdispatcher_glib.cpp:424
#6  0xb592450d in QEventLoop::processEvents (this=0xa34df190, flags=...) at kernel/qeventloop.cpp:149
#7  0xb59247a9 in QEventLoop::exec (this=0xa34df190, flags=...) at kernel/qeventloop.cpp:204
#8  0xb580d94c in QThread::exec (this=0x95a1bb8) at thread/qthread.cpp:501
#9  0xb5901b5d in QInotifyFileSystemWatcherEngine::run (this=0x95a1bb8)
    at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5810de0 in QThreadPrivate::start (arg=0x95a1bb8) at thread/qthread_unix.cpp:298
#11 0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0f8122e8 in ?? ()
#20 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xa2cdeb40 (LWP 9354)):
#0  0xb76df424 in __kernel_vsyscall ()
#1  0xb462f96b in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb55f83dc in __pthread_cond_wait (cond=0xb3f10a30, mutex=0xb3f10a18) at forward.c:139
#3  0xb37df263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb37df37f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x5c8b0824 in ?? ()
#7  0xbab80424 in ?? ()
#8  0x65000000 in ?? ()
#9  0x001015ff in ?? ()
#10 0xd3890000 in ?? ()
#11 0xfff0013d in ?? ()
#12 0xc30173ff in ?? ()
#13 0x0f8122e8 in ?? ()
#14 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xa23bdb40 (LWP 9355)):
#0  0xb76df424 in __kernel_vsyscall ()
#1  0xb55dc380 in __GI___poll (fds=0x959d738, nfds=1, timeout=9999) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb432aa7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb431d0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb431d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5958887 in QEventDispatcherGlib::processEvents (this=0x9563b30, flags=...)
    at kernel/qeventdispatcher_glib.cpp:424
#6  0xb592450d in QEventLoop::processEvents (this=0xa23bd1c0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb59247a9 in QEventLoop::exec (this=0xa23bd1c0, flags=...) at kernel/qeventloop.cpp:204
#8  0xb580d94c in QThread::exec (this=0x9563888) at thread/qthread.cpp:501
#9  0xb580da3b in QThread::run (this=0x9563888) at thread/qthread.cpp:568
#10 0xb5810de0 in QThreadPrivate::start (arg=0x9563888) at thread/qthread_unix.cpp:298
#11 0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0f8122e8 in ?? ()
#20 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xa1ab8b40 (LWP 9356)):
#0  0xb76df424 in __kernel_vsyscall ()
#1  0xb55e3af1 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xb58ffe26 in QProcessManager::run (this=0xb5a84e58) at io/qprocess_unix.cpp:245
#3  0xb5810de0 in QThreadPrivate::start (arg=0xb5a84e58) at thread/qthread_unix.cpp:298
#4  0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#5  0x5c8b0824 in ?? ()
#6  0xbab80424 in ?? ()
#7  0x65000000 in ?? ()
#8  0x001015ff in ?? ()
#9  0xd3890000 in ?? ()
#10 0xfff0013d in ?? ()
#11 0xc30173ff in ?? ()
#12 0x0f8122e8 in ?? ()
#13 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa0effb40 (LWP 9358)):
#0  0xb76df424 in __kernel_vsyscall ()
#1  0xb462f96b in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb55f83dc in __pthread_cond_wait (cond=0xb48f6890, mutex=0xb48f6878) at forward.c:139
#3  0xb47f2029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb47f206f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb14fda11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x5c8b0824 in ?? ()
#7  0xbab80424 in ?? ()
#8  0x65000000 in ?? ()
#9  0x001015ff in ?? ()
#10 0xd3890000 in ?? ()
#11 0xfff0013d in ?? ()
#12 0xc30173ff in ?? ()
#13 0x0f8122e8 in ?? ()
#14 0x9fc18100 in ?? () from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xaf469740 (LWP 9340)):
#0  0xb6005674 in QPainter::restore (this=0xbfbf3cf0) at painting/qpainter.cpp:1633
#1  0xadc037ff in Oxygen::Style::drawPrimitive (this=0x8dc08e8, element=QStyle::PE_PanelItemViewRow, 
    option=0xbfbf3898, painter=0xbfbf3cf0, widget=0x97dc1c8) at ../../../kstyles/oxygen/oxygenstyle.cpp:1067
#2  0xb648c20b in QTreeView::drawRow (this=0x97dc1c8, painter=0xbfbf3cf0, option=..., index=...)
    at itemviews/qtreeview.cpp:1695
#3  0xb6fe11ba in Amarok::PrettyTreeView::drawRow (this=0x200000, painter=0xbfbf3cf0, option=..., index=...)
    at ../../src/widgets/PrettyTreeView.cpp:63
#4  0xb648f5d3 in QTreeView::drawTree (this=0x97dc1c8, painter=0xbfbf3cf0, region=...)
    at itemviews/qtreeview.cpp:1467
#5  0xb648ffe7 in QTreeView::paintEvent (this=0x97dc1c8, event=0xbfbf4534) at itemviews/qtreeview.cpp:1275
#6  0xb5eed152 in QWidget::event (this=0x97dc1c8, event=0xbfbf4534) at kernel/qwidget.cpp:8508
#7  0xb630ae55 in QFrame::event (this=0x97dc1c8, e=0xbfbf4534) at widgets/qframe.cpp:557
#8  0xb639dab1 in QAbstractScrollArea::viewportEvent (this=0x97dc1c8, e=0xbfbf4534)
    at widgets/qabstractscrollarea.cpp:1043
#9  0xb6443acc in QAbstractItemView::viewportEvent (this=0x97dc1c8, event=0xbfbf4534)
    at itemviews/qabstractitemview.cpp:1644
#10 0xb6491b66 in QTreeView::viewportEvent (this=0x97dc1c8, event=0xbfbf4534) at itemviews/qtreeview.cpp:1257
#11 0xb63a01d6 in viewportEvent (this=<optimised out>, event=0xbfbf4534)
    at widgets/qabstractscrollarea_p.h:100
#12 eventFilter (e=0xbfbf4534, this=<optimised out>, o=<optimised out>)
    at widgets/qabstractscrollarea_p.h:116
#13 QAbstractScrollAreaFilter::eventFilter (this=0x98261a0, o=0x97db8b8, e=0xbfbf4534)
    at widgets/qabstractscrollarea_p.h:115
#14 0xb5925b16 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8d802f0, 
    receiver=0x97db8b8, event=0xbfbf4534) at kernel/qcoreapplication.cpp:986
#15 0xb5e92ea2 in notify_helper (e=0xbfbf4534, receiver=0x97db8b8, this=0x8d802f0)
    at kernel/qapplication.cpp:4555
#16 QApplicationPrivate::notify_helper (this=0x8d802f0, receiver=0x97db8b8, e=0xbfbf4534)
    at kernel/qapplication.cpp:4531
#17 0xb5e983a2 in QApplication::notify (this=0x8d802f0, receiver=0x97db8b8, e=0xbfbf4534)
    at kernel/qapplication.cpp:4524
#18 0xb7464401 in KApplication::notify (this=0xbfbf6d9c, receiver=0x97db8b8, event=0xbfbf4534)
    at ../../kdeui/kernel/kapplication.cpp:311
#19 0xb592597e in QCoreApplication::notifyInternal (this=0xbfbf6d9c, receiver=0x97db8b8, event=0xbfbf4534)
    at kernel/qcoreapplication.cpp:876
#20 0xb5ee8ada in sendSpontaneousEvent (event=<optimised out>, receiver=<optimised out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 QWidgetPrivate::drawWidget (this=0x97db8d0, pdev=0x9670c00, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9739288) at kernel/qwidget.cpp:5585
#22 0xb5ee9882 in QWidgetPrivate::paintSiblingsRecursive (this=0x9825c00, pdev=0x9670c00, siblings=..., 
    index=<optimised out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5794
#23 0xb5ee8838 in QWidgetPrivate::drawWidget (this=0x9825c00, pdev=0x9670c00, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9739288) at kernel/qwidget.cpp:5638
#24 0xb5ee9882 in QWidgetPrivate::paintSiblingsRecursive (this=0x9731bb0, pdev=0x9670c00, siblings=..., 
    index=<optimised out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5794
#25 0xb5ee95ba in QWidgetPrivate::paintSiblingsRecursive (this=0x9731bb0, pdev=0x9670c00, siblings=..., 
    index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5781
#26 0xb5ee95ba in QWidgetPrivate::paintSiblingsRecursive (this=0x9731bb0, pdev=0x9670c00, siblings=..., 
    index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5781
#27 0xb5ee8838 in QWidgetPrivate::drawWidget (this=0x9731bb0, pdev=0x9670c00, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9739288) at kernel/qwidget.cpp:5638
#28 0xb5ee9882 in QWidgetPrivate::paintSiblingsRecursive (this=0x973c8f0, pdev=0x9670c00, siblings=..., 
    index=<optimised out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5794
#29 0xb5ee8838 in QWidgetPrivate::drawWidget (this=0x973c8f0, pdev=0x9670c00, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9739288) at kernel/qwidget.cpp:5638
#30 0xb5ee9882 in QWidgetPrivate::paintSiblingsRecursive (this=0x973c5b0, pdev=0x9670c00, siblings=..., 
    index=<optimised out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5794
#31 0xb5ee8838 in QWidgetPrivate::drawWidget (this=0x973c5b0, pdev=0x9670c00, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9739288) at kernel/qwidget.cpp:5638
#32 0xb5ee9882 in QWidgetPrivate::paintSiblingsRecursive (this=0x9539e38, pdev=0x9670c00, siblings=..., 
    index=<optimised out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5794
#33 0xb5ee8838 in QWidgetPrivate::drawWidget (this=0x9539e38, pdev=0x9670c00, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9739288) at kernel/qwidget.cpp:5638
#34 0xb5ee9882 in QWidgetPrivate::paintSiblingsRecursive (this=0x9535610, pdev=0x9670c00, siblings=..., 
    index=<optimised out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5794
#35 0xb5ee8838 in QWidgetPrivate::drawWidget (this=0x9535610, pdev=0x9670c00, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9739288) at kernel/qwidget.cpp:5638
#36 0xb5ee9882 in QWidgetPrivate::paintSiblingsRecursive (this=0x9538c50, pdev=0x9670c00, siblings=..., 
    index=<optimised out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5794
#37 0xb5ee8838 in QWidgetPrivate::drawWidget (this=0x9538c50, pdev=0x9670c00, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9739288) at kernel/qwidget.cpp:5638
#38 0xb5ee9882 in QWidgetPrivate::paintSiblingsRecursive (this=0x945e060, pdev=0x9670c00, siblings=..., 
    index=<optimised out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5794
#39 0xb5ee8838 in QWidgetPrivate::drawWidget (this=0x945e060, pdev=0x9670c00, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x9739288) at kernel/qwidget.cpp:5638
#40 0xb5ee9882 in QWidgetPrivate::paintSiblingsRecursive (this=0x8f1ca00, pdev=0x9670c00, siblings=..., 
    index=<optimised out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x9739288)
    at kernel/qwidget.cpp:5794
#41 0xb5ee8838 in QWidgetPrivate::drawWidget (this=0x8f1ca00, pdev=0x9670c00, rgn=..., offset=..., flags=5, 
    sharedPainter=0x0, backingStore=0x9739288) at kernel/qwidget.cpp:5638
#42 0xb60e1dc0 in QWidgetBackingStore::sync (this=0x9739288) at painting/qbackingstore.cpp:1373
#43 0xb5ede9db in QWidgetPrivate::syncBackingStore (this=0x8f1ca00) at kernel/qwidget.cpp:1891
#44 0xb5eedae7 in QWidget::event (this=0x8d95f78, event=0xb3d2940) at kernel/qwidget.cpp:8655
#45 0xb63282dc in QMainWindow::event (this=0x8d95f78, event=0xb3d2940) at widgets/qmainwindow.cpp:1478
#46 0xb753fc04 in KMainWindow::event (this=0x8d95f78, ev=0xb3d2940)
    at ../../kdeui/widgets/kmainwindow.cpp:1084
#47 0xb5e92ed4 in notify_helper (e=0xb3d2940, receiver=0x8d95f78, this=0x8d802f0)
    at kernel/qapplication.cpp:4559
#48 QApplicationPrivate::notify_helper (this=0x8d802f0, receiver=0x8d95f78, e=0xb3d2940)
    at kernel/qapplication.cpp:4531
#49 0xb5e983a2 in QApplication::notify (this=0x8d802f0, receiver=0x8d95f78, e=0xb3d2940)
    at kernel/qapplication.cpp:4524
#50 0xb7464401 in KApplication::notify (this=0xbfbf6d9c, receiver=0x8d95f78, event=0xb3d2940)
    at ../../kdeui/kernel/kapplication.cpp:311
#51 0xb592597e in QCoreApplication::notifyInternal (this=0xbfbf6d9c, receiver=0x8d95f78, event=0xb3d2940)
    at kernel/qcoreapplication.cpp:876
#52 0xb5929ad8 in sendEvent (event=<optimised out>, receiver=<optimised out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8c15130)
    at kernel/qcoreapplication.cpp:1500
#54 0xb5929e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0)
    at kernel/qcoreapplication.cpp:1393
#55 0xb5958494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=0x8d8c858) at kernel/qeventdispatcher_glib.cpp:279
#57 0xb431cd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#58 0xb431d125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#59 0xb431d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#60 0xb5958887 in QEventDispatcherGlib::processEvents (this=0x8c15eb8, flags=...)
    at kernel/qeventdispatcher_glib.cpp:424
#61 0xb5f4baaa in QGuiEventDispatcherGlib::processEvents (this=0x8c15eb8, flags=...)
    at kernel/qguieventdispatcher_glib.cpp:204
#62 0xb592450d in QEventLoop::processEvents (this=0xbfbf6d04, flags=...) at kernel/qeventloop.cpp:149
#63 0xb59247a9 in QEventLoop::exec (this=0xbfbf6d04, flags=...) at kernel/qeventloop.cpp:204
#64 0xb5929eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#65 0xb5e90a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#66 0x0804fd42 in main (argc=-1379514168, argv=0x8de0388) at ../../src/main.cpp:306
A debugging session is active.

	Inferior 1 [process 9340] will be detached.

My guess at the cause is that I have  composer contraints in the APG I'm running
Comment 5 Myriam Schweingruber 2012-08-14 12:34:56 UTC
(In reply to comment #4)
> Here's the full output from gdb thread apply all backtrace, lots of corrupt
> stack messages!

Because you don't have all debugging symbols installed, see the ?? for your nvidia drivers?
> 
> My guess at the cause is that I have  composer contraints in the APG I'm
> running

No, that has nothing to do with it, the problem is in Amarok::PrettyTreeView::drawRow, which is quite different from the previous backtrace you posted, so this is yet another crash.

Amarok 2.6 has been release and it is available in the backports PPA for 12.04, could you please update and try again?
Comment 6 robert marshall 2012-08-14 14:13:49 UTC
And with 2.6
(gdb) thread apply all backtrace

Thread 14 (Thread 0xac6fbb40 (LWP 29094)):
#0  0xb77ca424 in __kernel_vsyscall ()
#1  0xb471d96b in pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb56e63dc in __pthread_cond_wait (cond=0x8cb925c, mutex=0x8cb9244) at forward.c:139
#3  0xacae3613 in vlc_cond_wait () from /usr/lib/libvlccore.so.5
#4  0xaca56c91 in ?? () from /usr/lib/libvlccore.so.5
#5  0xb15cfa11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x5c8b0824 in ?? ()
#7  0xbab80424 in ?? ()
#8  0x65000000 in ?? ()
#9  0x001015ff in ?? ()
#10 0xd3890000 in ?? ()
#11 0xfff0013d in ?? ()
#12 0xc30173ff in ?? ()
#13 0x0f8122e8 in ?? ()
#14 0x9fc18100 in QtScriptShell_QToolBar::sizeHint() const ()
   from /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
#15 0x248c8be0 in ?? ()
#16 0x000000b4 in ?? ()
#17 0x8505eac1 in ?? ()
#18 0xf74d75c9 in ?? ()
#19 0x248c81d0 in ?? ()
#20 0x00000098 in ?? ()
#21 0x10000000 in ?? ()
#22 0x2c938421 in ?? ()
#23 0xc7000037 in ?? ()
#24 0x00082444 in ?? ()
#25 0x89000000 in ?? ()
#26 0x8904247c in ?? ()
#27 0xe5e82434 in ?? ()
#28 0xc1fffff7 in ?? ()
#29 0x9c8b1ff8 in ?? ()
Cannot access memory at address 0xd3ca8904

that's not very useful! 
'where' gives me
 #0  0xb6e0766b in ConstraintTypes::TagMatch::matches (this=0x94fec10, track=...)
    at ../../src/playlistgenerator/constraints/TagMatch.cpp:436
#1  0xb6e07fb6 in ConstraintTypes::TagMatch::satisfaction (this=0x94fec10, tl=...)
    at ../../src/playlistgenerator/constraints/TagMatch.cpp:314
#2  0xb6dda5bc in ConstraintGroup::satisfaction (this=0x94fcc70, l=...)
    at ../../src/playlistgenerator/ConstraintGroup.cpp:175
#3  0xb6dda5bc in ConstraintGroup::satisfaction (this=0x94fd030, l=...)
    at ../../src/playlistgenerator/ConstraintGroup.cpp:175
#4  0xb6de3d80 in APG::ConstraintSolver::fill_population (this=0xb5a5c98, population=...)
    at ../../src/playlistgenerator/ConstraintSolver.cpp:238
#5  0xb6de4a3d in APG::ConstraintSolver::run (this=0xb5a5c98)
    at ../../src/playlistgenerator/ConstraintSolver.cpp:164
#6  0xb4e74f03 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa45ff16c, th=0x8eeda98, job=0xb5a5c98)
    at ../../../threadweaver/Weaver/Job.cpp:106
#7  0xb4e750a3 in ThreadWeaver::Job::execute (this=0xb5a5c98, th=0x8eeda98)
    at ../../../threadweaver/Weaver/Job.cpp:135
#8  0xb4e744b2 in ThreadWeaver::ThreadRunHelper::run (this=0xa45ff1f4, parent=0x8b22df8, th=0x8eeda98)
    at ../../../threadweaver/Weaver/Thread.cpp:95
#9  0xb4e7459a in ThreadWeaver::Thread::run (this=0x8eeda98) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0xb58fede0 in QThreadPrivate::start (arg=0x8eeda98) at thread/qthread_unix.cpp:298
#11 0xb15cfa11 in ?? () from /usr/lib/nvidia-current/libGL.so.1
I've generated a core file from gdb so I can dig around in it further if needed!
Comment 7 Soren Harward 2012-08-14 14:43:08 UTC
I've never tried using the APG with CD tracks (I think Amarok 2 didn't even support CD tracks while I was developing the APG), so it well could be a bug in the APG, or a bug in Meta::Track that's triggered by the APG.

Do the following steps produce a crash for you?

- Restart Amarok
- Insert CD
- Wait a few seconds for Amarok to pull in metadata for CD
- Run the APG

Also, can you please add the tracks from the CD to a playlist, export that playlist, and post it as an attachment?  I'd like to see what metadata Amarok has for the CD tracks that are causing the problem.

Thanks.
Comment 8 robert marshall 2012-08-14 15:40:48 UTC
Created attachment 73162 [details]
playlist containing only cd tracks
Comment 9 robert marshall 2012-08-14 15:41:09 UTC
Yes I get a crash with that recipe. I wasn't consciously using APG with cd tracks it just happened that a cd was in the drive when I originally got this crash.
The original attachment has cd tracks included in it, but I'll add one with just cd tracks
Comment 10 Myriam Schweingruber 2012-09-12 09:00:58 UTC
Setting status correctly.
Comment 11 Mayank Madan 2012-12-19 14:12:40 UTC
I ran Automatic playlist generator then after the playlist was finished i ran the APG again and it crashed(I inserted the CD in the beginning)
Using v2.6.90-26-gbcdd84c
Comment 12 Myriam Schweingruber 2012-12-21 10:14:27 UTC
Confirmed on latest git.
Comment 13 Matěj Laitl 2013-05-27 09:41:21 UTC

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