Bug 219159

Summary: Tried to add Radio stream from Cool Streams to local collection
Product: [Applications] amarok Reporter: Martin L ü c h e m <Heinrich20>
Component: Collections/LocalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: crash CC: anselmolsm, arch.ingvar, glua, jflaker, kenneth.j.kruger, matej, ralf-engels, unnamedrambler
Priority: NOR    
Version: 2.3-GIT   
Target Milestone: 2.3.0   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 2.3.1
Sentry Crash Report:

Description Martin L ü c h e m 2009-12-18 11:14:06 UTC
Application that crashed: amarok
Version of the application: 2.2.1
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.30-2-amd64 x86_64
Distribution: Debian GNU/Linux 5.0.3 (lenny)

What I was doing when the application crashed:
Tried to add Radio stream to local playlist - crash!

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fd62cdde770 (LWP 4550))]

Thread 18 (Thread 0x7fd611db0910 (LWP 4556)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fd6183d5dd1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7fd610258910 (LWP 4557)):
#0  0x00007fd62443ac9f in __pthread_mutex_lock (mutex=0xd9aa78) at pthread_mutex_lock.c:62
#1  0x00007fd623063bc8 in g_main_context_release () from /lib/libglib-2.0.so.0
#2  0x00007fd6230658c9 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fd623065b4c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007fd62b4073b6 in QEventDispatcherGlib::processEvents (this=0xd9a990, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007fd62b3dd562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd62b3dd934 in QEventLoop::exec (this=0x7fd610257fe0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fd62b2f65a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007fd618630aec in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x00007fd62b2f94a5 in QThreadPrivate::start (arg=0xd9a310) at thread/qthread_unix.cpp:188
#10 0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 16 (Thread 0x7fd60f84e910 (LWP 4565)):
#0  0x00007fd629ec6743 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd60f853849 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 15 (Thread 0x7fd60f04d910 (LWP 4567)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6183e6d43 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fd60e443910 (LWP 4572)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6183e6d43 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 13 (Thread 0x7fd60dc42910 (LWP 4573)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6183e6d43 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fd60d441910 (LWP 4574)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6183e6d43 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fd60bd21910 (LWP 4607)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd62b2fa499 in QWaitConditionPrivate::wait (this=0x1aa8048, mutex=0x1835060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1aa8048, mutex=0x1835060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd627184e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1aa8020, th=0x19b99c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd62718754b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x19b99c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd627187564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x19b99c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd627187564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x19b99c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fd627185b1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd60bd21030, parent=0x1aa8020, th=0x19b99c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fd627185f59 in ThreadWeaver::Thread::run (this=0x19b99c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fd62b2f94a5 in QThreadPrivate::start (arg=0x19b99c0) at thread/qthread_unix.cpp:188
#10 0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fd6006b9910 (LWP 4613)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd62b2fa499 in QWaitConditionPrivate::wait (this=0x1aa8048, mutex=0x1835060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1aa8048, mutex=0x1835060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd627184e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1aa8020, th=0x1a899f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd62718754b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x1a899f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd627187564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x1a899f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd627185b1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd6006b9030, parent=0x1aa8020, th=0x1a899f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fd627185f59 in ThreadWeaver::Thread::run (this=0x1a899f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fd62b2f94a5 in QThreadPrivate::start (arg=0x1a899f0) at thread/qthread_unix.cpp:188
#9  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fd5ffeb8910 (LWP 4625)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd62b2fa499 in QWaitConditionPrivate::wait (this=0x1aa8048, mutex=0x1835060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1aa8048, mutex=0x1835060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd627184e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1aa8020, th=0x228a820) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd62718754b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x228a820) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd627185b1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd5ffeb8030, parent=0x1aa8020, th=0x228a820) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd627185f59 in ThreadWeaver::Thread::run (this=0x228a820) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd62b2f94a5 in QThreadPrivate::start (arg=0x228a820) at thread/qthread_unix.cpp:188
#8  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fd5f2e60910 (LWP 4655)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd62b2fa499 in QWaitConditionPrivate::wait (this=0x1aa8048, mutex=0x1835060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1aa8048, mutex=0x1835060, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd627184e04 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1aa8020, th=0x239e250) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd62718754b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x239e250) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd627187564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x239e250) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd627187564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x239e250) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fd627187564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x239e250) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fd627187564 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1657120, th=0x239e250) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007fd627185b1f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd5f2e60030, parent=0x1aa8020, th=0x239e250) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x00007fd627185f59 in ThreadWeaver::Thread::run (this=0x239e250) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007fd62b2f94a5 in QThreadPrivate::start (arg=0x239e250) at thread/qthread_unix.cpp:188
#12 0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fd5feeb6910 (LWP 5516)):
#0  0x00007fd629ecaf82 in select () from /lib/libc.so.6
#1  0x00007fd6183fe484 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007fd6183e38ab in ?? () from /usr/lib/libxine.so.1
#3  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fd5f0a0a910 (LWP 6314)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6183d979b in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd6183df5ce in ?? () from /usr/lib/libxine.so.1
#3  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 5 (Thread 0x7fd5e9294910 (LWP 6315)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6183d979b in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd6183e064e in ?? () from /usr/lib/libxine.so.1
#3  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7fd5e9a95910 (LWP 6316)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd6183e995b in ?? () from /usr/lib/libxine.so.1
#2  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd5f120b910 (LWP 6317)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fd62b2fa499 in QWaitConditionPrivate::wait (this=0x76c1dd8, mutex=0x76c1dd0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x76c1dd8, mutex=0x76c1dd0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd62ad1beee in QFileInfoGatherer::run (this=0x76c1dc0) at dialogs/qfileinfogatherer.cpp:207
#4  0x00007fd62b2f94a5 in QThreadPrivate::start (arg=0x76c1dc0) at thread/qthread_unix.cpp:188
#5  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd5e8a93910 (LWP 6318)):
#0  0x00007fd629ec6743 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd623065869 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fd623065b4c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fd62b4073b6 in QEventDispatcherGlib::processEvents (this=0x7721cf0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007fd62b3dd562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd62b3dd934 in QEventLoop::exec (this=0x7fd5e8a92ff0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd62b2f65a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd62b3c1498 in QInotifyFileSystemWatcherEngine::run (this=0x7714c30) at io/qfilesystemwatcher_inotify.cpp:214
#8  0x00007fd62b2f94a5 in QThreadPrivate::start (arg=0x7714c30) at thread/qthread_unix.cpp:188
#9  0x00007fd62443873a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fd629ed169d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd62cdde770 (LWP 4550)):
[KCrash Handler]
#5  0x00007fd62c11ad0c in OrganizeCollectionDialog::buildDestination (this=0x728d250, format=..., track=...) at ../../src/dialogs/OrganizeCollectionDialog.cpp:141
#6  0x00007fd62c11ef3a in OrganizeCollectionDialog::preview (this=0x728d250, format=<value optimized out>) at ../../src/dialogs/OrganizeCollectionDialog.cpp:264
#7  0x00007fd62c11efb7 in OrganizeCollectionDialog::slotUpdatePreview (this=0x728d250) at ../../src/dialogs/OrganizeCollectionDialog.cpp:327
#8  0x00007fd62c11f5f0 in OrganizeCollectionDialog (this=0x728d250, tracks=<value optimized out>, folders=..., parent=<value optimized out>, name=<value optimized out>, modal=<value optimized out>, 
    caption=..., buttonMask=...) at ../../src/dialogs/OrganizeCollectionDialog.cpp:101
#9  0x00007fd60c257b51 in SqlCollectionLocation::showDestinationDialog (this=0x757b010, tracks=..., removeSources=<value optimized out>)
    at ../../../../src/collection/sqlcollection/SqlCollectionLocation.cpp:154
#10 0x00007fd62bf5c568 in CollectionLocation::qt_metacall (this=0x757b010, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa75cd270) at ./CollectionLocation.moc:121
#11 0x00007fd60c25cd75 in SqlCollectionLocation::qt_metacall (this=0x7fffa75ccf00, _c=QMetaObject::InvokeMetaMethod, _id=-64, _a=0x22937ed) at ./SqlCollectionLocation.moc:65
#12 0x00007fd62b3f3df2 in QMetaObject::activate (sender=0x1d7b1d0, from_signal_index=<value optimized out>, to_signal_index=8, argv=0x22937ed) at kernel/qobject.cpp:3112
#13 0x00007fd62bf5a3a6 in CollectionLocation::prepareOperation (this=0x7fffa75ccf00, _t1=<value optimized out>, _t2=false) at ./CollectionLocation.moc:166
#14 0x00007fd62bf5bbac in CollectionLocation::startWorkflow (this=0x1d7b1d0, tracks=..., removeSources=false) at ../../src/collection/CollectionLocation.cpp:460
#15 0x00007fd62bf5c1a3 in CollectionLocation::queryDone (this=0x1d7b1d0) at ../../src/collection/CollectionLocation.cpp:423
#16 0x00007fd62bf5c4e2 in CollectionLocation::qt_metacall (this=0x1d7b1d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa75cd450) at ./CollectionLocation.moc:129
#17 0x00007fd62b3f3df2 in QMetaObject::activate (sender=0x1d6f570, from_signal_index=<value optimized out>, to_signal_index=12, argv=0x22937ed) at kernel/qobject.cpp:3112
#18 0x00007fd62bf5d205 in MetaQueryMaker::qt_metacall (this=0x1d6f570, _c=QMetaObject::InvokeMetaMethod, _id=-1487089920, _a=<value optimized out>) at ./MetaQueryMaker.moc:66
#19 0x00007fd62b3f3df2 in QMetaObject::activate (sender=0x73322a0, from_signal_index=<value optimized out>, to_signal_index=12, argv=0x22937ed) at kernel/qobject.cpp:3112
#20 0x00007fd62bccd0e6 in ScriptableServiceQueryMaker::fetchTracks (this=0x73322a0) at ../../src/services/scriptable/ScriptableServiceQueryMaker.cpp:342
#21 0x00007fd62bccd799 in ScriptableServiceQueryMaker::run (this=0x73322a0) at ../../src/services/scriptable/ScriptableServiceQueryMaker.cpp:112
#22 0x00007fd62bf5d9cd in MetaQueryMaker::run (this=<value optimized out>) at ../../src/collection/MetaQueryMaker.cpp:84
#23 0x00007fd62bf5c0c5 in CollectionLocation::prepareCopy (this=0x1d7b1d0, qm=0x1d6f570, destination=0x757b010) at ../../src/collection/CollectionLocation.cpp:126
#24 0x00007fd62bcf91dc in CollectionTreeView::copyTracks (this=<value optimized out>, items=<value optimized out>, destination=<value optimized out>, removeSources=<value optimized out>)
    at ../../src/browsers/CollectionTreeView.cpp:771
#25 0x00007fd62bcf9774 in CollectionTreeView::slotCopyTracks (this=0x2a83560) at ../../src/browsers/CollectionTreeView.cpp:1155
#26 0x00007fd62bcf98ba in CollectionTreeView::qt_metacall (this=0x2a83560, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa75cdb40) at ./CollectionTreeView.moc:116
#27 0x00007fd62b3f3df2 in QMetaObject::activate (sender=0x72e1820, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x22937ed) at kernel/qobject.cpp:3112
#28 0x00007fd62a852147 in QAction::triggered (this=0x7fffa75ccf00, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#29 0x00007fd62a8535c0 in QAction::activate (this=0x72e1820, event=<value optimized out>) at kernel/qaction.cpp:1167
#30 0x00007fd62ac4e15d in QMenuPrivate::activateCausedStack (this=0x76774f0, causedStack=..., action=0x72e1820, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#31 0x00007fd62ac5408f in QMenuPrivate::activateAction (this=0x76774f0, action=0x72e1820, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1060
#32 0x00007fd62c8e47a1 in KMenu::mouseReleaseEvent (this=0x743c7a0, e=0x7fffa75ce780) at ../../kdeui/widgets/kmenu.cpp:456
#33 0x00007fd62a8a837f in QWidget::event (this=0x743c7a0, event=0x7fffa75ce780) at kernel/qwidget.cpp:7554
#34 0x00007fd62ac567eb in QMenu::event (this=0x743c7a0, e=0x7fffa75ce780) at widgets/qmenu.cpp:2358
#35 0x00007fd62a85801d in QApplicationPrivate::notify_helper (this=0xb44d50, receiver=0x743c7a0, e=0x7fffa75ce780) at kernel/qapplication.cpp:4065
#36 0x00007fd62a8607ca in QApplication::notify (this=<value optimized out>, receiver=0x743c7a0, e=0x7fffa75ce780) at kernel/qapplication.cpp:3767
#37 0x00007fd62c8130db in KApplication::notify (this=0x7fffa75d3440, receiver=0x743c7a0, event=0x7fffa75ce780) at ../../kdeui/kernel/kapplication.cpp:302
#38 0x00007fd62b3dec9c in QCoreApplication::notifyInternal (this=0x7fffa75d3440, receiver=0x743c7a0, event=0x7fffa75ce780) at kernel/qcoreapplication.cpp:610
#39 0x00007fd62a85fa78 in QCoreApplication::sendSpontaneousEvent (receiver=0x743c7a0, event=0x7fffa75ce780, alienWidget=0x0, nativeWidget=0x743c7a0, buttonDown=<value optimized out>, 
    lastMouseReceiver=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#40 QApplicationPrivate::sendMouseEvent (receiver=0x743c7a0, event=0x7fffa75ce780, alienWidget=0x0, nativeWidget=0x743c7a0, buttonDown=<value optimized out>, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#41 0x00007fd62a8c8814 in QETWidget::translateMouseEvent (this=0x743c7a0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4345
#42 0x00007fd62a8c740f in QApplication::x11ProcessEvent (this=0x7fffa75d3440, event=0x7fffa75d0150) at kernel/qapplication_x11.cpp:3552
#43 0x00007fd62a8ef76c in x11EventSourceDispatch (s=0xb486d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x00007fd62306213a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x00007fd623065998 in ?? () from /lib/libglib-2.0.so.0
#46 0x00007fd623065b4c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0x00007fd62b40739c in QEventDispatcherGlib::processEvents (this=0xa2af10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#48 0x00007fd62a8eef1f in QGuiEventDispatcherGlib::processEvents (this=0x7fffa75ccf00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#49 0x00007fd62b3dd562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007fd62b3dd934 in QEventLoop::exec (this=0x7fffa75d0480, flags=...) at kernel/qeventloop.cpp:201
#51 0x00007fd62ac56665 in QMenu::exec (this=<value optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:1998
#52 0x00007fd62bcfc283 in CollectionTreeView::contextMenuEvent (this=0x2a83560, event=0x7fffa75d16b0) at ../../src/browsers/CollectionTreeView.cpp:275
#53 0x00007fd62bea7ddd in ServiceCollectionTreeView::contextMenuEvent (this=0x7fffa75ccf00, event=0x7fffa75d16b0) at ../../src/services/ServiceCollectionTreeView.cpp:52
#54 0x00007fd62a8a884b in QWidget::event (this=0x2a83560, event=0x7fffa75d16b0) at kernel/qwidget.cpp:7713
#55 0x00007fd62ac1092b in QFrame::event (this=0x2a83560, e=0x7fffa75d16b0) at widgets/qframe.cpp:559
#56 0x00007fd62ad4298b in QAbstractItemView::viewportEvent (this=0x2a83560, event=0x7fffa75d16b0) at itemviews/qabstractitemview.cpp:1476
#57 0x00007fd62ad7a689 in QTreeView::viewportEvent (this=0x2a83560, event=0x7fffa75d16b0) at itemviews/qtreeview.cpp:1266
#58 0x00007fd62b3ddfb8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2a82aa0, event=0x7fffa75d16b0) at kernel/qcoreapplication.cpp:726
#59 0x00007fd62a857fec in QApplicationPrivate::notify_helper (this=0xb44d50, receiver=0x2a82aa0, e=0x7fffa75d16b0) at kernel/qapplication.cpp:4061
#60 0x00007fd62a86050a in QApplication::notify (this=<value optimized out>, receiver=0x2a82aa0, e=0x7fffa75d16b0) at kernel/qapplication.cpp:3854
#61 0x00007fd62c8130db in KApplication::notify (this=0x7fffa75d3440, receiver=0x2a82aa0, event=0x7fffa75d16b0) at ../../kdeui/kernel/kapplication.cpp:302
#62 0x00007fd62b3dec9c in QCoreApplication::notifyInternal (this=0x7fffa75d3440, receiver=0x2a82aa0, event=0x7fffa75d16b0) at kernel/qcoreapplication.cpp:610
#63 0x00007fd62a8c8c9b in QETWidget::translateMouseEvent (this=0xc5d390, event=<value optimized out>) at kernel/qapplication_x11.cpp:4417
#64 0x00007fd62a8c740f in QApplication::x11ProcessEvent (this=0x7fffa75d3440, event=0x7fffa75d30b0) at kernel/qapplication_x11.cpp:3552
#65 0x00007fd62a8ef76c in x11EventSourceDispatch (s=0xb486d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#66 0x00007fd62306213a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#67 0x00007fd623065998 in ?? () from /lib/libglib-2.0.so.0
#68 0x00007fd623065b4c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#69 0x00007fd62b40739c in QEventDispatcherGlib::processEvents (this=0xa2af10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#70 0x00007fd62a8eef1f in QGuiEventDispatcherGlib::processEvents (this=0x7fffa75ccf00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#71 0x00007fd62b3dd562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#72 0x00007fd62b3dd934 in QEventLoop::exec (this=0x7fffa75d33e0, flags=...) at kernel/qeventloop.cpp:201
#73 0x00007fd62b3dfba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#74 0x0000000000409dc7 in main (argc=1, argv=0x7fffa75d5258) at ../../src/main.cpp:227
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-12-18 11:58:33 UTC
How did you try to add this stream? The backtrace shows some strange behavior, seems you used the OrganizeFiles Dialog for that.

Adding a stream to the playlist is done through the Playlist menu -> Add stream which doesn't crash here with Amarok 2.2-git at all. Could you eventually provide that stream link so we can test it?
Comment 2 Martin L ü c h e m 2009-12-18 12:26:15 UTC
1. "OrganizeFiles Dialog" - never seen that before! Where is this function? I did not look at the backtrace but whose behaviour do you think of to be strange?

2. Can you please explain, how to copy the stream link into the clipboard so that I can send it to you?

3. Here is what I did: 
"Media Sources" -> "Internet Services" -> "Cool Streams" -> select stream -> "right mouse button click" -> "Add to local playlist" => crash

Martin
Comment 3 Myriam Schweingruber 2009-12-18 13:36:49 UTC
Add to playlist works here in Amarok 2.2-git, I just tried all Cool Streams. 

What you tried to do is add it to the local collection, which you can't do with a radio stream. But it shouldn't crash, indeed.

Here is my backtrace, using Amarok 2.2-git, Kubuntu 9.10 with KDE 4.3.4, Qt 4.5.3:

Application: Amarok (amarok), signal: Aborted
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f61f1fda770 (LWP 812))]

Thread 15 (Thread 0x7f61d9f5b910 (LWP 813)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f61de4d5c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f61d8a12910 (LWP 814)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61ef9b64fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3d3dba8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3d3dba8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f61de75d18c in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f61de762a02 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#5  0x00007f61de4d35d6 in xine_open () from /usr/lib/libxine.so.1
#6  0x00007f61de739fd5 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#7  0x00007f61de73e0e6 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f61f03bfefc in QApplicationPrivate::notify_helper (this=0x1deb3a0, receiver=0x1fc1000, e=0x3302640) at kernel/qapplication.cpp:4056
#9  0x00007f61f03c71ce in QApplication::notify (this=0x7fff16d382e0, receiver=0x1fc1000, e=0x3302640) at kernel/qapplication.cpp:4021
#10 0x00007f61f1b9ae56 in KApplication::notify (this=0x7fff16d382e0, receiver=0x1fc1000, event=0x3302640) at ../../kdeui/kernel/kapplication.cpp:302
#11 0x00007f61efa9bc2c in QCoreApplication::notifyInternal (this=0x7fff16d382e0, receiver=0x1fc1000, event=0x3302640) at kernel/qcoreapplication.cpp:610
#12 0x00007f61efa9c80a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1fbf480) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1fbf480) at kernel/qcoreapplication.cpp:1247
#14 0x00007f61efac4533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#15 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#16 0x00007f61e8509bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#17 0x00007f61e850d598 in ?? () from /lib/libglib-2.0.so.0
#18 0x00007f61e850d6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#19 0x00007f61efac41a6 in QEventDispatcherGlib::processEvents (this=0x1dd59b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#20 0x00007f61efa9a532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#21 0x00007f61efa9a904 in QEventLoop::exec (this=0x7f61d8a11fe0, flags=) at kernel/qeventloop.cpp:201
#22 0x00007f61ef9b26cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#23 0x00007f61de73056e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#24 0x00007f61ef9b5445 in QThreadPrivate::start (arg=0x1fbf1e0) at thread/qthread_unix.cpp:188
#25 0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#26 0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 13 (Thread 0x7f61d8007910 (LWP 817)):
#0  0x00007f61ef194373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f61d800dcbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f61d7806910 (LWP 818)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61de4e6983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 11 (Thread 0x7f61d6bfa910 (LWP 819)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61de4e6983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 10 (Thread 0x7f61d63f9910 (LWP 820)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61de4e6983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f61d4cdb910 (LWP 822)):
#0  0x00007f61ef1993c2 in select () from /lib/libc.so.6
#1  0x00007f61de4fe725 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f61de4e37e9 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f61ca1f0910 (LWP 823)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61ef9b64fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2e016f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2e016f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f61ecd92326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2e01310, th=0x2e01c90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f61ecd9445b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2dffa40, th=0x2e01c90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f61ecd92a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f61ca1f0030, parent=0x2e01310, th=0x2e01c90) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f61ecd92eb8 in ThreadWeaver::Thread::run (this=0x2e01c90) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f61ef9b5445 in QThreadPrivate::start (arg=0x2e01c90) at thread/qthread_unix.cpp:188
#8  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 7 (Thread 0x7f61c99ef910 (LWP 824)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61ef9b64fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2e016f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2e016f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f61ecd92326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2e01310, th=0x2e026d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f61ecd9445b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2dffa40, th=0x2e026d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f61ecd94474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2dffa40, th=0x2e026d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f61ecd94474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2dffa40, th=0x2e026d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f61ecd94474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2dffa40, th=0x2e026d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f61ecd92a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f61c99ef030, parent=0x2e01310, th=0x2e026d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f61ecd92eb8 in ThreadWeaver::Thread::run (this=0x2e026d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f61ef9b5445 in QThreadPrivate::start (arg=0x2e026d0) at thread/qthread_unix.cpp:188
#11 0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7f61c91ee910 (LWP 825)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61ef9b64fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2e016f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2e016f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f61ecd92326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2e01310, th=0x2a11930) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f61ecd9445b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2dffa40, th=0x2a11930) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f61ecd94474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2dffa40, th=0x2a11930) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f61ecd94474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2dffa40, th=0x2a11930) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f61ecd92a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f61c91ee030, parent=0x2e01310, th=0x2a11930) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f61ecd92eb8 in ThreadWeaver::Thread::run (this=0x2a11930) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f61ef9b5445 in QThreadPrivate::start (arg=0x2a11930) at thread/qthread_unix.cpp:188
#10 0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f61c89ed910 (LWP 826)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61ef9b64fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2e016f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2e016f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f61ecd92326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2e01310, th=0x29b28a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f61ecd9445b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2dffa40, th=0x29b28a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f61ecd94474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2dffa40, th=0x29b28a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f61ecd92a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f61c89ed030, parent=0x2e01310, th=0x29b28a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f61ecd92eb8 in ThreadWeaver::Thread::run (this=0x29b28a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f61ef9b5445 in QThreadPrivate::start (arg=0x29b28a0) at thread/qthread_unix.cpp:188
#9  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f61c7ba3910 (LWP 1404)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61de4d954b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f61de4df51d in ?? () from /usr/lib/libxine.so.1
#3  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f61a5ecd910 (LWP 1405)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61de4d954b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f61de4e0555 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f61b27c4910 (LWP 1406)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f61de4e9a0b in xine_event_wait () from /usr/lib/libxine.so.1
#2  0x00007f61de4e9a7e in ?? () from /usr/lib/libxine.so.1
#3  0x00007f61ea046a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f61ef1a07bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f61f1fda770 (LWP 812)):
[KCrash Handler]
#5  0x00007f61ef0f44b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f61ef0f7f50 in *__GI_abort () at abort.c:92
#7  0x00007f61ef9ad864 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2042
#8  0x00007f61ef9ad9b6 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2241
#9  0x00007f61f0f9cd08 in KSharedPtr<Meta::Artist>::operator-> (this=0x7fff16d31dd0) at /usr/include/ksharedptr.h:126
#10 0x00007f61f13fda1a in OrganizeCollectionDialog::buildDestination (this=0xec51ea0, format=..., track=...) at /home/myriam/kde/src/amarok/src/dialogs/OrganizeCollectionDialog.cpp:141
#11 0x00007f61f13fff98 in OrganizeCollectionDialog::preview (this=0xec51ea0, format=...) at /home/myriam/kde/src/amarok/src/dialogs/OrganizeCollectionDialog.cpp:264
#12 0x00007f61f14006fb in OrganizeCollectionDialog::slotUpdatePreview (this=0xec51ea0) at /home/myriam/kde/src/amarok/src/dialogs/OrganizeCollectionDialog.cpp:327
#13 0x00007f61f14006c4 in OrganizeCollectionDialog::init (this=0xec51ea0) at /home/myriam/kde/src/amarok/src/dialogs/OrganizeCollectionDialog.cpp:321
#14 0x00007f61f13fd269 in OrganizeCollectionDialog (this=0xec51ea0, tracks=..., folders=..., parent=0x1ebf210, name=0x7f61d54fe221 "", modal=true, caption=..., buttonMask=...)
    at /home/myriam/kde/src/amarok/src/dialogs/OrganizeCollectionDialog.cpp:101
#15 0x00007f61d51eac73 in SqlCollectionLocation::showDestinationDialog (this=0x273a250, tracks=..., removeSources=false)
    at /home/myriam/kde/src/amarok/src/collection/sqlcollection/SqlCollectionLocation.cpp:154
#16 0x00007f61f123a029 in CollectionLocation::slotPrepareOperation (this=0x273a250, tracks=..., removeSources=false) at /home/myriam/kde/src/amarok/src/collection/CollectionLocation.cpp:344
#17 0x00007f61f123ae66 in CollectionLocation::qt_metacall (this=0x273a250, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fff16d32260) at /home/myriam/kde/build/amarok/src/CollectionLocation.moc:121
#18 0x00007f61d51ece79 in SqlCollectionLocation::qt_metacall (this=0x273a250, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x7fff16d32260)
    at /home/myriam/kde/build/amarok/src/collection/mysqlecollection/SqlCollectionLocation.moc:65
#19 0x00007f61efab0ddc in QMetaObject::activate (sender=0x3487cd0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#20 0x00007f61f123b068 in CollectionLocation::prepareOperation (this=0x3487cd0, _t1=..., _t2=false) at /home/myriam/kde/build/amarok/src/CollectionLocation.moc:166
#21 0x00007f61f1239f66 in CollectionLocation::slotShowSourceDialogDone (this=0x3487cd0) at /home/myriam/kde/src/amarok/src/collection/CollectionLocation.cpp:324
#22 0x00007f61f1239a79 in CollectionLocation::showSourceDialog (this=0x3487cd0, tracks=..., removeSources=false) at /home/myriam/kde/src/amarok/src/collection/CollectionLocation.cpp:267
#23 0x00007f61f123a73f in CollectionLocation::startWorkflow (this=0x3487cd0, tracks=..., removeSources=false) at /home/myriam/kde/src/amarok/src/collection/CollectionLocation.cpp:460
#24 0x00007f61f1238f93 in CollectionLocation::prepareCopy (this=0x3487cd0, tracks=..., destination=0x273a250) at /home/myriam/kde/src/amarok/src/collection/CollectionLocation.cpp:106
#25 0x00007f61f123a42b in CollectionLocation::queryDone (this=0x3487cd0) at /home/myriam/kde/src/amarok/src/collection/CollectionLocation.cpp:423
#26 0x00007f61f123af0c in CollectionLocation::qt_metacall (this=0x3487cd0, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fff16d32510) at /home/myriam/kde/build/amarok/src/CollectionLocation.moc:129
#27 0x00007f61f0f46eb5 in ServiceCollectionLocation::qt_metacall (this=0x3487cd0, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0x7fff16d32510)
    at /home/myriam/kde/build/amarok/src/moc_ServiceCollectionLocation.cpp:58
#28 0x00007f61efab0ddc in QMetaObject::activate (sender=0xe9d0960, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#29 0x00007f61f123f40b in QueryMaker::queryDone (this=0xe9d0960) at /home/myriam/kde/build/amarok/src/QueryMaker.moc:158
#30 0x00007f61f123e562 in MetaQueryMaker::slotQueryDone (this=0xe9d0960) at /home/myriam/kde/src/amarok/src/collection/MetaQueryMaker.cpp:307
#31 0x00007f61f123e634 in MetaQueryMaker::qt_metacall (this=0xe9d0960, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff16d32690) at /home/myriam/kde/build/amarok/src/MetaQueryMaker.moc:66
#32 0x00007f61efab0ddc in QMetaObject::activate (sender=0xe56de10, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#33 0x00007f61f123f40b in QueryMaker::queryDone (this=0xe56de10) at /home/myriam/kde/build/amarok/src/QueryMaker.moc:158
#34 0x00007f61f0f73258 in ScriptableServiceQueryMaker::fetchTracks (this=0xe56de10) at /home/myriam/kde/src/amarok/src/services/scriptable/ScriptableServiceQueryMaker.cpp:342
#35 0x00007f61f0f71c21 in ScriptableServiceQueryMaker::run (this=0xe56de10) at /home/myriam/kde/src/amarok/src/services/scriptable/ScriptableServiceQueryMaker.cpp:112
#36 0x00007f61f123c904 in MetaQueryMaker::run (this=0xe9d0960) at /home/myriam/kde/src/amarok/src/collection/MetaQueryMaker.cpp:84
#37 0x00007f61f12390cf in CollectionLocation::prepareCopy (this=0x3487cd0, qm=0xe9d0960, destination=0x273a250) at /home/myriam/kde/src/amarok/src/collection/CollectionLocation.cpp:126
#38 0x00007f61f0fa6f18 in CollectionTreeView::copyTracks (this=0x43a3900, items=..., destination=0x2458e90, removeSources=false) at /home/myriam/kde/src/amarok/src/browsers/CollectionTreeView.cpp:766
#39 0x00007f61f0fa9592 in CollectionTreeView::slotCopyTracks (this=0x43a3900) at /home/myriam/kde/src/amarok/src/browsers/CollectionTreeView.cpp:1150
#40 0x00007f61f0fa9e89 in CollectionTreeView::qt_metacall (this=0x43a3900, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7fff16d32c30) at /home/myriam/kde/build/amarok/src/CollectionTreeView.moc:116
#41 0x00007f61efab0ddc in QMetaObject::activate (sender=0x275b3e0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#42 0x00007f61f03ba0a7 in QAction::triggered (this=0x32c, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#43 0x00007f61f03bb4ef in QAction::activate (this=0x275b3e0, event=<value optimized out>) at kernel/qaction.cpp:1160
#44 0x00007f61f07a7ecd in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x275b3e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#45 0x00007f61f07addea in QMenuPrivate::activateAction (this=0xedbd6e0, action=0x275b3e0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#46 0x00007f61f1c6d64e in KMenu::mouseReleaseEvent (this=0xe5ac560, e=0x32c) at ../../kdeui/widgets/kmenu.cpp:456
#47 0x00007f61f040e9c0 in QWidget::event (this=0xe5ac560, event=0x7fff16d33650) at kernel/qwidget.cpp:7549
#48 0x00007f61f07b05ab in QMenu::event (this=0xe5ac560, e=0x7fff16d33650) at widgets/qmenu.cpp:2353
#49 0x00007f61f03bfefc in QApplicationPrivate::notify_helper (this=0x1deb3a0, receiver=0xe5ac560, e=0x7fff16d33650) at kernel/qapplication.cpp:4056
#50 0x00007f61f03c7011 in QApplication::notify (this=<value optimized out>, receiver=0xe5ac560, e=0x7fff16d33650) at kernel/qapplication.cpp:3758
#51 0x00007f61f1b9ae56 in KApplication::notify (this=0x7fff16d382e0, receiver=0xe5ac560, event=0x7fff16d33650) at ../../kdeui/kernel/kapplication.cpp:302
#52 0x00007f61efa9bc2c in QCoreApplication::notifyInternal (this=0x7fff16d382e0, receiver=0xe5ac560, event=0x7fff16d33650) at kernel/qcoreapplication.cpp:610
#53 0x00007f61f03c68e0 in QCoreApplication::sendSpontaneousEvent (receiver=0xe5ac560, event=0x7fff16d33650, alienWidget=0x0, nativeWidget=0xe5ac560, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#54 QApplicationPrivate::sendMouseEvent (receiver=0xe5ac560, event=0x7fff16d33650, alienWidget=0x0, nativeWidget=0xe5ac560, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>)
    at kernel/qapplication.cpp:2924
#55 0x00007f61f042ce2e in QETWidget::translateMouseEvent (this=0xe5ac560, event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#56 0x00007f61f042baa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff16d35180) at kernel/qapplication_x11.cpp:3550
#57 0x00007f61f0454d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#58 0x00007f61e8509bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#59 0x00007f61e850d598 in ?? () from /lib/libglib-2.0.so.0
#60 0x00007f61e850d6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#61 0x00007f61efac41a6 in QEventDispatcherGlib::processEvents (this=0x1caeb90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#62 0x00007f61f04544be in QGuiEventDispatcherGlib::processEvents (this=0x32c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#63 0x00007f61efa9a532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#64 0x00007f61efa9a904 in QEventLoop::exec (this=0x7fff16d354b0, flags=) at kernel/qeventloop.cpp:201
#65 0x00007f61f07b0425 in QMenu::exec (this=0xe301ca0, p=<value optimized out>, action=0x0) at widgets/qmenu.cpp:1993
#66 0x00007f61f0fa3e95 in CollectionTreeView::contextMenuEvent (this=0x43a3900, event=0x7fff16d363f0) at /home/myriam/kde/src/amarok/src/browsers/CollectionTreeView.cpp:270
#67 0x00007f61f1186885 in ServiceCollectionTreeView::contextMenuEvent (this=0x43a3900, event=0x7fff16d363f0) at /home/myriam/kde/src/amarok/src/services/ServiceCollectionTreeView.cpp:52
#68 0x00007f61f040ee55 in QWidget::event (this=0x43a3900, event=0x7fff16d363f0) at kernel/qwidget.cpp:7708
#69 0x00007f61f076a2a6 in QFrame::event (this=0x43a3900, e=0x7fff16d363f0) at widgets/qframe.cpp:559
#70 0x00007f61f089d21b in QAbstractItemView::viewportEvent (this=0x43a3900, event=0x7fff16d363f0) at itemviews/qabstractitemview.cpp:1476
#71 0x00007f61f08d4420 in QTreeView::viewportEvent (this=0x43a3900, event=0x7fff16d363f0) at itemviews/qtreeview.cpp:1266
#72 0x00007f61efa9af47 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x43a3280, event=0x7fff16d363f0) at kernel/qcoreapplication.cpp:726
#73 0x00007f61f03bfecc in QApplicationPrivate::notify_helper (this=0x1deb3a0, receiver=0x43a3280, e=0x7fff16d363f0) at kernel/qapplication.cpp:4052
#74 0x00007f61f03c7527 in QApplication::notify (this=0x7fff16d382e0, receiver=0x43a3280, e=0x7fff16d363f0) at kernel/qapplication.cpp:3845
#75 0x00007f61f1b9ae56 in KApplication::notify (this=0x7fff16d382e0, receiver=0x43a3280, event=0x7fff16d363f0) at ../../kdeui/kernel/kapplication.cpp:302
#76 0x00007f61efa9bc2c in QCoreApplication::notifyInternal (this=0x7fff16d382e0, receiver=0x43a3280, event=0x7fff16d363f0) at kernel/qcoreapplication.cpp:610
#77 0x00007f61f042cfae in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4415
#78 0x00007f61f042baa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff16d37f50) at kernel/qapplication_x11.cpp:3550
#79 0x00007f61f0454d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#80 0x00007f61e8509bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#81 0x00007f61e850d598 in ?? () from /lib/libglib-2.0.so.0
#82 0x00007f61e850d6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#83 0x00007f61efac41a6 in QEventDispatcherGlib::processEvents (this=0x1caeb90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#84 0x00007f61f04544be in QGuiEventDispatcherGlib::processEvents (this=0x32c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#85 0x00007f61efa9a532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#86 0x00007f61efa9a904 in QEventLoop::exec (this=0x7fff16d38280, flags=) at kernel/qeventloop.cpp:201
#87 0x00007f61efa9cab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#88 0x000000000040acdf in main (argc=3, argv=0x7fff16d3a1e8) at /home/myriam/kde/src/amarok/src/main.cpp:235
The current source language is "auto; currently c".
Comment 4 Myriam Schweingruber 2009-12-18 13:37:36 UTC
Adapt title
Comment 5 Myriam Schweingruber 2010-01-06 20:58:04 UTC
Adding keyword. There should be an error message, but no crash.
Comment 6 Myriam Schweingruber 2010-01-14 23:07:39 UTC
*** Bug 222768 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2010-02-26 13:01:15 UTC
*** Bug 228571 has been marked as a duplicate of this bug. ***
Comment 8 Anselmo L. S. Melo (anselmolsm) 2010-03-03 19:43:46 UTC
(In reply to comment #3)
> Add to playlist works here in Amarok 2.2-git, I just tried all Cool Streams. 
> 
> What you tried to do is add it to the local collection, which you can't do    > with a radio stream. But it shouldn't crash, indeed.

Still crash on Amarok 2.2.90 KDE 4.4.65 (KDE 4.5 >= 20100224).

As you can't add a radio stream to the local collection, showing this option for streaming doesn't make sense, right? IMO it should be replaced by "mark as favorite" or something like this.
Comment 9 Leo Franchi 2010-03-07 00:26:42 UTC
commit d1c03d3ae442185f6f1795feb2243f12e4bca876
Author: Leo Franchi <lfranchi@kde.org>
Date:   Sat Mar 6 18:22:30 2010 -0500

    remove stale comment, and don't crash if trying to organize files without artists. needs a proper fix so that the cool stream service doesn't allow itself to be organized, but this fixes the crash
    
    BUG: 219159

diff --git a/src/dialogs/OrganizeCollectionDialog.cpp b/src/dialogs/OrganizeCollectionDialog.cpp
index 6d69422..e3c23dc 100644
--- a/src/dialogs/OrganizeCollectionDialog.cpp
+++ b/src/dialogs/OrganizeCollectionDialog.cpp
@@ -138,14 +138,10 @@ OrganizeCollectionDialog::overwriteDestinations() const
 QString
 OrganizeCollectionDialog::buildDestination( const QString &format, const Meta::TrackPtr &track ) const
 {
-    //TODO: handle if track==NULL to avoid bug 169684
-    //This could maybe happen with an empty collection, when the TrackList is empty and then m_previewTrack is null.
-    //FIXME: 169684
-
     bool isCompilation = track->album() && track->album()->isCompilation();
 
     QMap<QString, QString> args;
-    QString artist = track->artist()->name();
+    QString artist = track->artist() ? track->artist()->name() : QString();
     QString albumartist;
     if( isCompilation )
         albumartist = i18n( "Various Artists" );
Comment 10 Myriam Schweingruber 2010-03-16 20:09:58 UTC
*** Bug 231005 has been marked as a duplicate of this bug. ***
Comment 11 Myriam Schweingruber 2010-06-20 15:44:09 UTC
*** Bug 231005 has been marked as a duplicate of this bug. ***
Comment 12 Myriam Schweingruber 2010-07-18 12:14:00 UTC
*** Bug 245004 has been marked as a duplicate of this bug. ***