Gst::PlayBin2::create() error: *** glibc detected *** ./main: malloc(): memory corruption (fast): 0x00000000009b71d0 ***



Hi everybody,

I am trying to develop a small multimedia app using Gtkmm and GStreamermm on Ubuntu 12.10 64-bit. However, it seems that there is some problem with gstreamermm-0.10.9 on Ubuntu. I tried this snipset of code on my system:

#include <gtkmm.h>
#include <gstreamermm.h>

int main(int argc, char *argv[]) {
  Glib::RefPtr<Gtk::Application> dingo_app = Gtk::Application::create(argc, argv, "dingo.media.manager");
 
  Gst::init(argc, argv);
 
  dingo_app->hold();
 
  Glib::RefPtr<Gst::PlayBin2> d_playbin = Gst::PlayBin2::create("
playbin");
 
  Gtk::Window mainwindow;
 
  return dingo_app->run(mainwindow);
}

...and it generates the following error:

*** glibc detected *** ./main: malloc(): memory corruption (fast): 0x00000000009b71d0 ***

I don't know whether this is a bug with gstreamermm or Ubuntu, because the program is compiled and running fine on Fedora 17 with gstreamermm-0.10.10. Is there anybody here using Ubuntu 12.10 or Linux Mint 14 has experienced the same problem? Is there any way I can resolve this problem?

Thank you for reading my message and helping me out! Have a good Christmas!


Best regards,


Phong V. Cao


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]