SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 14356: Misspelled MDX function name may crash OLAP Server

DetailsHotfixAboutRate It
In some cases, when querying a SAS OLAP cube and either specifying a
non-existent or misspelled MDX function name, you may receive an access
violation on your SAS OLAP Server.

For example, the MDX query below that includes a misspelling of the MDX
function AddCalculatedMembers:

   SELECT AddCalculatedMember([cars].members) on columns
   from [mddbcars]

caused the following access violation as written in the SAS OLAP Server
log file:

   First-Chance Exception: SIGACCESS (Access Violation).
   EXCEPTION_ACCESS_VIOLATION (C0000005) read access at Address 00000000
   [045] tkefnc:\skz.c\skMemCmp 200 (+0xf)
   CPR>where
   1* In routine tkefnc:\skz.obj\skMemCmp 200 (+0xF)
   2 Called from tkefnc:\tkfncload.obj\tkFncLoad 70 (+0x26)
   3 Called from tkeols:\olsfnclib.obj\LookupUserFunction 464 (+0x18)
   4 Called from tkeols:\olsfnclib.obj\ovm_ResolveFuncUser 668 (+0x36)
   5 Called from tkeols:\ovmfuncresolve.obj\ovm_ResolveFunc 3933 (+0xE)
   6 Called from tkeols:\ovmresolve.obj\ovm_ResolveObject 1035 (+0xE)
   7 Called from tkeols:\ovmresolve.obj\ovm_ResolveObjectAs 1080 (+0xF)
   8 Called from tkeols:\olsax2.obj\ovm_Resolve1Axis 1063 (+0x14)
   9 Called from tkeols:\olsax2.obj\ovm_resolveaxis 1263 (+0x11)
   10 Called from tkeols:\olsplan.obj\ols_plan 402 (+0x8)
   11 Called from tkeols:\olsstmt.obj\ols_mdxdriver 437 (+0x8)
   12 Called from tkeols:\olsutil.obj\ols_thrlogic 47 (+0xB)
   13 Called from tkepdl:\tkepdlb.obj\basicPuddleMain 561 (+0x1C)
   14 Called from tkmk:\sktMain.obj\sktMain 95 (+0x11)
   15 Called from tkmk:\bktMain.obj\bktMain 50 (+0x8)


A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at:

http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#014356

For customers running SAS with Asian Language Support (DBCS), this
fix should be downloaded from:

http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#014356


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS OLAP ServerTru64 UNIX9.1 TS1M09.1 TS1M3 SP2
64-bit Enabled AIX9.1 TS1M09.1 TS1M3 SP2
OpenVMS Alpha9.1 TS1M09.1 TS1M3 SP2
64-bit Enabled HP-UX9.1 TS1M09.1 TS1M3 SP2
HP-UX IPF9.1 TS1M09.1 TS1M3 SP2
Linux9.1 TS1M09.1 TS1M3 SP2
z/OS9.1 TS1M09.1 TS1M3 SP2
64-bit Enabled Solaris9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows 2000 Advanced Server9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows 2000 Datacenter Server9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows 2000 Professional9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows 2000 Server9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M09.1 TS1M3 SP2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows NT Workstation9.1 TS1M09.1 TS1M3 SP2
Microsoft Windows XP Professional9.1 TS1M09.1 TS1M3 SP2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.