This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CCSTUDIO: CCSv7 fails to launch because of adwaita theme dependency

Expert 1635 points
Part Number: CCSTUDIO

Tool/software: Code Composer Studio

Hi,

All of a sudden my CCS cannot be launched. I am running Kubuntu 17.04 and I have been using all the eclipse-based CCS versions so far without any major problem (by just ensuring the required dependencies were met). Last Thursday I could not launch it though. Then I tried launching it from the console to see the reason and got:

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

(ccstudio:8138): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Segmentation fault (core dumped)

Installing the theme does not help as I got another error, this time related to the sidebar (I do not remember exactly the wording as I am writing this from another computer). I thought initially this would be a problem with the machine's installation, but then I found the same problem with a machine at home (which I have also CCS installed and had used it frequently). I have also try a clean install of CCS v7.2 and the result is the same.

Interestingly enough, if I launch eclipse proper (from the same ~/ti/ccsv7/eclipse/ folder)  it runs without any problem.

I would appreciate any suggestion. Thanks.

Pibe

  • Pibe said:
    Then I tried launching it from the console to see the reason and got:

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

    (ccstudio:8138): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
    Segmentation fault (core dumped)

    From previous experience the Gtk-WARNING about the missing theme engine aren't the cause of the problem, since have seen similar warnings even when CCS worked.

    The segmentation fault has probably been triggered by an update to the Linux Kernel - see CCS: Known Issue: CCS on Linux crashing on startup for an explanation and a work-around.

    Following a Ubuntu update to Linux Kernel 4.4.0-81-generic CCS was crashing until I applied the work-around in the referenced thread.

  • Thank you, Chester.

    I am going to read the link you mentioned, although I have my doubts that if the problem were related to the kernel it would only affect CCS, as I can launch eclipse and other Gnome-based apps without problem.

    Pibe

    UPDATE: Chester proposal works. Still, this is very strange, as it seems to had been first reported on kernel 4.4.xxx and I have been using 4.10 for two months now. Also interesting is that the problem happened to users running Ubuntu (I run Kubuntu) I thought this could be more of a library issue because this is a KDE based system.

    Anyway, I included a line -Xss1280k in ccstudio.ini and it seems to work fine now. Thank you.

    Pibe