SAP Knowledge Base Article - Preview

3618234 - SUBSTRING() in ASE 16.1 may return error 341 with SIGSEGV - SAP ASE

Symptom

  • ASE 16.1 starts receiving a SIGSEGV and returns a 341 error when using SUBSTRING() built-in function as below..

1> select CT.col1 from test1 CT
2> where CT.col2 = "0000000002" and substring(CT.col1,1,CHARINDEX('-',CT.col1)-1) = 'TEST'
3> go
Msg 341, Level 18, State 1:
Server 'ASE161', Line 1:
Internal error: SIGSEGV happened, please refer this issue to SAP Technical Support.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.1

Product

SAP Adaptive Server Enterprise 16.1

Keywords

CR830834, CR#830834, #830834, 536, Error#536, Invalid length parameter with value of -1 passed to the substring function. , 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.