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 installation issue on Ubuntu 16.04

Other Parts Discussed in Thread: CCSTUDIO

This has been discussed in other threads, but the recommendations have not helped with this particular installation.

The customer installed CCStudio using the following link:

 http://processors.wiki.ti.com/index.php/Linux_Host_Support_CCSv6#Ubuntu_16.04_64bit

 

which points to an article, that advises installing libgcrypt11 from an older Ubuntu version.

libgcrypt20:i386 has been installed along the other dependencies as documented on the wiki page. This is the same recommendation of some other forum threads as well.

 

They tried installing CCStudio with and without libgcrypt11 being installed.

 

Without the library, the installer warns, but carries on installing.

With the library in place, the installer does not raise a warning.

 

In both cases the resulting installation could not be used with a standard user account, resulting in a segmentation fault.

Using a superuser/root account, ccstudio could be started.

 

This is the backtrace from gdb when running as a standard user:

(gdb) r

Starting program: /opt/ti/ccsv6/eclipse/ccstudio

[Thread debugging using libthread_db enabled]

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

 

Program received signal SIGSEGV, Segmentation fault.

0xf7b3ef25 in ?? () from /opt/ti/ccsv6/eclipse/../ccs_base/common/bin/libfsutil.so

(gdb) bt

#0  0xf7b3ef25 in ?? () from /opt/ti/ccsv6/eclipse/../ccs_base/common/bin/libfsutil.so

#1  0xf7b33739 in ?? () from /opt/ti/ccsv6/eclipse/../ccs_base/common/bin/libfsutil.so

#2  0xf7b33bff in ?? () from /opt/ti/ccsv6/eclipse/../ccs_base/common/bin/libfsutil.so

#3  0xf7b33f60 in CreateFSUtil3 () from /opt/ti/ccsv6/eclipse/../ccs_base/common/bin/libfsutil.so

#4  0xf7b9da2d in ?? () from /opt/ti/ccsv6/eclipse/../ccs_base/common/bin/libMiniDump.so

#5  0xf7b9f1ec in ?? () from /opt/ti/ccsv6/eclipse/../ccs_base/common/bin/libMiniDump.so

#6  0xf7b9dd37 in ?? () from /opt/ti/ccsv6/eclipse/../ccs_base/common/bin/libMiniDump.so

#7  0xf7bc3e8d in ?? () from /opt/ti/ccsv6/eclipse/../ccs_base/common/bin/libMiniDump.so

#8  0xf7b9d391 in _init () from /opt/ti/ccsv6/eclipse/../ccs_base/common/bin/libMiniDump.so

#9  0xf7fe8321 in ?? () from /lib/ld-linux.so.2

#10 0xf7fe848e in ?? () from /lib/ld-linux.so.2

#11 0xf7fec75a in ?? () from /lib/ld-linux.so.2

#12 0xf7fe8204 in ?? () from /lib/ld-linux.so.2

#13 0xf7febf02 in ?? () from /lib/ld-linux.so.2

#14 0xf7f89bf5 in ?? () from /lib/i386-linux-gnu/libdl.so.2

#15 0xf7fe8204 in ?? () from /lib/ld-linux.so.2

#16 0xf7f8a30d in ?? () from /lib/i386-linux-gnu/libdl.so.2

#17 0xf7f89c9e in dlopen () from /lib/i386-linux-gnu/libdl.so.2

#18 0x0804b4f1 in ?? ()

#19 0x080490e6 in ?? ()

#20 0x0804965b in ?? ()

#21 0xf7deb637 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6

#22 0x08048f51 in ?? ()

(gdb)

 

Are there possibly any missing drivers? What other suggestions would you have?

Thank you!

  • Lenio,

    Two days ago I updated my Ubuntu 14.04 to 16.04 and got a very similar problem with my existing CCSv6.1.x installs - they were throwing segmentation faults left and right (I didn't do a backtrace to check where exactly it failed).

    Suspecting of a dependency that was removed during the OS upgrade, I simply decided to completely wipe out the existing CCSv6.1.3 install directory and reinstall as sudo using the offline installer. It complained about two missing libraries: libgcrypt11 and libXtst.so.6, which were installed and both the installer and afterwards CCSv6.1.3 worked fine.

    In this case, I suspect there may be something else going on - perhaps they didn't completely erase the previous install or have temporary CCS files with root privileges.

    At this moment my best suggestion is to check section 2 (especially 2.3) of the troubleshooting page below:
    processors.wiki.ti.com/.../Troubleshooting_CCSv6

    Hope this helps,
    Rafael
  • The customer tried running CCStudio using the generated desktop icon – no reaction. When tried running /opt/ti/ccsv6/eclipse/ccstudio from console – it generated a segment fault. When I tried to run it as sudo, CCStudio started normally. Is this the expected behavior?

  • Lenio,

    Can you check with your customer the permissions on the directories shown in the wiki topic below? Sometimes running as sudo or past installs may lock user access to these temporary files.

    processors.wiki.ti.com/.../Troubleshooting_CCSv6

    Hope this helps,
    Rafael
  • Linux – No local firewall / or anti virus.

    Full internet access from linux host.

    Local users / root have no different IP network access.

    We believe the problem is linked to not resolving the PAM LDAP lookup for uid to username.

    Any suggestions?
  • Lenio,

    As we spoke earlier today, I was able to install CCSv6.1.3 on a newly created Ubuntu 16.04/64 without problems - I installed it as sudo and ran as either sudo or user and strictly followed the instructions here.

    One issue I saw immediately after installing as sudo is that the desktop icon is non functional - i.e., it does not allow running the application due to invalid permissions. To fix that, simply do the following:

    user@host:~$ cd ~/Desktop

    user@host:~/Desktop$ sudo chmod a=+xrw Code\ Composer\ Studio\ 6.1.3.desktop

    At last, CCSv6.2.0 was released today. Given it is a native 64-bit application, it may help overcome some incompatibilities in your customer environment. Can you ask them to give this a try?

    Hope this helps,

    Rafael