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.

Experienced a segmentation fault while processing

We have a legacy code base developed in CCSV4 (Version: 4.1.3.00038). While compilation, I get error "/ti/ccsv4/ccsv4/tools/compiler/tms470/bin/cl470 experienced a segmentation fault while processing" at a particular file.

Log:

'Building file: ../COVBEapp/pnc/ship.c'
'Invoking: Compiler'
"C:/ti/ccsv4/ccsv4/tools/compiler/tms470/bin/cl470" -@"COVBEapp/pnc/ship_ccsCompiler.opt"

INTERNAL ERROR: C:/ti/ccsv4/ccsv4/tools/compiler/tms470/bin/cl470 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.

C:\ti\ccsv4\ccsv4\utils\gmake\gmake: *** [COVBEapp/pnc/ship.obj] Error 2

If I do a 'clean project' and 'rebuild project', the file that threw compilation error earlier, compiles and the error is shifted to some other source file. With every clean and build, the error appears for some other source file. 

I already tried "Help -> Software Updated -> Find and install" and executing all the required update installations, but no luck.

Please suggest.

  • Pankaj Rodey said:
    If I do a 'clean project' and 'rebuild project', the file that threw compilation error earlier, compiles and the error is shifted to some other source file.

    That's very unusual.  This means it is unlikely the compiler is the cause.  A problem in the compiler almost always occurs in a consistent manner.  I suspect some problem with your Windows installation.  Be sure you have enough disk space, especially for the disk which contains the temporary directory.

    Thanks and regards,

    -George

  • It is also possible you are experiencing a Windows crash bug that got much discussion on this forum back in 2010.  The resolution to this bug is discussed here.  Feel free to scan back through the thread to see the discussion.  The main point for you is that your ARM compiler version (not the CCS version) needs to be at least 4.6.4.  I hope this is a practical step for you.

    Thanks and regards,

    -George