Bug 209640 - dragging root "Local Collection" around
Summary: dragging root "Local Collection" around
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: Collection Browser (show other bugs)
Version: 2.3-GIT
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: 2.3.1
Assignee: Amarok Developers
URL:
Keywords:
: 209918 214159 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-06 16:23 UTC by Simon
Modified: 2009-11-21 09:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2009-10-06 16:23:05 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-1-686 i686
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
Dragging the root of the Local Collection ends up in a crash.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2e4a730 (LWP 16078))]

Thread 15 (Thread 0xb052bb90 (LWP 16082)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4954292 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb67998b4 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb12378c3 in ?? () from /usr/lib/libxine.so.1

Thread 14 (Thread 0xafbc4b90 (LWP 16083)):
#0  0xb67999f1 in pthread_mutex_lock () from /lib/i686/cmov/libc.so.6
#1  0xb44cd59a in ?? () from /lib/libglib-2.0.so.0
#2  0xb44cd7a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0xb7428877 in QEventDispatcherGlib::processEvents (this=0x8f3e760, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#4  0xb73fc01a in QEventLoop::processEvents (this=0xafbc42c0, flags=...) at kernel/qeventloop.cpp:149
#5  0xb73fc462 in QEventLoop::exec (this=0xafbc42c0, flags=...) at kernel/qeventloop.cpp:201
#6  0xb73092c9 in QThread::exec (this=0x903a378) at thread/qthread.cpp:487
#7  0xb12852ba in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0xb730c582 in QThreadPrivate::start (arg=0x903a378) at thread/qthread_unix.cpp:188
#9  0xb49504b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#10 0xb678aa5e in clone () from /lib/i686/cmov/libc.so.6

Thread 13 (Thread 0xaf3c3b90 (LWP 16086)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb677aebb in read () from /lib/i686/cmov/libc.so.6
#2  0xb14b3c12 in ?? () from /usr/lib/libasound.so.2
#3  0xb14b068d in snd_ctl_read () from /usr/lib/libasound.so.2
#4  0xb14acaef in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#5  0xb14b89a1 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#6  0xafd25aa1 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 12 (Thread 0xaebc2b90 (LWP 16087)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4953f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb679985d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb1248a22 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 11 (Thread 0xae3c1b90 (LWP 16088)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4953f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb679985d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb1248a22 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 10 (Thread 0xad9ffb90 (LWP 16089)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4953f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb679985d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb1248a22 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 0xacac0b90 (LWP 16091)):
[KCrash Handler]
#6  0xacccb5e0 in SqlQueryMaker::handleResult (this=0xcb1bcf8, result=...) at ../../../../src/collection/sqlcollection/SqlQueryMaker.cpp:666
#7  0xacccd4ab in SqlWorkerThread::run (this=0xcb1c7d0) at ../../../../src/collection/sqlcollection/SqlQueryMaker.cpp:56
#8  0xb5cd64f4 in ThreadWeaver::JobRunHelper::runTheJob (this=0xacac02a8, th=0x9979910, job=0xcb1c7d0) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0xb5cd6871 in ThreadWeaver::Job::execute (this=0xcb1c7d0, th=0x9979910) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0xb5cd548a in ThreadWeaver::ThreadRunHelper::run (this=0xacac0310, parent=0x961ce10, th=0x9979910) at ../../../threadweaver/Weaver/Thread.cpp:95
#11 0xb5cd5afb in ThreadWeaver::Thread::run (this=0x9979910) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb730c582 in QThreadPrivate::start (arg=0x9979910) at thread/qthread_unix.cpp:188
#13 0xb49504b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#14 0xb678aa5e in clone () from /lib/i686/cmov/libc.so.6

Thread 8 (Thread 0xaaf19b90 (LWP 16092)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4953f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb679985d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb730d562 in QWaitConditionPrivate::wait (this=0x961ce28, mutex=0x9622d48, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x961ce28, mutex=0x9622d48, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5cd4648 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x961ce10, th=0x9a7cb88) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb5cd73ac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x980b688, th=0x9a7cb88) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb5cd323b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x961ce10, th=0x9a7cb88) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb5cd74a2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x980b688, th=0x9a7cb88) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb5cd4bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961ce10, th=0x9a7cb88, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb5cd74c1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x980b688, th=0x9a7cb88) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb5cd4bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961ce10, th=0x9a7cb88, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb5cd74c1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x980b688, th=0x9a7cb88) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb5cd4bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961ce10, th=0x9a7cb88, previous=0xc5e7b78) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb5cd54be in ThreadWeaver::ThreadRunHelper::run (this=0xaaf19310, parent=0x961ce10, th=0x9a7cb88) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0xb5cd5afb in ThreadWeaver::Thread::run (this=0x9a7cb88) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0xb730c582 in QThreadPrivate::start (arg=0x9a7cb88) at thread/qthread_unix.cpp:188
#17 0xb49504b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#18 0xb678aa5e in clone () from /lib/i686/cmov/libc.so.6

Thread 7 (Thread 0xaa503b90 (LWP 16093)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4953f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb679985d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb730d562 in QWaitConditionPrivate::wait (this=0x961ce28, mutex=0x9622d48, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x961ce28, mutex=0x9622d48, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5cd4648 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x961ce10, th=0x96377d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb5cd73ac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x980b688, th=0x96377d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb5cd323b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x961ce10, th=0x96377d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb5cd74a2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x980b688, th=0x96377d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb5cd4bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961ce10, th=0x96377d0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb5cd74c1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x980b688, th=0x96377d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb5cd4bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961ce10, th=0x96377d0, previous=0xcbb4418) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb5cd54be in ThreadWeaver::ThreadRunHelper::run (this=0xaa503310, parent=0x961ce10, th=0x96377d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb5cd5afb in ThreadWeaver::Thread::run (this=0x96377d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb730c582 in QThreadPrivate::start (arg=0x96377d0) at thread/qthread_unix.cpp:188
#15 0xb49504b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#16 0xb678aa5e in clone () from /lib/i686/cmov/libc.so.6

Thread 6 (Thread 0xa51fdb90 (LWP 16094)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb6782fe1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb126130a in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 5 (Thread 0xa4613b90 (LWP 16095)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4953f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb679985d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb123afc2 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xa3c45b90 (LWP 16096)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4953f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb679985d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb123afc2 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xa3444b90 (LWP 16097)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4953f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb679985d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb124b84a in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0x9a07eb90 (LWP 16377)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4953f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb679985d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb730d562 in QWaitConditionPrivate::wait (this=0x961ce28, mutex=0x9622d48, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x961ce28, mutex=0x9622d48, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5cd4648 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x961ce10, th=0xc5fd160) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb5cd73ac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x980b688, th=0xc5fd160) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb5cd323b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x961ce10, th=0xc5fd160) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb5cd74a2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x980b688, th=0xc5fd160) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb5cd4bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961ce10, th=0xc5fd160, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb5cd74c1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x980b688, th=0xc5fd160) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb5cd4bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961ce10, th=0xc5fd160, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb5cd74c1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x980b688, th=0xc5fd160) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb5cd4bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961ce10, th=0xc5fd160, previous=0xc3cd5f8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb5cd54be in ThreadWeaver::ThreadRunHelper::run (this=0x9a07e310, parent=0x961ce10, th=0xc5fd160) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0xb5cd5afb in ThreadWeaver::Thread::run (this=0xc5fd160) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0xb730c582 in QThreadPrivate::start (arg=0xc5fd160) at thread/qthread_unix.cpp:188
#17 0xb49504b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#18 0xb678aa5e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb2e4a730 (LWP 16078)):
#0  0xb807b424 in __kernel_vsyscall ()
#1  0xb4953f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb679985d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb730d562 in QWaitConditionPrivate::wait (this=0x90d38bc, mutex=0x90d38ac, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x90d38bc, mutex=0x90d38ac, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb128a427 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#6  0xb129fba2 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#7  0xb5c3d00c in Phonon::MediaNodePrivate::deleteBackendObject() () from /usr/lib/libphonon.so.4
#8  0xb5c4c517 in ?? () from /usr/lib/libphonon.so.4
#9  0xb5c4b1f5 in ?? () from /usr/lib/libphonon.so.4
#10 0xb5c4875b in ?? () from /usr/lib/libphonon.so.4
#11 0xb66d9589 in exit () from /lib/i686/cmov/libc.so.6
#12 0xb6aa0dab in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#13 0xb7eaae5a in KApplication::xioErrhandler (this=0xbfa35334, dpy=0x8f5d178) at ../../kdeui/kernel/kapplication.cpp:408
#14 0xb7eaae96 in kde_xio_errhandler (dpy=0x8f5d178) at ../../kdeui/kernel/kapplication.cpp:125
#15 0xb65562b6 in _XIOError () from /usr/lib/libX11.so.6
#16 0xb655d711 in ?? () from /usr/lib/libX11.so.6
#17 0xb655e0d6 in _XEventsQueued () from /usr/lib/libX11.so.6
#18 0xb654711f in XEventsQueued () from /usr/lib/libX11.so.6
#19 0xb6add19d in x11EventSourceCheck (s=0x8f44978) at kernel/qguieventdispatcher_glib.cpp:87
#20 0xb44ccc6e in g_main_context_check () from /lib/libglib-2.0.so.0
#21 0xb44cd555 in ?? () from /lib/libglib-2.0.so.0
#22 0xb44cd7a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0xb7428877 in QEventDispatcherGlib::processEvents (this=0x8e8ec58, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#24 0xb6adcfd5 in QGuiEventDispatcherGlib::processEvents (this=0x8e8ec58, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#25 0xb73fc01a in QEventLoop::processEvents (this=0xbfa34fc0, flags=...) at kernel/qeventloop.cpp:149
#26 0xb73fc462 in QEventLoop::exec (this=0xbfa34fc0, flags=...) at kernel/qeventloop.cpp:201
#27 0xb73fe8b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#28 0xb6a3d697 in QApplication::exec () at kernel/qapplication.cpp:3525
#29 0x08051f9d in main (argc=1, argv=0xbfa35b14) at ../../src/main.cpp:225

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-10-06 16:36:36 UTC
You mean trying to move the whole collection?
Comment 2 Mikko C. 2009-10-06 16:42:15 UTC
confirmed here with git master.

But the backtrace looks different, I guess because there have been line changes:

Thread 3 (Thread 0x7fd601a2b950 (LWP 3595)):
[KCrash Handler]
#5  0x00007fd615a51c11 in QBasicAtomicInt::operator!= (this=0x6e006500430020, value=1) at /usr/include/qt4/QtCore/qbasicatomic.h:69
#6  0x00007fd615a7eecc in QList<KSharedPtr<Meta::MetaBase> >::detach (this=0x7229cc8) at /usr/include/qt4/QtCore/qlist.h:119
#7  0x00007fd615a7e2b0 in QList<KSharedPtr<Meta::MetaBase> >::append (this=0x7229cc8, t=@0x7fd601a2acd0) at /usr/include/qt4/QtCore/qlist.h:424
#8  0x00007fd615a7cf53 in QList<KSharedPtr<Meta::MetaBase> >::operator<< (this=0x7229cc8, t=@0x7fd601a2acd0) at /usr/include/qt4/QtCore/qlist.h:304
#9  0x00007fd615a7a112 in SqlQueryMaker::handleTracks (this=0x5c00920, result=@0x7fd601a2aed0) at /home/mikko/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:1043
#10 0x00007fd615a78490 in SqlQueryMaker::handleResult (this=0x5c00920, result=@0x7fd601a2aed0) at /home/mikko/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:736
#11 0x00007fd615a7bc9e in SqlWorkerThread::run (this=0x54cef10) at /home/mikko/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:56
#12 0x00007fd627bd6123 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fd601a2af50, th=0x2bf4970, job=0x54cef10)
    at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:106
#13 0x00007fd627bd62e2 in ThreadWeaver::Job::execute (this=0x54cef10, th=0x2bf4970) at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Job.cpp:135
#14 0x00007fd627bd573f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd601a2aff0, parent=0x2f37090, th=0x2bf4970)
    at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:95
#15 0x00007fd627bd5894 in ThreadWeaver::Thread::run (this=0x2bf4970) at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/threadweaver/Weaver/Thread.cpp:142
#16 0x00007fd62c9a84c3 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:188
#17 0x00007fd62b34a414 in start_thread () from /lib/libpthread.so.0
#18 0x00007fd62b879abd in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()
Comment 3 Mark Kretschmann 2009-10-08 12:47:17 UTC
I cannot reproduce this crash with Amarok from git master.
Comment 4 Mikko C. 2009-10-08 13:09:45 UTC
can't reproduce it anymore either, Simon do you have a way to reproduce it?
Comment 5 Mark Kretschmann 2009-10-08 14:20:29 UTC
I was just able to reproduce the crash, by moving the root item only a few pixels. Debug and backtrace:


amarok:   BEGIN: PopupDropper* PopupDropperFactory::createPopupDropper(QWidget*)
amarok:   END__: PopupDropper* PopupDropperFactory::createPopupDropper(QWidget*) - Took 0.00095s
amarok:    Initialized thread, count== 4
amarok:    After the drag!
amarok:    clearing PUD
amarok: END__: virtual void CollectionTreeView::startDrag(Qt::DropActions) - Took 0.2s
KCrash: Application 'amarok' crashing...



Thread 6 (Thread 0x7f810d5ed910 (LWP 19504)):
[KCrash Handler]
#5  0x00007f8115f45f9e in SqlQueryMaker::handleTracks (this=0x4ef3bd0, result=...) at /home/mark/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:1043
#6  0x00007f8115f443c8 in SqlQueryMaker::handleResult (this=0x4ef3bd0, result=...) at /home/mark/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:736
#7  0x00007f8115f47b96 in SqlWorkerThread::run (this=0x4c97c10) at /home/mark/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:56
#8  0x00007f8137ac375d in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x00007f8137ac3a5e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#10 0x00007f8137ac2a2f in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x00007f8137ac2eb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0x00007f813ab5c445 in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007f813530fa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f813a0c37bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()
Comment 6 Maximilian Kossick 2009-10-08 22:07:01 UTC
I'm not able to reproduce this issue at all.

Mark, the backtrace is quite useless as it points to a macro in
SqlQueryMaker. Can you replace the macro with actual code and get a
proper backtrace?
Comment 7 Mark Kretschmann 2009-10-09 20:44:07 UTC
Max has just committed a possible fix for this problem. Please test.

commit bb2ddbf56acd7623f49154f456c158546bf246e3
Author: Maximilian Kossick <maximilian.kossick@googlemail.com>
Date:   Fri Oct 9 18:43:40 2009 +0200

    attempt at fixing crashes in CollectionTreeItem (not reproducable by me unfortunately) by removing a potential race condition
Comment 8 Maximilian Kossick 2009-10-09 22:39:54 UTC
that would be unexpectd to say the least. The backtrace shows a crash
in sqlquerymaker, not in collectiontreeitem
Comment 9 Myriam Schweingruber 2009-11-11 21:53:36 UTC
*** Bug 214159 has been marked as a duplicate of this bug. ***
Comment 10 Myriam Schweingruber 2009-11-11 21:54:05 UTC
*** Bug 209918 has been marked as a duplicate of this bug. ***
Comment 11 Myriam Schweingruber 2009-11-16 23:09:42 UTC
Any news on this?
Comment 12 Myriam Schweingruber 2009-11-21 09:29:17 UTC
OK, closing for now as nobody can reproduce this with current Amarok 2.2-git. Make sure you have a patched GLIB version, see also here:
http://www.purinchu.net/wp/2009/11/16/malloc_check_-crashes/