DSPRelated.com
Forums

CCS: opt6x.exe experienced a segmentation fault ?

Started by Greg November 19, 2007
Dear all,

by adding some neglectible if's to a c-file i get a strange error from Code 
Composer Studio's compiler:

----------------------------------------------------------------------------------------------------------------------------
...
INTERNAL ERROR: C:\CCS31\C6000 Code Generation Tools 5.1.6\bin\opt6x.exe 
experienced a segmentation fault while
                processing function _newhandling file 
C:\DOKUME~1\X9FA3~1.GRE\LOKALE~1\Temp\TI7242

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.

>> Compilation failure
[Linking...] "C:\CCS31\C6000 Code Generation Tools 5.1.6\bin\cl6x" -@"Debug.lkf" <Linking> Build Complete, 0 Errors, 5 Warnings, 0 Remarks. ---------------------------------------------------------------------------------------------------------------------------- Anyway he's linking the Project but i do not feel good with it. (5 warnings are neglectible other things) Has anybody seen this before ? Does someone know what a segmentation fault could be ? Any suggestions welcome, Greg.
On Nov 19, 11:54 am, "Greg" <G...@nospam.ca> wrote:
> Dear all, > > by adding some neglectible if's to a c-file i get a strange error from Code > Composer Studio's compiler: > > ---------------------------------------------------------------------------------------------------------------------------- > ... > INTERNAL ERROR: C:\CCS31\C6000 Code Generation Tools 5.1.6\bin\opt6x.exe > experienced a segmentation fault while > processing function _newhandling file > C:\DOKUME~1\X9FA3~1.GRE\LOKALE~1\Temp\TI7242 > > 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. > > >> Compilation failure > > [Linking...] "C:\CCS31\C6000 Code Generation Tools > 5.1.6\bin\cl6x" -@"Debug.lkf" > <Linking> > > Build Complete, > 0 Errors, 5 Warnings, 0 Remarks. > ---------------------------------------------------------------------------------------------------------------------------- > > Anyway he's linking the Project but i do not feel good with it. > (5 warnings are neglectible other things) > > Has anybody seen this before ? > Does someone know what a segmentation fault could be ? > > Any suggestions welcome, > Greg.
A segmentation fault indicates a memory access that the program isn't supposed to be able to do: http://en.wikipedia.org/wiki/Segmentation_fault This is a very common type of programming error. As the error message indicates, you're probably best off referring this to TI's technical support. Jason
Thanks Jason for your help.
At least it can't be a simple segmentation fault as it occured first by
adding a simple if (the variables were used before also).
Also it vanishes if i change the compiler options (optimize / debug etc.).
By searching on TI's resources there is no indication of a segmentation 
fault
problem in opt6x.

            Thanks for the wiki-link. Didn't thought I could find that topic 
there.

                            Regards, Greg.


Greg wrote:

> Thanks Jason for your help. > At least it can't be a simple segmentation fault as it occured first by > adding a simple if (the variables were used before also).
The segmentation violation does not occur in your code, but in the program opt6x.exe supplied by TI. Therefore you should contact TI. bye Andreas -- Andreas H&#4294967295;nnebeck | email: acmh@gmx.de ----- privat ---- | www : http://www.huennebeck-online.de Fax/Anrufbeantworter: 0721/151-284301 GPG-Key: http://www.huennebeck-online.de/public_keys/andreas.asc PGP-Key: http://www.huennebeck-online.de/public_keys/pgp_andreas.asc