客户数据库出现频繁的ORA-600(kssadd_stage: null parent)错误。
数据库版本为10.2.0.5 RAC for AIX,报错时详细错误信息为:
Tue Jul 17 14:57:39 2012 Errors IN file /oracle/10g/admin/orcl/udump/orcl2_ora_307720.trc: ORA-00600: internal error code, arguments: [kssadd_stage: NULL parent], [], [], [], [], [], [], [] Tue Jul 17 14:57:45 2012 Errors IN file /oracle/10g/admin/orcl/udump/orcl2_ora_357344.trc: ORA-00600: internal error code, arguments: [kssadd_stage: NULL parent], [], [], [], [], [], [], [] Tue Jul 17 14:57:56 2012 Trace dumping IS performing id=[cdmp_20120717145753] Tue Jul 17 14:58:12 2012 Trace dumping IS performing id=[cdmp_20120717145823] Tue Jul 17 15:05:53 2012 Trace dumping IS performing id=[cdmp_20120717150633] Tue Jul 17 15:06:42 2012 Errors IN file /oracle/10g/admin/orcl/udump/orcl2_ora_94700.trc: ORA-00600: internal error code, arguments: [kssadd_stage: NULL parent], [], [], [], [], [], [], [] Tue Jul 17 15:06:43 2012 Trace dumping IS performing id=[cdmp_20120717150643] |
相关的TRACE文件信息如下:
/oracle/10g/admin/orcl/udump/orcl2_ora_111068.trc Oracle DATABASE 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production WITH the Partitioning, REAL Application Clusters, OLAP, DATA Mining AND REAL Application Testing options ORACLE_HOME = /oracle/10g/db System name: AIX Node name: ora2 Release: 1 Version: 6 Machine: 00CCFD354C00 Instance name: orcl2 Redo thread mounted BY this instance: 2 Oracle process NUMBER: 89 Unix process pid: 111068, image: oracle@ora2 *** ACTION NAME:() 2012-07-17 15:08:42.043 *** MODULE NAME:(gsr.exe) 2012-07-17 15:08:42.043 *** SERVICE NAME:(orcl) 2012-07-17 15:08:42.043 *** SESSION ID:(991.44140) 2012-07-17 15:08:42.043 *** 2012-07-17 15:08:42.043 ksedmp: internal OR fatal error ORA-00600: internal error code, arguments: [kssadd_stage: NULL parent], [], [], [], [], [], [], [] No CURRENT SQL statement being executed. ----- Call Stack Trace ----- calling CALL entry argument VALUES IN hex location TYPE point (? means dubious VALUE) -------------------- -------- -------------------- ---------------------------- ksedst+001c bl ksedst1 40D1A9663F9E7ABB ? 6ED89E14D59386B5 ? ksedmp+0290 bl ksedst 104A2CDB0 ? ksfdmp+0018 bl 03F2735C kgerinv+00dc bl _ptrgl kgeasnmierr+004c bl kgerinv 11041D938 ? 700000220FFBFC8 ? 110000770 ? 7000004FDF0C700 ? FFFFFFFFFFF89C0 ? kssadd_stage+0080 bl kgeasnmierr 110195490 ? 110450040 ? 104AC46B8 ? 000000000 ? 000000000 ? 000000000 ? 000000000 ? 7000004F0FA9208 ? kqreqa+0058 bl kssadd_stage 105670038 ? 104CF7BA0 ? 000000000 ? 000000000 ? kqrpre1+0850 bl kqreqa 100203514 ? 1101A2B20 ? kqrpre+001c bl kqrpre1 710000770 ? 000000009 ? FFFFFFFFFFF9088 ? 28A4202200000000 ? 10012AEE4 ? FFFFFFFFFFF9080 ? 000000000 ? 11022A3E0 ? opiosq0+009c bl kqrpre 000000000 ? 000000000 ? 000000000 ? 1101A2B20 ? FFFFFFFFFFF9198 ? 1104B7C60 ? FFFFFFFFFFF9458 ? kpooprx+0168 bl opiosq0 4A00000001 ? 000000001 ? 000000000 ? A40000000000FF ? kpoal8+0400 bl kpooprx FFFFFFFFFFFB964 ? FFFFFFFFFFFB680 ? 5000000050 ? 100000001 ? 000000000 ? A40000000000A4 ? 000000000 ? 1103A1AD8 ? opiodr+0ae0 bl _ptrgl ttcpip+1020 bl _ptrgl opitsk+1124 bl 01F971E8 opiino+0990 bl opitsk 000000000 ? 000000000 ? opiodr+0ae0 bl _ptrgl opidrv+0484 bl 01F96034 sou2o+0090 bl opidrv 3C02D9A29C ? 4A006E298 ? FFFFFFFFFFFF8A0 ? opimai_real+01bc bl 01F939B4 main+0098 bl opimai_real 000000000 ? 000000000 ? __start+0070 bl main 000000000 ? 000000000 ? --------------------- Binary Stack Dump --------------------- |
根据MOS文档Bug 4937225 ORA-22 from OCIStmtExecute after OCISessionBegin的描述,这是个客户端OCI出现的bug,问题发生在10.2.0.3以下版本的客户端连接到高版本数据库的情况,确认影响的版本为10.2.0.2,Oracle在10.2.0.3和11.1.0.6中FIXED了该bug。
当前数据库版本为10.2.0.5但是这个问题是发生在客户端,而发生问题的客户端版本为10.2.0.1,因此导致这个错误的产生就不奇怪了,通过升级客户端数据库版本到10.2.0.3以上可以解决该错误。