[Bug 796730] New: A bug in DynamicSignal.Emit for webrtcbin
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Jul 1 20:55:46 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796730
Bug ID: 796730
Summary: A bug in DynamicSignal.Emit for webrtcbin
Classification: Platform
Product: GStreamer
Version: 1.14.1
OS: Windows
Status: NEW
Severity: major
Priority: Normal
Component: gst-sharp
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: tomislavtustonic at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 372906
--> https://bugzilla.gnome.org/attachment.cgi?id=372906&action=edit
A bug repro.
Hello
I'm trying to implement the WebRtc demo
(https://github.com/centricular/gstwebrtc-demos/blob/master/sendrecv/gst/webrtc-sendrecv.py)
in C#, and I have encountered the AccessViolationException when trying to emit
a signal from the webrtcbin.
Unhandled Exception: System.AccessViolationException: Attempted to read or
write protected memory. This is often an indication that other memory is
corrupt.
at GLib.GType.g_type_name(IntPtr raw)
at GLib.GType.LookupType(IntPtr typeid)
at Gst.DynamicSignal.Emit(Object o, String name, Object[] parameters)
at Gst.Object.Emit(String signal, Object[] parameters)
at ConsoleApp1.Program.Main(String[] args) in \Program.cs:line 16
It seems that the type ID obtained in the call (DynamicSignal.cs, line 383)
IntPtr t = Marshal.ReadIntPtr (q.param_types, i);
is invalid and it throws in the line 389 (casting to Type, which calls
LookupType in GLib).
I tried with the glib-sharp which is a part of gstreamer-sharp Nuget package,
and the GLibSharp from the Nuget package
https://www.nuget.org/packages/GLibSharp/3.22.24.36/
--
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