Bug 177201 - attaching MTP devices crashes / no startup (Amarok 2)
Summary: attaching MTP devices crashes / no startup (Amarok 2)
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Collections/MTP player (show other bugs)
Version: 2.0-SVN
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-08 08:14 UTC by herr-schneider.m
Modified: 2011-12-20 11:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace on connected before startup (6.99 KB, text/plain)
2008-12-08 08:23 UTC, herr-schneider.m
Details
gdb output on connected before startup (29.97 KB, text/plain)
2008-12-08 08:24 UTC, herr-schneider.m
Details
Crach report (10.43 KB, application/octet-stream)
2008-12-12 11:35 UTC, Ciaran O'Kelly
Details
fix-mtp-crash.patch (339 bytes, patch)
2008-12-14 17:44 UTC, Marcus Meissner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description herr-schneider.m 2008-12-08 08:14:16 UTC
Version:            (using KDE 4.1.3)
Compiler:          gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]  
OS:                Linux
Installed from:    SuSE RPMs

Current SVN version:

Whenever I try to attach my Media Device (iAudio 7) in MTP mode, amarok 2 crashes resp. does not start up.

Backtrace and gdb output attached.
Comment 1 herr-schneider.m 2008-12-08 08:23:53 UTC
Created attachment 29132 [details]
backtrace on connected before startup
Comment 2 herr-schneider.m 2008-12-08 08:24:26 UTC
Created attachment 29133 [details]
gdb output on connected before startup
Comment 3 Dario Andres 2008-12-08 21:59:45 UTC
Pasted backtrace from comment 1:

Anwendung: Amarok (amarok), Signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xa9c43b90 (LWP 15117)]
[New Thread 0xabbd0b90 (LWP 15116)]
[New Thread 0xac3d1b90 (LWP 15115)]
[New Thread 0xacbd2b90 (LWP 15114)]
[New Thread 0xae063b90 (LWP 15112)]
[New Thread 0xae864b90 (LWP 15111)]
[New Thread 0xaf065b90 (LWP 15110)]
[New Thread 0xb03afb90 (LWP 15109)]
[New Thread 0xb1735b90 (LWP 15106)]
[KCrash handler]
#6  0xb174354d in LIBMTP_Release_Device () from /usr/lib/libmtp.so.8
#7  0xb18152d1 in Mtp::MtpHandler::iterateRawDevices(int, LIBMTP_raw_device_struct*, QString const&) ()
   from /usr/lib/kde4/libamarok_collection-mtpcollection.so
#8  0xb1815431 in Mtp::WorkerThread::run() () from /usr/lib/kde4/libamarok_collection-mtpcollection.so
#9  0xb64ef03d in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb64ef3b9 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#11 0xb64edfda in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb64ee64b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0xb7e0485e in ?? () from /usr/lib/libQtCore.so.4
#14 0xb7d7a1b5 in start_thread () from /lib/libpthread.so.0
#15 0xb4c2f38e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb03afb90 (LWP 15109)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7d7dc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb0bc312e in os_event_wait_low () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#3  0xb0bbfe11 in os_aio_simulated_handle () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#4  0xb0b818ed in fil_aio_wait () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#5  0xb09b139e in io_handler_thread () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#6  0xb7d7a1b5 in start_thread () from /lib/libpthread.so.0
#7  0xb4c2f38e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xaf065b90 (LWP 15110)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7d7dc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb0bc312e in os_event_wait_low () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#3  0xb0bbfe11 in os_aio_simulated_handle () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#4  0xb0b818ed in fil_aio_wait () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#5  0xb09b139e in io_handler_thread () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#6  0xb7d7a1b5 in start_thread () from /lib/libpthread.so.0
#7  0xb4c2f38e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xae864b90 (LWP 15111)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7d7dc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb0bc312e in os_event_wait_low () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#3  0xb0bbfe11 in os_aio_simulated_handle () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#4  0xb0b818ed in fil_aio_wait () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#5  0xb09b139e in io_handler_thread () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#6  0xb7d7a1b5 in start_thread () from /lib/libpthread.so.0
#7  0xb4c2f38e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xae063b90 (LWP 15112)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7d7dc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb0bc312e in os_event_wait_low () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#3  0xb0bbfe11 in os_aio_simulated_handle () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#4  0xb0b818ed in fil_aio_wait () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#5  0xb09b139e in io_handler_thread () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#6  0xb7d7a1b5 in start_thread () from /lib/libpthread.so.0
#7  0xb4c2f38e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xacbd2b90 (LWP 15114)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb4c283e1 in select () from /lib/libc.so.6
#2  0xb0bc35fa in os_thread_sleep () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#3  0xb09ad8f0 in srv_lock_timeout_and_monitor_thread () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#4  0xb7d7a1b5 in start_thread () from /lib/libpthread.so.0
#5  0xb4c2f38e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xac3d1b90 (LWP 15115)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb4c283e1 in select () from /lib/libc.so.6
#2  0xb0bc35fa in os_thread_sleep () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#3  0xb09ac739 in srv_error_monitor_thread () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#4  0xb7d7a1b5 in start_thread () from /lib/libpthread.so.0
#5  0xb4c2f38e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xabbd0b90 (LWP 15116)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7d7dc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb0bc312e in os_event_wait_low () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#3  0xb09ab949 in srv_master_thread () from /usr/lib/kde4/libamarok_collection-sqlcollection.so
#4  0xb7d7a1b5 in start_thread () from /lib/libpthread.so.0
#5  0xb4c2f38e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa9c43b90 (LWP 15117)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7d80b3b in write () from /lib/libpthread.so.0
#2  0xb7ed2e39 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb7ed3cdd in ?? () from /usr/lib/libQtCore.so.4
#4  0xb7ed3e00 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb7e0485e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb7d7a1b5 in start_thread () from /lib/libpthread.so.0
#7  0xb4c2f38e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb39e7730 (LWP 15104)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb7d7dc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7e03f22 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb7dff48a in QMutex::lock() () from /usr/lib/libQtCore.so.4
#4  0xb7ed3fe8 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb7ed40a0 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb7e94f3b in ?? () from /usr/lib/libQtCore.so.4
#7  0xb7ed4ce5 in ?? () from /usr/lib/libQtCore.so.4
#8  0xb7e8efee in QProcess::waitForFinished(int) () from /usr/lib/libQtCore.so.4
#9  0xb7e92c71 in QProcess::execute(QString const&, QStringList const&) () from /usr/lib/libQtCore.so.4
#10 0xb7a646ce in KToolInvocation::startKdeinit() () from /usr/lib/libkdecore.so.5
#11 0xb7a649c5 in KToolInvocation::klauncher() () from /usr/lib/libkdecore.so.5
#12 0xb749c366 in ?? () from /usr/lib/libkdeui.so.5
#13 0xb749c3ec in KGlobalAccel::KGlobalAccel() () from /usr/lib/libkdeui.so.5
#14 0xb749cfc7 in KGlobalAccel::self() () from /usr/lib/libkdeui.so.5
#15 0xb7379b05 in KAction::setGlobalShortcut(KShortcut const&, QFlags<KAction::ShortcutType>, KAction::GlobalShortcutLoading) ()
   from /usr/lib/libkdeui.so.5
#16 0xb78604a3 in MainWindow::createActions() () from /usr/lib/libamaroklib.so.1
#17 0xb7865f22 in MainWindow::MainWindow() () from /usr/lib/libamaroklib.so.1
#18 0xb7850bed in App::continueInit() () from /usr/lib/libamaroklib.so.1
#19 0xb7853757 in App::App() () from /usr/lib/libamaroklib.so.1
#20 0x0804c186 in main ()
Comment 4 Dario Andres 2008-12-08 22:00:05 UTC
Pasted attachment in comment 2:

GNU gdb (GDB; openSUSE:11.1) 6.8.50.20081120-cvs                                         
Copyright (C) 2008 Free Software Foundation, Inc.                                        
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>            
This is free software: you are free to change and redistribute it.                       
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"               
and "show warranty" for details.                                                         
This GDB was configured as "i586-suse-linux".                                            
For bug reporting instructions, please see:                                              
<http://bugs.opensuse.org/>...                                                           
(gdb) r running                                                                          
Starting program: /usr/bin/amarok running                                                
[Thread debugging using libthread_db enabled]                                            

(<unknown>:15105): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstcacasink.so': /usr/lib/gstreamer-0.10/libgstcacasink.so: undefined symbol: caca_dither_bitmap                                                                               

(<unknown>:15105): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstmpeg2enc.so': libmpeg2encpp-1.9.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden                                                      
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) "M Audio Audiophile 24/96 (ICE1712 multi)"                                                                                                                                 
libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied.                                                             
libusb requires write access to USB device nodes.                                                                                    
libusb couldn't open USB device /dev/bus/usb/001/005: Permission denied.                                                             
libusb requires write access to USB device nodes.                                                                                    
libusb couldn't open USB device /dev/bus/usb/005/002: Permission denied.                                                             
libusb requires write access to USB device nodes.                                                                                    
libusb couldn't open USB device /dev/bus/usb/008/002: Permission denied.                                                             
libusb requires write access to USB device nodes.                                                                                    
usb_claim_interface(): Das Gerät oder die Ressource ist belegt                                                                       
LIBMTP PANIC: Unable to initialize device                                                                                            
<unknown program name>(15101)/: Communication problem with  "amarok" , it probably crashed.                                          
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" "            


Program exited with code 0377.
KCrash: Application 'amarok' crashing...
sock_file=/home/marcusschneider/.kde4/socket-radagast/kdeinit4__0
kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi      
(gdb) virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                    

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

QDBusObjectPath: invalid path ""
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!           
081208  8:09:27  InnoDB: Database was not shut down normally! 
InnoDB: Starting crash recovery.                              
InnoDB: Reading tablespace information from the .ibd files... 
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...                                                      
kdeinit4: Shutting down running client.                                
klauncher: Exiting on signal 15                                        
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher          
kdeinit4: preparing to launch /usr/bin/kded4                           
KDE Daemon (kded) already running.                                     
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4                   
kbuildsycoca4 running...                                               
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "kmplayer.desktop"  has Type= "Application"  but is located under " "services" " instead of "apps"                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "kmplayer.desktop" 
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/opt/kde3/share/applications/kde/ark.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                               
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/virtualization.desktop"  has Type= "Application"  but no Exec line                                                                           

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/virtualization.desktop"                                                                                                               
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/security.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/security.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/system.desktop"  has Type= "Application"  but no Exec line                                                                                   

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/system.desktop"                                                                                                                       
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_devices.desktop"  has Type= "Application"  but no Exec line                                                                          

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_devices.desktop"                                                                                                              
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/software.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/software.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/apparmor.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/apparmor.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/misc.desktop"  has Type= "Application"  but no Exec line                                                                                     

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/misc.desktop"                                                                                                                         
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_services.desktop"  has Type= "Application"  but no Exec line                                                                         

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_services.desktop"                                                                                                             
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/hardware.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/hardware.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/support.desktop"  has Type= "Application"  but no Exec line                                                                                  

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/support.desktop"                                                                                                                      
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/opt/kde3/share/applications/kde/k3b.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                               
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/opt/kde3/share/applications/kde/ark.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                               
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/opt/kde3/share/applications/kde/kdirstat.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                          
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/audacious.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                                  
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/wine-doors.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                               
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/yast2-metapackage-handler-ymu.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                              
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/eclipse.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                                    
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-session-kill.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                       
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/virtualization.desktop"  has Type= "Application"  but no Exec line                                                                           

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/virtualization.desktop"                                                                                                               
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/security.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/security.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/system.desktop"  has Type= "Application"  but no Exec line                                                                                   

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/system.desktop"                                                                                                                       
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_devices.desktop"  has Type= "Application"  but no Exec line                                                                          

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_devices.desktop"                                                                                                              
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/software.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/software.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/apparmor.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/apparmor.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/misc.desktop"  has Type= "Application"  but no Exec line                                                                                     

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/misc.desktop"                                                                                                                         
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_services.desktop"  has Type= "Application"  but no Exec line                                                                         

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_services.desktop"                                                                                                             
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/hardware.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/hardware.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/support.desktop"  has Type= "Application"  but no Exec line                                                                                  

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/support.desktop"                                                                                                                      
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/yast2-metapackage-handler.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                  
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/flashplayer.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                                
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-screensaver-lock.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                   
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/home/marcusschneider/.local/share/applications/kde-ark.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                            
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/home/marcusschneider/.local/share/applications/audacity.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                           
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/opt/kde3/share/applications/kde/k3b.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                               
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/opt/kde3/share/applications/kde/ark.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                               
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/opt/kde3/share/applications/kde/kdirstat.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                          
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/audacious.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                                  
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/wine-doors.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                               
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/yast2-metapackage-handler-ymu.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                              
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/eclipse.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                                    
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-session-kill.desktop" is not compliant with XDG standard (missing trailing semicolon).                                                                       
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/virtualization.desktop"  has Type= "Application"  but no Exec line                                                                           

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/virtualization.desktop"                                                                                                               
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/security.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/security.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/system.desktop"  has Type= "Application"  but no Exec line                                                                                   

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/system.desktop"                                                                                                                       
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_devices.desktop"  has Type= "Application"  but no Exec line                                                                          

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_devices.desktop"                                                                                                              
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/software.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/software.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/apparmor.desktop"  has Type= "Application"  but no Exec line                                                                                 

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/apparmor.desktop"                                                                                                                     
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/misc.desktop"  has Type= "Application"  but no Exec line                                                                                     

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/misc.desktop"
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_services.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_services.desktop"
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/hardware.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/hardware.desktop"
kbuildsycoca4(15123)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/support.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/support.desktop"
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/yast2-metapackage-handler.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/flashplayer.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gnome-screensaver-lock.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/home/marcusschneider/.local/share/applications/kde-ark.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(15123) KConfigGroup::readXdgListEntry: List entry MimeType in "/home/marcusschneider/.local/share/applications/audacity.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "text/xml"
kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "text/xml"
kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "text/xml"
kbuildsycoca4(15123)/kdecore (KService) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "text/xml"
drkonqi(15107) KFileDialog::getSaveFileName: KFileDialog::getSaveFileName called with non-local start dir  KUrl("amarok.kcrash")
kdeinit4: preparing to launch
kdeinit4: preparing to launch
t
No stack.
(gdb)
Comment 5 Alejandro Wainzinger 2008-12-09 08:19:59 UTC
Can you give output of `amarok -d` near before you plug in the device, until the crash?
Comment 6 herr-schneider.m 2008-12-10 09:08:36 UTC
(In reply to comment #5)
> Can you give output of `amarok -d` near before you plug in the device, until
> the crash?
> 

amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)                                                             
amarok:   [MediaDeviceCache] Found new Solid device with udi =  "/org/freedesktop/Hal/devices/usb_device_e21_751_0708291119371BE4C40000138F342004"                                                                                                                        
amarok:   [MediaDeviceCache] Device name is =  "iAUDIO 7"  and was made by  "Cowon Systems, Inc."                                    
amarok:   [MediaDeviceCache] udi  "/org/freedesktop/Hal/devices/usb_device_e21_751_0708291119371BE4C40000138F342004"  does not describe a portable media player or storage volume                                                                                         
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 0.017s                                               
amarok: BEGIN: void MediaDeviceCache::slotAddSolidDevice(const QString&)                                                             
amarok:   [MediaDeviceCache] Found new Solid device with udi =  "/org/freedesktop/Hal/devices/usb_device_e21_751_0708291119371BE4C40000138F342004_if0"                                                                                                                    
amarok:   [MediaDeviceCache] Device name is =  "iAudio 7 (MTP mode)"  and was made by  "Cowon"                                       
amarok:   [MediaDeviceCache] device is a PMP                                                                                         
amarok: BEGIN: void MediaDeviceMonitor::deviceAdded(const QString&)                                                                  
amarok:     [MediaDeviceMonitor] New device added, testing...                                                                        
amarok: BEGIN: void MediaDeviceMonitor::checkDevices()                                                                               
amarok: BEGIN: QStringList MediaDeviceMonitor::getDevices()                                                                          
amarok: BEGIN: void MediaDeviceCache::refreshCache()                                                                                 
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::PortableMediaPlayer with udi =  "/org/freedesktop/Hal/devices/usb_device_e21_751_0708291119371BE4C40000138F342004_if0"                                                                                 
amarok:           [MediaDeviceCache] Device name is =  "iAudio 7 (MTP mode)"  and was made by  "Cowon"                               
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_label_SU1110_001"                                                                                                                       
amarok:           [MediaDeviceCache] Device name is =  "SU1110.001"  and was made by  ""                                             
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_part4_size_1024"                                                                                                                        
amarok:           [MediaDeviceCache] Device name is =  "Volume"  and was made by  ""                                                 
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_7f266061_dc27_4a9d_92ff_5526b0e73868"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (ext3)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_89c65c10_88d7_4c80_b97b_03dbe944f8ec"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (ext3)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_77ca3180_22e4_48b1_8716_d2d8b92d68da"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (ext3)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_19a0bb34_166d_4518_8d00_e345c3d7a94d"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (ext3)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_df4a768b_2274_41da_8472_538ea5cd3767"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (ext3)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_975b49ec_675e_497c_ae54_b824368c20d7"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (ext3)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_e1631f0f_cdfb_4add_882a_d42c58298903"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (swap)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_8a6a01c0_f035_485d_a260_feb1ec045d73"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (ext3)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_394890a7_4aeb_455a_a4ec_4e45fdbca1dc"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (ext3)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_b5226774_a1d5_40a1_8181_c44a6204748b"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (ext3)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Found Solid::DeviceInterface::StorageAccess with udi =  "/org/freedesktop/Hal/devices/volume_uuid_a75478ce_f360_4911_80fa_950bf0e0fb92"                                                                                              
amarok:           [MediaDeviceCache] Device name is =  "Volume (ext2)"  and was made by  ""                                          
amarok:           [MediaDeviceCache] Solid device is not accessible, will wait until it is to consider it added.                     
amarok: END__: void MediaDeviceCache::refreshCache() - Took 0.0082s                                                                  
amarok: END__: QStringList MediaDeviceMonitor::getDevices() - Took 0.0083s                                                           
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)                                                                        
amarok:         [MediaDeviceMonitor] MTP device detected!                                                                            
amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 0.0015s                                                         
amarok:       [MediaDeviceMonitor] Serial is:  "0708291119371BE4C40000138F342004"                                                    
amarok:       [MtpCollection] Udi is:  "/org/freedesktop/Hal/devices/usb_device_e21_751_0708291119371BE4C40000138F342004_if0"        
amarok:       [MtpCollection] Udi is in map:  false                                                                                  
amarok: BEGIN: MtpCollection::MtpCollection(const QString&, const QString&)                                                          
amarok: END__: MtpCollection::MtpCollection(const QString&, const QString&) - Took 5.2e-05s                                          
amarok: BEGIN: void MtpCollection::init()                                                                                            
amarok: BEGIN: Mtp::MtpHandler::MtpHandler(MtpCollection*, QObject*)                                                                 
amarok: END__: Mtp::MtpHandler::MtpHandler(MtpCollection*, QObject*) - Took 5.9e-05s                                                 
amarok:         [MtpHandler] Initializing MTP stuff                                                                                  
amarok:         [MtpHandler] Getting list of raw devices                                                                             
libusb couldn't open USB device /dev/bus/usb/004/003: Permission denied.                                                             
libusb requires write access to USB device nodes.                                                                                    
libusb couldn't open USB device /dev/bus/usb/004/005: Permission denied.                                                             
libusb requires write access to USB device nodes.                                                                                    
libusb couldn't open USB device /dev/bus/usb/007/002: Permission denied.                                                             
libusb requires write access to USB device nodes.                                                                                    
libusb couldn't open USB device /dev/bus/usb/008/002: Permission denied.                                                             
libusb requires write access to USB device nodes.                                                                                    
amarok:         [MtpHandler] Error is:  0                                                                                            
amarok:         [MtpHandler] Got mtp list, connecting to device using thread                                                         
amarok: END__: void MtpCollection::init() - Took 0.21s                                                                               
amarok: BEGIN: void MediaDevicesApplet::mtpDetected(const QString&, const QString&)                                                  
amarok: BEGIN: bool Mtp::MtpHandler::iterateRawDevices(int, LIBMTP_raw_device_t*, const QString&)                                    
amarok:          Mtp with udi:  "/org/freedesktop/Hal/devices/usb_device_e21_751_0708291119371BE4C40000138F342004_if0"               
amarok:           [MtpHandler] Opening raw device number:  1                                                                         
amarok: BEGIN: DeviceInfo::DeviceInfo()                                                                                              
amarok: END__: DeviceInfo::DeviceInfo() - Took 5.7e-05s                                                                              
amarok: BEGIN: MtpInfo::MtpInfo(QGraphicsWidget*, const QString&, const QString&)                                                    
amarok: END__: MtpInfo::MtpInfo(QGraphicsWidget*, const QString&, const QString&) - Took 6.3e-05s                                    
amarok:            Add to main layout                                                                                                
amarok: BEGIN: virtual QGraphicsLinearLayout* MtpInfo::layout()                                                                      
amarok:              Creating layout                                                                                                 
amarok:              Getting svg path                                                                                                
amarok:              Icon stuff                                                                                                      
amarok:              Label                                                                                                           
usb_claim_interface(): Das Gerät oder die Ressource ist belegt                                                                       
LIBMTP PANIC: Unable to initialize device                                                                                            
amarok:             [MtpHandler] Unable to open raw device:  1                                                                       
amarok:              Set sizes                                                                                                       
amarok:              Add icons to layout                                                                                             
amarok: END__: virtual QGraphicsLinearLayout* MtpInfo::layout() - Took 0.0034s                                                       
amarok:            Successfully added mtpLayout to layout                                                                            
amarok: END__: void MediaDevicesApplet::mtpDetected(const QString&, const QString&) - Took 0.0038s                                   
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)                                                                        
KCrash: Application 'amarok' crashing...                                                                                             
sock_file=/home/marcusschneider/.kde4/socket-radagast/kdeinit4__0                                                                    
virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.NoReply"                                                                                                               

amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 25s 
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)            
virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 0.00027s 
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)                 
virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 0.00014s 
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)                 
virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 0.00013s 
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)                 
virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 0.00013s 
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)                 
virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 0.00013s 
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)                 
virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 0.00013s 
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)                 
virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 0.00013s 
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)                 
virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 0.00013s 
amarok: BEGIN: bool MediaDeviceMonitor::isMtp(const QString&)                 
virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"                                                                                                          

amarok: END__: bool MediaDeviceMonitor::isMtp(const QString&) - Took 0.00013s 
amarok: BEGIN: QStringList MediaDeviceMonitor::getDevices()                   
amarok: BEGIN: void MediaDeviceCache::refreshCache()
QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type&)  error:  "org.freedesktop.DBus.Error.Disconnected"

QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type&)  error:  "org.freedesktop.DBus.Error.Disconnected"

amarok: END__: void MediaDeviceCache::refreshCache() - Took 0.00021s
amarok: END__: QStringList MediaDeviceMonitor::getDevices() - Took 0.0003s
amarok: END__: void MediaDeviceMonitor::checkDevices() - Took 25s
amarok: END__: void MediaDeviceMonitor::deviceAdded(const QString&) - Took 25s
amarok: END__: void MediaDeviceCache::slotAddSolidDevice(const QString&) - Took 25s
QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type&)  error:  "org.freedesktop.DBus.Error.Disconnected"

virtual bool Solid::Backends::Hal::HalDevice::queryDeviceInterface(const Solid::DeviceInterface::Type&) const  error:  "org.freedesktop.DBus.Error.Disconnected"

QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
QSocketNotifier: Invalid socket 5 and type 'Read', disabling...
QSocketNotifier: Invalid socket 61 and type 'Read', disabling...
amarok: BEGIN: void ScanManager::startIncrementalScan()
amarok: BEGIN: QStringList ScanManager::getDirsToScan() const
amarok:        [ERROR!] GREPME MySQLe query failed! Table 'directories' is marked as crashed and should be repaired  on  "SELECT id,deviceid, dir, changedate FROM directories WHERE deviceid IN (-1);"
amarok: END__: QStringList ScanManager::getDirsToScan() const - Took 0.00047s
amarok:      GOING TO SCAN:
amarok: END__: void ScanManager::startIncrementalScan() - Took 0.00063s
amarok: Fatal IO error: client killed
amarok: BEGIN: virtual CurrentEngine::~CurrentEngine()
amarok: END__: virtual CurrentEngine::~CurrentEngine() - Took 7.7e-05s
amarok: BEGIN: virtual ContextObserver::~ContextObserver()
amarok: BEGIN: void ContextSubject::detach(ContextObserver*)
amarok: END__: void ContextSubject::detach(ContextObserver*) - Took 4.4e-05s
amarok: END__: virtual ContextObserver::~ContextObserver() - Took 0.00013s

Comment 7 Alejandro Wainzinger 2008-12-10 10:25:45 UTC
libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied. libusb requires write access to USB device nodes. 

^ That's definitely bad.  Can you check to see if any other libmtp-aware programs are able to work with your device?  This seems to be an issue with your udev or something, from what I can see.
Comment 8 Ciaran O'Kelly 2008-12-12 11:35:38 UTC
Created attachment 29265 [details]
Crach report
Comment 9 Ciaran O'Kelly 2008-12-12 11:36:16 UTC
I'm in the same boat if I load Amarok 2.0 with an mtp device already plugged in on Ubuntu 8.10. The device works on gnomad2. Also, when I do get it mounted on Amarok (by running Amarok first), it loads the playlist but I seem to have no way to add to or delete off the device.
Comment 10 herr-schneider.m 2008-12-13 12:21:00 UTC
(In reply to comment #7)
> libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied. libusb
> requires write access to USB device nodes. 
> 
> ^ That's definitely bad.  Can you check to see if any other libmtp-aware
> programs are able to work with your device?  This seems to be an issue with
> your udev or something, from what I can see.
> 

So - this seems to be an issue with libmtp, at least partially. See https://bugzilla.novell.com/show_bug.cgi?id=457931 (openSUSE) for further information. After applying the new libmtp no crashes appear. But now: amarok does not show anything that is on the player, but the player appears as part of the collection. Shall I open a new bug for this?
Comment 11 Marcus Meissner 2008-12-14 17:43:29 UTC
i fixed one problem in libmtp for this, but the general problem is still in amarok2, you call LIBMTP_Release_Device(NULL);

Comment 12 Marcus Meissner 2008-12-14 17:44:40 UTC
Created attachment 29333 [details]
fix-mtp-crash.patch

do not call LIBMTP_Release_Device(NULL)
Comment 13 Alejandro Wainzinger 2008-12-15 01:46:06 UTC
SVN commit 897011 by awainzinger:

Do not attempt to release a device that is NULL.  Thanks to Marcus Meissner.
CCBUG:177201


 M  +0 -1      MtpHandler.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=897011