IBM Support

Old versions of NSS LDAP libraries might lead to traps

Troubleshooting


Problem

Older versions of NSS LDAP libraries might lead to a trap when DB2 has more than 1024 open files.

Symptom

Trap with possible stack trace (top functions only) similar to this:


0x00007FC82B4F6E0A sqloEDUCodeTrapHandler + 0x027a
0x00007FBDF9E35A9D _nss_ldap_getgrgid_r + 0x015d
0x00000030004AA34D getgrgid_r + 0x00dd
0x00007FC82950F1AD sqloGetGroupAttribById + 0x00ed

Cause

The reason is that older versions of NSS LDAP use the 'select()' system call with an array capable of handling only up to 1024 file descriptors. If the fd provided to 'select()' is bigger it will cause a stack corruption.

Resolving The Problem

The solution is to use a newer version of the library (like 0.96) that uses 'poll()' instead of 'select()' and can handle more file descriptors. Please check with you Unix administrator to locate and install an appropriate version of the libraries.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Security \/ Plug-Ins - LDAP","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"9.8;9.7;10.1;10.5;11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21992724