Tool/software: Code Composer Studio
I'm having the same issue as https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/604509.
Do not think it is kernel related but some system tool was updated.
Kernel version:
uname -a
Linux 4.4.0-81-lowlatency #104-Ubuntu SMP PREEMPT Wed Jun 14 09:42:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Reinstalled ccs7:
rm -rf .ti
rm -rf ti
Installed the latest CCS7 7.2.0.00013
at the command prompt:
~/ti/ccsv7/eclipse$ ./ccstudio
Segmentation fault (core dumped)
Then try and execute the xdctools via command line:
ti/xdctools_3_50_02_20_core/xs.x86_64U: error: can't create session manager error: can't create session manager: can't find a JVM; try setting the environment variable 'XDCTOOLS_JAVA_HOME' to the absolute path of any directory containing a 64-bit Java Runtime Environment (1.7 or greater); e.g., '/usr/lib/jvm/java-7-openjdk-a
so:
export XDCTOOLS_JAVA_HOME=$JAVA_HOME
which is:
XDCTOOLS_JAVA_HOME=/usr/lib/jvm/java-8-oracle
then cut and paste from the makefile to a command line:
"/home/tcmichals/ti/xdctools_3_50_02_20_core/xs" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A9F -p ti.platforms.evmAM437X -r release -c "/home/tcmichals/ti/gcc-arm-none-eabi-4_9-2015q3" -
Segmentation fault (core dumped)
This does work.
/home/tcmichals/ti/xdctools_3_50_02_20_core/xs
Think the issue is with the compiled in JRE with all of the TI tool set is the issue.
I have an strace dump showing it is calling the JRE in:
execve("./ccstudio", ["./ccstudio"], [/* 71 vars */]) = 0
brk(NULL) = 0x18b3000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff783eb0000
readlink("/proc/self/exe", "/home/tcmichals/ti/ccsv7/eclipse"..., 4096) = 41
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/home/tcmichals/ti/ccsv7/eclipse/jre/lib/amd64/tls/x86_64/libjsig.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/tcmichals/ti/ccsv7/eclipse/jre/lib/amd64/tls/x86_64", 0x7fffe0834ce0) = -1 ENOENT (No such file or directory)
open("/home/tcmichals/ti/ccsv7/eclipse/jre/lib/amd64/tls/libjsig.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/tcmichals/ti/ccsv7/eclipse/jre/lib/amd64/tls", 0x7fffe0834ce0) = -1 ENOENT (No such file or directory)
open("/home/tcmichals/ti/ccsv7/eclipse/jre/lib/amd64/x86_64/libjsig.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/tcmichals/ti/ccsv7/eclipse/jre/lib/amd64/x86_64", 0x7fffe0834ce0) = -1 ENOENT (No such file or directory)
open("/home/tcmichals/ti/ccsv7/eclipse/jre/lib/amd64/libjsig.so", O_RDONLY|O_CLOEXEC) = 3
....
futex(0x80d054, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x80d050, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x80d028, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x797254, FUTEX_WAIT_PRIVATE, 3, NULL) = 0
futex(0x797228, FUTEX_WAKE_PRIVATE, 1) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fffbf6074a0} ---
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fffbf607fe0} ---
+++ killed by SIGSEGV (core dumped) +++