ORA-7445 [LpxMemFree()+257] When Using Specific XSL File Name. (Doc ID 1542325.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Oracle XML Developers Kit - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

In Oracle Server 11.2.0.3 the xmltype.transform function raises
ORA-07445: exception encountered: core dump [LpxMemFree()+257] [SIGSEGV] [ADDR:0xFFFFFFFD3ABB78] [PC:0x4000000010EF9781] [Address not mapped to object] []
when transforming an XML document against a specific XSL file.

The XSL imports others, and the problem appears to be with the name of one of the imported XSL files.

XSL documents are loaded into the database as resources and the code used
to transform is similar to

declare
 p_barkod  varchar(10) := '6157843602';
 p_mxl     varchar(100):= '/xxx/yyy/doc.xml';
 p_xsl     varchar(100):= '/xxx/yyy/stylesheet.xsl';
 xsl       xmltype;
 xmlquery  clob;
 xmldata   xmltype;
 result    xmltype;
begin
-- XSL
select xdburitype(p_xsl).getxml() into xsl from dual;
-- XML adat
xmlquery := ign.ign_query.getquerystring(p_path_xq => p_mxl);
execute immediate xmlquery into xmldata using p_barkod;
-- Transform
result := xmldata.transform(xsl);
end;

 

Call Stack Trace is:
LpxMemFree  ltxDocDelete ltxcDocClean ltxcCompileDOM XmlXvmCompileDom qmxXvmTransformXobDoc1 qmxtgTransform qmxtkTransform $cold_spefcpfa spefmccallstd


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms