Bug 208279

Summary: Amarok crashes when iPod plugged in [itdb_parse, Meta::IpodHandler::init, MediaDeviceCollection::init]
Product: [Applications] amarok Reporter: Matt <matt>
Component: Collections/iPod iPhoneAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED UPSTREAM    
Severity: crash CC: aikawarazuni, matej, teuf
Priority: NOR    
Version: 2.3-GIT   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matt 2009-09-23 13:17:16 UTC
Application: amarok (2.2-GIT)
KDE Version: 4.3.68 (KDE 4.3.68 (KDE 4.4 >= 20090916)) (Compiled from sources)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.5 x86_64
Distribution (Platform): Gentoo Packages

What I was doing when the application crashed:
If my iPod is mounted before I start amarok, amarok crashes during splash screen.

If my iPod is not mounted before I start amarok, amarok starts fine. As soon as I mount my iPod, amarok crashes.


mysql related?



 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 0 (LWP 5700)]

Thread 12 (Thread 0x7fd577e07910 (LWP 5703)):
#0  0x00007fd590d07d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd578a637b5 in os_event_wait_low () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007fd578a6202f in os_aio_simulated_handle () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007fd578a3004f in fil_aio_wait () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#4  0x00007fd578a9ce3d in io_handler_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#5  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#6  0x00007fd59125481d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fd57695a910 (LWP 5704)):
#0  0x00007fd590d07d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd578a637b5 in os_event_wait_low () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007fd578a6202f in os_aio_simulated_handle () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007fd578a3004f in fil_aio_wait () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#4  0x00007fd578a9ce3d in io_handler_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#5  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#6  0x00007fd59125481d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fd576159910 (LWP 5705)):
#0  0x00007fd590d07d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd578a637b5 in os_event_wait_low () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007fd578a6202f in os_aio_simulated_handle () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007fd578a3004f in fil_aio_wait () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#4  0x00007fd578a9ce3d in io_handler_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#5  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#6  0x00007fd59125481d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fd575958910 (LWP 5706)):
#0  0x00007fd590d07d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd578a637b5 in os_event_wait_low () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007fd578a6202f in os_aio_simulated_handle () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007fd578a3004f in fil_aio_wait () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#4  0x00007fd578a9ce3d in io_handler_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#5  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#6  0x00007fd59125481d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fd575156910 (LWP 5707)):
#0  0x00007fd59124e222 in select () from /lib/libc.so.6
#1  0x00007fd578a640d1 in os_thread_sleep () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007fd578a9b35d in srv_lock_timeout_and_monitor_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#4  0x00007fd59125481d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fd574955910 (LWP 5708)):
#0  0x00007fd59124e222 in select () from /lib/libc.so.6
#1  0x00007fd578a640d1 in os_thread_sleep () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007fd578a9b98c in srv_error_monitor_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#4  0x00007fd59125481d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fd573f4f910 (LWP 5709)):
#0  0x00007fd590d07d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd578a637b5 in os_event_wait_low () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007fd578a9c5bd in srv_master_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#4  0x00007fd59125481d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd56db7f910 (LWP 5710)):
#0  0x00007fd590d07d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd59257818d in QWaitConditionPrivate::wait (this=0x151f9b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd592577ced in QWaitCondition::wait (this=0x10995f8, mutex=0x10b0b50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd58dd83433 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10995d0, th=0x1473660) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd58dd85b90 in ThreadWeaver::WorkingHardState::applyForWork (this=0x802f50, th=0x1473660) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd58dd83f5b in ThreadWeaver::ThreadRunHelper::run (this=0x7fd56db7ef90, parent=0x10995d0, th=0x1473660) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd58dd843ce in ThreadWeaver::Thread::run (this=0x1473660) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd592577854 in QThreadPrivate::start (arg=0x1473660) at thread/qthread_unix.cpp:188
#8  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#9  0x00007fd59125481d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd56d37e910 (LWP 5711)):
#0  0x00007fd590d07d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd59257818d in QWaitConditionPrivate::wait (this=0x151f9b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd592577ced in QWaitCondition::wait (this=0x10995f8, mutex=0x10b0b50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd58dd83433 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10995d0, th=0x145a730) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd58dd85b90 in ThreadWeaver::WorkingHardState::applyForWork (this=0x802f50, th=0x145a730) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd58dd83f5b in ThreadWeaver::ThreadRunHelper::run (this=0x7fd56d37df90, parent=0x10995d0, th=0x145a730) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd58dd843ce in ThreadWeaver::Thread::run (this=0x145a730) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd592577854 in QThreadPrivate::start (arg=0x145a730) at thread/qthread_unix.cpp:188
#8  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#9  0x00007fd59125481d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd56cb7d910 (LWP 5712)):
#0  0x00007fd590d07d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd59257818d in QWaitConditionPrivate::wait (this=0x151f9b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd592577ced in QWaitCondition::wait (this=0x10995f8, mutex=0x10b0b50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd58dd83433 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10995d0, th=0x97cb00) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd58dd85b90 in ThreadWeaver::WorkingHardState::applyForWork (this=0x802f50, th=0x97cb00) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd58dd85ba9 in ThreadWeaver::WorkingHardState::applyForWork (this=0x802f50, th=0x97cb00) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd58dd83f5b in ThreadWeaver::ThreadRunHelper::run (this=0x7fd56cb7cf90, parent=0x10995d0, th=0x97cb00) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fd58dd843ce in ThreadWeaver::Thread::run (this=0x97cb00) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fd592577854 in QThreadPrivate::start (arg=0x97cb00) at thread/qthread_unix.cpp:188
#9  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#10 0x00007fd59125481d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd56bb7b910 (LWP 5716)):
#0  0x00007fd590d07d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd59257818d in QWaitConditionPrivate::wait (this=0x151f9b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fd592577ced in QWaitCondition::wait (this=0x10995f8, mutex=0x10b0b50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd58dd83433 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10995d0, th=0x144ce90) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd58dd85b90 in ThreadWeaver::WorkingHardState::applyForWork (this=0x802f50, th=0x144ce90) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd58dd83f5b in ThreadWeaver::ThreadRunHelper::run (this=0x7fd56bb7af90, parent=0x10995d0, th=0x144ce90) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd58dd843ce in ThreadWeaver::Thread::run (this=0x144ce90) at /opt/kde4/kdesvn/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd592577854 in QThreadPrivate::start (arg=0x144ce90) at thread/qthread_unix.cpp:188
#8  0x00007fd590d03257 in start_thread () from /lib/libpthread.so.0
#9  0x00007fd59125481d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd593e1c7b0 (LWP 5700)):
[KCrash Handler]
#5  0x00007fd5892d0577 in g_list_prepend () from /usr/lib/libglib-2.0.so.0
#6  0x00007fd571c08004 in ?? () from /usr/lib/libgpod.so.4
#7  0x00007fd571c085d2 in itdb_parse () from /usr/lib/libgpod.so.4
#8  0x00007fd572053fe0 in Meta::IpodHandler::init (this=0x30d5100) at /opt/kde4/amarok_git/amarok/src/collection/ipodcollection/handler/IpodHandler.cpp:140
#9  0x00007fd5931203a8 in MediaDeviceCollection::init (this=0x30bb420) at /opt/kde4/amarok_git/amarok/src/collection/mediadevicecollection/MediaDeviceCollection.h:135
#10 0x00007fd5931200bc in MediaDeviceCollectionFactoryBase::slotDeviceDetected (this=0x105e150, info=0x30bb290)
    at /opt/kde4/amarok_git/amarok/src/collection/mediadevicecollection/MediaDeviceCollection.cpp:81
#11 0x00007fd59311ff74 in MediaDeviceCollectionFactoryBase::qt_metacall (this=0x105e150, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff4b8098b0)
    at /opt/kde4/amarok_git/amarok/build/src/MediaDeviceCollection.moc:71
#12 0x00007fd572049d6b in IpodCollectionFactory::qt_metacall (this=0x105e150, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff4b8098b0)
    at /opt/kde4/amarok_git/amarok/build/src/collection/ipodcollection/IpodCollection.moc:58
#13 0x00007fd59269d4ca in QMetaObject::activate (sender=0xa40120, from_signal_index=4, to_signal_index=4, argv=0x7fff4b8098b0) at kernel/qobject.cpp:3112
#14 0x00007fd59269da57 in QMetaObject::activate (sender=0xa40120, m=0x7fd5936e7f20, local_signal_index=0, argv=0x7fff4b8098b0) at kernel/qobject.cpp:3186
#15 0x00007fd593136bf7 in ConnectionAssistant::identified (this=0xa40120, _t1=0x30bb290) at /opt/kde4/amarok_git/amarok/build/src/ConnectionAssistant.moc:82
#16 0x00007fd593136eba in ConnectionAssistant::tellIdentified (this=0xa40120, udi=@0x7fff4b80a050)
    at /opt/kde4/amarok_git/amarok/src/collection/mediadevicecollection/support/ConnectionAssistant.cpp:50
#17 0x00007fd59329d15f in MediaDeviceMonitor::checkOneDevice (this=0x1025030, assistant=0xa40120, udi=@0x7fff4b80a050) at /opt/kde4/amarok_git/amarok/src/MediaDeviceMonitor.cpp:118
#18 0x00007fd59329d1d0 in MediaDeviceMonitor::checkDevice (this=0x1025030, udi=@0x7fff4b80a050) at /opt/kde4/amarok_git/amarok/src/MediaDeviceMonitor.cpp:91
#19 0x00007fd59329d353 in MediaDeviceMonitor::deviceAdded (this=0x1025030, udi=@0x7fff4b80a050) at /opt/kde4/amarok_git/amarok/src/MediaDeviceMonitor.cpp:169
#20 0x00007fd592fdd08d in MediaDeviceMonitor::qt_metacall (this=0x1025030, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff4b809c10)
    at /opt/kde4/amarok_git/amarok/build/src/moc_MediaDeviceMonitor.cpp:89
#21 0x00007fd59269d4ca in QMetaObject::activate (sender=0x9f2ae0, from_signal_index=4, to_signal_index=4, argv=0x7fff4b809c10) at kernel/qobject.cpp:3112
#22 0x00007fd59269da57 in QMetaObject::activate (sender=0x9f2ae0, m=0x7fd5936fa080, local_signal_index=0, argv=0x7fff4b809c10) at kernel/qobject.cpp:3186
#23 0x00007fd593299acf in MediaDeviceCache::deviceAdded (this=0x9f2ae0, _t1=@0x7fff4b80a050) at /opt/kde4/amarok_git/amarok/build/src/MediaDeviceCache.moc:95
#24 0x00007fd59329a1c5 in MediaDeviceCache::slotAccessibilityChanged (this=0x9f2ae0, accessible=true, udi=@0x7fff4b80a050) at /opt/kde4/amarok_git/amarok/src/MediaDeviceCache.cpp:234
#25 0x00007fd59329ac82 in MediaDeviceCache::qt_metacall (this=0x9f2ae0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff4b809e20) at /opt/kde4/amarok_git/amarok/build/src/MediaDeviceCache.moc:83
#26 0x00007fd59269d4ca in QMetaObject::activate (sender=0x104d730, from_signal_index=4, to_signal_index=4, argv=0x7fff4b809e20) at kernel/qobject.cpp:3112
#27 0x00007fd59269da57 in QMetaObject::activate (sender=0x104d730, m=0x7fd58d389180, local_signal_index=0, argv=0x7fff4b809e20) at kernel/qobject.cpp:3186
#28 0x00007fd58d133254 in Solid::StorageAccess::accessibilityChanged (this=0x72a4b0, _t1=true, _t2=<value optimized out>) at /opt/kde4/build/kdelibs/solid/solid/storageaccess.moc:115
#29 0x00007fd58d133787 in Solid::StorageAccess::qt_metacall (this=0x104d730, _c=QMetaObject::InvokeMetaMethod, _id=-3, _a=0x7fff4b80a000) at /opt/kde4/build/kdelibs/solid/solid/storageaccess.moc:77
#30 0x00007fd59269d4ca in QMetaObject::activate (sender=0xa3c1d0, from_signal_index=4, to_signal_index=4, argv=0x7fff4b80a000) at kernel/qobject.cpp:3112
#31 0x00007fd59269da57 in QMetaObject::activate (sender=0xa3c1d0, m=0x7fd58d3931e0, local_signal_index=0, argv=0x7fff4b80a000) at kernel/qobject.cpp:3186
#32 0x00007fd58d1694c4 in Solid::Backends::Hal::StorageAccess::accessibilityChanged (this=0x72a4b0, _t1=true, _t2=<value optimized out>)
    at /opt/kde4/build/kdelibs/solid/solid/backends/hal/halstorageaccess.moc:108
#33 0x00007fd58d1698d8 in Solid::Backends::Hal::StorageAccess::slotPropertyChanged (this=0xa3c1d0, changes=@0x7fff4b80a2f0)
    at /opt/kde4/kdesvn/kdelibs/solid/solid/backends/hal/halstorageaccess.cpp:132
#34 0x00007fd58d16b831 in Solid::Backends::Hal::StorageAccess::qt_metacall (this=0xa3c1d0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff4b80a240)
    at /opt/kde4/build/kdelibs/solid/solid/backends/hal/halstorageaccess.moc:92
#35 0x00007fd59269d4ca in QMetaObject::activate (sender=0x1058490, from_signal_index=4, to_signal_index=4, argv=0x7fff4b80a240) at kernel/qobject.cpp:3112
#36 0x00007fd59269da57 in QMetaObject::activate (sender=0x1058490, m=0x7fd58d391b80, local_signal_index=0, argv=0x7fff4b80a240) at kernel/qobject.cpp:3186
#37 0x00007fd58d1599e2 in Solid::Backends::Hal::HalDevice::propertyChanged (this=0x72a4b0, _t1=<value optimized out>) at /opt/kde4/build/kdelibs/solid/solid/backends/hal/haldevice.moc:93
#38 0x00007fd58d15a09b in Solid::Backends::Hal::HalDevice::slotPropertyModified (this=0x1058490, changes=<value optimized out>) at /opt/kde4/kdesvn/kdelibs/solid/solid/backends/hal/haldevice.cpp:559
#39 0x00007fd58d15a1be in Solid::Backends::Hal::HalDevice::qt_metacall (this=0x1058490, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff4b80a400)
    at /opt/kde4/build/kdelibs/solid/solid/backends/hal/haldevice.moc:80
#40 0x00007fd58f1c070c in QDBusConnectionPrivate::deliverCall (this=0x10296e0, object=0x1058490, msg=@0x30ba5e8, metaTypes=@0x30ba5f0, slotIdx=6) at qdbusintegrator.cpp:891
#41 0x00007fd58f1cb225 in QDBusCallDeliveryEvent::placeMetaCall (this=0x30ba5a0, object=0x1058490) at qdbusintegrator_p.h:101
#42 0x00007fd59269c4a0 in QObject::event (this=0x1058490, e=0x30ba5a0) at kernel/qobject.cpp:1110
#43 0x00007fd5918cc501 in QApplicationPrivate::notify_helper (this=0x7344e0, receiver=0x1058490, e=0x30ba5a0) at kernel/qapplication.cpp:4056
#44 0x00007fd5918cc8be in QApplication::notify (this=0x7fff4b80b4d0, receiver=0x1058490, e=0x30ba5a0) at kernel/qapplication.cpp:3603
#45 0x00007fd59393c62b in KApplication::notify (this=0x7fff4b80b4d0, receiver=0x1058490, event=0x30ba5a0) at /opt/kde4/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:302
#46 0x00007fd592684874 in QCoreApplication::notifyInternal (this=0x7fff4b80b4d0, receiver=0x1058490, event=0x30ba5a0) at kernel/qcoreapplication.cpp:610
#47 0x00007fd592688ee7 in QCoreApplication::sendEvent (receiver=0x1058490, event=0x30ba5a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#48 0x00007fd592684e95 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x614fa0) at kernel/qcoreapplication.cpp:1247
#49 0x00007fd592685164 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#50 0x00007fd5926bb34b in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#51 0x00007fd5926ba1a3 in postEventSourceDispatch (s=0x72ba00) at kernel/qeventdispatcher_glib.cpp:210
#52 0x00007fd5892d3c28 in ?? () from /usr/lib/libglib-2.0.so.0
#53 0x00007fd5892d5398 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0x00007fd5892d59dd in ?? () from /usr/lib/libglib-2.0.so.0
#55 0x00007fd5892d5c1e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#56 0x00007fd5926b972e in QEventDispatcherGlib::processEvents (this=0x614790, flags=@0x7fff4b80b320) at kernel/qeventdispatcher_glib.cpp:327
#57 0x00007fd59198c163 in QGuiEventDispatcherGlib::processEvents (this=0x614790, flags=@0x7fff4b80b380) at kernel/qguieventdispatcher_glib.cpp:202
#58 0x00007fd592681144 in QEventLoop::processEvents (this=0x7fff4b80b450, flags=@0x7fff4b80b3e0) at kernel/qeventloop.cpp:149
#59 0x00007fd592681366 in QEventLoop::exec (this=0x7fff4b80b450, flags=@0x7fff4b80b460) at kernel/qeventloop.cpp:201
#60 0x00007fd592685287 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#61 0x00007fd5918cc262 in QApplication::exec () at kernel/qapplication.cpp:3525
#62 0x0000000000405f23 in main (argc=1, argv=0x7fff4b80d278) at /opt/kde4/amarok_git/amarok/src/main.cpp:225

This bug may be a duplicate of or related to bug 206969.

Reported using DrKonqi
Comment 1 Mikko C. 2009-09-23 13:35:18 UTC
backtrace indicates a crash in libgpod, but it's missing debug symbols:

Thread 1 (Thread 0x7fd593e1c7b0 (LWP 5700)):
[KCrash Handler]
#5  0x00007fd5892d0577 in g_list_prepend () from /usr/lib/libglib-2.0.so.0
#6  0x00007fd571c08004 in ?? () from /usr/lib/libgpod.so.4
#7  0x00007fd571c085d2 in itdb_parse () from /usr/lib/libgpod.so.4
#8  0x00007fd572053fe0 in Meta::IpodHandler::init (this=0x30d5100) at
/opt/kde4/amarok_git/amarok/src/collection/ipodcollection/handler/IpodHandler.cpp:140
Comment 2 Matt 2009-09-23 17:03:11 UTC
This may be a dumb question but how do I rebuild libgpod with debug symbols?
Comment 3 Matt 2009-09-23 17:36:37 UTC
I recompiled libgpod with -ggdb and didn't strip the binaries.  

I hope this helps.

Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 0 (LWP 6203)]

Thread 8 (Thread 0x7f984574d910 (LWP 6206)):
#0  0x00007f985e621d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f98463aa7b5 in os_event_wait_low () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007f98463a902f in os_aio_simulated_handle () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007f984637704f in fil_aio_wait () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#4  0x00007f98463e3e3d in io_handler_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#5  0x00007f985e61d257 in start_thread () from /lib/libpthread.so.0
#6  0x00007f985eb6e81d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f98442a0910 (LWP 6207)):
#0  0x00007f985e621d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f98463aa7b5 in os_event_wait_low () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007f98463a902f in os_aio_simulated_handle () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007f984637704f in fil_aio_wait () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#4  0x00007f98463e3e3d in io_handler_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#5  0x00007f985e61d257 in start_thread () from /lib/libpthread.so.0
#6  0x00007f985eb6e81d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9843a9f910 (LWP 6208)):
#0  0x00007f985e621d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f98463aa7b5 in os_event_wait_low () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007f98463a902f in os_aio_simulated_handle () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007f984637704f in fil_aio_wait () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#4  0x00007f98463e3e3d in io_handler_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#5  0x00007f985e61d257 in start_thread () from /lib/libpthread.so.0
#6  0x00007f985eb6e81d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f984329e910 (LWP 6209)):
#0  0x00007f985e621d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f98463aa7b5 in os_event_wait_low () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007f98463a902f in os_aio_simulated_handle () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007f984637704f in fil_aio_wait () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#4  0x00007f98463e3e3d in io_handler_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#5  0x00007f985e61d257 in start_thread () from /lib/libpthread.so.0
#6  0x00007f985eb6e81d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9841d86910 (LWP 6211)):
#0  0x00007f985eb68222 in select () from /lib/libc.so.6
#1  0x00007f98463ab0d1 in os_thread_sleep () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007f98463e235d in srv_lock_timeout_and_monitor_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007f985e61d257 in start_thread () from /lib/libpthread.so.0
#4  0x00007f985eb6e81d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9841585910 (LWP 6212)):
#0  0x00007f985eb68222 in select () from /lib/libc.so.6
#1  0x00007f98463ab0d1 in os_thread_sleep () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007f98463e298c in srv_error_monitor_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007f985e61d257 in start_thread () from /lib/libpthread.so.0
#4  0x00007f985eb6e81d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9840d84910 (LWP 6213)):
#0  0x00007f985e621d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f98463aa7b5 in os_event_wait_low () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#2  0x00007f98463e35bd in srv_master_thread () from /opt/kde4/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007f985e61d257 in start_thread () from /lib/libpthread.so.0
#4  0x00007f985eb6e81d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f98617357b0 (LWP 6203)):
[KCrash Handler]
#5  0x00007f9856c0c8c7 in g_list_prepend () from /usr/lib/libglib-2.0.so.0
#6  0x00007f983ebb2824 in itdb_parse_internal (itdb=<value optimized out>, error=0x7fff615d5858) at itdb_itunesdb.c:1022
#7  0x00007f983ebb2df2 in itdb_parse (mp=0x1052088 "/mnt/ipod", error=0x7fff615d5858) at itdb_itunesdb.c:3004
#8  0x00007f983effefe0 in Meta::IpodHandler::init (this=0x10542b0) at /opt/kde4/amarok_git/amarok/src/collection/ipodcollection/handler/IpodHandler.cpp:140
#9  0x00007f9860a3a3a8 in MediaDeviceCollection::init (this=0x1053c40) at /opt/kde4/amarok_git/amarok/src/collection/mediadevicecollection/MediaDeviceCollection.h:135
#10 0x00007f9860a3a0bc in MediaDeviceCollectionFactoryBase::slotDeviceDetected (this=0x1059500, info=0x1053850)
    at /opt/kde4/amarok_git/amarok/src/collection/mediadevicecollection/MediaDeviceCollection.cpp:81
#11 0x00007f9860a39f74 in MediaDeviceCollectionFactoryBase::qt_metacall (this=0x1059500, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff615d5e90)
    at /opt/kde4/amarok_git/amarok/build/src/MediaDeviceCollection.moc:71
#12 0x00007f983eff4d6b in IpodCollectionFactory::qt_metacall (this=0x1059500, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff615d5e90)
    at /opt/kde4/amarok_git/amarok/build/src/collection/ipodcollection/IpodCollection.moc:58
#13 0x00007f985ffb74ca in QMetaObject::activate (sender=0xa1fd50, from_signal_index=4, to_signal_index=4, argv=0x7fff615d5e90) at kernel/qobject.cpp:3112
#14 0x00007f985ffb7a57 in QMetaObject::activate (sender=0xa1fd50, m=0x7f9861001f20, local_signal_index=0, argv=0x7fff615d5e90) at kernel/qobject.cpp:3186
#15 0x00007f9860a50bf7 in ConnectionAssistant::identified (this=0xa1fd50, _t1=0x1053850) at /opt/kde4/amarok_git/amarok/build/src/ConnectionAssistant.moc:82
#16 0x00007f9860a50eba in ConnectionAssistant::tellIdentified (this=0xa1fd50, udi=@0x104c048) at /opt/kde4/amarok_git/amarok/src/collection/mediadevicecollection/support/ConnectionAssistant.cpp:50
#17 0x00007f9860bb715f in MediaDeviceMonitor::checkOneDevice (this=0x9eb050, assistant=0xa1fd50, udi=@0x104c048) at /opt/kde4/amarok_git/amarok/src/MediaDeviceMonitor.cpp:118
#18 0x00007f9860bb74b6 in MediaDeviceMonitor::checkDevicesFor (this=0x9eb050, assistant=0xa1fd50) at /opt/kde4/amarok_git/amarok/src/MediaDeviceMonitor.cpp:131
#19 0x00007f9860bb75e7 in MediaDeviceMonitor::registerDeviceType (this=0x9eb050, assistant=0xa1fd50) at /opt/kde4/amarok_git/amarok/src/MediaDeviceMonitor.cpp:158
#20 0x00007f9860a3a161 in MediaDeviceCollectionFactoryBase::init (this=0x1059500) at /opt/kde4/amarok_git/amarok/src/collection/mediadevicecollection/MediaDeviceCollection.cpp:60
#21 0x00007f9860ad166b in CollectionManager::init (this=0xa0fec0) at /opt/kde4/amarok_git/amarok/src/collection/CollectionManager.cpp:182
#22 0x00007f9860ad1835 in CollectionManager (this=0xa0fec0) at /opt/kde4/amarok_git/amarok/src/collection/CollectionManager.cpp:87
#23 0x00007f9860ad1869 in CollectionManager::instance () at /opt/kde4/amarok_git/amarok/src/collection/CollectionManager.cpp:65
#24 0x00007f9860a58458 in ServiceFactory (this=0xa5c0a0) at /opt/kde4/amarok_git/amarok/src/services/ServiceBase.cpp:39
#25 0x00007f9846a2f26d in AmpacheServiceFactory (this=0xa5c0a0) at /opt/kde4/amarok_git/amarok/src/services/ampache/AmpacheService.h:34
#26 0x00007f9846a2d744 in create_plugin () at /opt/kde4/amarok_git/amarok/src/services/ampache/AmpacheService.cpp:35
#27 0x00007f9860bb9471 in PluginManager::createFromService (service=@0x7fff615d6610) at /opt/kde4/amarok_git/amarok/src/PluginManager.cpp:109
#28 0x00007f9860a696b2 in ServicePluginManager::collect (this=0xa6ca20) at /opt/kde4/amarok_git/amarok/src/services/ServicePluginManager.cpp:65
#29 0x00007f9860a6999d in ServicePluginManager (this=0xa6ca20) at /opt/kde4/amarok_git/amarok/src/services/ServicePluginManager.cpp:42
#30 0x00007f9860a699ca in ServicePluginManager::instance () at /opt/kde4/amarok_git/amarok/src/services/ServicePluginManager.cpp:32
#31 0x00007f98609a1296 in Model (this=0xa71820, parent=0x80c600) at /opt/kde4/amarok_git/amarok/src/playlist/PlaylistModel.cpp:65
#32 0x00007f98609a5e18 in ModelStack (this=0x80c600) at /opt/kde4/amarok_git/amarok/src/playlist/PlaylistModelStack.cpp:58
#33 0x00007f98609a5fba in Playlist::ModelStack::instance () at /opt/kde4/amarok_git/amarok/src/playlist/PlaylistModelStack.cpp:41
#34 0x00007f98609a5fd9 in The::playlist () at /opt/kde4/amarok_git/amarok/src/playlist/PlaylistModelStack.cpp:28
#35 0x00007f9860b575d6 in StatusBar (this=0x984760, parent=0x80a810) at /opt/kde4/amarok_git/amarok/src/statusbar/StatusBar.cpp:90
#36 0x00007f9860bb1834 in MainWindow (this=0x80a810) at /opt/kde4/amarok_git/amarok/src/MainWindow.cpp:138
#37 0x00007f9860b924b4 in App::continueInit (this=0x7fff615d6ff0) at /opt/kde4/amarok_git/amarok/src/App.cpp:662
#38 0x00007f9860b953a6 in App (this=0x7fff615d6ff0) at /opt/kde4/amarok_git/amarok/src/App.cpp:225
#39 0x0000000000405f08 in main (argc=1, argv=0x7fff615d8d98) at /opt/kde4/amarok_git/amarok/src/main.cpp:223
Comment 4 Mikko C. 2009-09-23 17:42:48 UTC
I suggest you try asking upstream to libgpod devs, they will know better.