Re: [Desktop-packages] [Bug 1299846] [NEW] Unhandled exception in UpnpService causes crashes

2014-05-06 Thread Chow Loong Jin
On Sun, Mar 30, 2014 at 05:50:49PM -, Philippe Moreau wrote:
 Public bug reported:
 
 With Upnp enabled, Banshee constantly crashes somewhere between 20-45
 minutes of activity. The log tells me it is always the same exception:

 [16 Debug 13:09:04.704] Found all items on the service, took 00:08:51.6255600
 [12 Debug 13:10:12.987] UPnPService.DeviceRemoved 
 (urn:schemas-wifialliance-org:device:WFADevice:1) 
 uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
 [33 Debug 13:19:37.107] UPnPService.DeviceAdded 
 (urn:schemas-wifialliance-org:device:WFADevice:1) 
 uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
 [1 Debug 13:28:02.212] Player state change: Paused - Playing
 [12 Debug 13:30:12.394] UPnPService.DeviceRemoved 
 (urn:schemas-upnp-org:device:InternetGatewayDevice:1) 
 uuid:a83944f0-8930-3089-f044-39a839f030
 [12 Debug 13:30:12.983] UPnPService.DeviceRemoved 
 (urn:schemas-upnp-org:device:WANDevice:1) 
 uuid:a83944f0-8930-3089-f044-39a839f031
 
 Unhandled Exception: Mono.Upnp.UpnpDeserializationException: The type 
 description version number could not be parsed: .
   at Mono.Upnp.TypeInfo.Parse (System.String typeDescription, System.String 
 domainName, System.String type, System.Version version) [0x0] in 
 filename unknown:0 
   at Mono.Upnp.ServiceType.Parse (System.String serviceType) [0x0] in 
 filename unknown:0 
   at Mono.Upnp.Client.ClientServiceEvent (Mono.Ssdp.ServiceArgs args, 
 System.Action`1 deviceHandler, System.Action`1 serviceHandler) [0x0] in 
 filename unknown:0 
   at Mono.Upnp.Client.ClientServiceRemoved (System.Object sender, 
 Mono.Ssdp.ServiceArgs args) [0x0] in filename unknown:0 
   at Mono.Ssdp.Client.OnServiceRemoved (System.String usn) [0x0] in 
 filename unknown:0 
   at Mono.Ssdp.Client.CacheServiceRemoved (System.String usn) [0x0] in 
 filename unknown:0 
   at Mono.Ssdp.Internal.ServiceCache.Remove (System.String usn, Boolean 
 fromTimeout) [0x0] in filename unknown:0 
   at Mono.Ssdp.Internal.ServiceCache.TimeoutHandler (System.Object state, 
 System.TimeSpan interval) [0x0] in filename unknown:0 
   at Mono.Ssdp.Internal.TimeoutDispatcher.TimerThread (System.Object state)
   [0x0] in filename unknown:0 

Sounds like you have a broken UPnP device (a router?) on your network, and this
is causing Banshee to crash here.

 Additionally, this exception is also thrown at intervals but does not
 cause Banshee to crash:
 
 [16 Warn  13:09:04.703] Caught an exception - 
 Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.DeserializationException: The 
 DIDL-Lite element has no proper children. (in `Mono.Upnp.Dcp.MediaServer1')
   at 
 Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory+Deserializec__Iterator6`1[Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Object].MoveNext
  () [0x0] in filename unknown:0 
   at 
 Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.Deserialize[VideoItem]
  (System.String xml) [0x0] in filename unknown:0 
   at 
 Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.Search[VideoItem]
  (Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Container container, 
 System.Action`1 query, ResultsSettings settings) [0x0] in filename 
 unknown:0 
   at Banshee.UPnPClient.UPnPServerSource.Parse (Mono.Upnp.Device device,
   Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.ContentDirectoryController
   content_directory) [0x0] in filename unknown:0 


This looks like it might be caused by the same problematic UPnP device, but
Banshee is handling it properly by catching the exception and just skipping
over it instead of crashing.

-- 
Kind regards,
Loong Jin


** Bug watch added: GNOME Bug Tracker #729688
   https://bugzilla.gnome.org/show_bug.cgi?id=729688

** Also affects: banshee via
   https://bugzilla.gnome.org/show_bug.cgi?id=729688
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to banshee in Ubuntu.
https://bugs.launchpad.net/bugs/1299846

Title:
  Unhandled exception in UpnpService causes crashes

Status in Banshee Music Player:
  New
Status in “banshee” package in Ubuntu:
  New

Bug description:
  With Upnp enabled, Banshee constantly crashes somewhere between 20-45
  minutes of activity. The log tells me it is always the same exception:

  [16 Debug 13:09:04.704] Found all items on the service, took 00:08:51.6255600
  [12 Debug 13:10:12.987] UPnPService.DeviceRemoved 
(urn:schemas-wifialliance-org:device:WFADevice:1) 
uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
  [33 Debug 13:19:37.107] UPnPService.DeviceAdded 
(urn:schemas-wifialliance-org:device:WFADevice:1) 
uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
  [1 Debug 13:28:02.212] Player state change: Paused - Playing
  [12 Debug 13:30:12.394] UPnPService.DeviceRemoved 
(urn:schemas-upnp-org:device:InternetGatewayDevice:1) 
uuid:a83944f0-8930-3089-f044-39a839f030
  [12 Debug 13:30:12.983] UPnPService.DeviceRemoved 

Re: [Desktop-packages] [Bug 1299846] [NEW] Unhandled exception in UpnpService causes crashes

2014-05-06 Thread Chow Loong Jin
On Wed, May 07, 2014 at 11:12:22AM +0800, Chow Loong Jin wrote:
 On Sun, Mar 30, 2014 at 05:50:49PM -, Philippe Moreau wrote:
  Public bug reported:
  
  With Upnp enabled, Banshee constantly crashes somewhere between 20-45
  minutes of activity. The log tells me it is always the same exception:
 
  [16 Debug 13:09:04.704] Found all items on the service, took 
  00:08:51.6255600
  [12 Debug 13:10:12.987] UPnPService.DeviceRemoved 
  (urn:schemas-wifialliance-org:device:WFADevice:1) 
  uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
  [33 Debug 13:19:37.107] UPnPService.DeviceAdded 
  (urn:schemas-wifialliance-org:device:WFADevice:1) 
  uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
  [1 Debug 13:28:02.212] Player state change: Paused - Playing
  [12 Debug 13:30:12.394] UPnPService.DeviceRemoved 
  (urn:schemas-upnp-org:device:InternetGatewayDevice:1) 
  uuid:a83944f0-8930-3089-f044-39a839f030
  [12 Debug 13:30:12.983] UPnPService.DeviceRemoved 
  (urn:schemas-upnp-org:device:WANDevice:1) 
  uuid:a83944f0-8930-3089-f044-39a839f031
  
  Unhandled Exception: Mono.Upnp.UpnpDeserializationException: The type 
  description version number could not be parsed: .
at Mono.Upnp.TypeInfo.Parse (System.String typeDescription, 
  System.String domainName, System.String type, System.Version version) 
  [0x0] in filename unknown:0 
at Mono.Upnp.ServiceType.Parse (System.String serviceType) [0x0] in 
  filename unknown:0 
at Mono.Upnp.Client.ClientServiceEvent (Mono.Ssdp.ServiceArgs args, 
  System.Action`1 deviceHandler, System.Action`1 serviceHandler) [0x0] in 
  filename unknown:0 
at Mono.Upnp.Client.ClientServiceRemoved (System.Object sender, 
  Mono.Ssdp.ServiceArgs args) [0x0] in filename unknown:0 
at Mono.Ssdp.Client.OnServiceRemoved (System.String usn) [0x0] in 
  filename unknown:0 
at Mono.Ssdp.Client.CacheServiceRemoved (System.String usn) [0x0] in 
  filename unknown:0 
at Mono.Ssdp.Internal.ServiceCache.Remove (System.String usn, Boolean 
  fromTimeout) [0x0] in filename unknown:0 
at Mono.Ssdp.Internal.ServiceCache.TimeoutHandler (System.Object state, 
  System.TimeSpan interval) [0x0] in filename unknown:0 
at Mono.Ssdp.Internal.TimeoutDispatcher.TimerThread (System.Object state)
[0x0] in filename unknown:0 
 
 Sounds like you have a broken UPnP device (a router?) on your network, and 
 this
 is causing Banshee to crash here.
 
  Additionally, this exception is also thrown at intervals but does not
  cause Banshee to crash:
  
  [16 Warn  13:09:04.703] Caught an exception - 
  Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.DeserializationException: The 
  DIDL-Lite element has no proper children. (in `Mono.Upnp.Dcp.MediaServer1')
at 
  Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory+Deserializec__Iterator6`1[Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Object].MoveNext
   () [0x0] in filename unknown:0 
at 
  Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.Deserialize[VideoItem]
   (System.String xml) [0x0] in filename unknown:0 
at 
  Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.Search[VideoItem]
   (Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Container container, 
  System.Action`1 query, ResultsSettings settings) [0x0] in filename 
  unknown:0 
at Banshee.UPnPClient.UPnPServerSource.Parse (Mono.Upnp.Device device,
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.ContentDirectoryController
content_directory) [0x0] in filename unknown:0 
 
 
 This looks like it might be caused by the same problematic UPnP device, but
 Banshee is handling it properly by catching the exception and just skipping
 over it instead of crashing.

Forwarded to 
https://bugzilla.gnome.org/show_bug.cgi?id=729688.

Can't seem to set the extra bug through the LP web interface at the moment, so
I'm just recording this here for now.

  affects banshee
  status new

-- 
Kind regards,
Loong Jin


** Changed in: banshee
   Status: Unknown = New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to banshee in Ubuntu.
https://bugs.launchpad.net/bugs/1299846

Title:
  Unhandled exception in UpnpService causes crashes

Status in Banshee Music Player:
  New
Status in “banshee” package in Ubuntu:
  New

Bug description:
  With Upnp enabled, Banshee constantly crashes somewhere between 20-45
  minutes of activity. The log tells me it is always the same exception:

  [16 Debug 13:09:04.704] Found all items on the service, took 00:08:51.6255600
  [12 Debug 13:10:12.987] UPnPService.DeviceRemoved 
(urn:schemas-wifialliance-org:device:WFADevice:1) 
uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
  [33 Debug 13:19:37.107] UPnPService.DeviceAdded 
(urn:schemas-wifialliance-org:device:WFADevice:1) 
uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
  [1 Debug 13:28:02.212] Player state change: Paused - Playing
  [12 Debug 13:30:12.394] 

[Desktop-packages] [Bug 1299846] [NEW] Unhandled exception in UpnpService causes crashes

2014-03-30 Thread Philippe Moreau
Public bug reported:

With Upnp enabled, Banshee constantly crashes somewhere between 20-45
minutes of activity. The log tells me it is always the same exception:


[16 Debug 13:09:04.704] Found all items on the service, took 00:08:51.6255600
[12 Debug 13:10:12.987] UPnPService.DeviceRemoved 
(urn:schemas-wifialliance-org:device:WFADevice:1) 
uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
[33 Debug 13:19:37.107] UPnPService.DeviceAdded 
(urn:schemas-wifialliance-org:device:WFADevice:1) 
uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
[1 Debug 13:28:02.212] Player state change: Paused - Playing
[12 Debug 13:30:12.394] UPnPService.DeviceRemoved 
(urn:schemas-upnp-org:device:InternetGatewayDevice:1) 
uuid:a83944f0-8930-3089-f044-39a839f030
[12 Debug 13:30:12.983] UPnPService.DeviceRemoved 
(urn:schemas-upnp-org:device:WANDevice:1) 
uuid:a83944f0-8930-3089-f044-39a839f031

Unhandled Exception: Mono.Upnp.UpnpDeserializationException: The type 
description version number could not be parsed: .
  at Mono.Upnp.TypeInfo.Parse (System.String typeDescription, System.String 
domainName, System.String type, System.Version version) [0x0] in 
filename unknown:0 
  at Mono.Upnp.ServiceType.Parse (System.String serviceType) [0x0] in 
filename unknown:0 
  at Mono.Upnp.Client.ClientServiceEvent (Mono.Ssdp.ServiceArgs args, 
System.Action`1 deviceHandler, System.Action`1 serviceHandler) [0x0] in 
filename unknown:0 
  at Mono.Upnp.Client.ClientServiceRemoved (System.Object sender, 
Mono.Ssdp.ServiceArgs args) [0x0] in filename unknown:0 
  at Mono.Ssdp.Client.OnServiceRemoved (System.String usn) [0x0] in 
filename unknown:0 
  at Mono.Ssdp.Client.CacheServiceRemoved (System.String usn) [0x0] in 
filename unknown:0 
  at Mono.Ssdp.Internal.ServiceCache.Remove (System.String usn, Boolean 
fromTimeout) [0x0] in filename unknown:0 
  at Mono.Ssdp.Internal.ServiceCache.TimeoutHandler (System.Object state, 
System.TimeSpan interval) [0x0] in filename unknown:0 
  at Mono.Ssdp.Internal.TimeoutDispatcher.TimerThread (System.Object state) 
[0x0] in filename unknown:0 


Additionally, this exception is also thrown at intervals but does not
cause Banshee to crash:

[16 Warn  13:09:04.703] Caught an exception - 
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.DeserializationException: The 
DIDL-Lite element has no proper children. (in `Mono.Upnp.Dcp.MediaServer1')
  at 
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory+Deserializec__Iterator6`1[Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Object].MoveNext
 () [0x0] in filename unknown:0 
  at 
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.Deserialize[VideoItem]
 (System.String xml) [0x0] in filename unknown:0 
  at 
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.Search[VideoItem]
 (Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Container container, 
System.Action`1 query, ResultsSettings settings) [0x0] in filename 
unknown:0 
  at Banshee.UPnPClient.UPnPServerSource.Parse (Mono.Upnp.Device device, 
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.ContentDirectoryController 
content_directory) [0x0] in filename unknown:0 


Ubuntu 13.10
banshee 2.6.1-2ubuntu1

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


** Tags: dlna upnp

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to banshee in Ubuntu.
https://bugs.launchpad.net/bugs/1299846

Title:
  Unhandled exception in UpnpService causes crashes

Status in “banshee” package in Ubuntu:
  New

Bug description:
  With Upnp enabled, Banshee constantly crashes somewhere between 20-45
  minutes of activity. The log tells me it is always the same exception:

  
  [16 Debug 13:09:04.704] Found all items on the service, took 00:08:51.6255600
  [12 Debug 13:10:12.987] UPnPService.DeviceRemoved 
(urn:schemas-wifialliance-org:device:WFADevice:1) 
uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
  [33 Debug 13:19:37.107] UPnPService.DeviceAdded 
(urn:schemas-wifialliance-org:device:WFADevice:1) 
uuid:42587efc-c9aa-5111-590f-e0bfefa8b34e
  [1 Debug 13:28:02.212] Player state change: Paused - Playing
  [12 Debug 13:30:12.394] UPnPService.DeviceRemoved 
(urn:schemas-upnp-org:device:InternetGatewayDevice:1) 
uuid:a83944f0-8930-3089-f044-39a839f030
  [12 Debug 13:30:12.983] UPnPService.DeviceRemoved 
(urn:schemas-upnp-org:device:WANDevice:1) 
uuid:a83944f0-8930-3089-f044-39a839f031

  Unhandled Exception: Mono.Upnp.UpnpDeserializationException: The type 
description version number could not be parsed: .
at Mono.Upnp.TypeInfo.Parse (System.String typeDescription, System.String 
domainName, System.String type, System.Version version) [0x0] in 
filename unknown:0 
at Mono.Upnp.ServiceType.Parse (System.String serviceType) [0x0] in 
filename unknown:0 
at Mono.Upnp.Client.ClientServiceEvent (Mono.Ssdp.ServiceArgs args, 
System.Action`1 deviceHandler,