fguida / ossbuild-vs2010

Automatically exported from code.google.com/p/ossbuild-vs2010
Other
0 stars 0 forks source link

Program crashes when handling 'about-to-finish' or 'audio-tags-changed' events #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the attached console application.

What is the expected output? What do you see instead?
Adding event handlers for 'audio-tags-changed' and 'about-to-finish' crashes 
the program.
Both give the error:
GLib-GObject-CRITICAL **: g_closure_unref: assertion `closure->ref_count > 0' 
failed
Additionally, when 'audio-tags-changed' crashes, error window pops up with the 
message:
.../gmem.c:239: failed to allocate 0 bytes
aborting...

What version of the product are you using? On what operating system?
Windows 7 64bit
VS 2012 , target x86, .NET 4
gstreamer-gpl-20130426.zip 
gstreamer-lgpl-20130426.zip
glib-sharp from gtk# version 2.12 and from latest Banshee build

Please provide any additional information below.
I get the similar behavior with MonoDevelop (Xamarin Studio) 4.0.8 running with 
Mono 2.10.9 and Mono 3.0.10.

I get the same behavior if I use 
playbin2.AboutToFinish += HandleAboutToFinish
or 
playbin2.Connect("about-to-finish", HandleAboutToFinish);
etc...

    Thanks in advance,
    Tom

Original issue reported on code.google.com by tomislav...@gmail.com on 23 Jun 2013 at 1:06

Attachments:

GoogleCodeExporter commented 9 years ago
Yeah, too bad that the upstream gstreamer-sharp development seems to have quite 
much stopped. They have a new mechanism for bindings in 1.0, but no-one has 
ported the C# bindings over.

Thanks for reporting anyway, maybe this information will help someone else.

Original comment by Petteri.Aimonen on 23 Jun 2013 at 3:08