Initialising MTP plugin takes a long time

Bug #163609 reported by Alexander Jones
2
Affects Status Importance Assigned to Milestone
Rhythmbox
Fix Released
Medium
rhythmbox (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

If I enable the "Portable Players - MTP" plugin, I see this in an strace, repeated thousands and thousands of times. The UI hangs until it decides it has had enough, then the plugin is "active". I have no idea if it actually works, as I don't own an MTP device.

This behaviour also happens when starting up Rhythmbox with the MTP plugin active. It takes tens of seconds to start up as a result.

gettimeofday({1195406122, 113969}, NULL) = 0
writev(17, [{"l\1\0\1\22\0\0\0\\f\0\0\247\0\0\0\1\1o\0*\0\0\0/org/fr"..., 184}, {"\r\0\0\0usb.vendor_id\0", 18}], 2) = 202
gettimeofday({1195406122, 114187}, NULL) = 0
poll([{fd=17, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(17, "l\3\1\1[\0\0\0X\315\1\0]\0\0\0\6\1s\0\5\0\0\0:1.72\0\0"..., 2048) = 203
read(17, 0x8c9a9e0, 2048) = -1 EAGAIN (Resource temporarily unavailable)

Disabling the MTP plugin alleviates the problem.

ProblemType: Bug
Architecture: i386
Date: Sun Nov 18 17:15:52 2007
DistroRelease: Ubuntu 7.10
NonfreeKernelModules: vmnet vmblock vmmon fglrx
Package: rhythmbox 0.11.2-0ubuntu4
PackageArchitecture: i386
SourcePackage: rhythmbox
Uname: Linux flash 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Tags: apport-bug

Related branches

Revision history for this message
Alexander Jones (alex-weej) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Confirming i got the same results it hang for a while and then continue working. thanks for your report.

Changed in rhythmbox:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Pedro Villavicencio (pedro) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Comment from upstream:

"before:

1195563602.645983 START scanning for MTP devices
1195563611.177852 END scanning for MTP devices

(~9 seconds)

after:

1195563658.629810 START scanning for MTP devices
1195563658.734786 END scanning for MTP devices

(0.1 seconds)

fixed in svn."

Changed in rhythmbox:
status: Triaged → Fix Committed
Changed in rhythmbox:
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rhythmbox - 0.11.4-0ubuntu1

---------------
rhythmbox (0.11.4-0ubuntu1) hardy; urgency=low

  * New upstream version:
    - Support automatic GStreamer plugin installation (LP: #37671)
    - Improved cross-fading backend
    - Improved Podcast feed support, including Atom and APML (LP: #114846)
    - Add optional mozilla plugin to handle itms:// links
    - Fade volume when pausing and unpausing
    - Improve performance and stability of MTP device support (LP: #163609)
    - Stop putting deleted tracks on iPods in the Garbage Bin
    - Support PSPs with newer firmware
    - Improvements to the Coherence-based UPnP support
    - Minor improvements to Python bindings for plugins
  * debian/control.in:
    - Build-Depends on firefox-dev for the itunes browser plugin
    - updated totem-plparser and gstreamer requirements
  * debian/patches/06_oggradios.patch:
    - move the patch to the debian directory so it's not applied,
      upstream commited the change to SVN but that's likely an error

 -- Sebastien Bacher <email address hidden> Fri, 21 Dec 2007 15:30:03 +0100

Changed in rhythmbox:
status: Fix Committed → Fix Released
Changed in rhythmbox:
importance: Unknown → Medium
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.