Public bug reported:

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.

** Affects: gstreamermm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1047919

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gstreamermm/+bug/1047919/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to