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.

Compiler internal error or CCSv4 project building cancel cause error or hang

CCS  v4.2.1.00004. Code generation tools C6000 v7.0.3 and v7.2.1.

Howto reproduce: When active project is compile some cpp file (as following message at the console) press Cancel button on the dialog that appeared in the centre of CCS.

'Building file: ../DatasetSerializer.cpp'
'Invoking: Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 7.2.1/bin/cl6x" -mv67p -g --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/C6000 Code Generation Tools 7.2.1/include" --include_path="D:/board-workspace/main/include" --diag_warning=225 --preproc_with_compile --preproc_dependency="DatasetSerializer.pp"  "../DatasetSerializer.cpp"

1. Usually there is no error, but sometimes the following error can appear:

INTERNAL ERROR: C:\Program Files\Texas Instruments\ccsv4\tools\compiler\c6000\bin\cg6x.exe experienced a fatal internal fault while
                processing function _getDpFieldNum__FP9ds_desc_tUs file ../DatasetSerializer.cpp line 70

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.

or

INTERNAL ERROR: C:\Program Files\Texas Instruments\ccsv4\tools\compiler\C6000 Code Generation Tools 7.2.1\bin\cg6x.exe experienced a fatal internal fault while
                processing function _ser_deser_DP_buf_ind

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.

Of course this file is compiling successful if no Cancel button pressed.

2. And sometimes there is no error at all because CCS is hang. "Terminate All Sessions and Exit" menu in systray does not help.  Only killing gmake (and jvm once) from Process manager helps.

  • Well, I can't tell you much based on that error message.  Some catastrophic error occurred, and it could not be categorized.

    One guess ... The compiler occasionally has difficulty handling very large functions.  Breaking a large function up into smaller functions may help.  

    To understand this issue better, we need to reproduce it ourselves.  Please submit a test case as described in the last part of the forum welcome message.

    Thanks and regards,

    -George