Reply by Andreas Huennebeck●November 20, 20072007-11-20
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).
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.
Reply by ●November 19, 20072007-11-19
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
Reply by Greg●November 19, 20072007-11-19
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.