SAP Knowledge Base Article - Preview

2546008 - Signal 11 in memmove() under sqlscript_parse - SAP ASE 16.0

Symptom

  • The TSQL command CREATE LOGIN correctly rejects an invalid password "000000":

1> create login bill password 000000
2> go
Msg 102, Level 15, State 181:
Server 'xxxxxxx', Line 1:
Incorrect syntax near '000000'.

  • However, the SQLSCRIPT command CREATE USER terminates unexpectedly with a SEGV error:

1> use sqlscriptdb
2> go
1> create user bill password 000000
2> go

  • ASE errorlog contains a storage access violation exception (on Windows) with a stack trace:

attempted read from memory location 0000001B00000000 from instruction at location 0x000000006E14BFE0
Adaptive Server Enterprise system exception (0xc0000005) generated by a storage access violation.

 On a Unix/Linux platform, this would be an "Current process infected with signal 11 (SIGSEGV)" message.

  • The stack trace includes functions:

memmove
mkvarchar
sqlscript_parse
sqlpars

  Note: A complete stack trace is available under Attachments.


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 16.0 SP03

Product

SAP Adaptive Server Enterprise 16.0

Keywords

Sybase, segment,  CR809164, CR#809164, 809164,  fault, segfault, kisignal, stacktrace, registers , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , Bug Filed

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.