Bug 168464 - Amarok crashes when trying to open Organize Files
Summary: Amarok crashes when trying to open Organize Files
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-06 01:14 UTC by Raphael Kubo da Costa
Modified: 2008-08-06 02:30 UTC (History)
0 users

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 Raphael Kubo da Costa 2008-08-06 01:14:14 UTC
Version:           svn r842720 (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.3.1 
OS:                Linux

When browsing the Local Collection, I listed the albums from an artist. The songs from the albums were not listed even though they're there and are found by the Nepomuk Collection.

I right-clicked one of these empty albums and selected Organize Files and then Amarok crashed. Here's the backtrace:

Application: Amarok (amarok), signal SIGABRT
[Current thread is 0 (LWP 29584)]

Thread 10 (Thread 0xb0a18b90 (LWP 29585)):
#0  0xb7ff5424 in __kernel_vsyscall ()
#1  0xb5ca6ee2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb15db7b1 in metronom_sync_loop () from /usr/lib/libxine.so.1

Thread 9 (Thread 0xb01cab90 (LWP 29586)):
#0  0xb7ff5424 in __kernel_vsyscall ()
#1  0xb4aee9a7 in poll () from /lib/libc.so.6
#2  0xb453f612 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0xb453f941 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb60e9d62 in QEventDispatcherGlib::processEvents (this=0x8d24120, flags={i = -1340300744}) at kernel/qeventdispatcher_glib.cpp:327
#5  0xb60b0388 in QEventLoop::processEvents (this=0xb01ca2b8, flags={i = -1340300688}) at kernel/qeventloop.cpp:149
#6  0xb60b05c6 in QEventLoop::exec (this=0xb01ca2b8, flags={i = -1340300608}) at kernel/qeventloop.cpp:200
#7  0xb5f9ca2e in QThread::exec (this=0x8d08550) at thread/qthread.cpp:464
#8  0xb1650351 in Phonon::Xine::XineThread::run (this=0x8d08550) at /home/kubo/kde4/src/KDE/kdebase/runtime/phonon/xine/xinethread.cpp:141
#9  0xb5fa129e in QThreadPrivate::start (arg=0x8d08550) at thread/qthread_unix.cpp:190
#10 0xb5ca3145 in start_thread () from /lib/libpthread.so.0
#11 0xb4af84de in clone () from /lib/libc.so.6

Thread 8 (Thread 0xaf9c9b90 (LWP 29589)):
#0  0xb7ff5424 in __kernel_vsyscall ()
#1  0xb4aee9a7 in poll () from /lib/libc.so.6
#2  0xb0212ee0 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.23/xineplug_ao_out_alsa.so
#3  0x00000000 in ?? ()

Thread 7 (Thread 0xaf186b90 (LWP 29590)):
#0  0xb7ff5424 in __kernel_vsyscall ()
#1  0xb5ca6bb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb15ed644 in ao_loop () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 6 (Thread 0xae124b90 (LWP 29593)):
#0  0xb7ff5424 in __kernel_vsyscall ()
#1  0xb5ca6bb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5fa1cfc in QWaitConditionPrivate::wait (this=0x932ad90, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  0xb5fa17fb in QWaitCondition::wait (this=0x93295e8, mutex=0x93295e4, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb4fca2d1 in QHostInfoAgent::run (this=0x93295d8) at kernel/qhostinfo.cpp:247
#5  0xb5fa129e in QThreadPrivate::start (arg=0x93295d8) at thread/qthread_unix.cpp:190
#6  0xb5ca3145 in start_thread () from /lib/libpthread.so.0
#7  0xb4af84de in clone () from /lib/libc.so.6

Thread 5 (Thread 0xae925b90 (LWP 29594)):
#0  0xb7ff5424 in __kernel_vsyscall ()
#1  0xb5ca6bb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5fa1cfc in QWaitConditionPrivate::wait (this=0x94fe760, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  0xb5fa17fb in QWaitCondition::wait (this=0x92eff58, mutex=0x941c760, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb6e91064 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92eff40, th=0x931bfa0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb6e95a8e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x94138e0, th=0x931bfa0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb6e906ed in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92eff40, th=0x931bfa0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb6e95bab in ThreadWeaver::WorkingHardState::applyForWork (this=0x94138e0, th=0x931bfa0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb6e912d2 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92eff40, th=0x931bfa0, previous=0x97c4578) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb6e93c65 in ThreadWeaver::ThreadRunHelper::run (this=0xae925308, parent=0x92eff40, th=0x931bfa0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87
#10 0xb6e93e08 in ThreadWeaver::Thread::run (this=0x931bfa0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#11 0xb5fa129e in QThreadPrivate::start (arg=0x931bfa0) at thread/qthread_unix.cpp:190
#12 0xb5ca3145 in start_thread () from /lib/libpthread.so.0
#13 0xb4af84de in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaccbeb90 (LWP 29595)):
#0  0xb7ff5424 in __kernel_vsyscall ()
#1  0xb5ca6bb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5fa1cfc in QWaitConditionPrivate::wait (this=0x94fe760, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  0xb5fa17fb in QWaitCondition::wait (this=0x92eff58, mutex=0x941c760, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb6e91064 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92eff40, th=0x94d70b0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb6e95a8e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x94138e0, th=0x94d70b0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb6e906ed in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92eff40, th=0x94d70b0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb6e95bab in ThreadWeaver::WorkingHardState::applyForWork (this=0x94138e0, th=0x94d70b0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb6e912d2 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92eff40, th=0x94d70b0, previous=0x0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb6e95bd3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x94138e0, th=0x94d70b0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb6e912d2 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92eff40, th=0x94d70b0, previous=0x941f678) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb6e93c65 in ThreadWeaver::ThreadRunHelper::run (this=0xaccbe308, parent=0x92eff40, th=0x94d70b0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87
#12 0xb6e93e08 in ThreadWeaver::Thread::run (this=0x94d70b0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#13 0xb5fa129e in QThreadPrivate::start (arg=0x94d70b0) at thread/qthread_unix.cpp:190
#14 0xb5ca3145 in start_thread () from /lib/libpthread.so.0
#15 0xb4af84de in clone () from /lib/libc.so.6

Thread 3 (Thread 0xac4bdb90 (LWP 29596)):
#0  0xb7ff5424 in __kernel_vsyscall ()
#1  0xb5ca6bb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5fa1cfc in QWaitConditionPrivate::wait (this=0x94fe760, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  0xb5fa17fb in QWaitCondition::wait (this=0x92eff58, mutex=0x941c760, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb6e91064 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92eff40, th=0x91d6e48) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb6e95a8e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x94138e0, th=0x91d6e48) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb6e906ed in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92eff40, th=0x91d6e48) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb6e95bab in ThreadWeaver::WorkingHardState::applyForWork (this=0x94138e0, th=0x91d6e48) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb6e912d2 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92eff40, th=0x91d6e48, previous=0x0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb6e95bd3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x94138e0, th=0x91d6e48) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb6e912d2 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92eff40, th=0x91d6e48, previous=0x0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb6e93c65 in ThreadWeaver::ThreadRunHelper::run (this=0xac4bd308, parent=0x92eff40, th=0x91d6e48) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87
#12 0xb6e93e08 in ThreadWeaver::Thread::run (this=0x91d6e48) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#13 0xb5fa129e in QThreadPrivate::start (arg=0x91d6e48) at thread/qthread_unix.cpp:190
#14 0xb5ca3145 in start_thread () from /lib/libpthread.so.0
#15 0xb4af84de in clone () from /lib/libc.so.6

Thread 2 (Thread 0xabcbcb90 (LWP 29597)):
#0  0xb7ff5424 in __kernel_vsyscall ()
#1  0xb5ca6bb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5fa1cfc in QWaitConditionPrivate::wait (this=0x94fe760, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  0xb5fa17fb in QWaitCondition::wait (this=0x92eff58, mutex=0x941c760, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb6e91064 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92eff40, th=0x985bc10) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb6e95a8e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x94138e0, th=0x985bc10) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb6e906ed in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92eff40, th=0x985bc10) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb6e95bab in ThreadWeaver::WorkingHardState::applyForWork (this=0x94138e0, th=0x985bc10) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb6e912d2 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92eff40, th=0x985bc10, previous=0x0) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb6e93c65 in ThreadWeaver::ThreadRunHelper::run (this=0xabcbc308, parent=0x92eff40, th=0x985bc10) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87
#10 0xb6e93e08 in ThreadWeaver::Thread::run (this=0x985bc10) at /home/kubo/kde4/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#11 0xb5fa129e in QThreadPrivate::start (arg=0x985bc10) at thread/qthread_unix.cpp:190
#12 0xb5ca3145 in start_thread () from /lib/libpthread.so.0
#13 0xb4af84de in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb3088720 (LWP 29584)):
[KCrash Handler]
#6  0xb7ff5424 in __kernel_vsyscall ()
#7  0xb4a55740 in raise () from /lib/libc.so.6
#8  0xb4a57078 in abort () from /lib/libc.so.6
#9  0xb5f958b8 in qt_message_output (msgType=QtFatalMsg, buf=0xbf80dee0 "ASSERT: \"d\" in file /home/kubo/kde4/include/ksharedptr.h, line 115") at global/qglobal.cpp:2061
#10 0xb5f9591c in qFatal (msg=0xb6117bc4 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2263
#11 0xb5f95d68 in qt_assert (assertion=0xae97d4f1 "d", file=0xae97d4cc "/home/kubo/kde4/include/ksharedptr.h", line=115) at global/qglobal.cpp:1831
#12 0xae93f8eb in KSharedPtr<Meta::Track>::operator-> (this=0x93a3b34) at /home/kubo/kde4/include/ksharedptr.h:115
#13 0xae93bbff in OrganizeCollectionDialog::buildDestination (this=0x93a3b18, format=@0xbf8100c4, track=@0x93a3b34)
    at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/sqlcollection/OrganizeCollectionDialog.cpp:142
#14 0xae93cf0b in OrganizeCollectionDialog::preview (this=0x93a3b18, format=@0xbf8100c4)
    at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/sqlcollection/OrganizeCollectionDialog.cpp:270
#15 0xae93cf5d in OrganizeCollectionDialog::slotUpdatePreview (this=0x93a3b18) at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/sqlcollection/OrganizeCollectionDialog.cpp:366
#16 0xae93d050 in OrganizeCollectionDialog::init (this=0x93a3b18) at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/sqlcollection/OrganizeCollectionDialog.cpp:361
#17 0xae93da49 in OrganizeCollectionDialog (this=0x93a3b18, tracks=@0x9193d38, parent=0x0, name=0x0, modal=true, caption=@0xbf8101ac, buttonMask={i = -1082064464})
    at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/sqlcollection/OrganizeCollectionDialog.cpp:113
#18 0xae95502c in SqlCollectionLocation::showDestinationDialog (this=0x9025e38, tracks=@0x9193d38, removeSources=true)
    at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/sqlcollection/SqlCollectionLocation.cpp:129
#19 0xb7e98ad9 in CollectionLocation::slotPrepareOperation (this=0x9025e38, tracks=@0x9193d38, removeSources=true)
    at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/CollectionLocation.cpp:239
#20 0xb7e99770 in CollectionLocation::qt_metacall (this=0x9025e38, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf810328)
    at /home/kubo/kde4/build/extragear/multimedia/amarok/src/CollectionLocation.moc:106
#21 0xae954eee in SqlCollectionLocation::qt_metacall (this=0x9025e38, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbf810328)
    at /home/kubo/kde4/build/extragear/multimedia/amarok/src/collection/sqlcollection/SqlCollectionLocation.moc:64
#22 0xb60cc3e5 in QMetaObject::activate (sender=0x9193d28, from_signal_index=6, to_signal_index=6, argv=0xbf810328) at kernel/qobject.cpp:3016
#23 0xb60cc999 in QMetaObject::activate (sender=0x9193d28, m=0xb7fdf12c, local_signal_index=2, argv=0xbf810328) at kernel/qobject.cpp:3086
#24 0xb7e98cbd in CollectionLocation::prepareOperation (this=0x9193d28, _t1=@0x9193d38, _t2=true) at /home/kubo/kde4/build/extragear/multimedia/amarok/src/CollectionLocation.moc:136
#25 0xb7e98cf9 in CollectionLocation::slotShowSourceDialogDone (this=0x9193d28) at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/CollectionLocation.cpp:226
#26 0xb7e98d23 in CollectionLocation::showSourceDialog (this=0x9193d28, tracks=@0x9193d38, removeSources=true)
    at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/CollectionLocation.cpp:200
#27 0xb7e9913f in CollectionLocation::startWorkflow (this=0x9193d28, tracks=@0x9193d38, removeSources=true)
    at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/CollectionLocation.cpp:317
#28 0xb7e9934a in CollectionLocation::prepareMove (this=0x9193d28, tracks=@0x9193d38, destination=0x9025e38)
    at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/CollectionLocation.cpp:140
#29 0xb7e995d1 in CollectionLocation::queryDone (this=0x9193d28) at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/CollectionLocation.cpp:289
#30 0xb7e997e4 in CollectionLocation::qt_metacall (this=0x9193d28, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbf8104a0)
    at /home/kubo/kde4/build/extragear/multimedia/amarok/src/CollectionLocation.moc:112
#31 0xae954eee in SqlCollectionLocation::qt_metacall (this=0x9193d28, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbf8104a0)
    at /home/kubo/kde4/build/extragear/multimedia/amarok/src/collection/sqlcollection/SqlCollectionLocation.moc:64
#32 0xb60cc3e5 in QMetaObject::activate (sender=0x96af488, from_signal_index=12, to_signal_index=12, argv=0x0) at kernel/qobject.cpp:3016
#33 0xb60cc999 in QMetaObject::activate (sender=0x96af488, m=0xb7fdf278, local_signal_index=8, argv=0x0) at kernel/qobject.cpp:3086
#34 0xb7e9c9e9 in QueryMaker::queryDone (this=0x96af488) at /home/kubo/kde4/build/extragear/multimedia/amarok/src/QueryMaker.moc:156
#35 0xb7e99ce4 in MetaQueryMaker::slotQueryDone (this=0x96af488) at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/MetaQueryMaker.cpp:341
#36 0xb7e99d57 in MetaQueryMaker::qt_metacall (this=0x96af488, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf8105d0) at /home/kubo/kde4/build/extragear/multimedia/amarok/src/MetaQueryMaker.moc:65
#37 0xb60cc3e5 in QMetaObject::activate (sender=0x93cdf58, from_signal_index=12, to_signal_index=12, argv=0x0) at kernel/qobject.cpp:3016
#38 0xb60cc999 in QMetaObject::activate (sender=0x93cdf58, m=0xb7fdf278, local_signal_index=8, argv=0x0) at kernel/qobject.cpp:3086
#39 0xb7e9c9e9 in QueryMaker::queryDone (this=0x93cdf58) at /home/kubo/kde4/build/extragear/multimedia/amarok/src/QueryMaker.moc:156
#40 0xae95b56f in SqlQueryMaker::done (this=0x93cdf58, job=0x97c4578) at /home/kubo/kde4/src/extragear/multimedia/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:165
#41 0xae95b5df in SqlQueryMaker::qt_metacall (this=0x93cdf58, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf81078c)
    at /home/kubo/kde4/build/extragear/multimedia/amarok/src/collection/sqlcollection/SqlQueryMaker.moc:65
#42 0xb60cc3e5 in QMetaObject::activate (sender=0x97c4578, from_signal_index=5, to_signal_index=5, argv=0xbf81078c) at kernel/qobject.cpp:3016
#43 0xb60cc999 in QMetaObject::activate (sender=0x97c4578, m=0xb6e9e314, local_signal_index=1, argv=0xbf81078c) at kernel/qobject.cpp:3086
#44 0xb6e941f0 in ThreadWeaver::Job::done (this=0x97c4578, _t1=0x97c4578) at /home/kubo/kde4/build/KDE/kdelibs/threadweaver/Weaver/Job.moc:89
#45 0xb6e9439f in ThreadWeaver::Job::qt_metacall (this=0x97c4578, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9845538) at /home/kubo/kde4/build/KDE/kdelibs/threadweaver/Weaver/Job.moc:70
#46 0xb60c4fd2 in QMetaCallEvent::placeMetaCall (this=0x91d44f8, object=0x97c4578) at kernel/qobject.cpp:535
#47 0xb60c9f44 in QObject::event (this=0x97c4578, e=0x91d44f8) at kernel/qobject.cpp:1140
#48 0xb52ab593 in QApplicationPrivate::notify_helper (this=0x8c27590, receiver=0x97c4578, e=0x91d44f8) at kernel/qapplication.cpp:3800
#49 0xb52ab8a8 in QApplication::notify (this=0xbf81104c, receiver=0x97c4578, e=0x91d44f8) at kernel/qapplication.cpp:3392
#50 0xb7af6373 in KApplication::notify (this=0xbf81104c, receiver=0x97c4578, event=0x91d44f8) at /home/kubo/kde4/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#51 0xb60b3d1f in QCoreApplication::notifyInternal (this=0xbf81104c, receiver=0x97c4578, event=0x91d44f8) at kernel/qcoreapplication.cpp:591
#52 0xb69f305b in QCoreApplication::sendEvent (receiver=0x97c4578, event=0x91d44f8) at ../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#53 0xb60b42e2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8bf5ef8) at kernel/qcoreapplication.cpp:1202
#54 0xb60b4577 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1095
#55 0xb60eb93e in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#56 0xb60eab2b in postEventSourceDispatch (s=0x8c2bd48) at kernel/qeventdispatcher_glib.cpp:211
#57 0xb453c0e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#58 0xb453f783 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#59 0xb453f941 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#60 0xb60e9d42 in QEventDispatcherGlib::processEvents (this=0x8c07f28, flags={i = -1082061000}) at kernel/qeventdispatcher_glib.cpp:325
#61 0xb536bf0c in QGuiEventDispatcherGlib::processEvents (this=0x8c07f28, flags={i = -1082060952}) at kernel/qguieventdispatcher_glib.cpp:204
#62 0xb60b0388 in QEventLoop::processEvents (this=0xbf810fe8, flags={i = -1082060896}) at kernel/qeventloop.cpp:149
#63 0xb60b05c6 in QEventLoop::exec (this=0xbf810fe8, flags={i = -1082060816}) at kernel/qeventloop.cpp:200
#64 0xb60b4699 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#65 0xb52ab2ac in QApplication::exec () at kernel/qapplication.cpp:3330
#66 0x0804bde5 in main (argc=1, argv=0xbf811524) at /home/kubo/kde4/src/extragear/multimedia/amarok/src/main.cpp:126

If that's of any interest, here's what was shown in the terminal before the crash:

amarok: BEGIN: void CollectionTreeView::organizeTracks(const QSet<CollectionTreeItem*>&) const
amarok: END__: void CollectionTreeView::organizeTracks(const QSet<CollectionTreeItem*>&) const - Took 0.00055s
amarok:  [ERROR!]  sqlite3_compile error:
amarok:  [ERROR!] no such column: urls.uniqueid
amarok:  [ERROR!] on query:  "SELECT urls.deviceid, urls.rpath, urls.uniqueid, tracks.id, tracks.title, tracks.comment, tracks.tracknumber, tracks.discnumber, statistics.score, statistics.rating, tracks.bitrate, tracks.length, tracks.filesize, tracks.samplerate, statistics.createdate, statistics.accessdate, statistics.playcount, tracks.filetype, tracks.bpm,artists.name, artists.id, albums.name, albums.id, albums.artist, genres.name, genres.id, composers.name, composers.id, years.name, years.id FROM  urls LEFT JOIN tracks ON urls.id = tracks.url LEFT JOIN artists ON tracks.artist = artists.id LEFT JOIN albums ON tracks.album = albums.id LEFT JOIN artists AS albumartists ON albums.artist = albumartists.id LEFT JOIN genres ON tracks.genre = genres.id LEFT JOIN composers ON tracks.composer = composers.id LEFT JOIN years ON tracks.year = years.id LEFT JOIN statistics ON urls.id = statistics.url WHERE 1  AND albums.name = 'Ersatz' AND albumartists.name = '4/3 De Trio' AND artists.name = '4/3 De Trio';"
amarok: BEGIN: virtual void SqlCollectionLocation::showDestinationDialog(const Meta::TrackList&, bool)
amarok:   [MountPointManager] [WARNING!] NOT-IMPLEMENTED:  MountPointManager::MountPointManager()

amarok: BEGIN: void MountPointManager::init()
amarok:     [PluginManager] Plugin trader constraint:  "[X-KDE-Amarok-framework-version] == 33 and [X-KDE-Amarok-plugintype] == 'device' and [X-KDE-Amarok-rank] > 0"
amarok:     [MountPointManager] Received [ "0" ] device plugin offers
amarok: END__: void MountPointManager::init() - Took 0.0026s
amarok: BEGIN: QStringList MountPointManager::collectionFolders()
amarok:     [MountPointManager] QDesktopServices::MusicLocation:  ""
amarok: END__: QStringList MountPointManager::collectionFolders() - Took 0.00059s
ASSERT: "d" in file /home/kubo/kde4/include/ksharedptr.h, line 115
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = amarok path = <unknown> pid = 29584
sock_file=/home/kubo/.kde4trunk/socket-sabato/kdeinit4__0
Comment 1 Raphael Kubo da Costa 2008-08-06 02:19:27 UTC
Actually, after I removed $KDEDIR/share/apps/amarok/collection* and reran Amarok it showed my songs in the Local Collection correctly and I was able to use Organize Files successfully. Apparently just updating or rescanning the collection didn't create the appropriate columns in the SQLite database.

I don't know if this bug should be closed as WORKSFORME, or a new bug should be filed about this database problem or if the bug should be kept open due to the crash that happened.
Comment 2 Lydia Pintscher 2008-08-06 02:30:14 UTC
I am going to close it since there were changes to the db scheme recently.
Should not make it crash though. I think there is another bug report about that open.