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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Dec 17 01:04:22 PST 2009


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

           Summary: Gstreamer Related functions crash when a XMLSerializer
                    has been created
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-sharp
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: richard.spiers at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=149898)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=149898)
Example program showing the problem

Hi All

I'm experiencing a very weird problem. When I add the following line (or
similar lines) "XmlSerializer serializer = new XmlSerializer(typeof(Object));"
to a program that uses Gstreamer, the Gstreamer function calls crash. The error
message is below:

System.ArgumentException: The path is not of a legal form.
   at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
   at System.IO.Path.GetDirectoryName(String path)
   at Gst.Application.GstTypeResolver(GType gtype, String gtype_name)
   at GLib.GType.LookupType(IntPtr typeid)
   at GLib.ObjectManager.GetTypeOrParent(IntPtr obj)
   at GLib.ObjectManager.CreateObject(IntPtr raw)
   at GLib.Object.GetObject(IntPtr o, Boolean owned_ref)
   at Gst.ElementFactory.Make(String factoryname, String name)
   at ConsoleApplication1.Testing.test() in C:\Users\Dksaarth\Documents\Visual
Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs:line 50

If I comment out the XmlSerializer line it works. I have attached a sample
program showing this behaviour.

I am running on windows with the winbuild version of Gstreamer. I think the
bindings and glib-sharp dll's I am using are a bit old, but I have experienced
great difficulty in compiling new ones.

-- 
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