Skip to content

Error GLib-GObject:ERROR:../gobject/gobject.c:3049:toggle_refs_notify: assertion failed: (tstack.n_toggle_refs == 1) #48

Description

@alexisconia

I encountered an error when I tried to use gstreamer-sharp (and so gtk-sharp) on the latest version.
If you create an AppSrc or AppSink object, app crashes with the following error:

GLib-GObject:ERROR:../gobject/gobject.c:3049:toggle_refs_notify: assertion failed: (tstack.n_toggle_refs == 1)

You can reproduce the error with the code below:

public static void Main(string[] args)
{
    Gst.Application.Init();
    AppSrc appsrc = new AppSrc("test");

    Console.ReadLine();
}

It seems that the problem comes from this commit: 2bb4d5c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions