Freeze or crash occurs when calling Gst::PlayBin2::create()

Bug #1047919 reported by David Kiefer
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gstreamermm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Using Linux Mint Maya 64-bit (based on Ubuntu 12.04) and libgstreamermm-0.10-2 version 0.10.9-1, a call to Gst::PlayBin2::create() causes the application to freeze or crash. A glib error message in free() or realloc() is usually printed.

Minimal example:

#include <gstreamermm.h>

int main()
{
  Gst::init();
  Gst::PlayBin2::create();
}

$ g++ -g main.cpp `pkg-config gstreamermm-0.10 --libs` `pkg-config --cflags gstreamermm-0.10`
$ ./a.out
*** glibc detected *** ./a.out: free(): invalid next size (normal): 0x0000000002198c00 ***
^C
$

Attached is the valgrind output for the minimal example and two backtraces from when the application actually crashed instead of simply freezing (from an actual application that uses gstreamermm).
When running the application with valgrind, the same invalid write as in the minimal example happens, however the track actually plays for a fraction of a second. After hitting pause/continue a few dozen times, all following tracks seem to play properly. Without valgrind, the application freezes or crashes without exception.

Revision history for this message
David Kiefer (david-kiefer) wrote :
Revision history for this message
David Kiefer (david-kiefer) wrote :
Revision history for this message
Philip Rinn (rinni) wrote :

It fixed in version 0.10.9.1 and Ubuntu das version 0.10.11 now.

Changed in gstreamermm (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.