Rhythmbox crashes, when connecting a mtp device

Bug #569380 reported by Martin Beltov
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Rhythmbox
Fix Released
Critical
rhythmbox (Ubuntu)
Fix Released
Low
Unassigned
Lucid
Fix Released
Low
Sebastien Bacher

Bug Description

Binary package hint: rhythmbox

Rhythmbox crashes, when connecting a mtp device. Here is dmesg output:
[ 2128.296052] usb 1-2: new high speed USB device using ehci_hcd and address 6
[ 2128.429519] usb 1-2: configuration #1 chosen from 1 choice
[ 2129.412062] usb 3-2: new full speed USB device using ohci_hcd and address 4
[ 2129.612855] usb 3-2: not running at top speed; connect to a high speed hub
[ 2129.631057] usb 3-2: configuration #1 chosen from 1 choice
[ 2129.672056] usb 1-2: USB disconnect, address 6
[ 2130.064065] usb 3-2: reset full speed USB device using ohci_hcd and address 4
[ 2130.524237] rhythmbox[25089]: segfault at 0 ip 0026f59a sp bf9a9f24 error 4 in libpango-1.0.so.0.2800.0[248000+40000]

Here is lsusb -vvv relevant information:

Bus 003 Device 004: ID 10d6:2300 Actions Semiconductor Co., Ltd
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 255 Vendor Specific Class
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x10d6 Actions Semiconductor Co., Ltd
  idProduct 0x2300
  bcdDevice 1.00
  iManufacturer 1 Transcend MP860
  iProduct 2 Transcend MP860
  iSerial 3 88D88A62B79CBD49A65B2AE7305E6BB3
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 39
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 238 MSFT100þ
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 300mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 0
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x83 EP 3 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 4
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0001
  Self Powered

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: rhythmbox 0.12.8-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Sat Apr 24 14:20:02 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate i386 (20100419.1)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: rhythmbox

Revision history for this message
Martin Beltov (mbeltov) wrote :
tags: added: mtp rhythmbox
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in rhythmbox (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Martin Beltov (mbeltov) wrote :

Thanks for the quick reply.Attaching the backtrace

Revision history for this message
Pedro Villavicencio (pedro) wrote :

looks like crash https://bugzilla.gnome.org/show_bug.cgi?id=613526 ; could you give the output of 'rhythmbox -D mtp' ? while reproducing the issue? Thanks.

Revision history for this message
Martin Beltov (mbeltov) wrote :

Attaching the output

Changed in rhythmbox:
status: Unknown → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you Martin, I've commented on the upstream bug.

Changed in rhythmbox (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Martin Beltov (mbeltov) wrote :

Thank you. For me it's not a showstopper, since the device also can connect as a mass-storage device.

Revision history for this message
Pedro Villavicencio (pedro) wrote :
Changed in rhythmbox (Ubuntu):
status: Triaged → Fix Committed
Changed in rhythmbox (Ubuntu Lucid):
assignee: nobody → Sebastien Bacher (seb128)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

updated debdiff, the previous one had wrong changes for an another bug

Changed in rhythmbox:
status: Incomplete → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote : Please test proposed package

Accepted into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try the update, it requires confirmation to be approved to lucid-updates

Revision history for this message
deleted1234 (empty1234-deactivatedaccount) wrote :

I tried:

sudo apt-get upgrade rhythmbox/lucid-proposed

Works like a charm now, and I don't get errors and missed files when transferring to my device :)

Revision history for this message
deleted1234 (empty1234-deactivatedaccount) wrote :

spoke too soon. This bug seems very intermittent. Sometimes a file will transfer, sometimes it fails, sometimes rhythmbox crashes, sometimes it doesn't.

I notice a number of things:

1) Crashing happens more frequently when I queue up a large number of files for transfer
2) plugging in the device AFTER rhythmbox is open makes it more crash-prone. Plugging in beforehand mitigates this slightly.

Revision history for this message
deleted1234 (empty1234-deactivatedaccount) wrote :

It would be handy if rhythmbox had some kind of a transfer queue display. This way I'd be able to see which files are failing, and can say if it's a result of MTP or the file itself. (by seeing if any one file crashes the program consistently). The error messages I get don't point to a file, and are rather generic. I'd post the error, but I can't reproduce it now. I think my issue may have been plugging in the device after rhythmbox was open. Still, this functionality should be available, shouldn't it?

Revision history for this message
deleted1234 (empty1234-deactivatedaccount) wrote :

got the error again (even when connecting before opening rhythmbox)

"Unable to send file to MTP device: update_abstract_list(): could not set album artist name."

Doesn't say which file, or offer to retry the transfer.

Revision history for this message
Martin Beltov (mbeltov) wrote :

I can confirm that it is resolved in my situation.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rhythmbox - 0.12.8-0ubuntu5

---------------
rhythmbox (0.12.8-0ubuntu5) lucid-proposed; urgency=low

  * debian/patches/97_git_no_double_deletion.patch
    - git change to fix crashes due to double deletion (lp: #569380)
 -- Sebastien Bacher <email address hidden> Wed, 19 May 2010 15:43:20 +0200

Changed in rhythmbox (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

This should already be fixed in maverick.

Changed in rhythmbox (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Beltov (mbeltov) wrote :

Right, thanks to everybody involved.

Changed in rhythmbox:
importance: Unknown → Critical
Revision history for this message
Brice Terzaghi (terzag) wrote :

Just bought a Sansa Clip+ (Sandisk) MP3 player and I get several errors like this when transfering files in MTP mode from Rhythmbox. Is the bug supposed to be fixed?

In my case, Rhythmbox doesn't crash, it just fails to transfer the files.

Using Ubuntu 10.04 up to date with Rhythmbox 0.12.8-0ubuntu7

Revision history for this message
Jonathan R. Schmid (jonathan-r-schmid-deactivatedaccount) wrote :

Ubuntu 10.10, Rhytmbox 0.13.1 - happens for me as well. Above it says "fix released", but the bug doesn't seem to be closed?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.