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 6.2.4 Error



I receive the following error when trying to compile my code.  It compiles correctly with v. 6.1.0.

INTERNAL ERROR: C:\ti2\ccsv6\tools\compiler\C2000_6.2.4\bin\ac2000.exe experienced a segmentation fault

while processing function operator- file C:/ti2/ccsv6/tools/compiler/C2000_6.2.4/include/xutility line 1026

  • Please submit a test case which allows us to reproduce this error.  We need the source file that is being compiled, along with all the source files it includes.  We do not need the system header files it includes, such as xutility.  We also need to know the exact compiler options you used.  I realize this is asking for a bit more than we usually do.  But I don't see another way forward.

    Thanks and regards,

    -George

  • Thanks for your quick reply George.

    Is there any other approach? Our code package is quite large and proprietary.

    Is there a way to create a log file of my compiler settings that I can upload for you? 

    Thanks again!

    Rob C

  • The usual way to submit a test case is to preprocess it like this.  In this case, I suspect the bug will hit while preprocessing.  That's why I didn't suggest it.  But you are welcome to give it a try anyway.

    Presuming that fails, preprocess it again, but use the option --preproc_includes instead of --preproc_with_comment.  That creates a preprocessed file with a list of what include files are used.  Those are the only files you need to send.  With any luck, that is a much smaller set of files.

    As for protecting your proprietary code ... Are you willing to send it to me via private channels?

    Thanks and regards,

    -George

  • Thanks George.

    I followed the steps you suggested.  As you suspected the first didn't help bc it didn't throw the error and the second worked but the list of included files was about 250, which is basically our whole code package.

    If it's necessary, I could probably send you the code package but I'll have to get approval from my boss (and boss' boss) so would you mind walking me through the security and confidentiality we have set up with you guys?  Sorry for the hassle.

    Best,

    Rob C

  • Robert Cochran said:
    As you suspected the first didn't help bc it didn't throw the error

    Wait a second.  While preprocessing you do not see the error, right?  So, build the resulting .pp file.  Do you see the error then?  If you do, then that's exactly what we want.  You only need to send that one .pp file.  

    As for protecting your code ... Even one .pp file likely contains code you want to protect.  Though much less than the full project.  The advantage of sending it to me through private channels is that no one else on the forum can see it.

    Thanks and regards,

    -George

  • Thank you for submitting a test case via private channels.  

    No matter what I do, I cannot reproduce that segmentation fault error.  Which file is being compiled when the problem occurs?

    Thanks and regards,

    -George