SAP Knowledge Base Article - Preview

2691539 - Signal 11 in ubffreef() when expanding an in-memory database - SAP ASE

Symptom

  • When expanding an in-memory database from 10G to 14G:
     
        sp_cacheconfig 'IM_DB','14G', 'inmemory_storage','cache_partition=16'
     
  • An "infected with signal 11" error in the module ubffreef() together with a stack trace is immediately reported in the ASE errorlog:

Current process (0x1f0010) infected with signal 11 (SIGSEGV)
Address 0x000000010055900c (ubffreef+0x1c0), siginfo (code, address) = (50, 0x0001000169247108)

  • SQL causing the error:

select     @old_stat = status
from    master.dbo.sysconfigures
where   parent = @cfguserdefinedcache
and   config = @cfguserdefinedcache
and   name = @cachename
 

select @retstat = config_admin(@operation, @cfguserdefinedcache, @partition_number, @new_cache_type, NULL, @cachename)

  • The stack trace includes the following functions:

ubffreef
memfreeheap
cm_increase_cache_size
cfg__updatecache
cfg__altercacheconfig
cfg_main

  • A stack overflow with another stack trace may be reported during the ASE shutdown (with or without nowait) process:
     
        Stack overflow detected: limit: 0x0000000162b61b88, guardpage: 0x0000000162b63b88, sp: 0x0000000110e9dad0

  • The stack trace generated during shutdown includes the following functions:

ubffreef
kresmemfree
kmultimap_remove
utpThreadStateChange
ktCleanupMuxThread
kt__MuxMain
ktMuxThreadMain
thread_create_handler

Note: Complete stack traces are available under Attachments.


Read more...

Environment

  • SAP Adaptive Server Enterprise 15.7 Big-Endian Platforms
  • SAP Adaptive Server Enterprise 16 Big-Endian Platforms
  • In-Memory Database (IMDB)

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

CR816544, CR#816544, 816544, increase, increasing, SEGV, segmentation, storage, access, violation, fault, segfault, kisignal, stacktrace, registers , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.