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.

CCSv6 no longer stays up running after updates (Ubuntu 14.04 32bit)

Other Parts Discussed in Thread: CCSTUDIO, TMS320F2808

My installed CCSv6 on Ubuntu 14.04 32BIT starts up, stays only a few seconds, and then just disappears.  This happens after CCS6 updates itself from yesterday.

Any idea about fixing it?  Or where to find the error logs?

--Joe

  • Could you locate the .log file in <WORKSPACE>/.metadata and post it here, please? That might give us an indication as to what's going on. You could also try changing the workspace and see if that works.
    Danish
  • Thanks Danish for being very helpful. Here is the error log:

    !SESSION 2015-01-16 13:29:36.041 -----------------------------------------------
    eclipse.buildId=4.3.0.M20130911-1000
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Framework arguments: -product com.ti.ccstudio.branding.product
    Command-line arguments: -os linux -ws gtk -arch x86 -product com.ti.ccstudio.branding.product

    !ENTRY com.ti.chromium.browser 4 0 2015-01-16 13:29:41.994
    !MESSAGE /home/jchen/ti/ccsv6/eclipse/plugins/com.ti.chromium.browser.gtk.linux.x86_1.0.0.201406261800/libs/libcef.so: libudev.so.0: cannot open shared object file: No such file or directory
    !STACK 0
    java.lang.UnsatisfiedLinkError: /home/jchen/ti/ccsv6/eclipse/plugins/com.ti.chromium.browser.gtk.linux.x86_1.0.0.201406261800/libs/libcef.so: libudev.so.0: cannot open shared object file: No such file or directory
  • Hi,
    It looks like you're missing the libudev0 dependency. If you can’t get the dependency (it is not available for recent Ubuntus), some users report using this workaround:

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

    Let me know if it works.
    Thanks
    Danish
  • Tried it, but CCSv6 still does not stay.  But this time, .log file does not get any logging message at all. (I made the .log file empty before starting CCSv6).

    Here is the look of libudev after being installed and the link being created:

    root@jchen-OptiPlex-760:~# ls -al /lib/i386-linux-gnu/libudev*
    lrwxrwxrwx 1 root root    32 Jan 19 09:51 /lib/i386-linux-gnu/libudev.so.0 -> /lib/i386-linux-gnu/libudev.so.1
    lrwxrwxrwx 1 root root    16 Nov 18 08:37 /lib/i386-linux-gnu/libudev.so.1 -> libudev.so.1.3.5
    -rw-r--r-- 1 root root 71044 Nov 18 08:37 /lib/i386-linux-gnu/libudev.so.1.3.5
    root@jchen-OptiPlex-760:~#

    Thanks Danish,

    --Joe

  • Hello, 

    Could you check if there are log files created in this folder ccsv6\eclipse\configuration? They file name should be made up of numbers with .log extension, (e.g. 1399484610897.log) There could be one file created per CCS start. If you do see them, could you attach them to your reply? 

    Martin

     

  • MartinS said:

    Could you check if there are log files created in this folder ccsv6\eclipse\configuration? They file name should be made up of numbers with .log extension, (e.g. 1399484610897.log) There could be one file created per CCS start. If you do see them, could you attach them to your reply? 

    I found a few of them, but the latest is the one that was generated on Dec 8, 2014, and it is attached (I used the Rich Format, and Insert/Edit Media, browsed the log file, not sure if this works for attaching a file.  Can't figure out the other way).

    --Joe.

    1418063662475.log
    !SESSION 2014-12-08 11:34:22.317 -----------------------------------------------
    eclipse.buildId=4.3.0.M20130911-1000
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Framework arguments:  -application com.ti.ccstudio.p2app -installiu com.ti.ccstudio.base.feature.group -repository file://home/jchen/ti/ccsv6/ccs_base/dsbuildrepo -destination /home/jchen/ti/ccsv6/eclipse
    Command-line arguments:  -os linux -ws gtk -arch x86 -application com.ti.ccstudio.p2app -installiu com.ti.ccstudio.base.feature.group -repository file://home/jchen/ti/ccsv6/ccs_base/dsbuildrepo -destination /home/jchen/ti/ccsv6/eclipse
    
    !ENTRY org.eclipse.equinox.p2.operations 1 10003 2014-12-08 11:34:27.254
    !MESSAGE "Code Composer Studio Base Components" is already installed, so an update will be performed instead.
    

  • Joe Chen67 said:
    MartinS

    Could you check if there are log files created in this folder ccsv6\eclipse\configuration? They file name should be made up of numbers with .log extension, (e.g. 1399484610897.log) There could be one file created per CCS start. If you do see them, could you attach them to your reply? 

    I found a few of them, but the latest is the one that was generated on Dec 8, 2014, and it is attached (I used the Rich Format, and Insert/Edit Media, browsed the log file, not sure if this works for attaching a file.  Can't figure out the other way).

    In case they can be helpful, I have made a tar ball containing all the generated log files and I am attaching it now.

    --Joelog-files.tar.gz 

  • Joe,

    I can't tell what is wrong from the available log files so I need to ask you to try a couple of things so we can eliminate some possible issues.

    I want to confirm the CCS installer is not detecting any missing dependencies. To do this, could you download and run the CCS v6.0.1 web installer to the point where it asks to select components.  You do not need to install anything, I'd just like to see if the dependency checker is finding anything missing.  The web installer is available from the CCS download page.  Does the installer tell you about any missing dependencies?

    Could you change the permissions of your ~/.ti folder to 777? (IE, chmod -R 777 .ti)  Does that make any difference?

    Please let us know what you find.

  • Hi Andy,

    I did these:

    1) after doing "chmod -R 777 ti", CCS still does not stay.

    2) doing the web-installer install, the installer does not show any errors or warnings about the dependencies.

    3)Then, I continued with a brand new install with a brand new "ti" directory. Starting CCS, and clicking "Yes" to let CCS to install Add-on Apps. Then clicking "Yes" to let CCS restart, clicking "OK" to let CCS use the default workspace directory. After a few seconds, CCS just quit.

    Looking at the brand new "./metadata/.log", it has this error:

    !ENTRY com.ti.ccstudio.project.core 4 0 2015-01-20 09:45:10.704
    !MESSAGE An internal error was logged by 'com.ti.ccstudio.project.core'.
    !STACK 0
    com.ti.ccstudio.system.setup.HardwareDbException: File devices/F28069.xml does n
    ot exist. Was included by file /home/jchen/ti/ccsv6/ccs_base/common/targetdb/bo
    ards/expkitF28069.xml

    So far I have not done "~/ti/ccsv6/install_scripts/install_driver.sh" yet.

    4) Then, I did "sudo ~/ti/ccsv6/install_scripts/install_driver.sh", and then started CCS. This time, CCS quits again after a few seconds, and ".log" file does not get any message at all.

    FYI, the CCS installed in my Ubuntu 14.04 32BIT was working well with compiling and debugging my TMS320F2808 target just a few days ago.

    Thanks,

    --Joe
  • Joe,

    I would like to confirm you were operating on the hidden ~/.ti folder and not the ~/ti folder in step one?

    It might also be worthwhile renaming ~/.ti to ~/.ti.bak temporarily to see if there is some corruption in the cache files present this folder. The content of the folder will get regenerated as needed. If it makes no difference, you can delete the new ~/.ti folder generated when you start CCS and put the old one back.
  • Hi Andy,


    I did not know about the hidden "~/.ti" until now. Upon inspecting the newly generated hidden directory (I did renaming per your instruction), I see this file containing error messages like this:

    jchen@jchen-OptiPlex-760:~/.ti/ti/0/dmp$ ls
    hs_err_25935.log slow
    jchen@jchen-OptiPlex-760:~/.ti/ti/0/dmp$

    chen@jchen-OptiPlex-760:~/.ti/ti/0/dmp$ more hs_err_25935.log

    # An unexpected error has been detected by Java Runtime Environment:
    #
    # SIGSEGV (0xb) at pc=0x77b5299f, pid=25935, tid=3075933952
    #
    # Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode linux-x86)
    # Problematic frame:
    # C [libwebkitgtk-1.0.so.0+0x1d599f]
    #
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #

    --------------- T H R E A D ---------------

    Current thread (0x094dc400): JavaThread "main" [_thread_in_native, id=25935, stack(0xbfc11000,0xbfc61000)]

    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000

    Registers:

    Hope this can point to somewhere meaningful?

    --Joe
  • Hi Joe, 

    Could you try adding 

    -DTIBrowserType=mozilla 

    line to ccstudio.ini file after -vmargs row.  ccstudio.ini file is located in CCSInstallRoot/ccsv6/eclipse directory.

    Above call stack appears to be coming from chrome engine that we use by default.

    Martin

     

  • MartinS said:

    Could you try adding 

    -DTIBrowserType=mozilla 

    line to ccstudio.ini file after -vmargs row.  ccstudio.ini file is located in CCSInstallRoot/ccsv6/eclipse directory.

    Tried this, and CCS stays up now.  But, it gets an error "Failed to create the part's controls".  I have attached the screenshot of the error.

    Thanks,

    --Joe

  • Hi Joe, 

    I have created a new virtual machine with the same OS setting and added that same softlink to libudev.so.0 and I installed CCS 6.0.1. However, I can't seem to reproduce your original crash. I was able to see NullPointer exception after setting -DTIBrowserType=mozilla. Could you let me know what happens if you set that same variable to "swt" i.e. that row should look like -DTIBrowserType=swt. 

    Also, if possible could you send/attach eclipse configuration settings? you would need to go to Help->About Code Composer Studio, then click on "Installation Details" button near the bottom of the dialog, then switch to "Configuration" tab and click on Copy to Clipboard button. Then open a text editor, paste and save. 

    Thank you,
    Martin

  • MartinS said:

    I have created a new virtual machine with the same OS setting and added that same softlink to libudev.so.0 and I installed CCS 6.0.1. However, I can't seem to reproduce your original crash. I was able to see NullPointer exception after setting -DTIBrowserType=mozilla. Could you let me know what happens if you set that same variable to "swt" i.e. that row should look like -DTIBrowserType=swt. 

    With adding " -DTIBrowserType=swt" in file /"~ti/ccsv6/eclipse/ccstudio.ini", CCS crashes and generates an error log file "~/.ti/ti/0/dmp/hs_err_3183.log", which is attached, which is complaining from libwebkitgtk.1.0.so" and down to other libs

    .hs_err_3183.logccs6-install-details.txt

    MartinS said:

    Also, if possible could you send/attach eclipse configuration settings? you would need to go to Help->About Code Composer Studio, then click on "Installation Details" button near the bottom of the dialog, then switch to "Configuration" tab and click on Copy to Clipboard button. Then open a text editor, paste and save. 

    I was able to collect the configuration settings when adding " -DTIBrowserType=mozilla", and the text file is attached.

    Thanks Martin!

    -- Joe

  • Hi Joe,
    The information that you provided helped clear up some answers for us. Unfortunately, we are still not quite sure what the issue is. Would you be available for an hour to have a remote debug session (we would do this through webex) which requires a small download?

    Thanks,
    martin
  • Hi Martin,

    I am available for a remote debug.  Feel free to call me at +1-303-427-5700 x322, and my time zone is Mountain.

    Thanks,

    --Joe

  • Hi Joe,
    My apologies for delayed response. Would Monday(Feb 2) at 2pm Mountain time work for you?
  • MartinS said:
    Hi Joe,
    My apologies for delayed response. Would Monday(Feb 2) at 2pm Mountain time work for you?

    Hi Martin,
    No worries.   Monday(Feb 2) at 2pm Mountain time works for me.
    Thanks,
    --Joe
  • Thank you! I'll talk to you on Monday.

    Martin
  • Hi,
    Any news regarding above?
    I have exactly the same issue (on the same OS and CCS version, switch to mozilla also gives error).
    On my side I have noticed that CCS do not close when started from command line with "sudo ./ccstudio".
    But that seems to be not a good idea because there are some warninngs:
    "[PIPELIGHT:LIN:silverlight5.1] WARNING! YOU ARE RUNNING THIS PIPELIGHT PLUGIN AS ROOT!
    [PIPELIGHT:LIN:silverlight5.1] THIS IS USUALLY NOT A GOOD IDEA! YOU HAVE BEEN WARNED!"

    Klina