GNOME Bugzilla – Bug 675654
UPnP Extension causes crash on 500 error from remote server
Last modified: 2012-05-18 14:24:27 UTC
Found with the UPnP extension enabled, and a local server running MediaTomb. Distribution: ArchLinux x86_64 Banshee Version: 2.4.0 Banshee crashes soon after startup when attempting to contact the remote media server and receiving a 500 error as a response. Exception Information: Unhandled Exception: Mono.Upnp.Control.UpnpControlException: The invokation failed. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Mono.Upnp.Internal.ControlClient.Invoke (System.String actionName, IDictionary`2 arguments) [0x00000] in <filename unknown>:0 at Mono.Upnp.Control.ServiceController.Invoke (Mono.Upnp.Control.ServiceAction action, IDictionary`2 arguments, Int32 retryAttempts) [0x00000] in <filename unknown>:0 at Mono.Upnp.Control.ServiceAction.InvokeCore (IDictionary`2 arguments, Int32 retryAttempts) [0x00000] in <filename unknown>:0 at Mono.Upnp.Control.ServiceAction.Invoke (IDictionary`2 arguments, Int32 retryAttempts) [0x00000] in <filename unknown>:0 at Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.ContentDirectoryController.Browse (System.String objectId, BrowseFlag browseFlag, System.String filter, UInt32 startingIndex, UInt32 requestedCount, System.String sortCriteria, System.UInt32& numberReturned, System.UInt32& totalMatches, System.UInt32& updateId) [0x00000] in <filename unknown>:0 at Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.GetObject[Container] (System.String id) [0x00000] in <filename unknown>:0 at Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.GetRootObject () [0x00000] in <filename unknown>:0 at Banshee.UPnPClient.UPnPServerSource.Parse (Mono.Upnp.Device device, Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.ContentDirectoryController content_directory) [0x00000] in <filename unknown>:0 at Banshee.UPnPClient.UPnPServerSource+<UPnPServerSource>c__AnonStorey0.<>m__0 () [0x00000] in <filename unknown>:0 at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: Mono.Upnp.Control.UpnpControlException: The invokation failed. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Mono.Upnp.Internal.ControlClient.Invoke (System.String actionName, IDictionary`2 arguments) [0x00000] in <filename unknown>:0 at Mono.Upnp.Control.ServiceController.Invoke (Mono.Upnp.Control.ServiceAction action, IDictionary`2 arguments, Int32 retryAttempts) [0x00000] in <filename unknown>:0 at Mono.Upnp.Control.ServiceAction.InvokeCore (IDictionary`2 arguments, Int32 retryAttempts) [0x00000] in <filename unknown>:0 at Mono.Upnp.Control.ServiceAction.Invoke (IDictionary`2 arguments, Int32 retryAttempts) [0x00000] in <filename unknown>:0 at Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.ContentDirectoryController.Browse (System.String objectId, BrowseFlag browseFlag, System.String filter, UInt32 startingIndex, UInt32 requestedCount, System.String sortCriteria, System.UInt32& numberReturned, System.UInt32& totalMatches, System.UInt32& updateId) [0x00000] in <filename unknown>:0 at Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.GetObject[Container] (System.String id) [0x00000] in <filename unknown>:0 at Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.GetRootObject () [0x00000] in <filename unknown>:0 at Banshee.UPnPClient.UPnPServerSource.Parse (Mono.Upnp.Device device, Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.ContentDirectoryController content_directory) [0x00000] in <filename unknown>:0 at Banshee.UPnPClient.UPnPServerSource+<UPnPServerSource>c__AnonStorey0.<>m__0 () [0x00000] in <filename unknown>:0 at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. *** This bug has been marked as a duplicate of bug 672744 ***