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.

Segmentation fault

Hello,

 

After I updated my CCS I receive the segmentation fault and my project is not compiled any more.

 

Usefull information:

Windows 7, 32-bit,

Code composer version 4.2.1.00004

 

 

the error message I got is attached in the file.

 

I hope the problem can be solved.

 

Have a nice day,

Mircea

 

**** Build of configuration Debug for project Firmware_4.x ****

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all
'Building file: ../Sources/EEprom_access.c'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430" --silicon_version=msp -g --define=__MSP430F2274__ --include_path="C:/Program Files/Texas Instruments/ccsv4/msp430/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/include" --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="Sources/EEprom_access.pp" --obj_directory="Sources"  "../Sources/EEprom_access.c"

INTERNAL ERROR: C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430 experienced a segmentation fault while
                processing

This is a serious problem.  Please contact Customer
Support with this message and a copy of the input file
and help us to continue to make the tools more robust.

gmake: *** [Sources/EEprom_access.obj] Error 2
'Building file: ../Sources/I2C.s43'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430" --silicon_version=msp -g --define=__MSP430F2274__ --include_path="C:/Program Files/Texas Instruments/ccsv4/msp430/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/include" --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="Sources/I2C.pp" --obj_directory="Sources"  "../Sources/I2C.s43"
'Finished building: ../Sources/I2C.s43'
' '
'Building file: ../Sources/Main_RTD.c'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430" --silicon_version=msp -g --define=__MSP430F2274__ --include_path="C:/Program Files/Texas Instruments/ccsv4/msp430/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/include" --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="Sources/Main_RTD.pp" --obj_directory="Sources"  "../Sources/Main_RTD.c"
"..\Sources\EEprom_access.h", line 124: warning: storage class is not first
"..\Sources\EEprom_access.h", line 166: warning: storage class is not first
"..\Sources\EEprom_access.h", line 212: warning: storage class is not first
'Finished building: ../Sources/Main_RTD.c'
' '
'Building file: ../Sources/RTC.c'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430" --silicon_version=msp -g --define=__MSP430F2274__ --include_path="C:/Program Files/Texas Instruments/ccsv4/msp430/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/include" --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="Sources/RTC.pp" --obj_directory="Sources"  "../Sources/RTC.c"
'Finished building: ../Sources/RTC.c'
' '
'Building file: ../Sources/SHT7x.s43'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430" --silicon_version=msp -g --define=__MSP430F2274__ --include_path="C:/Program Files/Texas Instruments/ccsv4/msp430/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/include" --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="Sources/SHT7x.pp" --obj_directory="Sources"  "../Sources/SHT7x.s43"
'Finished building: ../Sources/SHT7x.s43'
' '
'Building file: ../Sources/Sensors.c'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430" --silicon_version=msp -g --define=__MSP430F2274__ --include_path="C:/Program Files/Texas Instruments/ccsv4/msp430/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/include" --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="Sources/Sensors.pp" --obj_directory="Sources"  "../Sources/Sensors.c"

INTERNAL ERROR: C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430 experienced a segmentation fault while
                processing

This is a serious problem.  Please contact Customer
Support with this message and a copy of the input file
and help us to continue to make the tools more robust.

gmake: *** [Sources/Sensors.obj] Error 2
'Building file: ../Sources/communication.c'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430" --silicon_version=msp -g --define=__MSP430F2274__ --include_path="C:/Program Files/Texas Instruments/ccsv4/msp430/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/include" --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="Sources/communication.pp" --obj_directory="Sources"  "../Sources/communication.c"

INTERNAL ERROR: C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430 experienced a segmentation fault while
                processing

This is a serious problem.  Please contact Customer
Support with this message and a copy of the input file
and help us to continue to make the tools more robust.

gmake: *** [Sources/communication.obj] Error 2
'Building file: ../Sources/utils.s43'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/bin/cl430" --silicon_version=msp -g --define=__MSP430F2274__ --include_path="C:/Program Files/Texas Instruments/ccsv4/msp430/include" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/MSP430 Code Generation Tools 3.2.3/include" --diag_warning=225 --printf_support=minimal --preproc_with_compile --preproc_dependency="Sources/utils.pp" --obj_directory="Sources"  "../Sources/utils.s43"
'Finished building: ../Sources/utils.s43'
' '
gmake: Target `all' not remade because of errors.
Build complete for project Firmware_4.x

  • Mircea,

    I have seen a very similar problem on Win7 64bit.  I thought it was a 64bit specific issue though.  I will see if there is a specific version of the MSP compiler that would have the fix.

    Regards,

    John

     

  • The fix to the issue I was seeing is in the 3.3.3 compiler release.  If you go to Help -> Software Updates -> Find and Install...

    Select to search for new features.  Make sure the code generation tools update site is selected and click finish.  You should then get a list of the available compilers.  Select the 3.3.3 compiler.

    After it is installed try changing your project to use this compiler.

    Right click on you project and select Build Properties.  Click on CCS Build in the tree on the left.  Then you can change the project to use the 3.3.3 compiler.  Each project stores which compiler to use for it so that you can use different compilers with different projects.

    Regards,

    John

  • Hello,

     

    The problem was solved. Thank you very much for the support.

     

    Have a nice day!