I have the following code which gives me a catastrophic error without mentioning what the error is:
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.
However, I know what triggers this error, namely: allocate(gdad% ttt(tsize=10) :: gdad% test_type)
Anybody familiar with this
module t_test implicit none type ttt(tsize) integer, len :: tsize real x(tsize) end type ttt type :: t_rndom_diameter(t_rsize,t_csize) integer, len :: t_rsize,t_csize real :: x(t_rsize,t_csize) type(ttt(tsize=:)), allocatable :: test_type end type t_rndom_diameter end module t_test program p_test USE t_test implicit none type(t_rndom_diameter(t_rsize=3,t_csize=3)) :: gdad allocate(gdad% ttt(tsize=10) :: gdad % test_type) end program
Thanks in advance