Bug 698602

Summary: Rhythmbox crashes when an MTP device is attached
Product: [Fedora] Fedora Reporter: Juan Francisco Fernández <juanfr>
Component: rhythmboxAssignee: Bastien Nocera <bnocera>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: bnocera, iain
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Fedora 16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-03 22:04:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Juan Francisco Fernández 2011-04-21 11:16:21 UTC
Description of problem:
Rhythmbox crashes when an MTP device is attached.

Version-Release number of selected component (if applicable):
rhythmbox-2.90.1-7.git20110329.fc15.i686
libmtp-1.0.6-2.fc15.i686

How reproducible: 
Always

Steps to Reproduce:
1. Open rhythmbox
2. Attach an MTP device (mine is Creative Zen V Plus)
3.
  
Actual results:
Rhythmbox is minimized to try and it can't be reopened.


Expected results:
Rhythmbox shows the device and its content.


Additional info:
If I open rhythmbox from a terminal, I get these messages when plug in my MTP device:

ignoring usb_claim_interface = -16ignoring usb_claim_interface = -22PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
inep: usb_get_endpoint_status(): Error de entrada/salida
outep: usb_get_endpoint_status(): Error de entrada/salida
usb_clear_halt() on IN endpoint: Resultado numérico fuera de rango
usb_clear_halt() on OUT endpoint: Resultado numérico fuera de rango
usb_clear_halt() on INTERRUPT endpoint: Resultado numérico fuera de rango
LIBMTP libusb: Attempt to reset device
Violación de segmento (`core' generado)

Translations:

Error de entrada/salida = I/O error
Resultado numérico fuera de rango = Numeric result out of range
Violación de segmento = Segment fault

Comment 1 Juan Francisco Fernández 2011-04-21 11:25:14 UTC
I have tried with mtp-detect with this result:

[juanffernandez@Reach ~]$ mtp-detect 
libmtp version: 1.0.6

Listing raw device(s)
Device 0 (VID=041e and PID=4152) is a Creative ZEN V Plus.
   Found 1 device(s):
   Creative: ZEN V Plus (041e:4152) @ bus 2, dev 7
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Violación de segmento (`core' generado)

Comment 2 Iain Hamilton 2011-05-26 14:19:02 UTC
I can confirm the same issue occurs with my Samsung T10 media player when running Rhythmbox after plugging in the device, however if I plug the device in while rhythmbox is already running and open on the desktop it does not crash and reads the device. I assume this is an issue with the OS failing to release the device to the mtp drivers over dbus. Same issue occurs with Ubuntu Natty.

Comment 3 Juan Francisco Fernández 2011-11-03 22:03:59 UTC
Fixed on F16.