• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » Error with CCS on Ubuntu 11.10
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Error with CCS on Ubuntu 11.10

    Error with CCS on Ubuntu 11.10

    This question is answered
    Arun
    Posted by Arun
    on Mar 29 2012 17:38 PM
    Intellectual840 points

    Hello

    I have been using Code composer on my system since last 7-8 months and Now I have updated it as 5.1.1 on Ubuntu 11.10. I have checked the dependencies listed on Wiki under installation support for Linux and the problem I am getting is as soon as I am starting CCS, It is crashing with following error message:  

    flxInitLoad: client has not been protected.
    flxInitLoad: client has not been protected.

    (Code Composer Studio:6662): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed

    (Code Composer Studio:6662): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed

    (Code Composer Studio:6662): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed

    (Code Composer Studio:6662): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed

    (Code Composer Studio:6662): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed

    (Code Composer Studio:6662): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed
    No bp log location saved, using default.
    [000:000] Browser XEmbed support present: 1
    [000:000] Browser toolkit is Gtk2.
    [000:000] Using Gtk2 toolkit
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize succeeded
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize succeeded
    (Code Composer Studio:6662): GnomeShellBrowserPlugin-DEBUG: plugin loaded
    ERROR: Invalid browser function table. Some functionality may be restricted.
    [000:072] Warning(optionsfile.cc:47): Load: Could not open file, err=2
    [000:072] No bp log location saved, using default.
    [000:072] Browser XEmbed support present: 1
    [000:072] Browser toolkit is Gtk2.
    [000:072] Using Gtk2 toolkit
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize succeeded
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize succeeded
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize succeeded
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize succeeded
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize succeeded
    ERROR: Invalid browser function table. Some functionality may be restricted.
    [000:088] Warning(optionsfile.cc:47): Load: Could not open file, err=2
    [000:091] No bp log location saved, using default.
    [000:091] Browser XEmbed support present: 1
    [000:091] Browser toolkit is Gtk2.
    [000:091] Using Gtk2 toolkit
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize
    ** (Code Composer Studio:6662): DEBUG: NP_Initialize succeeded
    (Code Composer Studio:6662): GnomeShellBrowserPlugin-DEBUG: plugin loaded
    java version "1.6.0_23"
    OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
    OpenJDK Server VM (build 20.0-b11, mixed mode)
    Segmentation fault

    Do anybody know why this is occurring? On the safe hand I have updated and upgraded packages on ubuntu 11.10 but no help.
    
    
    Thanks.
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Lisa TI
      Posted by Lisa TI
      on Mar 30 2012 12:29 PM
      Guru100155 points

      Hi Arun,

      is this your first install on Linux?  Or were you using Linux before?

      - are you using 64 bit Linux?  If so please be absolutely sure to install 32 bit support.  This is something that we have found can on an off not necessarily be trivial in Ubuntu 11

      - have you double checked your permissions?   Linux is even more sensitive than Win 7 with permissions. 

      - what device support did you try to install?

      - do you have the JRE installed?

      Can you provide a bit more background?

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Arun
      Posted by Arun
      on Mar 30 2012 21:50 PM
      Intellectual840 points

      Hello Lisa,

      No this is not my first install on Linux. I have been using CCS since last 7-8 months and I have used CCS on Ubuntu 10.04 and 10.10. But I am not able to use it on 11.10. I didn't get any error message during installation, It installed very fine, after everything I have installed, It crashes all away.  I am using 32-bit Linux.  I am root of the system, But anyhow on the safer hand I have run and installed all with Sudo command , so there should not be any issues regarding permissions. I am installing it for C6678 DSP. I am using it on my windows and Have been using it on ubuntu previous versions as well. I have read regarding dependencies issue with CCS on ubuntu or linux, so I have double checked cache is updated and I have installed latest updates and upgrades. But, that doesn't help as well.  Yes, JRE has been installed on my system. 

      I have also checked one same issue on the forum raised by one person last week and he has written that he has updated the system and after that everything works fine with new installation. I am not sure what type of updates he is talking about? 

      Anyways, I am thinking to give one more try regarding re-installation, but I am not perfectly sure what I am doing, so,,I want to be cent percent sure before I do anything.

      Thanks. 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Arun
      Posted by Arun
      on Mar 30 2012 22:58 PM
      Intellectual840 points

      Hello Lisa,

      For your information, I have uninstalled CCS and done all the updations and all on ubuntu and then tried to reinstalled CCS again but this time as well crashing happens but With the different Error message:

      flxInitLoad: client has not been protected.
      flxInitLoad: client has not been protected.
      No bp log location saved, using default.
      [000:000] Browser XEmbed support present: 1
      [000:000] Browser toolkit is Gtk2.
      [000:000] Using Gtk2 toolkit
      ** (SWT:10167): DEBUG: NP_Initialize
      ** (SWT:10167): DEBUG: NP_Initialize succeeded
      ** (SWT:10167): DEBUG: NP_Initialize
      ** (SWT:10167): DEBUG: NP_Initialize succeeded
      (SWT:10167): GnomeShellBrowserPlugin-DEBUG: plugin loaded
      [000:039] Warning(optionsfile.cc:47): Load: Could not open file, err=2
      [000:039] No bp log location saved, using default.
      [000:040] Browser XEmbed support present: 1
      [000:040] Browser toolkit is Gtk2.
      [000:040] Using Gtk2 toolkit
      ** (SWT:10167): DEBUG: NP_Initialize
      ** (SWT:10167): DEBUG: NP_Initialize succeeded
      ** (SWT:10167): DEBUG: NP_Initialize
      ** (SWT:10167): DEBUG: NP_Initialize succeeded
      ** (SWT:10167): DEBUG: NP_Initialize
      ** (SWT:10167): DEBUG: NP_Initialize succeeded
      ** (SWT:10167): DEBUG: NP_Initialize
      ** (SWT:10167): DEBUG: NP_Initialize succeeded
      ** (SWT:10167): DEBUG: NP_Initialize
      ** (SWT:10167): DEBUG: NP_Initialize succeeded
      [000:051] Warning(optionsfile.cc:47): Load: Could not open file, err=2
      [000:052] No bp log location saved, using default.
      [000:052] Browser XEmbed support present: 1
      [000:052] Browser toolkit is Gtk2.
      [000:052] Using Gtk2 toolkit
      ** (SWT:10167): DEBUG: NP_Initialize
      ** (SWT:10167): DEBUG: NP_Initialize succeeded
      (SWT:10167): GnomeShellBrowserPlugin-DEBUG: plugin loaded


      Now , I have no idea why this is happening. 

      Thanks and Regards,
      Arun 
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Lisa TI
      Posted by Lisa TI
      on Apr 02 2012 09:41 AM
      Guru100155 points

      Hi Arun,

      this is not obvious from the message unfortunately.  There are a few logs we can search for that might help debug this.

      See if you can find the  hs_err log generated by the JVM. I’ve seen the file created in various random spots. It might be easiest to add

      -XX:ErrorFile=~/hs_err_%p.log

       

      to the ccstudio.ini file so it will always be created in the users home folder.  The file might tell something about why it is crashing.

       

      Sometimes the strace log can help. This is run using

      strace -o /tmp/strace.log ./ccstudio

       

      but may be somewhat less useful.

      Please keep us informed and see if there are any logs you may be able to send.

      Best Regards,
      Lisa

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Arun
      Posted by Arun
      on Apr 02 2012 16:41 PM
      Intellectual840 points

      Hello Lisa,

      Thanks for your mail.
      Let me tell you first What steps I have tried till now, I have installed, JRE, Oracle JDK7 and all related java stuffs, apart from that each Dependencies  individually from Synaptics Package manager and also by $ locate ld-linux,  $ sudo apt-cache search, sudo apt-get install.... , and then I have installed new CCS 5.1.1 but Still the same issue. 

      I have checked and there was no "hs_err_pidxxxx.log" file present over there, so  I am not able to attach that error file. But I have attached Strace.log and two more files which shows there is no dependencies issues while running them in Debugserver and Configurations, 

       

      Kindly help. Thanks and regards,
      Arun 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Arun
      Posted by Arun
      on Apr 02 2012 17:12 PM
      Intellectual840 points

      Hello Lisa,

      I am sorry , I think Due to some issues, files has not been uploaded. Anyways, here are the files..

      5265.Debugserver.pdf

      5165.Configuration.pdf

      2806.strace.log.zip

      Thanks.. 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AndyW
      Posted by AndyW
      on Apr 03 2012 10:00 AM
      Expert7475 points

      Arun,

      I think the problem you are seeing is being caused by libraries being loaded from your JRE 7 install in /usr/lib/jvm/java-7-oracle. CCS uses the version 6 JVM  installed in the CCS install folder, but for some reason a few dependencies are being resolved to libraries in your JRE7 folder. You can see this from the strace log if you search for the path above.

      My suggestion would be to start a terminal window and temporarily modify your environment so there are no links to the version 7 JVM. You would need to check your PATH and LD_LIBRARY_PATH environment variables to ensure they do not reference this JRE. You may also need to modify the links in your /etc/alternatives folder to point to a compatible JVM.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Arun
      Posted by Arun
      on Apr 03 2012 13:12 PM
      Intellectual840 points

      Hello Andy,

      Thanks for your mail. Please forgive me on my little knowledge, But can you little bit elaborate how to temporarily modify the links to JVM7 and other stuffs which You have mentioned.

      Thanks and Regards,
      Arun 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AndyW
      Posted by AndyW
      on Apr 03 2012 16:56 PM
      Expert7475 points

      Arun,

      On second thought, a better approach might be to set prepend your LD_LIBRARY_PATH environment var with the path to the local CCS JRE. To do this:

      • Open a terminal window.
      • Assuming the default shell is bash, execute " export LD_LIBRARY_PATH=/opt/ti/ccsv5/eclipse/jre/lib:$LD_LIBRARY_PATH "
      • Start ccstudio and see what happens. If it still crashes, please capture another strace log from the same terminal window and I'll see if something else looks incorrect.
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Arun
      Posted by Arun
      on Apr 03 2012 23:59 PM
      Intellectual840 points

      Hello Andy,

      I have checked in my system and Strace file, in strace file it was showing JAVA-7-Oracle, but strangely in my system it is showing JAVA6, no JAVA-7. I have checked in synaptics manager and everywhere but with the name java-7 there was only one installer, which was installed, then I have uninstalled that java7 from my system. Then I have tried to launch ccstudio, but again the same crash and problem remain the same.

      I have tried above mentioned steps as well and I have tried after uninstalling JAVA7 from system again, so I have attached two strace file here, first one is before uninstalling java7 and second one is after java 7 uninstallation.  But, Problem remain the same. I am not getting any clue!

      8836.strace.log.zip

      5706.strace2.log.zip

      Thanks and regards,
      Arun 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AndyW
      Posted by AndyW
      on Apr 04 2012 13:27 PM
      Expert7475 points

      Arun,

      I'm not sure why, but the CCS process is still loading shared libraries from /usr/lib64/mozilla which I suspect are not compatible. I've tried to recreate the situation here but I have not found the set of applications that causes this to happen.  As a quick test, could you rename the /usr/lib64/mozilla folder to something else temporarily and see if ccs gets any further on startup? Renaming the folder should ensure the library loaded doesn't find these libraries and hopefully just ignores them.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Arun
      Posted by Arun
      on Apr 04 2012 13:47 PM
      Intellectual840 points

      Hello Andy,

      No that doesn't help.  CCS still crashing. Apart from this, I have also tried to uninstalled mozilla firefox compeletely from system and checked but CCS is still crashing. I have attached strace file just after uninstalling mozilla from system.

      What would you suggest? Its getting tensed now, I am not able to move further and my whole Research is based on this one. Should I change Ubuntu version(which I don't want) or should I shift to Windows?

      0525.strace3.log.zip

      Thanks and Regards,
      Arun 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AndyW
      Posted by AndyW
      on Apr 04 2012 14:36 PM
      Expert7475 points

      Arun,

      I'm sorry this is taking a long time to resolve. Dependency issues seem to be the bane of Linux applications.  From your new log I can still see mozilla shared libraries being loaded from various places and this is probably still causing a problem. I do know what a freshly installed Ubuntu 11.10 that has been fully updated does work (both the 32-bit and 64-bit versions). Windows will also work as expected. We can continue to try to find what the issue is if you wish, but if you have the option of starting from a fresh installation or using windows this will get you going faster.  If you need to install other applications on your Linux install, I would assume the problem will eventually reappear when the application causing the compatibility problem is installed.

      If you wish to try to keep debugging this, I suggest temporarily renaming the following folders to prevent any mozilla libs from being loaded and then sending another strace log: /usr/lib64/mozilla, /usr/lib/mozilla, ~/,mozilla

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Arun
      Posted by Arun
      on Apr 04 2012 21:48 PM
      Intellectual840 points

      Hello Andy,

      I am very sorry. I hope you will understand my situation. Anyways, I am ready to debug this. as per your saying, I have rename mozilla as  sudo mv /usr/lib64/mozilla ~/mozilla-backup, but on doing under /usr/lib/mozilla, there is no folder over there by that name. Anyways, after doing this, still CCS is crashing. I have run strace and attached the file here. I have checked in the file and have found so many mozilla shared libraries, I don't know from where CCS is loading all those.

      Kindly forgive me for my little knowledge. I am not very quicker in understanding , so may be I take little longer to understand and grasp things.

      7065.strace4.log.zip

      Thanks and Regards,
      Arun 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AndyW
      Posted by AndyW
      on Apr 05 2012 08:48 AM
      Expert7475 points

      Arun,

      No problem. I'm just sorry you are having this problem getting started.

      Here's what I would suggest next.

      (1) Browse to /opt/ti/ccsv5/eclipse/plugins/com.ti.ccstudio.branding_5.1.0.201201061800/plugin_customization.ini, and edit this file (you might need to make it writable if you installed as sudo).  In this file, find the line that says "org.eclipse.ui/showIntro" and change the value from true to false. Save the file.  The purpose of doing this is to defer the loading of the Eclipse internal browser which could be causing the Mozilla plugins to be loaded.

      (2) Plugins are now being loaded from /usr/lib/firefox and /opt/google/talkplugin, so to prevent this from happening, please also rename these folders to something else. Then, try to start CCS and post yet another strace log if it sill crashes.  When you start CCS ,please be sure to give it a new name for the workspace (IE, a completely new folder that hasn't been used before).

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    12
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use