Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Compiler Error "Segmentation violation signal raised."

seongyun_k_
Beginner
1,673 Views

 

I was using compiler version (compilers_and_libraries_2016.1.150), and I updated into (compilers_and_libraries_2017.0.098).

After the update, I cannot compile my application program due to the following compile error, which I cannot understand.

 

": internal error: ** The compiler has encountered an unexpected problem

** Segmentation violation signal raised. **

Access violation or stack overflow. Please contact Intel Support for assistance.

 

I cannot write a small program that reproduces the above error since 'I don't know what is causing the problem'.
I cannot provide the full code of my application program.

Where should I start taking a look at to find the cause?
Is there any debugging mode on icpc and mpiicpc compilers?

 

 

0 Kudos
3 Replies
TimP
Honored Contributor III
1,673 Views

There is a 2017.1 compiler, in case this compiler bug may have been fixed.  Otherwise, there is not much you can do (besides following the advice about a problem report) but try less aggressive compile options (including possibly splitting source files with separate compilation).

0 Kudos
James_T_Intel
Moderator
1,673 Views

I'm moving this to the correct forum.

0 Kudos
JenniferJ
Moderator
1,673 Views

yes, if you get this error, it's a bug in the compiler.

Could you to help with the followings to isolate it more:

  1. remove the compilation options as much as possible
  2. lower the optimization level
  3. create the preprocessed file (adding -EP -P), and you'll see a .i file generated.
  4. file an issue report at Intel Premier Support with the .i and options.

thanks,
Jennifer

 

0 Kudos
Reply