SAP Knowledge Base Article - Preview

3256631 - signal 11 in kbfalloc and ptnc_fill_ptnvals - SAP ASE

Symptom

sigsegv in kbfalloc() is encountered on ASE 160 SP03 PL08 / Linux - SAP Solution Manager system at Bose Corp. The ASE crashed whilst the failing spid held the PTNCOND_SPIN spinlock. Although ASE was short on open partition descriptors as indicated in the ASE errorlog, kbfalloc() failed due to corruption in the "partition condition pool"; we extract ptn info from the ptn cond tree in ptnc_fill_ptnvals() - the ptn cond pool is separate from the open ptn pool. Additional details related the SolMan system config/cube config etc are to be evaluated. Another point to note: this ASE was last restarted in Dec 2021 - has been running fine until this crash on Oct 7 2022.

00:0006:00000:00127:2022/10/06 22:41:44.94 server  Increase the config parameter 'number of open partitions' to avoid descriptor reuse. Reuse may result in performance degradation.
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  Current process (0x17110646) infected with signal 11 (SIGSEGV)
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  Current Process is running on Engine 0
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  Address 0x0x00000000022139dd (kbfalloc+0x80d), siginfo (code, address) = (128, 0x(nil))
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  **** Saved signal context (0x0x00000001814f2c80): ****
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  uc_flags: 0x1, uc_link: 0x(nil)
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  uc_sigmask: 0x7bfbf037 0xb 0x80 0x0
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  uc_stack: ss_sp: 0x(nil), ss_size: 0x0, ss_flags: 0x2
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  General Registers (uc_mcontext.gregs):
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel   PC : 0x00000000022139dd (kbfalloc+0x80d)
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel          RAX : 0x00000003dc0625d0  RBX : 0x00000003f12fb050
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel          RCX : 0x00000000000005bd  RDX : 0x00000000000005bd
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel   RBP : 0x00000001814f32d0  RSP : 0x00000001814f3210
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel   R8  : 0x0000000000000001  R9  : 0x000000000000060d
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel   R10 : (nil)  R11 : 0x000000000000c1a0
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel   R12 : 0x0000000331519800  R13 : (nil)
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel   R14 : (nil)  R15 : 0x0000000331519910
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel   RDI : 0x00c97b10080000c9  RSI : 0x000000000000b7a0
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel   RIP : 0x00000000022139dd  CSGSFS : 0x0000000000000033
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel   TRAPNO : 0x000000000000000d  ERR : (nil)
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel   EFL : 0x0000000000010206
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  **** end of signal context ****
00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  Spinlocks held by  kpid 386991686

00:0002:00000:02135:2022/10/07 01:36:16.54 kernel  Spinlock PTNCOND_SPIN at address 0x000000014793de00 owned by 386991686
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  ******** End of stack trace, spid 2135, kpid 386991686, suid 6
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  End of spinlock display.
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000154f520 pcstkwalk+0x482()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000154eedf ucstkgentrace+0x20f()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000154b662 ucbacktrace+0x54()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000181b490 terminate_process+0x8f0()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000157cea4 kisignal+0x868()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x00000000022139dd kbfalloc+0x80d()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000221318d ubfallocf+0x1d()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  [Handler pc: 0x0x00000000010a4493 std_handle installed by the following function:-]
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000001e96d3d ptnc_fill_ptnvals+0xed()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000001ec41b1 ind__ides_init_fromrow+0x101()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  [Handler pc: 0x0x0000000000d2c555 sysind_handler installed by the following function:-]
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000001ec3ac4 ind_ides_init+0x9c4()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  [Handler pc: 0x0x0000000000c8b14c des__errhdl installed by the following function:-]
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000001e06c53 des__fill_common+0x373()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  [Handler pc: 0x0x0000000000c8b14c des__errhdl installed by the following function:-]
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000001e01207 des__fill+0x447()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000001e0d157 des_do_get+0xb87()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000001bef285 open__lookup+0x65()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000001bedf49 open__byname+0x1f9()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  [Handler pc: 0x0x00000000010a43b1 hdl_backout_msg installed by the following function:-]
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000001bed7c1 open_user_table+0x2b1()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000202f633 get_range_sdes+0x2d3()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000202d709 open_range+0x9a9()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000002013634 col_open_range+0x64()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000200dd2d colnames_driver+0xed()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000207bd07 s_normquery+0x137()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000002081d76 s__call_normquery+0x66()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000002079920 s_normalize+0x800()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  [Handler pc: 0x0x00000000020ba5c0 hdl_stack installed by the following function:-]
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  [Handler pc: 0x0x000000000207e520 s_handle installed by the following function:-]
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x00000000020822e3 sequencer+0x2c3()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000183acba tdsrecv_language+0x1ea()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x000000000183a4a0 tdsrecv_dynamic+0x4d0()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  [Handler pc: 0x0x00000000021d8e10 ut_handle installed by the following function:-]
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  pc: 0x0000000001852289 conn_hdlr+0x18e9()
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  end of stack trace, spid 2135, kpid 386991686, suid 6
00:0002:00000:02135:2022/10/07 01:36:16.55 kernel  ueshutdown: exiting
00:0006:00000:00000:2022/10/07 01:36:16.55 kernel  bucket manager consolidator terminating
00:0000:00000:00000:2022/10/07 01:36:16.56 kernel  Main thread performing final shutdown.
00:0000:00000:00000:2022/10/07 01:36:16.56 kernel  Blocking call queue shutdown.
00:0000:00000:00000:2022/10/07 01:36:21.57 kernel  SySAM: Checked in license for 8 ASE_ASM (2020.1231/permanent/0A1A 1A20 16D1 8E93).


Read more...

Product

SAP Solution Manager 7.2

Keywords

CR#827245, CR827245, 827245 , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , 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.