[gstreamer-bugs] [Bug 604810] Gstreamer Related functions crash when a XMLSerializer has been created

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Dec 17 04:41:08 PST 2009


https://bugzilla.gnome.org/show_bug.cgi?id=604810
  GStreamer | gst-sharp | unspecified

--- Comment #4 from Richard Spiers <richard.spiers at gmail.com> 2009-12-17 12:41:06 UTC ---
Hi All

Some additional information from Maarten

"From the stack trace
it looks like an old version, because Gst.Application.GstTypeResolver
does not exist anymore. The code has been replaced by the following:
(in gstreamer-sharp/Application.cs of v0.9.2, downloaded from
http://cgit.freedesktop.org/gstreamer/gstreamer-sharp/)

   private static System.Type GstResolveType (Gst.GLib.GType gtype,
string gtype_name) {
     Assembly[] assemblies = (Assembly[])
AppDomain.CurrentDomain.GetAssemblies ().Clone ();
     [snip]
     foreach (Assembly asm in assemblies) {
       foreach (AssemblyName ref_name in asm.GetReferencedAssemblies ()) {
         string asm_dir = Path.GetDirectoryName (asm.Location);
     [...]

So this already gives a hint to the source of the problem. Because
there is an assembly loaded with an invalid Assembly.Location, perhaps
null. Calling XmlSerializer probably triggers loading such an
assenbly."

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list