Mateusz Loskot :: hacking on, working out, living up

Eclipse 4.2 throwing gtk_widget_real_map assertion failed

14 Sep 2012 | mloskot

Inspired by Eclipse and CDT recommendations posted recently to Boost mailing list, I decided to give it a try.

I followed the Arch way and installed eclipse 4.2 (Juno) and eclipse-cdt 8.1.0 from packages. Quick test with basic hello world! C++ project left me disillusioned.

As soon as I hit the Finish button in C++ project wizard, Eclipse window disappeared. It’s was a crash. I re-launched and opened the previously created project, but Eclipse indicated the Java perspective. So, I tried to open the C/C++ perspective. Crash, again. This time I caught some output:

mloskot@dog ~ $ eclipse
** Gtk:ERROR:gtkwidget.c:8854:gtk_widget_real_map: 
    assertion failed: (gtk_widget_get_realized (widget))

Anyone’s got any idea what’s wrong?

Fork me on GitHub