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: CCS6.1.3.00034 install fails with repeated "runEclipseApp - ErrorCode: CHILDKILLED 15671 SIGSEGV {segmentation violation}"

Tool/software: Code Composer Studio

Hi,

I am attempting to build the processor SDK according to the instructions at http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK.

MACHINE="am57xx-evm" bitbake tisdk-rootfs-image

I get the following result (after some steps have been completed):

ERROR: ti-ccsv6-native-6.1.3.00034-r0 do_configure: QA Issue: ti-ccsv6-native: LIC_FILES_CHKSUM points to an invalid file: /tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/doc/EULA/EULA.doc [license-checksum]
ERROR: ti-ccsv6-native-6.1.3.00034-r0 do_configure: Fatal QA errors found, failing task.
ERROR: ti-ccsv6-native-6.1.3.00034-r0 do_configure: Function failed: do_qa_configure
ERROR: Logfile of failure stored in: /tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/temp/log.do_configure.8447
ERROR: Task 5522 (/tisdk/sources/meta-ti/recipes-ti/devtools/ti-ccsv6-native_6.1.3.00034.bb, do_configure) failed with exit code '1'

Looking at /tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.3.00034-r0/ccsv6/install_logs/ccs_setup_6.1.3.00034_install.log shows repeated occurences of

06/28/2017 08:47:37(GMT) - runEclipseApp - FAILED 0: Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Eclipse: Cannot open display: 
06/28/2017 08:47:37(GMT) - runEclipseApp - ErrorCode: CHILDKILLED 15671 SIGSEGV {segmentation violation}
06/28/2017 08:47:37(GMT) - runEclipseApp - Running again
06/28/2017 08:47:47(GMT) - runEclipseApp - FAILED 1: Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Eclipse: Cannot open display: 
06/28/2017 08:47:47(GMT) - runEclipseApp - ErrorCode: CHILDKILLED 19478 SIGSEGV {segmentation violation}
06/28/2017 08:47:47(GMT) - runEclipseApp - Running again
06/28/2017 08:47:58(GMT) - runEclipseApp - FAILED 2: Failed to connect to Mir: Failed to connect to server socket: No such file or directory

etc. I have attached the complete log for reference.

1108.ccs_setup_6.1.3.00034_install.log

  • My host machine, by the way, is Ubuntu 16.04 LTS 64-bit.

    Removing everything and starting over gives me some slightly different errors now. This time it seems some libraries are not found.

    06/28/2017 13:59:51(GMT) - Validation::linuxLibChecks - LD_LIBRARY_PATH == :/tmp/ccs_d95742be-8096-4411-6873-8bb5b1196ad0/tcl/lib
    06/28/2017 13:59:51(GMT) - Validation::linuxLibChecks - tempLD == {} 06/28/2017 13:59:51(GMT) - Validation::linuxLibChecks - cmd = /tmp/ccs_d95742be-8096-4411-6873-8bb5b1196ad0/dependency-checker/ldcheck 06/28/2017 13:59:51(GMT) - Validation::linuxLibChecks - cmd = /tmp/ccs_d95742be-8096-4411-6873-8bb5b1196ad0/dependency-checker/check_depends.sh --ldpath 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - ran /tmp/ccs_d95742be-8096-4411-6873-8bb5b1196ad0/dependency-checker/check_depends.sh --ldpath :Installed versions of glibc and glibcxx: GLIBC_2.23, N/A Required versions of glibc and glibcxx: GLIBC_2.11, GLIBCXX_3.4.19 Checking availability of libraries in ext-depends.txt ... Failed to find lib: libasound.so.2 Failed to find lib: libatk-1.0.so.0 Failed to find lib: libcairo.so.2 Failed to find lib: libcups.so.2 Failed to find lib: libdbus-1.so.3 Failed to find lib: libdbus-glib-1.so.2 Failed to find lib: libexpat.so.1 Failed to find lib: libfontconfig.so.1 Failed to find lib: libfreetype.so.6 Failed to find lib: libgconf-2.so.4 Failed to find lib: libgcrypt.so.11 Failed to find lib: libgdk_pixbuf-2.0.so.0 Failed to find lib: libgdk-x11-2.0.so.0 Failed to find lib: libgio-2.0.so.0 Failed to find lib: libglib-2.0.so.0 Failed to find lib: libgmodule-2.0.so.0 Failed to find lib: libgnomevfs-2.so.0 Failed to find lib: libgobject-2.0.so.0 Failed to find lib: libgthread-2.0.so.0 Failed to find lib: libgtk-x11-2.0.so.0 Failed to find lib: libICE.so.6 Failed to find lib: libncurses.so.5 Failed to find lib: libORBit-2.so.0 Failed to find lib: libpango-1.0.so.0 Failed to find lib: libpangocairo-1.0.so.0 Failed to find lib: libpangoft2-1.0.so.0 Failed to find lib: libSM.so.6 Failed to find lib: libX11.so.6 Failed to find lib: libXcomposite.so.1 Failed to find lib: libXdamage.so.1 Failed to find lib: libXext.so.6 Failed to find lib: libXfixes.so.3 Failed to find lib: libXi.so.6 Failed to find lib: libxml2.so.2 Failed to find lib: libXrandr.so.2 Failed to find lib: libXrender.so.1 Failed to find lib: libXt.so.6 Failed to find lib: libXtst.so.6 Failed to find lib: libcanberra.so.0 Done. 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Installed versions of glibc and glibcxx: GLIBC_2.23, N/A 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Required versions of glibc and glibcxx: GLIBC_2.11, GLIBCXX_3.4.19 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Checking availability of libraries in ext-depends.txt ... 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libasound.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libasound.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libatk-1.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libatk-1.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libcairo.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libcairo.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libcups.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libcups.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libdbus-1.so.3 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libdbus-1.so.3 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libdbus-glib-1.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libdbus-glib-1.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libexpat.so.1 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libexpat.so.1 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libfontconfig.so.1 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libfontconfig.so.1 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libfreetype.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libfreetype.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libgconf-2.so.4 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libgconf-2.so.4 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libgcrypt.so.11 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libgcrypt.so.11 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libgdk_pixbuf-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libgdk_pixbuf-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libgdk-x11-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libgdk-x11-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libgio-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libgio-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libglib-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libglib-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libgmodule-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libgmodule-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libgnomevfs-2.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libgnomevfs-2.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libgobject-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libgobject-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libgthread-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libgthread-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libgtk-x11-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libgtk-x11-2.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libICE.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libICE.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libncurses.so.5 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libncurses.so.5 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libORBit-2.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libORBit-2.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libpango-1.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libpango-1.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libpangocairo-1.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libpangocairo-1.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libpangoft2-1.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libpangoft2-1.0.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libSM.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libSM.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libX11.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libX11.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libXcomposite.so.1 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libXcomposite.so.1 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libXdamage.so.1 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libXdamage.so.1 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libXext.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libXext.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libXfixes.so.3 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libXfixes.so.3 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libXi.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libXi.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libxml2.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libxml2.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libXrandr.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libXrandr.so.2 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libXrender.so.1 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libXrender.so.1 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libXt.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libXt.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libXtst.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libXtst.so.6 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Failed to find lib: libcanberra.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Val: libcanberra.so.0 06/28/2017 13:59:55(GMT) - Validation::linuxLibChecks - Line: Done.

    .

    The missing libraries appear to be present in /usr/lib/x86_64-linux-gnu, but it's not finding them correctly.

    Again, full log attached2043.ccs_setup_6.1.3.00034_install.log

  • Hello,
    What version of the linux kernel are you running? I'm wondering if you are running into this issue:
    e2e.ti.com/.../2226461

    It not only impacts the CCS GUI but also building any RTSC based project

    Thansk
    ki
  • Ignore my last message. I missed your second post. I am investigating the information in your second post
  • Did you install the dependencies mentioned in the below link?
    processors.wiki.ti.com/.../Linux_Host_Support_CCSv6
  • Thank you!  The Yocto build (that the CCS is built in) finished when I ran it under an older kernel, so the segfault certainly resulted from the kernel bug. Using the environment variable mentioned in your link did not work, however, so I think the settings are getting overwrittten somewhere in the build process.

    Yes, the dependencies were installed. One possible reason that I think the libraries are not getting linked is that in the /tmp/ccs..../dpenedcy-checker folder that is created at installation time, there never appears a file called ldcheck. It is attempted to be run as part of the Validation::linuxLibChecks phase in the logs I attached. For now, I think the missing libraries are not an issue, as the steps of the Yocto build depending on CCS seem to finish correctly.

  • Running

    ~$ sudo apt-get install libc6:i386 libx11-6:i386 libasound2:i386 libatk1.0-0:i386 libcairo2:i386 libcups2:i386 libdbus-glib-1-2:i386 libgconf-2-4:i386 libgcrypt20:i386 libgdk-pixbuf2.0-0:i386 libgtk-3-0:i386 libice6:i386 libncurses5:i386 libsm6:i386 liborbit2:i386 libudev1:i386 libusb-0.1-4:i386 libstdc++6:i386 libxt6:i386 libxtst6:i386 libgnomeui-0:i386 libusb-1.0-0-dev:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 unzip

    Gives

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    unzip is already the newest version (6.0-20ubuntu1).
    libasound2:i386 is already the newest version (1.1.0-0ubuntu1).
    libatk1.0-0:i386 is already the newest version (2.18.0-1).
    libcairo2:i386 is already the newest version (1.14.6-1).
    libcanberra-gtk-module:i386 is already the newest version (0.30-2.1ubuntu1).
    libcups2:i386 is already the newest version (2.1.3-4).
    libdbus-glib-1-2:i386 is already the newest version (0.106-1).
    libgconf-2-4:i386 is already the newest version (3.2.6-3ubuntu6).
    libgnomeui-0:i386 is already the newest version (2.24.5-3.1).
    libice6:i386 is already the newest version (2:1.0.9-1).
    libncurses5:i386 is already the newest version (6.0+20160213-1ubuntu1).
    liborbit2:i386 is already the newest version (1:2.14.19-1build1).
    libsm6:i386 is already the newest version (2:1.2.2-1).
    libusb-0.1-4:i386 is already the newest version (2:0.1.12-28).
    libusb-1.0-0-dev:i386 is already the newest version (2:1.0.20-1).
    libx11-6:i386 is already the newest version (2:1.6.3-1ubuntu2).
    libxt6:i386 is already the newest version (1:1.1.5-0ubuntu1).
    libxtst6:i386 is already the newest version (2:1.2.2-1).
    gtk2-engines-murrine:i386 is already the newest version (0.98.2-0ubuntu2.2).
    libc6:i386 is already the newest version (2.23-0ubuntu9).
    libgcrypt20:i386 is already the newest version (1.6.5-2ubuntu0.2).
    libgdk-pixbuf2.0-0:i386 is already the newest version (2.32.2-1ubuntu1.2).
    libgtk-3-0:i386 is already the newest version (3.18.9-1ubuntu3.3).
    libstdc++6:i386 is already the newest version (5.4.0-6ubuntu1~16.04.4).
    libudev1:i386 is already the newest version (229-4ubuntu17).

    And ~$locate libatk

    /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0
    /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.21809.1
    /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0
    /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0.0.0
    /usr/lib/x86_64-linux-gnu/libatkmm-1.6.so.1
    /usr/lib/x86_64-linux-gnu/libatkmm-1.6.so.1.1.0
    /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libatk-bridge.so
    /usr/share/doc/libatk-adaptor
    /usr/share/doc/libatk-bridge2.0-0
    /usr/share/doc/libatk1.0-0
    /usr/share/doc/libatk1.0-data
    /usr/share/doc/libatkmm-1.6-1v5
    /usr/share/doc/libatk-adaptor/NEWS.gz
    /usr/share/doc/libatk-adaptor/README
    /usr/share/doc/libatk-adaptor/changelog.Debian.gz
    /usr/share/doc/libatk-adaptor/copyright
    /usr/share/doc/libatk-bridge2.0-0/changelog.Debian.gz
    /usr/share/doc/libatk-bridge2.0-0/copyright
    /usr/share/doc/libatk1.0-0/AUTHORS
    /usr/share/doc/libatk1.0-0/NEWS.gz
    /usr/share/doc/libatk1.0-0/README
    /usr/share/doc/libatk1.0-0/changelog.Debian.gz
    /usr/share/doc/libatk1.0-0/copyright
    /usr/share/doc/libatk1.0-data/AUTHORS
    /usr/share/doc/libatk1.0-data/NEWS.gz
    /usr/share/doc/libatk1.0-data/README
    /usr/share/doc/libatk1.0-data/changelog.Debian.gz
    /usr/share/doc/libatk1.0-data/copyright
    /usr/share/doc/libatkmm-1.6-1v5/AUTHORS
    /usr/share/doc/libatkmm-1.6-1v5/NEWS.gz
    /usr/share/doc/libatkmm-1.6-1v5/README
    /usr/share/doc/libatkmm-1.6-1v5/changelog.Debian.gz
    /usr/share/doc/libatkmm-1.6-1v5/copyright
    /var/cache/apt/archives/libatk-bridge2.0-0_2.18.1-2ubuntu1_i386.deb
    /var/cache/apt/archives/libatk1.0-0_2.18.0-1_i386.deb
    /var/lib/dpkg/info/libatk-adaptor:amd64.conffiles
    /var/lib/dpkg/info/libatk-adaptor:amd64.list
    /var/lib/dpkg/info/libatk-adaptor:amd64.md5sums
    /var/lib/dpkg/info/libatk-bridge2.0-0:amd64.list
    /var/lib/dpkg/info/libatk-bridge2.0-0:amd64.md5sums
    /var/lib/dpkg/info/libatk-bridge2.0-0:amd64.shlibs
    /var/lib/dpkg/info/libatk-bridge2.0-0:amd64.symbols
    /var/lib/dpkg/info/libatk-bridge2.0-0:amd64.triggers
    /var/lib/dpkg/info/libatk1.0-0:amd64.list
    /var/lib/dpkg/info/libatk1.0-0:amd64.md5sums
    /var/lib/dpkg/info/libatk1.0-0:amd64.shlibs
    /var/lib/dpkg/info/libatk1.0-0:amd64.symbols
    /var/lib/dpkg/info/libatk1.0-0:amd64.triggers
    /var/lib/dpkg/info/libatk1.0-data.list
    /var/lib/dpkg/info/libatk1.0-data.md5sums
    /var/lib/dpkg/info/libatkmm-1.6-1v5:amd64.list
    /var/lib/dpkg/info/libatkmm-1.6-1v5:amd64.md5sums
    /var/lib/dpkg/info/libatkmm-1.6-1v5:amd64.shlibs
    /var/lib/dpkg/info/libatkmm-1.6-1v5:amd64.triggers