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.

TI-RTOS setup segfaults on Ubuntu 14.04

Hi,

I've downloaded TI-RTOS 2.01.00.03, but when running tirtos_tivac_setuplinux_2_01_00_03.bin all I get is

 [1]    10798 segmentation fault (core dumped)  ./tirtos_tivac_setuplinux_2_01_00_03.bin

and in dmesg

[16943.946462] tirtos_tivac_se[11079]: segfault at 886c4aaa ip 00000000886c4aaa sp 00000000906804f1 error 14 in tirtos_tivac_setuplinux_2_01_00_03.bin[df30b000+bc35000]

I'm using Ubuntu 14.04 (64bit)

  • Hi Ben,

    we've tested TI-RTOS 2.01.00.03 on Ubuntu 12 LTS. I've filed a CQ (SDOCM00113440) to get this fixed.

    I think you should be able to take the installed product from another (Ubuntu 12) machine and copy it to your Ubuntu 14 machine.

  • You can also run the installer in "text" mode from a shell/terminal window to work around the GUI mode segfault:

    linux% ./tirtos_tivac_setuplinux_2_01_00_03.bin --mode text

    NOTE: that is two (2) - in front of mode

    Mark

  • Thank you, the text mode installer works!

  • The installer doesn't set paths correctly though

    ..03_examples/GNU/EK_TM4C123GXL/uartecho % make -f makefile 
    Running Configuro...
    /bin/sh: 1: c:/ti/xdctools_3_30_04_52_core/xs: not found
    make: *** [uartecho/linker.cmd] Error 127
    

    I've run

    find -type f -exec sed -i 's/c:\//\/home\/USERNAME\/ti\//g' {} \;

    After that I had to set

    GCC_INSTALLATION_DIR ?= /usr
    CODEGEN_INSTALLATION_DIR = /usr

    only to get

    ..03_examples/GNU/EK_TM4C123GXL/uartecho % make -f makefile                                                                       :(
    Running Configuro...
    making package.mak (because of package.bld) ...
    generating interfaces for package uartecho (because package/package.xdc.inc is older than package.xdc) ...
    /home/benpicco/ti/xdctools_3_30_04_52_core/jre/lib/rt.jar: invalid LOC header (bad signature)
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/impl/XMLEntityManager
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.<init>(Unknown Source)
    	at com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.<init>(Unknown Source)
    	at com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.<init>(Unknown Source)
    	at com.sun.org.apache.xerces.internal.parsers.DOMParser.<init>(Unknown Source)
    	at com.sun.org.apache.xerces.internal.parsers.DOMParser.<init>(Unknown Source)
    	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.<init>(Unknown Source)
    	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)
    	at xdc.services.intern.gen.JClass.genPkgBuild(JClass.java:911)
    	at xdc.services.intern.gen.JClass.genPkgValues(JClass.java:1062)
    	at xdc.services.intern.gen.JClass.gen(JClass.java:226)
    	at xdc.services.intern.cmd.Builder.gen(Builder.java:249)
    	at xdc.services.intern.cmd.Builder.main(Builder.java:149)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
    	at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
    	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
    	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
    	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:123)
    	at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
    	at config.Shell.evaluateLoad(Shell.java:797)
    	at config.Shell.processLoad(Shell.java:679)
    	at config.Shell.load(Shell.java:1215)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
    	at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
    	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
    	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
    	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
    	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
    	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
    	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
    	at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
    	at config.Shell.evaluateReader(Shell.java:847)
    	at config.Shell.processReader(Shell.java:512)
    	at config.Shell.processFile(Shell.java:571)
    	at config.Shell.exec(Shell.java:781)
    	at config.Shell.main(Shell.java:1414)
    gmake: *** [package/package.xdc.inc] Error 1
    js: "/home/benpicco/ti/xdctools_3_30_04_52_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    make: *** [uartecho/linker.cmd] Error 1
    

    java -jar /home/benpicco/ti/xdctools_3_30_04_52_core/jre/lib/rt.jar says

    Error: Invalid or corrupt jarfile /home/benpicco/ti/xdctools_3_30_04_52_core/jre/lib/rt.jar

    I have

    % java -version
    java version "1.8.0_20"
    Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
    Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)