After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 739069 - Gst.Init(ref string[] argv) throws AccessViolationException
Gst.Init(ref string[] argv) throws AccessViolationException
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-sharp
1.4.3
Other Windows
: Normal normal
: 1.0.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-23 12:13 UTC by Ralph
Modified: 2014-11-08 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ralph 2014-10-23 12:13:50 UTC
Initializing GStreamer by calling Gst.Init() works reliably.

Initializing GStreamer by calling Gst.Init(ref string[] argv) throws AccessViolationException "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

My code looks like that:

 string[] arguments = Environment.GetCommandLineArgs();
 Gst.Application.Init(ref arguments);

My configuration:
- Operating system: Windows 7 64-bit
- My test application: C# .NET 4.0 WPF
- GStreamer 1.4.3 binaries
- Gstreamer-sharp built on Linux
- The glue built on Windows using xDarkice's solution https://github.com/xDarkice/libgstreamersharpglue
Comment 1 Stephan Sundermann 2014-10-23 22:54:04 UTC
Fixed in master.