2 Replies Latest reply on Jan 16, 2013 3:25 AM by codestr0m

    Segmentation fault in phase Front End Parse/Semantic.

    vic_nsk

      Dear Developers,

       

      I am writing you because openf90 failed to compile a very simple Fortran's subroutine. The corresponding error is given below:

       

      openf90 -c -g -O0  -ftpp  lexical.bug.f

      Signal: Segmentation fault in Front End Parse/Semantic phase.

      Error: Signal Segmentation fault in phase Front End Parse/Semantic -- processing aborted

      *** Internal stack backtrace:

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x4c4bc6]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x4c5cef]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x4c5aaf]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x4c6398]

          /lib64/libc.so.6() [0x30a6232920]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x67c65c]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x680225]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x6262bd]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x627f92]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95(fixed_get_char+0x18f) [0x62891f]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x6eface]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x4f35d3]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x4cf402]

          /lib64/libc.so.6(__libc_start_main+0xfd) [0x30a621ecdd]

          /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95() [0x41b5c9]

      openf90 INTERNAL ERROR: /opt/x86_open64-4.5.2/lib/gcc-lib/x86_64-open64-linux/4.5.2/mfef95 died due to signal 4

      openf90 ERROR: core dumped

       

      Enclosed please find the source file and needed system information.

       

      It looks like a compiler bug because this example can be successfully processed and compiled  using many others compilers such as g77/gfortran, ifort, Sun's/Oracle's f90. 

       

      Regards,

      Victor.