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/TMS320C6655: Segmentation fault using compiler C6000 7.4.12

Part Number: TMS320C6655
Other Parts Discussed in Thread: MATHLIB

Tool/software: TI C/C++ Compiler

Hi 

I've got a segmentation fault due to the C6000 code composer compiler version 7.4.12.

The compiling file called sbm_inc_init.c and the error is: 

>>>>>>>>>>>>>>

While compiling SBM\inc_target\sbm_inc_init.c ->build\release_cc_c66x\_pooma\CP_fdsp\sbm_inc_init.obj
command:'mkdir "build\release_cc_c66x\_pooma\CP_fdsp"2>NUL & C:\ti\ccsv6\tools\compiler\C6000_7.4.12\bin\cl6x --cmd_file=build/release_cc_c66x/configPkg/compiler.opt --diag_error=225 -k --abi=eabi --display_error_number --symdebug:skeletal -mv6600 -a
l -O1 -i"C:\ti/ccsv6/tools/compiler/c6000_7.4.12/include" -i"C:\ti/bios_6_41_00_26/packages/ti/bios/include" -i"d:\repo\tsw\converter\CubePower_Appl\build/release_cc_c66x/configPkg/package/cfg" -i"C:\ti/edma3_lld_02_11_05_02/examples/edma3_driver/src
" -i"C:\ti/pdk_C6657_1_1_2_6/packages/ti/csl" -i"C:\ti/pdk_C6657_1_1_2_6/packages/ti/drv/qmss" -i"C:\ti/pdk_C6657_1_1_2_6/packages/ti/drv/cppi" -i"C:\ti/ndk_2_24_00_11/packages" -i"C:\ti/ndk_2_24_00_11/packages/ti/ndk/inc" -i"C:\ti/mathlib_c66x_3_1_1
_0/packages/ti/mathlib" -i"C:\ti/mathlib_c66x_3_1_1_0/packages" -i"C:\ti/xdctools_3_30_05_60_core/packages" -i. -iAppl\ApplConfig -i..\SharedLibs\CtrllLib -i..\SignalBlockManager\sbm_runtime\include -i..\Conv_Framework\Services\AdvStreaming -i..\Conv
_Framework\Framework_Core -i.. -i..\.. -i..\SharedBlocks -iSBM -iCommon -i..\MSC\MSC_CTRL -iSBM\CPL\PlatformSupport -iSBM\CPL\PlatformSupport\PlatformIO -iSBM\CPL\driver -iSBM\CPL -i..\Conv_Framework\Drivers\CT440 -i..\Conv_Framework\os\dspbios\CT_44
0 -i..\Conv_Framework\os\dspbios -i..\Conv_Framework\if\dspbios -iSBM\SharedLibs\CtrllLib -i..\SharedBlocks\ConverterPlatformLayer\Modulator -i..\Conv_Framework\if -i..\Conv_Framework -i..\Conv_Framework\Drivers\Common -i..\Conv_Framework\Services -i
..\Conv_Framework\Services\ParamManager -i..\Conv_Framework\Services\OPCNameSpace\OldLibs\CFC -i..\Conv_Framework\Services\StreamingRawData -dDATASPACE_SERVER -dGDS_REPLICATION_ENABLED -dBENCH_MANUAL_CONTROLS -d_CT_440 -d_DSPBIOS -d_FRAMEWORK -d_ENAB
LE_RANDOM_PWM -fsbuild\release_cc_c66x\_pooma\CP_fdsp -frbuild\release_cc_c66x\_pooma\CP_fdsp SBM\inc_target\sbm_inc_init.c'
output:'
"SBM\inc_target\sbm_inc_init.c", line 65379: warning #190-D: enumerated type mixed with another type
INTERNAL ERROR: C:\ti\ccsv6\tools\compiler\C6000_7.4.12\bin\opt6x.exe experienced a segmentation fault while
processing function OnEnterLevel1 file C:\\Users\\tngtr\\AppData\\Local\\Temp\\ibC858AF\\3\\171482
This is a serious problem. Please contact CustomerSupport with this message and a copy of the input file
and help us to continue to make the tools more robust.
>> Compilation failure

<<<<<<<<<<<<<<<<<<<<<<<<<

Attached the c-file. Please help me how to proceed

BR
Tam Tran

Vestas Wind System

sbm_inc_init.c

  • I need to reproduce the error.  You have submitted part of what I need to reproduce it, but not everything.

    The source file includes a header file, which I do not have.  Please preprocess the file sbm_inc_init.c as described in the article How to Submit a Compiler Test Case, and attach it to your next post.  

    Thank you for showing the build options.  But I also need to see the contents of this file ...

    tam tran said:
    --cmd_file=build/release_cc_c66x/configPkg/compiler.opt

    It contains yet other build options which may be relevant to the problem.

    As for compiler version 7.4.12 ... It is over 5 years old, and is no longer supported.  You should at least consider upgrading to version 7.4.24.  The only difference between these two releases is bug fixes.  It would be ideal if you could upgrade to the latest version 8.3.3.  I cannot guarantee that upgrading the compiler will fix your problem.  But I think the chances are good.

    Thanks and regards,

    -George

  • Please submit the requested test case.

    Thanks and regards,

    -George

  • Hi George

    I have re-write the code and the problem is now fixed

    BR

    Tam Tran