记一次ORA-07445: exception encountered: core dump [_intel_fast_memcpy.A()+10] [SIGSEGV] [Address not ma...

错误描述:

oracle 10.2.0.4 64bit

redhat5.6 64bit

在创建函数完成后调用直接报错:

Errors in file /opt/oracle/admin/kebao/udump/kebao_ora_26334.trc:
ORA-07445: exception encountered: core dump [_intel_fast_memcpy.A()+10] [SIGSEGV] [Address not mapped to object] [0x000000000] [] []

SESSION会话也直接中断。

[@more@]

通过定义typetype bodyfunction后通过SQL调用新声明的function函数,会话直接关闭,通过查看alert文件发现报以下错误:

Errors in file /opt/oracle/admin/kebao/udump/kebao_ora_26334.trc:
ORA-07445: exception encountered: core dump [_intel_fast_memcpy.A()+10] [SIGSEGV] [Address not mapped to object] [0x000000000] [] []

opt/oracle/admin/kebao/udump/kebao_ora_26334.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /opt/oracle/product/10.2.0/db_1
System name: Linux
Node name: oracledb
Release: 2.6.18-164.el5
Version: #1 SMP Tue Aug 18 15:51:48 EDT 2009
Machine: x86_64
Instance name: kebao
Redo thread mounted by this instance: 1
Oracle process number: 47
Unix process pid: 26334, image: oracle@oracledb

*** ACTION NAME:(SQL Window - create table a as s) 2011-10-25 14:06:46.770
*** MODULE NAME:(PL/SQL Developer) 2011-10-25 14:06:46.770
*** SERVICE NAME:(kebao) 2011-10-25 14:06:46.770
*** SESSION ID:(392.48730) 2011-10-25 14:06:46.770
Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x0, PC: [0x2b3283211608, _intel_fast_memcpy.A()+10]
*** 2011-10-25 14:06:46.770
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [_intel_fast_memcpy.A()+10] [SIGSEGV] [Address not mapped to object] [0x000000000] [] []
Current SQL statement for this session:
select --COUNT(DISTINCT A.CUS_ID)
a.cus_id,a.cus_name, crm_connstr(C.PMT_ORD_ID) as aaaa
from sle_rtl.customer a, sle_rtl.customer_phone b , sle_rtl_fin.payment c
where a.cus_id = b.cus_id and a.cus_id = c.cus_id and c.pmt_com_id = 'PEK'
group by a.cus_id ,a.cus_name
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
-------------------- -------- -------------------- ----------------------------
ksedst()+31 call ksedst1() 000000000 ? 000000001 ?
2B3284EF2D50 ? 2B3284EF2DB0 ?
2B3284EF2CF0 ? 000000000 ?
--More--(0%)

..................................

通过检查发现在type里面生成的返回值类型是CLOB的,而我的FUNCTION里面返回的是VARCHAR2的,最终导致错误的发生。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10130206/viewspace-1055933/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10130206/viewspace-1055933/

你可能感兴趣的:(记一次ORA-07445: exception encountered: core dump [_intel_fast_memcpy.A()+10] [SIGSEGV] [Address not ma...)