[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-bugs-dist
Subject:    [amarok] [Bug 336879] New: Crash when trying to copy tracks to a Nexus phone (Android, MTP)
From:       Chemtox <chemtox () interneta ! org>
Date:       2014-06-29 22:35:12
Message-ID: bug-336879-71684 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=336879

            Bug ID: 336879
           Summary: Crash when trying to copy tracks to a Nexus phone
                    (Android, MTP)
    Classification: Unclassified
           Product: amarok
           Version: 2.8.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: amarok-bugs-dist@kde.org
          Reporter: chemtox@interneta.org

Application: amarok (2.8.0)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-30-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Amarok crashes whenever I right click any tracks and try to "Copy to
collection" to a Nexus 4 phone (using MTP).

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8ca55727c0 (LWP 23169))]

Thread 9 (Thread 0x7f8c751a1700 (LWP 23174)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f8ca292b7f4 in wait (time=60000, this=0x10b2750) at
thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x10f0350,
mutex=mutex@entry=0x10f0348, time=time@entry=60000) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f8ca45be12e in AbstractDirectoryWatcher::run (this=0x10f0320) at
../../src/scanner/AbstractDirectoryWatcher.cpp:65
#4  0x00007f8c9fb4acb2 in ThreadWeaver::JobRunHelper::runTheJob
(this=this@entry=0x7f8c751a0de0, th=th@entry=0x13864c0,
job=job@entry=0x10f0320) at ../../../threadweaver/Weaver/Job.cpp:106
#5  0x00007f8c9fb4ae6e in ThreadWeaver::Job::execute (this=0x10f0320,
th=0x13864c0) at ../../../threadweaver/Weaver/Job.cpp:135
#6  0x00007f8c9fb4a6bb in ThreadWeaver::Thread::run (this=0x13864c0) at
../../../threadweaver/Weaver/Thread.cpp:108
#7  0x00007f8ca292b32f in QThreadPrivate::start (arg=0x13864c0) at
thread/qthread_unix.cpp:349
#8  0x00007f8c9e5c2182 in start_thread (arg=0x7f8c751a1700) at
pthread_create.c:312
#9  0x00007f8ca22e130d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f8c6ffff700 (LWP 23175)):
#0  0x00007f8c9cfa6989 in g_mutex_lock (mutex=mutex@entry=0x7f8c680009a0) at
/build/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:209
#1  0x00007f8c9cf64a6c in g_main_context_check
(context=context@entry=0x7f8c680009a0, max_priority=2147483647,
fds=fds@entry=0x7f8c68002880, n_fds=n_fds@entry=1) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3577
#2  0x00007f8c9cf64f7b in g_main_context_iterate
(context=context@entry=0x7f8c680009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3731
#3  0x00007f8c9cf650ec in g_main_context_iteration (context=0x7f8c680009a0,
may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007f8ca2a5a7be in QEventDispatcherGlib::processEvents
(this=0x7f8c680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f8ca2a2c0af in QEventLoop::processEvents
(this=this@entry=0x7f8c6fffede0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f8ca2a2c3a5 in QEventLoop::exec (this=this@entry=0x7f8c6fffede0,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f8ca2928c5f in QThread::exec (this=this@entry=0x13a8520) at
thread/qthread.cpp:537
#8  0x00007f8ca2a0d823 in QInotifyFileSystemWatcherEngine::run (this=0x13a8520)
at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f8ca292b32f in QThreadPrivate::start (arg=0x13a8520) at
thread/qthread_unix.cpp:349
#10 0x00007f8c9e5c2182 in start_thread (arg=0x7f8c6ffff700) at
pthread_create.c:312
#11 0x00007f8ca22e130d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f8c6f7fe700 (LWP 23176)):
#0  0x00007f8ca22d3fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8c77221248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f8c9e5c2182 in start_thread (arg=0x7f8c6f7fe700) at
pthread_create.c:312
#3  0x00007f8ca22e130d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f8c6effd700 (LWP 23177)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8ca292b816 in wait (time=18446744073709551615, this=0x10f8c60) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x10f8b68, mutex=0xfbcf80,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f8c9fb48e6c in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10f8b40,
th=0x1571a90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f8c9fb4b903 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1380970, th=0x1571a90, previous=0x0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f8c9fb4b91c in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1380970, th=0x1571a90, previous=0x0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f8c9fb4b91c in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1380970, th=0x1571a90, previous=0x21aa510) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007f8c9fb4a61f in ThreadWeaver::Thread::run (this=0x1571a90) at
../../../threadweaver/Weaver/Thread.cpp:98
#8  0x00007f8ca292b32f in QThreadPrivate::start (arg=0x1571a90) at
thread/qthread_unix.cpp:349
#9  0x00007f8c9e5c2182 in start_thread (arg=0x7f8c6effd700) at
pthread_create.c:312
#10 0x00007f8ca22e130d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f8c6e7fc700 (LWP 23178)):
#0  0x00007f8ca22d26bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8c7721b4c9 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f8c7721bf03 in libusb_handle_events_timeout_completed () from
/lib/x86_64-linux-gnu/libusb-1.0.so.0
#3  0x00007f8c7721c000 in libusb_handle_events_completed () from
/lib/x86_64-linux-gnu/libusb-1.0.so.0
#4  0x00007f8c7721c851 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#5  0x00007f8c7721c929 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#6  0x00007f8c7721ccb4 in libusb_bulk_transfer () from
/lib/x86_64-linux-gnu/libusb-1.0.so.0
#7  0x00007f8c7746024d in ?? () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#8  0x00007f8c7746082d in ?? () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#9  0x00007f8c774608d6 in ?? () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#10 0x00007f8c7744e540 in ?? () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#11 0x00007f8c7744e769 in ?? () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#12 0x00007f8c774588cd in ?? () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#13 0x00007f8c7743cede in ?? () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#14 0x00007f8c7743f0c5 in ?? () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#15 0x00007f8c77446277 in LIBMTP_Get_Tracklisting_With_Callback_For_Storage ()
from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#16 0x00007f8c77693a79 in Meta::MtpHandler::prepareToParseTracks
(this=0x4f52530) at
../../../../../src/core-impl/collections/mtpcollection/handler/MtpHandler.cpp:749
#17 0x00007f8ca44f2f0f in Meta::MediaDeviceHandler::privateParseTracks
(this=0x4f52530) at
../../src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:811
#18 0x00007f8ca44f39ad in Meta::ParseWorkerThread::run (this=0x5138260) at
../../src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1189
#19 0x00007f8c9fb4acb2 in ThreadWeaver::JobRunHelper::runTheJob
(this=this@entry=0x7f8c6e7fbde0, th=th@entry=0x13d5c20,
job=job@entry=0x5138260) at ../../../threadweaver/Weaver/Job.cpp:106
#20 0x00007f8c9fb4ae6e in ThreadWeaver::Job::execute (this=0x5138260,
th=0x13d5c20) at ../../../threadweaver/Weaver/Job.cpp:135
#21 0x00007f8c9fb4a6bb in ThreadWeaver::Thread::run (this=0x13d5c20) at
../../../threadweaver/Weaver/Thread.cpp:108
#22 0x00007f8ca292b32f in QThreadPrivate::start (arg=0x13d5c20) at
thread/qthread_unix.cpp:349
#23 0x00007f8c9e5c2182 in start_thread (arg=0x7f8c6e7fc700) at
pthread_create.c:312
#24 0x00007f8ca22e130d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f8c6d997700 (LWP 23179)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8ca292b816 in wait (time=18446744073709551615, this=0x10f8c60) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x10f8b68, mutex=0xfbcf80,
time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f8c9fb48e6c in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10f8b40,
th=0x147bfc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f8c9fb4b903 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1380970, th=0x147bfc0, previous=0x24e4660) at
../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f8c9fb4a61f in ThreadWeaver::Thread::run (this=0x147bfc0) at
../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f8ca292b32f in QThreadPrivate::start (arg=0x147bfc0) at
thread/qthread_unix.cpp:349
#7  0x00007f8c9e5c2182 in start_thread (arg=0x7f8c6d997700) at
pthread_create.c:312
#8  0x00007f8ca22e130d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f8c5ffff700 (LWP 23180)):
#0  unlock (this=<synthetic pointer>) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:120
#1  ~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:115
#2  canWaitLocked (this=0x1b5e010) at
../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:229
#3  postEventSourcePrepare (s=0x7f8c48001350,
timeout=timeout@entry=0x7f8c5fffec24) at kernel/qeventdispatcher_glib.cpp:270
#4  0x00007f8c9cf6468d in g_main_context_prepare
(context=context@entry=0x7f8c480009a0, priority=priority@entry=0x7f8c5fffeca8)
at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3352
#5  0x00007f8c9cf64f03 in g_main_context_iterate
(context=context@entry=0x7f8c480009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3714
#6  0x00007f8c9cf650ec in g_main_context_iteration (context=0x7f8c480009a0,
may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#7  0x00007f8ca2a5a7be in QEventDispatcherGlib::processEvents
(this=0x7f8c480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#8  0x00007f8ca2a2c0af in QEventLoop::processEvents
(this=this@entry=0x7f8c5fffede0, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f8ca2a2c3a5 in QEventLoop::exec (this=this@entry=0x7f8c5fffede0,
flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f8ca2928c5f in QThread::exec (this=this@entry=0x1b5dcc0) at
thread/qthread.cpp:537
#11 0x00007f8ca2a0d823 in QInotifyFileSystemWatcherEngine::run (this=0x1b5dcc0)
at io/qfilesystemwatcher_inotify.cpp:265
#12 0x00007f8ca292b32f in QThreadPrivate::start (arg=0x1b5dcc0) at
thread/qthread_unix.cpp:349
#13 0x00007f8c9e5c2182 in start_thread (arg=0x7f8c5ffff700) at
pthread_create.c:312
#14 0x00007f8ca22e130d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f8c5e37f700 (LWP 23183)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8c9eb9cffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f8c9eb9d039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f8c9e5c2182 in start_thread (arg=0x7f8c5e37f700) at
pthread_create.c:312
#4  0x00007f8ca22e130d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8ca55727c0 (LWP 23169)):
[KCrash Handler]
#6  ExternalRefCount (other=..., this=<optimized out>) at
/usr/include/qt4/QtCore/qsharedpointer_impl.h:396
#7  QSharedPointer (other=..., this=<optimized out>) at
/usr/include/qt4/QtCore/qsharedpointer_impl.h:480
#8  memoryCollection (this=0x0) at
../../src/core-impl/collections/mediadevicecollection/MediaDeviceCollection.h:137
#9  Meta::MediaDeviceHandler::copyTrackListToDevice (this=0x21c6b90,
tracklist=...) at
../../src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:330
#10 0x00007f8ca44e6aab in
Collections::MediaDeviceCollectionLocation::copyUrlsToCollection
(this=0x54c6b40, sources=..., configuration=...) at
../../src/core-impl/collections/mediadevicecollection/MediaDeviceCollectionLocation.cpp:74
#11 0x00007f8ca4b253f5 in Collections::CollectionLocation::slotStartCopy
(this=0x54c6b40, sources=..., configuration=...) at
../../../src/core/collections/CollectionLocation.cpp:502
#12 0x00007f8ca2a4187a in QMetaObject::activate (sender=sender@entry=0x3a197c0,
m=m@entry=0x7f8ca4d6abe0 <Collections::CollectionLocation::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffbb6fc000)
at kernel/qobject.cpp:3539
#13 0x00007f8ca4b255d7 in Collections::CollectionLocation::startCopy
(this=this@entry=0x3a197c0, _t1=..., _t2=...) at ./CollectionLocation.moc:195
#14 0x00007f8ca4b255e9 in
Collections::CollectionLocation::slotGetKIOCopyableUrlsDone
(this=this@entry=0x3a197c0, sources=...) at
../../../src/core/collections/CollectionLocation.cpp:444
#15 0x00007f8ca4b27961 in Collections::CollectionLocation::getKIOCopyableUrls
(this=0x3a197c0, tracks=...) at
../../../src/core/collections/CollectionLocation.cpp:263
#16 0x00007f8ca2a4187a in QMetaObject::activate (sender=0x54c6b40, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#17 0x00007f8ca2a4187a in QMetaObject::activate (sender=0x3a197c0,
m=m@entry=0x7f8ca4d6abe0 <Collections::CollectionLocation::staticMetaObject>,
local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fffbb6fc390)
at kernel/qobject.cpp:3539
#18 0x00007f8ca4b2571b in Collections::CollectionLocation::prepareOperation
(this=<optimized out>, _t1=..., _t2=false, _t3=...) at
./CollectionLocation.moc:220
#19 0x00007f8ca4b25731 in
Collections::CollectionLocation::slotShowSourceDialogDone (this=<optimized
out>) at ../../../src/core/collections/CollectionLocation.cpp:462
#20 0x00007f8ca4b25e3d in Collections::CollectionLocation::showSourceDialog
(this=0x3a197c0, tracks=..., removeSources=<optimized out>) at
../../../src/core/collections/CollectionLocation.cpp:294
#21 0x00007f8ca2a45c1e in QObject::event (this=0x3a197c0, e=<optimized out>) at
kernel/qobject.cpp:1194
#22 0x00007f8ca341fe2c in QApplicationPrivate::notify_helper
(this=this@entry=0xee9260, receiver=receiver@entry=0x3a197c0,
e=e@entry=0x54c1e30) at kernel/qapplication.cpp:4567
#23 0x00007f8ca34264a0 in QApplication::notify (this=this@entry=0x7fffbb6fcb30,
receiver=receiver@entry=0x3a197c0, e=e@entry=0x54c1e30) at
kernel/qapplication.cpp:4353
#24 0x00007f8ca4f90d1a in KApplication::notify (this=0x7fffbb6fcb30,
receiver=0x3a197c0, event=0x54c1e30) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f8ca2a2d4dd in QCoreApplication::notifyInternal
(this=0x7fffbb6fcb30, receiver=receiver@entry=0x3a197c0,
event=event@entry=0x54c1e30) at kernel/qcoreapplication.cpp:953
#26 0x00007f8ca2a30b3d in sendEvent (event=0x54c1e30, receiver=0x3a197c0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0xdf41f0) at
kernel/qcoreapplication.cpp:1577
#28 0x00007f8ca2a30fe3 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1470
#29 0x00007f8ca2a5af83 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0xef4ad0) at
kernel/qeventdispatcher_glib.cpp:287
#31 0x00007f8c9cf64e04 in g_main_dispatch (context=0xef49b0) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#32 g_main_context_dispatch (context=context@entry=0xef49b0) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#33 0x00007f8c9cf65048 in g_main_context_iterate
(context=context@entry=0xef49b0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#34 0x00007f8c9cf650ec in g_main_context_iteration (context=0xef49b0,
may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#35 0x00007f8ca2a5a7a1 in QEventDispatcherGlib::processEvents (this=0xdf5af0,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#36 0x00007f8ca34c1bb6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f8ca2a2c0af in QEventLoop::processEvents
(this=this@entry=0x7fffbb6fca00, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f8ca2a2c3a5 in QEventLoop::exec (this=this@entry=0x7fffbb6fca00,
flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f8ca2a31b79 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#40 0x00007f8ca341e37c in QApplication::exec () at kernel/qapplication.cpp:3828
#41 0x0000000000408393 in main (argc=<optimized out>, argv=0x7fffbb6fcc98) at
../../src/main.cpp:329

Possible duplicates by query: bug 336350.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Amarok-bugs-dist mailing list
Amarok-bugs-dist@kde.org
https://mail.kde.org/mailman/listinfo/amarok-bugs-dist
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic