Freeze or crash occurs when calling Gst::PlayBin2::create()
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-
Minimal example:
#include <gstreamermm.h>
int main()
{
Gst::init();
Gst::
}
$ 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.
It fixed in version 0.10.9.1 and Ubuntu das version 0.10.11 now.