SAP Knowledge Base Article - Preview

2515740 - Crash on glibc detected free(): corrupted unsorted chunks -SAP IQ

Symptom

  • SAP IQ could crash on Linux on glibc error when executing the follwing IQ system procedures:

sp_iqversionuse;
sp_iqconnection;
sp_iqcontext;
sp_iqcursorinfo;
sp_iqshowpsexe;

  • No memory error in OS logs /var/log/messages files
  • No IQ stack trace generated
  • The error and memory map can be found in STDERR file.
Excerpt of STDERR

*** glibc detected *** <IQDIR16>/bin64/iqsrv16: free(): corrupted unsorted chunks: 0x00007fd2e4b8cf30 ***

<IQDIR16>/bin64/../lib64/libiq16.so(_ZN10hos_memmgr10FreeHosMemEPv+0x308)[0x7fd29ea87068]
<IQDIR16>/bin64/../lib64/libiq16.so(_ZN10st_commandD2Ev+0xc5)[0x7fd29f5c75b5]
<IQDIR16>/bin64/../lib64/libiq16.so(_ZN8db_iqddl19IQUtilityOpenCursorEPK11a_statementP12UIConnectionPPv+0x2e)[0x7fd29f74e08e]
<IQDIR16>/bin64/../lib64/libiq16.so(UIQDDL_IQUtilityOpenCursor+0x20)[0x7fd29e3a89c0]
<IQDIR16>/bin64/../lib64/libiq16.so(_ZN20st_SAIQInterfaceInfo12callFunctionEv+0x26)[0x7fd29f61f606]
<IQDIR16>/bin64/../lib64/libiq16.so(_ZN16st_SAIQInterface9RunIQFuncEP20st_SAIQInterfaceInfo+0x189)[0x7fd29f68ae3b]
<IQDIR16>/bin64/../lib64/libiq16.so(_ZN16st_SAIQInterface7ExecuteEiPvPFjS0_S0_ES0_j+0x20a)[0x7fd29f61ff7a]
<IQDIR16>/bin64/../lib64/libiq16.so(_ZN20saint_iqthresholdddl9IQUtilityEPK11a_statementP11IConnectionP6ITable+0x2ab)[0x7fd29eb1e42b]
<IQDIR16>/lib64/libiqserv16_r.so(+0x3c4d96)[0x7fd63487fd96]
<IQDIR16>/lib64/libiqserv16_r.so(+0x49d714)[0x7fd634958714]
<IQDIR16>/lib64/libiqserv16_r.so(+0x40d9b7)[0x7fd6348c89b7]
............

/lib64/libpthread.so.0[0x37d9e07aa1]
/lib64/libc.so.6(clone+0x6d)[0x37d9ae8aad]
======= Memory map: ========
00400000-00402000 r-xp 00000000 fd:b8 6390476 <IQDIR16>/bin64/iqsrv16
00602000-00603000 rw-p 00002000 fd:b8 6390476 <IQDIR16>/bin64/iqsrv16
02149000-02978000 rw-p 00000000 00:00 0 [heap]
37d9200000-37d9220000 r-xp 00000000 fd:00 9845 /lib64/ld-2.12.so
37d941f000-37d9421000 r--p 0001f000 fd:00 9845 /lib64/ld-2.12.so
37d9421000-37d9422000 rw-p 00021000 fd:00 9845 /lib64/ld-2.12.so
............ (Lots of memory map lines)

7fff0bc89000-7fff0bc8a000 rw-p 00000000 00:00 0
7fff0bd50000-7fff0bd51000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]


Read more...

Environment

SAP IQ 16 Linux

Product

SAP IQ 16.0

Keywords

 CR# 810109 ;  810109 ; Linux ; "memory corruption" ; hos_memmgr ; FreeHosMem ; hos_memmgr::FreeHosMem ; , KBA , BC-SYB-IQ , Sybase IQ , 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.