Bug 207117 - Amarok crashes when mtp device is connected
Summary: Amarok crashes when mtp device is connected
Status: RESOLVED DUPLICATE of bug 204251
Alias: None
Product: amarok
Classification: Applications
Component: Collections/MTP player (other bugs)
Version First Reported In: 2.1.80
Platform: openSUSE Unspecified
: NOR crash
Target Milestone: ---
Assignee: Amarok Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 21:42 UTC by Todd
Modified: 2011-12-20 11:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd 2009-09-11 21:42:02 UTC
Version:           2.2-beta1 (using KDE 4.3.1)
Installed from:    SuSE RPMs

Whenever I connect my Creative Zen Vision:M MTP device, amarok freezes and then crashes.  This is the case both when amarok is already on when the device is connected, or when I try to open amarok when the device is already connected.  The device does briefly show that it has something happening before amarok crashes.  Here is the backtrace.  The KDE crash handler says it is useful, but if it isn't please let me know what debug packages I should install:

Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd901e9c750 (LWP 29599))]

Thread 17 (Thread 0x7fd8eae3f950 (LWP 29600)):
#0  0x00007fd8fef5cfdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8f0ef8631 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7fd8ea006950 (LWP 29601)):
#0  0x00007fd8ff491386 in poll () from /lib64/libc.so.6
#1  0x00007fd8f7ae7768 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd8f7ae7a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd900752d5e in QEventDispatcherGlib::processEvents (this=0x885d20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007fd9007281d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -369074192}) at kernel/qeventloop.cpp:149
#5  0x00007fd9007285a4 in QEventLoop::exec (this=0x7fd8ea006030, flags={i = -369074112}) at kernel/qeventloop.cpp:201
#6  0x00007fd90063ced8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd8f1153aa2 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fd90063fe65 in QThreadPrivate::start (arg=0x783bd0) at thread/qthread_unix.cpp:188
#9  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7fd8e9513950 (LWP 29604)):
#0  0x00007fd8ff491386 in poll () from /lib64/libc.so.6
#1  0x00007fd8e96009c1 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fd8e8d12950 (LWP 29605)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8f0f09c23 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fd8e7ef9950 (LWP 29606)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8f0f09c23 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fd8e4c33950 (LWP 29608)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8e592eefd in os_event_wait_low (event=0x1136f80, reset_sig_count=1) at ../../../innobase/os/os0sync.c:420
#2  0x00007fd8e592c189 in os_aio_simulated_handle (global_segment=0, message1=0x7fd8e4c33088, message2=0x7fd8e4c33080, type=0x7fd8e4c33078) at ../../../innobase/os/os0file.c:4089
#3  0x00007fd8e58efde3 in fil_aio_wait (segment=0) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007fd8e57872f0 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fd8df6f8950 (LWP 29609)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8e592eefd in os_event_wait_low (event=0x1137020, reset_sig_count=3) at ../../../innobase/os/os0sync.c:420
#2  0x00007fd8e592c189 in os_aio_simulated_handle (global_segment=1, message1=0x7fd8df6f8088, message2=0x7fd8df6f8080, type=0x7fd8df6f8078) at ../../../innobase/os/os0file.c:4089
#3  0x00007fd8e58efde3 in fil_aio_wait (segment=1) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007fd8e57872f0 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fd8deef7950 (LWP 29610)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8e592eefd in os_event_wait_low (event=0x11370c0, reset_sig_count=2) at ../../../innobase/os/os0sync.c:420
#2  0x00007fd8e592c189 in os_aio_simulated_handle (global_segment=2, message1=0x7fd8deef7088, message2=0x7fd8deef7080, type=0x7fd8deef7078) at ../../../innobase/os/os0file.c:4089
#3  0x00007fd8e58efde3 in fil_aio_wait (segment=2) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007fd8e57872f0 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fd8de6f6950 (LWP 29611)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8e592eefd in os_event_wait_low (event=0x1137160, reset_sig_count=1) at ../../../innobase/os/os0sync.c:420
#2  0x00007fd8e592c189 in os_aio_simulated_handle (global_segment=3, message1=0x7fd8de6f6088, message2=0x7fd8de6f6080, type=0x7fd8de6f6078) at ../../../innobase/os/os0file.c:4089
#3  0x00007fd8e58efde3 in fil_aio_wait (segment=3) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007fd8e57872f0 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fd8dd1de950 (LWP 29613)):
#0  0x00007fd8ff493662 in select () from /lib64/libc.so.6
#1  0x00007fd8e592f33b in os_thread_sleep (tm=<value optimized out>) at ../../../innobase/os/os0thread.c:274
#2  0x00007fd8e5783d78 in srv_lock_timeout_and_monitor_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0srv.c:1882
#3  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fd8dc9dd950 (LWP 29614)):
#0  0x00007fd8ff493662 in select () from /lib64/libc.so.6
#1  0x00007fd8e592f33b in os_thread_sleep (tm=<value optimized out>) at ../../../innobase/os/os0thread.c:274
#2  0x00007fd8e5782b2a in srv_error_monitor_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0srv.c:2106
#3  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fd8dc1dc950 (LWP 29615)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8e592eefd in os_event_wait_low (event=0xc819d0, reset_sig_count=1) at ../../../innobase/os/os0sync.c:420
#2  0x00007fd8e5781d5f in srv_master_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0srv.c:2598
#3  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd8db372950 (LWP 29616)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd900640e19 in QWaitCondition::wait (this=0x19f8d88, mutex=0x19f91f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd8fbc18644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fd8fbc1ada3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fd8fbc1936f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fd8fbc197c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fd90063fe65 in QThreadPrivate::start (arg=0x1a0b8a0) at thread/qthread_unix.cpp:188
#7  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd8d41e7950 (LWP 29617)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd900640e19 in QWaitCondition::wait (this=0x19f8d88, mutex=0x19f91f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd8fbc18644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fd8fbc1ada3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fd8fbc1adbc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fd8fbc1936f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fd8fbc197c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007fd90063fe65 in QThreadPrivate::start (arg=0x1e05be0) at thread/qthread_unix.cpp:188
#8  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd8d39e6950 (LWP 29618)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd900640e19 in QWaitCondition::wait (this=0x19f8d88, mutex=0x19f91f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd8fbc18644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fd8fbc1ada3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fd8fbc1adbc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fd8fbc1936f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fd8fbc197c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007fd90063fe65 in QThreadPrivate::start (arg=0x1aa7b30) at thread/qthread_unix.cpp:188
#8  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd8d27dc950 (LWP 29621)):
#0  0x00007fd8fef5cd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd900640e19 in QWaitCondition::wait (this=0x19f8d88, mutex=0x19f91f0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd8fbc18644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fd8fbc1ada3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fd8fbc1936f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fd8fbc197c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fd90063fe65 in QThreadPrivate::start (arg=0x1e8b350) at thread/qthread_unix.cpp:188
#7  0x00007fd8fef59070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fd8ff49a10d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd901e9c750 (LWP 29599)):
[KCrash Handler]
#5  Meta::MtpHandler::setAssociateTrack (this=0x19f41a0, track=<value optimized out>) at /usr/include/QtCore/qhash.h:855
#6  0x00007fd8db7d2505 in Handler::MtpReadCapability::setAssociateTrack (this=0x1, track=<value optimized out>)
    at /usr/src/debug/amarok-2.1.80/src/collection/mtpcollection/handler/capabilities/MtpReadCapability.cpp:55
#7  0x00007fd9011531f8 in Meta::MediaDeviceHandler::parseTracks (this=0x19f41a0) at /usr/src/debug/amarok-2.1.80/src/collection/mediadevicecollection/handler/MediaDeviceHandler.cpp:839
#8  0x00007fd901143049 in MediaDeviceCollection::startFullScanDevice (this=0x19f3a50) at /usr/src/debug/amarok-2.1.80/src/collection/mediadevicecollection/MediaDeviceCollection.cpp:176
#9  0x00007fd901142d09 in MediaDeviceCollection::slotAttemptConnectionDone (this=0x19f3a50, success=<value optimized out>)
    at /usr/src/debug/amarok-2.1.80/src/collection/mediadevicecollection/MediaDeviceCollection.cpp:219
#10 0x00007fd8db7d10e6 in Meta::MtpHandler::slotDeviceMatchSucceeded (this=0x19f41a0, job=0x19f8a50) at /usr/src/debug/amarok-2.1.80/src/collection/mtpcollection/handler/MtpHandler.cpp:1343
#11 0x00007fd8db7c61df in Meta::MtpHandler::qt_metacall (this=0x19f41a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff1871d9b0)
    at /usr/src/debug/amarok-2.1.80/build/src/collection/mtpcollection/moc_MtpHandler.cpp:69
#12 0x00007fd90073e6e2 in QMetaObject::activate (sender=0x19f8a50, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x11) at kernel/qobject.cpp:3113
#13 0x00007fd8fbc19d32 in ThreadWeaver::Job::done(ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4
#14 0x00007fd8fbc19ed8 in ThreadWeaver::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libthreadweaver.so.4
#15 0x00007fd9007398a8 in QObject::event (this=0x19f8a50, e=0x4357ef0) at kernel/qobject.cpp:1111
#16 0x00007fd8ffbcaabd in QApplicationPrivate::notify_helper (this=0x725f70, receiver=0x19f8a50, e=0x4357ef0) at kernel/qapplication.cpp:4056
#17 0x00007fd8ffbd2d4a in QApplication::notify (this=0x7fff1871e340, receiver=0x19f8a50, e=0x4357ef0) at kernel/qapplication.cpp:4021
#18 0x00007fd9018e302b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#19 0x00007fd90072994c in QCoreApplication::notifyInternal (this=0x7fff1871e340, receiver=0x19f8a50, event=0x4357ef0) at kernel/qcoreapplication.cpp:610
#20 0x00007fd90072a5ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x618650) at kernel/qcoreapplication.h:213
#21 0x00007fd9007530b3 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#22 0x00007fd8f7ae40fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fd8f7ae78cd in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fd8f7ae7a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fd900752d3f in QEventDispatcherGlib::processEvents (this=0x618400, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#26 0x00007fd8ffc61faf in QGuiEventDispatcherGlib::processEvents (this=0x7fd8c616f520, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007fd9007281d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 410116768}) at kernel/qeventloop.cpp:149
#28 0x00007fd9007285a4 in QEventLoop::exec (this=0x7fff1871e2e0, flags={i = 410116848}) at kernel/qeventloop.cpp:201
#29 0x00007fd90072a894 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x0000000000408f0a in main (argc=1, argv=0x7fff18720048) at /usr/src/debug/amarok-2.1.80/src/main.cpp:216
Comment 1 Mikko C. 2009-09-11 21:54:56 UTC
backtrace is fine thanks
Comment 2 Dario Andres 2009-09-12 17:10:02 UTC
Thanks

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