segmentation violation

segmentation violation

Hi.

I got the following error message when I use these debugging flags: -g -check all -fpe0 -warn -traceback -debug extended

file.28.f90: 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 file.28.f90 (code 1)

Without these debugging flags, the program is compiled with no error, and besides, I have not seen any recognizable problem when I run it. Unfortunately I cannot put the file here, since it is very large, more than 10,000 lines, and reads several other files.

I wonder if there is a way to identify the possible error. Thanks for your help. :)

7 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

This is an internal compiler error. Please use Intel Premier Support to report the problem and attach a gzipped tar file of all the files needed to reproduce the problem. We only need to compile file.28.f90, not run the program.

Steve - Intel Developer Support

Thanks for your comment, Steve.

By the way, I got the following error message this morning when I compiled the code again, without making any change in the program.

ifort: error #10106: Fatal error in /usr/local/intel/composerxe/2013.sp1.1.106/composer_xe_2013_sp1.1.106/bin/intel64/fortcom, terminated by segmentation violation
compilation aborted for file.28.f90 (code 1)

 

Please report it to Intel Premier Support. But first I suggest installing Update 3 - you're at Update 1. We may have fixed it already.

Steve - Intel Developer Support

Thank you, Steve, for your comment.

After installing the Upgrade 3, I got the following error messages:

file.28.f90: 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.
*** Error in `/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom': munmap_chunk(): invalid pointer: 0x00007fdc3a40900c ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7410f)[0x7fdc3b5c910f]
/lib64/libc.so.6(+0x7996e)[0x7fdc3b5ce96e]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x16e41a5]
/lib64/libc.so.6(+0x383d9)[0x7fdc3b58d3d9]
/lib64/libc.so.6(+0x38425)[0x7fdc3b58d425]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x9fdc5b]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x9fd65c]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x112a3ea]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x11295af]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x102cc6d]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x102cb7e]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0xfbf456]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x10ead6c]
/lib64/libc.so.6(+0x358d0)[0x7fdc3b58a8d0]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x56b402]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x166e19c]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x166cead]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x166b6ea]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x9fbd2a]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x9c8131]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x8d25e0]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x8cb169]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x888a80]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x887a4d]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x886603]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x884062]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0xf300d4]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0xf2ff5c]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x878e72]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0xf300d4]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0xf300d4]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x678f4e]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x5cca08]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x5c1f84]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x5be44e]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fdc3b576be5]
/usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom[0x40a019]
======= Memory map: ========
00400000-025a9000 r-xp 00000000 00:1f 70704619                           /usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom
027a9000-02d4a000 rw-p 021a9000 00:1f 70704619                           /usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/fortcom
02d4a000-035c1000 rw-p 00000000 00:00 0
04989000-282dd000 rw-p 00000000 00:00 0                                  [heap]
7fdbde4e2000-7fdc3a806000 rw-p 00000000 00:00 0
7fdc3a806000-7fdc3a841000 r-xp 00000000 00:1f 68761311                   /usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/libiml_attr.so
7fdc3a841000-7fdc3aa40000 ---p 0003b000 00:1f 68761311                   /usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/libiml_attr.so
7fdc3aa40000-7fdc3aa50000 rw-p 0003a000 00:1f 68761311                   /usr/local/intel/composerxe/2013.sp1.3.174/composer_xe_2013_sp1.3.174/bin/intel64/libiml_attr.so
7fdc3aa50000-7fdc3b555000 rw-p 00000000 00:00 0
7fdc3b555000-7fdc3b6fa000 r-xp 00000000 08:01 1030338                    /lib64/libc-2.18.so
7fdc3b6fa000-7fdc3b8fa000 ---p 001a5000 08:01 1030338                    /lib64/libc-2.18.so
7fdc3b8fa000-7fdc3b8fe000 r--p 001a5000 08:01 1030338                    /lib64/libc-2.18.so
7fdc3b8fe000-7fdc3b900000 rw-p 001a9000 08:01 1030338                    /lib64/libc-2.18.so
7fdc3b900000-7fdc3b904000 rw-p 00000000 00:00 0
7fdc3b904000-7fdc3b91a000 r-xp 00000000 08:01 1030317                    /lib64/libgcc_s.so.1
7fdc3b91a000-7fdc3bb19000 ---p 00016000 08:01 1030317                    /lib64/libgcc_s.so.1
7fdc3bb19000-7fdc3bb1a000 r--p 00015000 08:01 1030317                    /lib64/libgcc_s.so.1
7fdc3bb1a000-7fdc3bb1b000 rw-p 00016000 08:01 1030317                    /lib64/libgcc_s.so.1
7fdc3bb1b000-7fdc3bc05000 r-xp 00000000 08:01 152753                     /usr/lib64/libstdc++.so.6.0.18
7fdc3bc05000-7fdc3be04000 ---p 000ea000 08:01 152753                     /usr/lib64/libstdc++.so.6.0.18
7fdc3be04000-7fdc3be0c000 r--p 000e9000 08:01 152753                     /usr/lib64/libstdc++.so.6.0.18
7fdc3be0c000-7fdc3be0e000 rw-p 000f1000 08:01 152753                     /usr/lib64/libstdc++.so.6.0.18
7fdc3be0e000-7fdc3be23000 rw-p 00000000 00:00 0
7fdc3be23000-7fdc3bf25000 r-xp 00000000 08:01 1030201                    /lib64/libm-2.18.so
7fdc3bf25000-7fdc3c124000 ---p 00102000 08:01 1030201                    /lib64/libm-2.18.so
7fdc3c124000-7fdc3c125000 r--p 00101000 08:01 1030201                    /lib64/libm-2.18.socompilation aborted for file.28.f90 (code 3)

 

Ok - report it through Intel Premier Support so that we can fix it. By analyzing the failure we may also be able to suggest a workaround.

Steve - Intel Developer Support

As it is verified by a colleague of mine, the error disappears when the flag "-debug variable_locations" is excluded. He thinks that the compiler itself grows too big in this case (2 GB) and crashes. With the flag "-debug inline_debug_info,semantic_stepping", instead of using "-debug extended", the program is compiled with no error. Anyway, I will report it to the Intel Premier Support. :)

 

Leave a Comment

Please sign in to add a comment. Not a member? Join today