Bug 228570 - Amarok crashes when Creative Zen Vision:M is inserted.
Summary: Amarok crashes when Creative Zen Vision:M is inserted.
Status: RESOLVED DUPLICATE of bug 204251
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.2.1
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 04:40 UTC by Stephen
Modified: 2010-02-26 09:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen 2010-02-26 04:40:46 UTC
Application that crashed: amarok
Version of the application: 2.2.1
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-trunk-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
Hi, I have a Creative Zen Vision:M, and whenever I connect it while Amarok is open, Amarok will crash. The Vision:M uses MTP, however command line MTP tools from Debian squeeze mtp-tools package (both the 32-bit and 64-bit) do work successfully.

A strange thing I have noted, however, is that mtp-detect always shows an error which may or may not be related:

$ mtp-detect 
libmtp version: 1.0.2                                     

Listing raw device(s)
Device 0 (VID=041e and PID=413e) is a Creative ZEN Vision:M.
   Found 1 device(s):                                       
   Creative: ZEN Vision:M (041e:413e) @ bus 1, dev 10       
Attempting to connect device(s)                             
PTP_ERROR_IO: Trying again after re-initializing USB interface
USB low-level info:                                           
   Using kernel interface "usbfs"                             
   bcdUSB: 512                                                
   bDeviceClass: 255                                          
   bDeviceSubClass: 0                                         
... 

and so on. I can provide more details about this if requested.

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

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

Thread 11 (Thread 0x7f5c0a99d910 (LWP 18796)):
#0  0xffffffffff600132 in ?? ()
#1  0x00007fffa0bf66fb in ?? ()
#2  0x00007f5c1d6f5e6f in *__GI_clock_gettime (clock_id=177851696, tp=0x7f5c0a99cd30) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f5c25a270fd in QTimerInfoList::getTime (this=<value optimized out>, t=...) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007f5c25a272e1 in QTimerInfoList::updateCurrentTime (this=0x7f5c0a99cd30) at kernel/qeventdispatcher_unix.cpp:297
#5  0x00007f5c25a27485 in QTimerInfoList::timerWait (this=0x7f5c0a99cd30, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#6  0x00007f5c25a2556c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f5c0a99ce1c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f5c1d46aaea in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x00007f5c1d46aec1 in ?? () from /lib/libglib-2.0.so.0
#9  0x00007f5c1d46b3f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00007f5c25a253b6 in QEventDispatcherGlib::processEvents (this=0x1dd8980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#11 0x00007f5c259fb562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f5c259fb934 in QEventLoop::exec (this=0x7f5c0a99cfb0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00007f5c259145a8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007f5c12180aec in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#15 0x00007f5c259174a5 in QThreadPrivate::start (arg=0x1e80b40) at thread/qthread_unix.cpp:188
#16 0x00007f5c1ea6073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f5c244ef69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 10 (Thread 0x7f5c09f93910 (LWP 18799)):
#0  0x00007f5c244e4743 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5c09f99b4e in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007f5c1ea6073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f5c244ef69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f5c09792910 (LWP 18800)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5c11f368eb in ?? () from /usr/lib/libxine.so.1
#2  0x00007f5c1ea6073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f5c244ef69d 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 0x7f5c08b88910 (LWP 18801)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5c11f368eb in ?? () from /usr/lib/libxine.so.1
#2  0x00007f5c1ea6073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f5c244ef69d 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 0x7f5c03fff910 (LWP 18802)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5c11f368eb in ?? () from /usr/lib/libxine.so.1
#2  0x00007f5c1ea6073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f5c244ef69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

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

Thread 5 (Thread 0x7f5c020e9910 (LWP 18806)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5c25918499 in QWaitConditionPrivate::wait (this=0x25b9aa8, mutex=0x2509310, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x25b9aa8, mutex=0x2509310, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5c217ae2e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x25b9a80, th=0x2781a30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5c217b037b in ThreadWeaver::WorkingHardState::applyForWork (this=0x22f7ad0, th=0x2781a30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5c217aea1f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5c020e9000, parent=0x25b9a80, th=0x2781a30) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f5c217aef88 in ThreadWeaver::Thread::run (this=0x2781a30) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5c259174a5 in QThreadPrivate::start (arg=0x2781a30) at thread/qthread_unix.cpp:188
#8  0x00007f5c1ea6073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f5c244ef69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5bf7720910 (LWP 18807)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5c25918499 in QWaitConditionPrivate::wait (this=0x25b9aa8, mutex=0x2509310, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x25b9aa8, mutex=0x2509310, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5c217ae2e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x25b9a80, th=0x27a56f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5c217b037b in ThreadWeaver::WorkingHardState::applyForWork (this=0x22f7ad0, th=0x27a56f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5c217b0394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22f7ad0, th=0x27a56f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f5c217aea1f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5bf7720000, parent=0x25b9a80, th=0x27a56f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f5c217aef88 in ThreadWeaver::Thread::run (this=0x27a56f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f5c259174a5 in QThreadPrivate::start (arg=0x27a56f0) at thread/qthread_unix.cpp:188
#9  0x00007f5c1ea6073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f5c244ef69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5bf692e910 (LWP 18809)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5c25918499 in QWaitConditionPrivate::wait (this=0x25b9aa8, mutex=0x2509310, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x25b9aa8, mutex=0x2509310, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5c217ae2e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x25b9a80, th=0x2972770) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5c217b037b in ThreadWeaver::WorkingHardState::applyForWork (this=0x22f7ad0, th=0x2972770) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5c217b0394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22f7ad0, th=0x2972770) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f5c217aea1f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5bf692e000, parent=0x25b9a80, th=0x2972770) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f5c217aef88 in ThreadWeaver::Thread::run (this=0x2972770) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f5c259174a5 in QThreadPrivate::start (arg=0x2972770) at thread/qthread_unix.cpp:188
#9  0x00007f5c1ea6073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f5c244ef69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5bf612d910 (LWP 18810)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5c25918499 in QWaitConditionPrivate::wait (this=0x25b9aa8, mutex=0x2509310, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x25b9aa8, mutex=0x2509310, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5c217ae2e6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x25b9a80, th=0x297c6a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5c217b037b in ThreadWeaver::WorkingHardState::applyForWork (this=0x22f7ad0, th=0x297c6a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5c217b0394 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22f7ad0, th=0x297c6a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f5c217aea1f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5bf612d000, parent=0x25b9a80, th=0x297c6a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f5c217aef88 in ThreadWeaver::Thread::run (this=0x297c6a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f5c259174a5 in QThreadPrivate::start (arg=0x297c6a0) at thread/qthread_unix.cpp:188
#9  0x00007f5c1ea6073a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f5c244ef69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5c273117a0 (LWP 18794)):
[KCrash Handler]
#5  QHash<unsigned int, LIBMTP_track_struct*>::findNode (this=0x22eb250, track=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:855
#6  QHash<unsigned int, LIBMTP_track_struct*>::operator[] (this=0x22eb250, track=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:720
#7  Meta::MtpHandler::setAssociateTrack (this=0x22eb250, track=<value optimized out>) at ../../../../src/collection/mtpcollection/handler/MtpHandler.cpp:960
#8  0x00007f5c00aa3375 in Handler::MtpReadCapability::setAssociateTrack (this=0x4c26e58, track=<value optimized out>)
    at ../../../../src/collection/mtpcollection/handler/capabilities/MtpReadCapability.cpp:55
#9  0x00007f5c264aa887 in Meta::MediaDeviceHandler::parseTracks (this=0x22eb250) at ../../src/collection/mediadevicecollection/handler/MediaDeviceHandler.cpp:838
#10 0x00007f5c264932f9 in MediaDeviceCollection::startFullScanDevice (this=0x4c351d0) at ../../src/collection/mediadevicecollection/MediaDeviceCollection.cpp:163
#11 0x00007f5c26492dda in MediaDeviceCollection::slotAttemptConnectionDone (this=0x4c351d0, success=<value optimized out>) at ../../src/collection/mediadevicecollection/MediaDeviceCollection.cpp:206
#12 0x00007f5c00aa0236 in Meta::MtpHandler::slotDeviceMatchSucceeded (this=0x22eb250, job=0x2b9d770) at ../../../../src/collection/mtpcollection/handler/MtpHandler.cpp:1343
#13 0x00007f5c00a961cf in Meta::MtpHandler::qt_metacall (this=0x22eb250, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffa0b506a0) at moc_MtpHandler.cpp:69
#14 0x00007f5c25a11df2 in QMetaObject::activate (sender=0x2b9d770, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x11) at kernel/qobject.cpp:3112
#15 0x00007f5c217af332 in ThreadWeaver::Job::done (this=0x4c969d0, _t1=0x2b9d770) at ./Job.moc:91
#16 0x00007f5c217af4d4 in ThreadWeaver::Job::qt_metacall (this=0x2b9d770, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f5c04378a00) at ./Job.moc:71
#17 0x00007f5c25a0c6c8 in QObject::event (this=0x2b9d770, e=0x7f5c04284840) at kernel/qobject.cpp:1110
#18 0x00007f5c24e7601d in QApplicationPrivate::notify_helper (this=0x1c59070, receiver=0x2b9d770, e=0x7f5c04284840) at kernel/qapplication.cpp:4065
#19 0x00007f5c24e7e07a in QApplication::notify (this=0x7fffa0b51030, receiver=0x2b9d770, e=0x7f5c04284840) at kernel/qapplication.cpp:4030
#20 0x00007f5c26e37e06 in KApplication::notify (this=0x7fffa0b51030, receiver=0x2b9d770, event=0x7f5c04284840) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00007f5c259fcc9c in QCoreApplication::notifyInternal (this=0x7fffa0b51030, receiver=0x2b9d770, event=0x7f5c04284840) at kernel/qcoreapplication.cpp:610
#22 0x00007f5c259fd8e4 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x1b31830) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b31830) at kernel/qcoreapplication.cpp:1247
#24 0x00007f5c25a257d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#25 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#26 0x00007f5c1d46790e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007f5c1d46b2c8 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007f5c1d46b3f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007f5c25a2539c in QEventDispatcherGlib::processEvents (this=0x1b31250, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#30 0x00007f5c24f0cf1f in QGuiEventDispatcherGlib::processEvents (this=0x4c969d0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007f5c259fb562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f5c259fb934 in QEventLoop::exec (this=0x7fffa0b50fd0, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f5c259fdba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x0000000000409dc7 in main (argc=1, argv=0x7fffa0b52e48) at ../../src/main.cpp:227
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-02-26 09:25:11 UTC

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