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

'cc: Internal compiler error: program got fatal signal 11' while compiling in debug mode

tikcireviva
Beginner
686 Views
My program works well without the '-g' option, however, when it compiled with debug mode, it will return singal 11 fatal error.
I tried using SunStudio 12.1/2 on my solaris 10 machine (SPARC). Is there anyone who know the reason why?
================== code ========================
CC -mt -g -DDEV_SUN -KPIC -DP_USE_ORBIX -I/export/home/ml3/dev_unix -I/apps/oracle/product/10.2/db_1/precomp/public -I/apps/sslcpp4.5.4.E1.solaris/include -
I/usr/local/ssl/include -I/apps/iona/asp/6.3/include -I/export/home/ml3/dev_unix/ORDER/src/force_v32 -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/obs -
I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/common -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/security -
I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/gsp -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/import_export -
I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/PolicyListParser -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/PoaUtility -
I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/portability -c /export/home/ml3/dev_unix/EPT/src/orc/OrcTimerTask.cpp -o
/export/home/ml3/dev_unix/EPT/lib/orc/OrcTimerTask.o
db_exec_sql /export/home/ml3/dev_unix/EPT/database/table/T_ALLOWED_ORDER_TYPE.sql
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 30 09:58:09 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 SQL> 1 DECLARE
2
3 nb number(10) := 0;
4
5 BEGIN
6
7 SELECT count(*)
8 INTO nb
9 FROM user_tables
10 WHERE table_name = 'ALLOWED_ORDER_TYPE';
11
12 IF nb = 1 THEN
13 EXECUTE IMMEDIATE 'DROP TABLE ALLOWED_ORDER_TYPE';
14 END IF;
15
16* END;
PL/SQL procedure successfully completed.
SQL> SQL> 2 3 4 5 6
Table created.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
db_exec_sql /export/home/ml3/dev_unix/EPT/database/index/IC_ALLOWED_ORDER_TYPE.sql
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 30 09:58:09 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 SQL> 1 DECLARE
2
3 nb number(10) := 0;
4
5 BEGIN
6
7 SELECT count(*)
8 INTO nb
9 FROM user_indexes
10 WHERE table_name = 'ALLOWED_ORDER_TYPE'
11 AND index_name = 'IC_ALLOWED_ORDER_TYPE';
12
13 IF nb = 1 THEN
14 EXECUTE IMMEDIATE 'DROP INDEX IC_ALLOWED_ORDER_TYPE';
15 END IF;
16
17* END;
PL/SQL procedure successfully completed.
SQL> SQL> 2 3 4 5 6
Index created.
SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
db_table_header ALLOWED_ORDER_TYPE > /export/home/ml3/dev_unix/EPT/database/inc/T_ALLOWED_ORDER_TYPE.h
db_table_ctl ALLOWED_ORDER_TYPE > /export/home/ml3/dev_unix/EPT/database/ctl/ALLOWED_ORDER_TYPE.ctl
db_exec_sql /export/home/ml3/dev_unix/EPT/database/table/T_BASKET_DEAL_SUBSCRIBE.sql
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 30 09:58:10 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 SQL> 1 DECLARE
2
3 nb number(10) := 0;
4
5 BEGIN
6
7 SELECT count(*)
8 INTO nb
9 FROM user_tables
10 WHERE table_name = 'BASKET_DEAL_SUBSCRIBE';
11
12 IF nb = 1 THEN
13 EXECUTE IMMEDIATE 'DROP TABLE BASKET_DEAL_SUBSCRIBE';
14 END IF;
15
16* END;
PL/SQL procedure successfully completed.
SQL> SQL> 2 3 4 5
Table created.
SQL> SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
db_exec_sql /export/home/ml3/dev_unix/EPT/database/index/IC_BASKET_DEAL_SUBSCRIBE.sql
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Nov 30 09:58:10 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 SQL> 1 DECLARE
2
3 nb number(10) := 0;
4
5 BEGIN
6
7 SELECT count(*)
8 INTO nb
9 FROM user_indexes
10 WHERE table_name = 'BASKET_DEAL_SUBSCRIBE'
11 AND index_name = 'IC_BASKET_DEAL_SUBSCRIBE';
12
13 IF nb = 1 THEN
14 EXECUTE IMMEDIATE 'DROP INDEX IC_BASKET_DEAL_SUBSCRIBE';
15 END IF;
16
17* END;
PL/SQL procedure successfully completed.
SQL> SQL> 2 3 4 5
Index created.
SQL> SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
db_table_header BASKET_DEAL_SUBSCRIBE > /export/home/ml3/dev_unix/EPT/database/inc/T_BASKET_DEAL_SUBSCRIBE.h
>> Signal 11:
while processing /export/home/ml3/dev_unix/EPT/src/orc/OrcTimerTask.cpp at line 0.
make: *** [/export/home/ml3/dev_unix/EPT/lib/orc/OrcTimerTask.o] Error 2
make: *** Waiting for unfinished jobs....
db_table_ctl BASKET_DEAL_SUBSCRIBE > /export/home/ml3/dev_unix/EPT/database/ctl/BASKET_DEAL_SUBSCRIBE.ctl
**** Error compiling EPT ****
ml3@110110:/apps/export/home/ml3/dev_unix>
0 Kudos
5 Replies
JenniferJ
Moderator
686 Views

Do you have any build log file? please double check the error does come from icc or icpc.
We do not have any existing issues about "Signal 11".

Jennifer

0 Kudos
tikcireviva
Beginner
686 Views
Hi Jennifer,

Seems that it is related to the STL template, isn't it?
CC -mt -g -DDEV_SUN -KPIC -DP_USE_ORBIX -I/export/home/ml3/dev_unix -I/apps/oracle/product/10.2/db_1/precomp/public -I/apps/sslcpp4.5.4.E1.solaris/include -I/usr/local/ssl/include -I/apps/iona/asp/6.3/include -I/export/home/ml3/dev_unix/ORDER/src/force_v32 -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/obs -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/common -I/export/home/ml3/dev_unix/SYNAPSE/src/synapse_v1/security -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/gsp -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/import_export -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/PolicyListParser -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/PoaUtility -I/export/home/eptprod1/Synapse/module/lib/corbautil/cxx/portability -c /export/home/ml3/dev_unix/EPT/src/orc/OrcMaster9XXX.cpp -o /export/home/ml3/dev_unix/EPT/lib/orc/OrcMaster9XXX.o >> Signal 11: while processing /opt/solstudio12.2/prod/include/CC/Cstd/algorithm.cc at line 0. make: *** [/export/home/ml3/dev_unix/EPT/lib/orc/OrcMaster9XXX.o] Error 2 **** Error compiling EPT **** ml3@hkgss1101145:/apps/export/home/ml3/dev_unix>
0 Kudos
JenniferJ
Moderator
687 Views
I see. The other output text between the error and the icc command confused me.

We will need the preprocessed .i file for OrcMaster9XXX.cpp. If this is not open-source, it might be a good idea to submit an issue report to Intel Premier Support. That is a secure website.

Or you could upload the file with "private" post.

thanks,
Jennifer
0 Kudos
tikcireviva
Beginner
687 Views
It seems that it is referring to the
#include
Signal 11: while processing /opt/solstudio12.2/prod/include/CC/Cstd/algorithm.cc at line 0
In the release mode, the compilation is okay, however in debug mode, it just stopped there.
0 Kudos
JenniferJ
Moderator
687 Views
Several other forum customers have nicely reminded me about your dev environment.

Are you using icc? You might be in a wrong forum. We have Intel C++ compiler for Linux, but notSun solaris.

Jennifer
0 Kudos
Reply