Symptom
Executing a stored procedure at transaction isolation level 0 leads to a crash with “Current process infected with signal 11 (SIGSEGV)”.
Stack trace includes s_mustrecompile() and s_execute(); the process is terminated.
The failing SQL involves an INSERT INTO a temporary table (#temp) using a UNION of two SELECT statements.
The issue reproduces consistently when “enable compatibility mode” = 1.
When “enable compatibility mode” = 0 or when isolation level 1 is used, the stack trace does not occur.
After toggling settings, the problem may not reproduce immediately if a cached execution plan is reused.
Read more...
Environment
Product: SAP Adaptive Server Enterprise 16 SP 6
Product
Keywords
signal 11, SIGSEGV, s_mustrecompile, s_execute, isolation level 0, enable compatibility mode, compatibility mode, union, stored procedure, temp table, #temp, crash, recompile, plan cache, ASE 16.0 SP04 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview