Opening Windows Phone 7 MTP device causes huge memory leak
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clementine (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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://
100 /var/lib/
$ 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
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 62
bNumInterfaces 2
bConfigurat
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 3
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 4
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
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
bNumConfigura
Device Status: 0x0000
(Bus Powered)
Status changed to 'Confirmed' because the bug affects multiple users.