Bug 219678 - Crash when trying to move items from a MTP mounted media device to the local collection
Summary: Crash when trying to move items from a MTP mounted media device to the local ...
Status: RESOLVED DUPLICATE of bug 204251
Alias: None
Product: amarok
Classification: Applications
Component: Collections/MTP player (show other bugs)
Version: 2.3-GIT
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.3.0
Assignee: Amarok Developers
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2009-12-22 14:30 UTC by Myriam Schweingruber
Modified: 2011-12-20 11:45 UTC (History)
1 user (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 Myriam Schweingruber 2009-12-22 14:30:33 UTC
Application that crashed: amarok
Version of the application: 2.2-GIT
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-17-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I tried to move some tracks from a Sansa Clip+ mounted in MTP mode. The first "Move to Collection seems to work, the second track crashes Amarok.
Reproducible every time.
Using Amarok 2.2-git
KDE 4.3.4
Qt 4.5.3

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

Thread 12 (Thread 0x7f7c57ed9910 (LWP 16314)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f7c5c453c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f7c67fc5a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f7c6d11f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f7c56990910 (LWP 16315)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f7c5698fd10 in ?? ()
#2  0x00007fff6d9ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently asm".

Thread 10 (Thread 0x7f7c55f85910 (LWP 16318)):
#0  0x00007f7c6d113373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7c55f8bcbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f7c67fc5a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f7c6d11f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

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

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

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

Thread 6 (Thread 0x7f7c4eb16910 (LWP 16323)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f7c6d9354fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1053210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1053210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7c6ad11326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12e3e40, th=0x130c5d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7c6ad1345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x130c5d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x130c5d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x130c5d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x130c5d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x130c5d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x130c5d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x130c5d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x130c5d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x00007f7c6ad11a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7c4eb16030, parent=0x12e3e40, th=0x130c5d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x00007f7c6ad11eb8 in ThreadWeaver::Thread::run (this=0x130c5d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00007f7c6d934445 in QThreadPrivate::start (arg=0x130c5d0) at thread/qthread_unix.cpp:188
#15 0x00007f7c67fc5a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#16 0x00007f7c6d11f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f7c4858b910 (LWP 16324)):
#0  0x00007f7c6d1183c2 in select () from /lib/libc.so.6
#1  0x00007f7c5c47c725 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f7c5c4617e9 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f7c67fc5a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f7c6d11f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f7c47b73910 (LWP 16325)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f7c6d9354fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1053210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1053210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7c6ad11326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12e3e40, th=0x1d15560) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7c6ad1345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x1d15560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x1d15560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x1d15560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x1d15560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x1d15560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x1d15560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x1d15560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x1d15560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x1d15560) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00007f7c6ad11a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7c47b73030, parent=0x12e3e40, th=0x1d15560) at ../../../threadweaver/Weaver/Thread.cpp:87
#14 0x00007f7c6ad11eb8 in ThreadWeaver::Thread::run (this=0x1d15560) at ../../../threadweaver/Weaver/Thread.cpp:142
#15 0x00007f7c6d934445 in QThreadPrivate::start (arg=0x1d15560) at thread/qthread_unix.cpp:188
#16 0x00007f7c67fc5a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f7c6d11f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 3 (Thread 0x7f7c47372910 (LWP 16326)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f7c6d9354fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1053210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1053210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7c6ad11326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12e3e40, th=0x2049650) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7c6ad1345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x2049650) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x2049650) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f7c6ad13474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x2049650) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f7c6ad11a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7c47372030, parent=0x12e3e40, th=0x2049650) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f7c6ad11eb8 in ThreadWeaver::Thread::run (this=0x2049650) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f7c6d934445 in QThreadPrivate::start (arg=0x2049650) at thread/qthread_unix.cpp:188
#10 0x00007f7c67fc5a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f7c6d11f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7f7c46b71910 (LWP 16327)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f7c6d9354fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1053210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1053210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f7c6ad11326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x12e3e40, th=0x7f7c50161da0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f7c6ad1345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x10adfd0, th=0x7f7c50161da0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f7c6ad11a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f7c46b71030, parent=0x12e3e40, th=0x7f7c50161da0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f7c6ad11eb8 in ThreadWeaver::Thread::run (this=0x7f7c50161da0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f7c6d934445 in QThreadPrivate::start (arg=0x7f7c50161da0) at thread/qthread_unix.cpp:188
#8  0x00007f7c67fc5a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f7c6d11f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7c6ff5a770 (LWP 16313)):
[KCrash Handler]
#5  strlen () at ../sysdeps/x86_64/strlen.S:31
#6  0x00007f7c6d97c378 in qstrlen (str=0xffffffff <Address 0xffffffff out of bounds>, size=-1) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:68
#7  QString::fromUtf8 (str=0xffffffff <Address 0xffffffff out of bounds>, size=-1) at tools/qstring.cpp:3701
#8  0x00007f7c4d8fee7f in Meta::MtpHandler::getCopyableUrls (this=0x1307ad0, tracks=...) at /home/myriam/kde/src/amarok/src/collection/mtpcollection/handler/MtpHandler.cpp:382
#9  0x00007f7c6f0d1c5a in MediaDeviceCollectionLocation::getKIOCopyableUrls (this=0x275c2b0, tracks=...)
    at /home/myriam/kde/src/amarok/src/collection/mediadevicecollection/MediaDeviceCollectionLocation.cpp:111
#10 0x00007f7c6f1b9370 in CollectionLocation::slotOperationPrepared (this=0x275c2b0) at /home/myriam/kde/src/amarok/src/collection/CollectionLocation.cpp:350
#11 0x00007f7c6f1ba187 in CollectionLocation::qt_metacall (this=0x275c2b0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fff6d9e2a00) at /home/myriam/kde/build/amarok/src/CollectionLocation.moc:122
#12 0x00007f7c6f0d1fa3 in MediaDeviceCollectionLocation::qt_metacall (this=0x275c2b0, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x7fff6d9e2a00)
    at /home/myriam/kde/build/amarok/src/MediaDeviceCollectionLocation.moc:67
#13 0x00007f7c6da2fddc in QMetaObject::activate (sender=0x2d6d210, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x74006e) at kernel/qobject.cpp:3113
#14 0x00007f7c6f1ba3ad in CollectionLocation::operationPrepared (this=0x2d6d210) at /home/myriam/kde/build/amarok/src/CollectionLocation.moc:172
#15 0x00007f7c6f1b9290 in CollectionLocation::slotShowDestinationDialogDone (this=0x2d6d210) at /home/myriam/kde/src/amarok/src/collection/CollectionLocation.cpp:330
#16 0x00007f7c4f026da7 in SqlCollectionLocation::slotDialogAccepted (this=0x2d6d210) at /home/myriam/kde/src/amarok/src/collection/sqlcollection/SqlCollectionLocation.cpp:167
#17 0x00007f7c4f028ea6 in SqlCollectionLocation::qt_metacall (this=0x2d6d210, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff6d9e2ba0)
    at /home/myriam/kde/build/amarok/src/collection/mysqlecollection/SqlCollectionLocation.moc:70
#18 0x00007f7c6da2fddc in QMetaObject::activate (sender=0x2be3790, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x74006e) at kernel/qobject.cpp:3113
#19 0x00007f7c6fa8f505 in KDialog::slotButtonClicked (this=0x2be3790, button=4) at ../../kdeui/dialogs/kdialog.cpp:854
#20 0x00007f7c6fa91709 in KDialog::qt_metacall (this=0x2be3790, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6d9e2da0) at ./kdialog.moc:184
#21 0x00007f7c6eec5659 in OrganizeCollectionDialog::qt_metacall (this=0x2be3790, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0x7fff6d9e2da0)
    at /home/myriam/kde/build/amarok/src/moc_OrganizeCollectionDialog.cpp:71
#22 0x00007f7c6da2fddc in QMetaObject::activate (sender=0x9148fe8, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x74006e) at kernel/qobject.cpp:3113
#23 0x00007f7c6da3290e in QSignalMapper::mapped (this=0x740060, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:95
#24 0x00007f7c6da33b00 in QSignalMapper::map (this=0x9148fe8, sender=0x2f00f40) at kernel/qsignalmapper.cpp:266
#25 0x00007f7c6da33d70 in QSignalMapper::qt_metacall (this=0x9148fe8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6d9e2f30) at .moc/release-shared/moc_qsignalmapper.cpp:81
#26 0x00007f7c6da2fddc in QMetaObject::activate (sender=0x2f00f40, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x74006e) at kernel/qobject.cpp:3113
#27 0x00007f7c6e9408e7 in QAbstractButton::clicked (this=0x740060, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#28 0x00007f7c6e6a241b in QAbstractButtonPrivate::emitClicked (this=0x6991440) at widgets/qabstractbutton.cpp:543
#29 0x00007f7c6e6a402b in QAbstractButtonPrivate::click (this=0x6991440) at widgets/qabstractbutton.cpp:536
#30 0x00007f7c6e6a4275 in QAbstractButton::mouseReleaseEvent (this=0x2f00f40, e=0x7fff6d9e3650) at widgets/qabstractbutton.cpp:1115
#31 0x00007f7c6e38d9c0 in QWidget::event (this=0x2f00f40, event=0x7fff6d9e3650) at kernel/qwidget.cpp:7549
#32 0x00007f7c6e33eefc in QApplicationPrivate::notify_helper (this=0xcc0840, receiver=0x2f00f40, e=0x7fff6d9e3650) at kernel/qapplication.cpp:4056
#33 0x00007f7c6e346011 in QApplication::notify (this=<value optimized out>, receiver=0x2f00f40, e=0x7fff6d9e3650) at kernel/qapplication.cpp:3758
#34 0x00007f7c6fb1ae56 in KApplication::notify (this=0x7fff6d9e5510, receiver=0x2f00f40, event=0x7fff6d9e3650) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007f7c6da1ac2c in QCoreApplication::notifyInternal (this=0x7fff6d9e5510, receiver=0x2f00f40, event=0x7fff6d9e3650) at kernel/qcoreapplication.cpp:610
#36 0x00007f7c6e3458e0 in QCoreApplication::sendSpontaneousEvent (receiver=0x2f00f40, event=0x7fff6d9e3650, alienWidget=0x2f00f40, nativeWidget=0x2be3790, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#37 QApplicationPrivate::sendMouseEvent (receiver=0x2f00f40, event=0x7fff6d9e3650, alienWidget=0x2f00f40, nativeWidget=0x2be3790, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at kernel/qapplication.cpp:2924
#38 0x00007f7c6e3aba0e in QETWidget::translateMouseEvent (this=0x2be3790, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#39 0x00007f7c6e3aaaa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff6d9e5180) at kernel/qapplication_x11.cpp:3550
#40 0x00007f7c6e3d3d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007f7c66488bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x00007f7c6648c598 in ?? () from /lib/libglib-2.0.so.0
#43 0x00007f7c6648c6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x00007f7c6da431a6 in QEventDispatcherGlib::processEvents (this=0xb83b90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#45 0x00007f7c6e3d34be in QGuiEventDispatcherGlib::processEvents (this=0x740060, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#46 0x00007f7c6da19532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007f7c6da19904 in QEventLoop::exec (this=0x7fff6d9e54b0, flags=) at kernel/qeventloop.cpp:201
#48 0x00007f7c6da1bab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#49 0x000000000040acdf in main (argc=3, argv=0x7fff6d9e7418) at /home/myriam/kde/src/amarok/src/main.cpp:235
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-12-22 14:32:48 UTC
I forgot to specify this is with libmtp version 1.0.1, not the default 0.3.7 version.
Comment 2 Myriam Schweingruber 2009-12-26 09:52:52 UTC
Same thing happens with copying from the MTP device, copying to works.
Also, I can't play tracks on the device: "Too many errors encountered".

Find below the Konsole output when trying to copy from the device the first time. Notice the scanner block which persists after un-conecting the device

amarok: BEGIN: void CollectionTreeView::copyTracks(const QSet<CollectionTreeItem*>&, Amarok::Collection*, bool) const                                                       
amarok:    starting source->prepareCopy                                                                                                                                     
amarok:   BEGIN: void CollectionLocation::prepareCopy(QueryMaker*, CollectionLocation*)                                                                                     
amarok:   END__: void CollectionLocation::prepareCopy(QueryMaker*, CollectionLocation*) - Took 0.00018s                                                                     
amarok: END__: void CollectionTreeView::copyTracks(const QSet<CollectionTreeItem*>&, Amarok::Collection*, bool) const - Took 0.00086s                                       
amarok: BEGIN: void CollectionLocation::resultReady(const QString&, const Meta::TrackList&)                                                                                 
amarok: END__: void CollectionLocation::resultReady(const QString&, const Meta::TrackList&) - Took 7.1e-05s                                                                 
amarok: BEGIN: void CollectionLocation::queryDone()                                                                                                                         
amarok:    we were about to copy something, lets proceed                                                                                                                    
amarok:   BEGIN: void CollectionLocation::startWorkflow(const Meta::TrackList&, bool)                                                                                       
amarok:     BEGIN: QStringList MountPointManager::collectionFolders()                                                                                                       
amarok:     END__: QStringList MountPointManager::collectionFolders() - Took 0.00015s                                                                                       
amarok:     BEGIN: void FilenameLayoutDialog::inferScheme(const QString&)
amarok:        infering scheme:  ""
amarok:     END__: void FilenameLayoutDialog::inferScheme(const QString&) - Took 8.8e-05s
amarok:     BEGIN: void FilenameLayoutDialog::inferScheme(const QString&)
amarok:        infering scheme:  "%track%artist%album%title"
amarok:     END__: void FilenameLayoutDialog::inferScheme(const QString&) - Took 0.0011s
amarok:      I'm about to do Amarok::vfatPath( result ), this is result:  "The Shanghai Restoration Project feat. Amos Winbush"
amarok:      I'm about to do Amarok::vfatPath( result ), this is result:  "The Shanghai Restoration Project feat. Amos Winbush"
amarok:      I'm about to do Amarok::vfatPath( result ), this is result:  "The Shanghai Restoration Project feat. Amos Winbush"
amarok:      I'm about to do Amarok::vfatPath( result ), this is result:  "The Shanghai Restoration Project feat. Amos Winbush"
amarok:      I'm about to do Amarok::vfatPath( result ), this is result:  "Babylon of the Orient"
amarok:      I'm about to do Amarok::vfatPath( result ), this is result:  ""
amarok:      I'm about to do Amarok::vfatPath( result ), this is result:  "0"
amarok:      I'm about to do Amarok::vfatPath( result ), this is result:  "The Shanghai Restoration Project"
amarok:      I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"
amarok:      I'm about to do Amarok::vfatPath( result ), this is result:  ""
amarok:   END__: void CollectionLocation::startWorkflow(const Meta::TrackList&, bool) - Took 0.5s
amarok: END__: void CollectionLocation::queryDone() - Took 0.5s
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "The Shanghai Restoration Project feat. Amos Winbush"
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "The Shanghai Restoration Project feat. Amos Winbush"
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "The Shanghai Restoration Project feat. Amos Winbush"
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "The Shanghai Restoration Project feat. Amos Winbush"
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Babylon of the Orient"
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "0"
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "The Shanghai Restoration Project"
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  "Electronic"
amarok:  I'm about to do Amarok::vfatPath( result ), this is result:  ""
amarok: BEGIN: virtual void Meta::MtpHandler::getCopyableUrls(const Meta::TrackList&)
amarok:   [MtpHandler] Temp Filename:  "/tmp/kde-myriam/amarokI8bcfM/"
amarok:   BEGIN: int Meta::MtpHandler::getTrackToFile(uint32_t, const QString&)
amarok:   END__: int Meta::MtpHandler::getTrackToFile(uint32_t, const QString&) - Took 9.9e-05s
amarok:   [MtpHandler] Get Track failed:  -1
amarok:   BEGIN: bool SqlCollectionLocation::startNextJob()
amarok:   END__: bool SqlCollectionLocation::startNextJob() - Took 4e-05s
amarok: END__: virtual void Meta::MtpHandler::getCopyableUrls(const Meta::TrackList&) - Took 0.00032s
amarok: BEGIN: virtual OrganizeCollectionDialog::~OrganizeCollectionDialog()
amarok: END__: virtual OrganizeCollectionDialog::~OrganizeCollectionDialog() - Took 3.6e-05s
amarok: BEGIN: void ScanManager::startIncrementalScan()
amarok:    scanning currently blocked
amarok: END__: void ScanManager::startIncrementalScan() - Took 0.00025s
Comment 3 Myriam Schweingruber 2010-01-06 21:07:46 UTC
Added keyword.
Comment 4 Myriam Schweingruber 2010-01-16 12:13:10 UTC
Silly me, this is a duplicate of bug 204251

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