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.
Tool/software: Code Composer Studio
After OS update yesterday CCSv7 is not working anymore. My environment:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
$ uname -a
Linux gustavo-X550CC 4.8.0-56-generic #61~16.04.1-Ubuntu SMP Wed Jun 14 11:58:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
(gdb) run
Starting program: /home/gustavo/apps/ti/ccsv7/eclipse/ccstudio
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 11446 is executing new program: /home/gustavo/apps/ti/ccsv7/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.
(gdb) continue
Continuing.
[New Thread 0x7fffdbc02700 (LWP 11507)]
[New Thread 0x7fffdbb01700 (LWP 11508)]
[New Thread 0x7fffdba00700 (LWP 11509)]
[New Thread 0x7fffdb8ff700 (LWP 11510)]
[New Thread 0x7fffd83a9700 (LWP 11511)]
Thread 1 "ccstudio" received signal SIGSEGV, Segmentation fault.
0x00007fffdc256f17 in ?? ()
(gdb) continue
Continuing.
Thread 1 "ccstudio" received signal SIGSEGV, Segmentation fault.
0x00007fffec1bbec7 in _expand_stack_to(unsigned char*) ()
from /home/gustavo/apps/ti/ccsv7/eclipse/jre/lib/amd64/server/libjvm.so
(gdb) continue
Continuing.
Couldn't get registers: No such process.
Couldn't get registers: No such process.
Couldn't get registers: No such process.
(gdb) [Thread 0x7fffd83a9700 (LWP 11511) exited]
[Thread 0x7fffdb8ff700 (LWP 11510) exited]
[Thread 0x7fffdba00700 (LWP 11509) exited]
[Thread 0x7fffdbb01700 (LWP 11508) exited]
[Thread 0x7fffdbc02700 (LWP 11507) exited]
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
Related posts:
https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/604509
https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/604348
https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/604360
https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/604576
I am sorry, It seems that it create another issue after I switch to another workspace, it can not recompile any more. Here are the error message.
TOOLS/subdir_rules.mk:10: recipe for target 'build-1287780815-inproc' failed
Segmentation fault (core dumped)
gmake[1]: *** [build-1287780815-inproc] Error 139
gmake: *** [build-1287780815] Error 2
gmake[1]: Leaving directory '/home/leo/workspace_v7_R2_NPI/simple_peripheral_cc2640r2lp_app/FlashROM'
TOOLS/subdir_rules.mk:7: recipe for target 'build-1287780815' failed
gmake: Target 'all' not remade because of errors.
Hi Leo,
Please use the environment variable workaround instead. It will also address the build issue you see:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/604599/2226461#2226461
Thanks
ki
Leo, I'm using Ubuntu 14.04, and this system saves all the information about core dumped inside of /var/crash. There I've found that the problem was inside of /opt/ti/ccsv7/eclipse/jre/lib/amd64/server/libjvm.so. Somebody has tested if ccstudio could start without initialize libjvm.so, and it did work. We still didn't find how to fix libjbm.so, but we already know how to run ccstudio.
Hi Henrique,
I am using ubuntu Mate 16.10. In my case, if I just comment out jre/lib/amd64/server/libjvm.so in ccstudio.ini,
CCSTUDIO can be run/open normally, but when I start to build, it shows "Segmentation fault".
Thank you.
Best Regards,
Leo