Tag Archives: eclipse

Kinetis Design Studio crashes on Kubuntu 14.04

On Kubuntu 14.04, Kinetis Design Studio (KDS) could be started, but when I tried to create a new project, it’d crash with the following message displayed in the terminal:

$ kinetis-design-studio 
java: /build/buildd/gtk2-engines-oxygen-1.4.5/src/animations/oxygencomboboxdata.cpp:87: void Oxygen::ComboBoxData::setButton(GtkWidget*): Assertion `!_button._widget' failed.

KDS is a Eclipse-based IDE. So I suspect the issue is related to Eclipse IDE itself. (I can’t confirm this as I’m not running the Eclipse IDE on this machine. I know I could have just downloaded and test it; but I don’t have time.)

The (error) message above gave us some hints where the problem was originated from. According to this Eclipse bug report1, yes this bug is caused by a bug in gtk2 theme oxygen.

To change the GTK themes on Kubuntu 14.04, open System Settings window by clicking on: K -> Computer -> System Settings. Then under “Common Appearance and Behavior”, click on “Application Appearance”. Look for GTK on left window pane and click on it.

On the right side on GTK – System Settings window, you should be able to select a different theme for GTK2 from the drop down list. In my case, I selected “Raleigh”. Then click on “Apply” button.


Let’s try to run it and create a new project:


Voila, it worked! The only downside is that now it makes all applications that depends on GTK2 look ugly. πŸ™

Is there anything we can do about it? Well, as it turned out we can actually ask Eclipse based applications to use GTK3 theme instead of GTK2.

$ export SWT_GTK3=1
$ kinetis-design-studio

Here’s KDS running using GTK3 theme:


(1) Bug 440660 – Several dialogs incompatible with GTK (Oxygen = default theme for Kubuntu)

Installing Code Composer Studio 6 on Ubuntu 14.10 (64-bit)

As of today, Code Composer Studio (ccs) 6 is only available for 32-bit Linux platform. Β The good news is that it can be installed on a 64-bit version of Ubuntu and Fedora.


In this blog post, I’m going to show a few issues I came across and how to fix them on Ubuntu 14.10 64-bit.

Issue 1:

After the installation, when I ran the ccs, it produces some warning and error messages then quit.

java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
    /home/kenno/apps/ti/ccsv6/eclipse/configuration/org.eclipse.osgi/bundles/244/1/.cp/libswt-pi-gtk-4333.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    no swt-pi-gtk in java.library.path
    /home/kenno/.swt/lib/linux/x86/libswt-pi-gtk-4333.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    Can't load library: /home/kenno/.swt/lib/linux/x86/libswt-pi-gtk.so

The fix [1]:

$ sudo apt-get install libgtk2.0-0:i386

Issue 2:

Now that ccs can be launched, but there are still some warnings.

ccstudio:23614): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Gtk-Message: Failed to load module "canberra-gtk-module"

The fix:

$ sudo apt-get install libcanberra-gtk-module:i386

Issue 3:

Here is another warning, which we can get rid of.

(ccstudio:28693): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

The fix [2]:

$ sudo apt-get install gtk2-engines-pixbuf:i386

Issue 4:

This one is similar to the issue #3.

(ccstudio:28917): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

The fix:

$ sudo apt-get install gtk2-engines-murrine:i386

Issue 5:

This one is something to do with the App Center which only shows a blank page. According to the information found in reference [3], the internal web browser, chromium, could not launch because of missing libudev.so.0.

The fix:

$ sudo apt-get install libudev1:i386
$ sudo ln -s /lib/i386-linux-gnu/libudev.so.1 /usr/lib/libudev.so.0

Note that you must use libudev.so.1 provided by the 32 bit package.


  1. http://askubuntu.com/questions/356605/ubuntu-13-10-64-bit-machinarium-error-while-loading-shared-libraries-libgtk-x1
  2. http://askubuntu.com/questions/66356/gdk-gtk-warnings-and-errors-from-the-command-line
  3. http://tools1105.rssing.com/chan-14792965/all_p238.html

Eclipse ADT Fatal Error on Linux

The Eclipse IDE that comes bundle with Android Development Tools (ADT) crashes when run on my laptop running Fedora.


The error message which logged to console is:

# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x0000003cc2270061, pid=9653, tid=140330452297472
# JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.55-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libsoup-2.4.so.1+0x70061]  soup_session_feature_detach+0x11
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

Fortunately, there’s a wayΒ to fix this problem by opening ‘eclipse.ini’ file, in my case:

vim /opt/adt-bundle-linux-x86_64-20131030/eclipse

and added this line to the end of that file:


Credit: Android – SoluciΓ³n Fatal Error del IDE Eclipse (ADT)

αž”αž‰αŸ’αž…αžΌαž› C/C++ plugin (or CDT) αž€αŸ’αž“αž»αž„ Eclipse

αžŸαŸ†αžŽαžΆαž„β€‹αž›αŸ’αž’ αž’αŸŠαžΌαž”αŸŠαž»αž“αž’αžΌ αž˜αžΆαž“β€‹αž€αž‰αŸ’αž…αž”αŸ‹αž˜αž½αž™β€‹αžˆαŸ’αž˜αŸ„αŸ‡ eclipse-cdt​ αŸ”

αž™αžΎαž„β€‹αž’αžΆαž…β€‹αž”αž‰αŸ’αž…αžΌαž›β€‹αžœαžΆβ€‹αžŠαŸ„αž™ αžαŸ†αž˜αŸ‰αžΆαž“αžŠαžΌαž…β€‹αž“αŸαŸ‡

sudo apt-get install eclipse-cdt

αž–αŸαž›β€‹αž”αžΎαž€β€‹ Eclipse αž›αžΎαž€αž€αŸ’αžšαŸ„αž™β€‹ αž αžΎαž™β€‹αž”αž„αŸ’αž€αžΎαž project αžαŸ’αž˜αžΈ αž™αžΎαž„αž“αžΉαž„αžƒαžΎαž‰β€‹αžŸαŸ’αžšαžŠαŸ€αž„αž“αŸαŸ‡