Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Catastrophic Error with Example

lopes8070
Beginner
722 Views
Here is an example case for a catastrophic error. I was able to reproduce the error. I did find out that the error occurs in the first 3 subroutines (constructors), at least the error does not occur when these routines are deleted.
This is the error upon compiling:

: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.

compilation aborted for CatastrophicClass.f90 (code 3)
0 Kudos
4 Replies
Steven_L_Intel1
Employee
722 Views

Thanks. We'll investigate.
0 Kudos
lopes8070
Beginner
722 Views

Thanks. We'll investigate.

These are the options I am using:

ifort -O0 -g -fp-stack-check -traceback -gen-interface -warn interface
0 Kudos
Steven_L_Intel1
Employee
722 Views
I apologize for the delay in getting back to you on this one.

The internal compiler error is triggered by a coding error in the source. In routine NewCatastrophic2 you have:

call this%ImplicitTimeFlag(.false.)

this is supposed to be:

call this%SetImplicitTimeFlag(.false.)

The compiler should have given you an appropriate error message for this. I'll report that to the developers. Issue ID is DPD200149063
0 Kudos
lopes8070
Beginner
722 Views
I apologize for the delay in getting back to you on this one.

The internal compiler error is triggered by a coding error in the source. In routine NewCatastrophic2 you have:

call this%ImplicitTimeFlag(.false.)

this is supposed to be:

call this%SetImplicitTimeFlag(.false.)

The compiler should have given you an appropriate error message for this. I'll report that to the developers.


Thanks Steve, not for the first time, my crappy programming has saved the day :)
0 Kudos
Reply