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.

VISION_SDK_02_10_00_00 installation problem xdc_configuro Error 139 segmentation fault after doing make -s -j

I am trying to install VISION_SDK_02_10_00_00 in Ubuntu machine 14.04 and followed the steps as mentioned in VisionSDK_LinuxUserGuide . I reached till make -s -j depend and the next step by the document is to do make -s -j but I encountered the following problem :

 Archiving tda2xx-evm:ipu2:release:vision_sdk_examples


#
# Invoking configuro...
# Invoking configuro...
# Invoking configuro...
# Invoking configuro...
# Invoking configuro...
# Invoking configuro...
Segmentation fault (core dumped)
Segmentation fault (core dumped)
make[5]: *** [xdc_configuro] Error 139
make[4]: *** [apps_dsp1] Error 2
make[4]: *** Waiting for unfinished jobs....
make[5]: *** [xdc_configuro] Error 139
make[4]: *** [apps_eve3] Error 2
Segmentation fault (core dumped)
make[5]: *** [xdc_configuro] Error 139
make[4]: *** [apps_dsp2] Error 2
Segmentation fault (core dumped)
make[5]: *** [xdc_configuro] Error 139
make[4]: *** [apps_eve1] Error 2
Segmentation fault (core dumped)
make[5]: *** [xdc_configuro] Error 139
make[4]: *** [apps_eve2] Error 2
Segmentation fault (core dumped)
make[5]: *** [xdc_configuro] Error 139
make[4]: *** [apps_eve4] Error 2
make[3]: *** [apps] Error 2
make[2]: *** [apps] Error 2
make[1]: *** [vision_sdk_apps] Error 2
make: *** [vision_sdk] Error 2

Any help would be appreciated.

  • Hi Deepak,

    I have pinged a VisionSDK expert to comment.

    Regards,
    Yordan
  • can you just make and see if it still comes?

    Also please check if you have enough space. it should not segment fault.

    Regards,

    Brijesh 

  • You can follow up this post, there is a workaround.
    e2e.ti.com/.../2226461

    add export JAVA_TOOL_OPTIONS=-Xss2560k or more to linux env for visionsdk.
  • did you made any changes on top of VISION_SDK_02_10_00_00?

    Or the issue is observed with VISION_SDK_02_10_00_00 original version?

  • original version.

    It is said that bug is caused by ubuntu 14.04 & 16.04 kernel upgrade(security fix) from 23th June. xdctools and ccsv7 also got affected.
  • It is original version ,no changes have been made.
    The day before I installed vision sdk and successfully built it (did make -s -j depend and make -s -j) on my colleague's PC which has same ubuntu version as mine 14.04 .But this issues comes in my PC only ,is it because of any ubuntu update?
  • I tried doing make ,the error still persists.

    I have enough space available in drive it's around 112 GB.

    I tried the below suggested workaround export JAVA_TOOL_OPTIONS=-Xss2560k.

    I did make clean and then did make linux ,make linux_install, make -s -j depend till here everything is ok,

    but when I did make -s -j got following set of errors :

    Archiving tda2xx-evm:ipu2:release:vision_sdk_examples

    #

    # Invoking configuro...

    # Invoking configuro...

    # Invoking configuro...

    # Invoking configuro...

    # Invoking configuro...

    # Invoking configuro...

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    making package.mak (because of package.bld) ...

    making package.mak (because of package.bld) ...

    making package.mak (because of package.bld) ...

    making package.mak (because of package.bld) ...

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    making package.mak (because of package.bld) ...

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    making package.mak (because of package.bld) ...

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!! Core is [arp32_2] !!!

    # !!! Core is [arp32_2] !!!

    # !!! Core is [arp32_2] !!!

    # !!! Core is [arp32_2] !!!

    # !!! Core is [c66xdsp_1] !!!

    # !!! Core is [c66xdsp_1] !!!

    # !!! Core is [arp32_4] !!!

    # !!! Core is [arp32_4] !!!

    # !!! Core is [arp32_4] !!!

    # !!! Core is [arp32_4] !!!

    # !!! Core is [c66xdsp_2] !!!

    # !!! Core is [c66xdsp_2] !!!

    # !!! Core is [arp32_3] !!!

    # !!! Core is [arp32_1] !!!

    # !!! Core is [arp32_1] !!!

    # !!! Core is [arp32_3] !!!

    # !!! Core is [arp32_1] !!!

    # !!! Core is [arp32_1] !!!

    # !!! Core is [arp32_3] !!!

    # !!! Core is [arp32_3] !!!

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    making package.mak (because of package.bld) ...

    making package.mak (because of package.bld) ...

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    making package.mak (because of package.bld) ...

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    making package.mak (because of package.bld) ...

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    making package.mak (because of package.bld) ...

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    making package.mak (because of package.bld) ...

    Picked up JAVA_TOOL_OPTIONS: -Xss1280k

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!! Core is [c66xdsp_1] !!!

    # !!! Core is [c66xdsp_1] !!!

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!! Core is [arp32_4] !!!

    # !!! Core is [arp32_4] !!!

    # !!! Core is [arp32_4] !!!

    # !!! Core is [arp32_4] !!!

    # !!! Core is [arp32_2] !!!

    # !!! Core is [arp32_2] !!!

    # !!! Core is [arp32_2] !!!

    # !!! Core is [arp32_2] !!!

    # !!! Core is [arp32_3] !!!

    # !!! Core is [arp32_3] !!!

    # !!! Core is [arp32_3] !!!

    # !!! Core is [arp32_3] !!!

    # !!!  Current build platform is [tda2xx-evm] !!!

    # !!! Core is [c66xdsp_2] !!!

    # !!! Core is [c66xdsp_2] !!!

    # !!! Core is [arp32_1] !!!

    # !!! Core is [arp32_1] !!!

    # !!! Core is [arp32_1] !!!

    # !!! Core is [arp32_1] !!!

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    gmake: *** No rule to make target `linker.cmd'.  Stop.

    Warning: directory "/packages" on package path does not exist

    js: "/usr/local/VISION_SDK_02_10_00_00/ti_components/os_tools/linux/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    make[5]: *** [xdc_configuro] Error 1

    make[4]: *** [apps_dsp1] Error 2

    make[4]: *** Waiting for unfinished jobs....

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    gmake: *** No rule to make target `linker.cmd'.  Stop.

    Warning: directory "/packages" on package path does not exist

    js: "/usr/local/VISION_SDK_02_10_00_00/ti_components/os_tools/linux/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    make[5]: *** [xdc_configuro] Error 1

    make[4]: *** [apps_eve2] Error 2

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    gmake: *** No rule to make target `linker.cmd'.  Stop.

    Warning: directory "/packages" on package path does not exist

    js: "/usr/local/VISION_SDK_02_10_00_00/ti_components/os_tools/linux/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    make[5]: *** [xdc_configuro] Error 1

    make[4]: *** [apps_eve4] Error 2

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    gmake: *** No rule to make target `linker.cmd'.  Stop.

    Warning: directory "/packages" on package path does not exist

    js: "/usr/local/VISION_SDK_02_10_00_00/ti_components/os_tools/linux/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    make[5]: *** [xdc_configuro] Error 1

    make[4]: *** [apps_eve1] Error 2

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    gmake: *** No rule to make target `linker.cmd'.  Stop.

    Warning: directory "/packages" on package path does not exist

    js: "/usr/local/VISION_SDK_02_10_00_00/ti_components/os_tools/linux/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    make[5]: *** [xdc_configuro] Error 1

    make[4]: *** [apps_eve3] Error 2

    Segmentation fault (core dumped)

    gmake: *** Deleting file `package.mak'

    gmake: *** No rule to make target `linker.cmd'.  Stop.

    Warning: directory "/packages" on package path does not exist

    js: "/usr/local/VISION_SDK_02_10_00_00/ti_components/os_tools/linux/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    make[5]: *** [xdc_configuro] Error 1

    make[4]: *** [apps_dsp2] Error 2

    make[3]: *** [apps] Error 2

    make[2]: *** [apps] Error 2

    make[1]: *** [vision_sdk_apps] Error 2

    make: *** [vision_sdk] Error 2

    Any help would be appreciated.

  • Hi Yordan,

    I have posted the updated issue regarding building Vision SDK in the forum on Jun 27 .Please suggest, as I am stuck at the same place and tried out all the suggestions previously suggested.

  • Hi Yordan,

    I have found that mainly my xdc_tools is not working properly as it throws segmentation fault. This happens for xdc_tools which I have in my CCS also .So basically it has something to do with xdc_tools only. I have followed the same workaround of e2e.ti.com/.../2226461.But still no luck.

    Can u please suggest or redirect me to some expert.

    Regards

    Deepak

  • Hi,

    Pl. check with JAVA_TOOL_OPTIONS= -Xss2560k

    regards,

    Anand

  • Hi,

    Solved the issue with downgrading the Ubuntu kernel version.