Public bug reported:

Clean installation of Clementine 1.0.1 uses all the available memory when 
attempting to connect/open and scan Windows Phone 7 (MTP) device for the first 
time.
"Updating 0%" and "Loading MTP device" appear after confirming first time scan 
dialog. Then it starts to allocate inadequate amounts of memory.
Rhythmbox and Nautilus load the library with no issues at all.

My WP7 device: Samsung Omnia 7

Steps to reproduce:
1) Buy a WP7 or Zune device
2) Connect the device to the PC and start Clementine
3) Navigate to "Devices" in the left column
4) Double-click the device (it will be something like this: 045e 04ec)
5) Confirm first-time scan
6) Watch your computer slowly dying and swapping and begging for memory

Ubuntu quantal (development branch)
Release:        12.10

clementine:
  Installed version: 1.0.1+dfsg-2ubuntu3
  Candidate:          1.0.1+dfsg-2ubuntu3
  Version table:
 *** 1.0.1+dfsg-2ubuntu3 0
        500 http://cz.archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
        100 /var/lib/dpkg/status

$ lsusb -vvv
Bus 001 Device 006: ID 045e:04ec Microsoft Corp. Windows Phone (Zune)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x045e Microsoft Corp.
  idProduct          0x04ec Windows Phone (Zune)
  bcdDevice            0.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 9 some GUID you don't need to know
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           62
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

** Affects: clementine (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: quantal

** Attachment added: "Screenshot of the increasing RAM usage - it's already at 
16% and it eventually rises up to 100%, rendering the system unusable"
   
https://bugs.launchpad.net/bugs/1064066/+attachment/3387847/+files/Sn%C3%ADmek%20obrazovky%20po%C5%99%C3%ADzen%C3%BD%202012-10-08%2022%3A47%3A41.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1064066

Title:
  Opening Windows Phone 7 MTP device causes huge memory leak

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clementine/+bug/1064066/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to