Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC84283 Status: Closed

DB2 CRASH WHEN CALLING OS PLUG-IN GETGRENT / GETGRENT_R TO GET GROUP NAMES

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
db2 crash when calling OS plug-in getgrent / getgrent_r to get 
group names 
 
under unusual circumstances, the getgrent/getgrent_r function 
could return a NULL pointer for the group name which will cause 
DB2 to crash. 
 
From trap file: 
 
timestamp: 2011-10-07-17.55.06.122329 
 
Signal #11 (SIGSEGV): si_addr is 0x0000000000000000, si_code is 
 
0x00000001 (SEGV_MAPERR:Address not mapped to object.) 
 
 
 
<StackTrace> 
 
-----FUNC-ADDR---- ------FUNCTION OFFSET------ 
 
ossDumpStackTraceEx 
_ZN11OSSTrapFile6dumpExEmiP7siginfoPvm 
sqlo_trce 0x03fb 
sqloEDUCodeTrapHandler 
sqloacs2 0x0005 
_Z12secGetGroupsPcPvPKciPS_PiS2_ii 
_Z19osplugin_get_groupsPcPvPKciPS_PiS2_ii 
_Z19get_groups_externalPKciS0_iS0_iiS0_iPviiS0_iPS1_PiPPcS3_ 
_Z16getgroupsforuserPciS_iS_iiS_iPviiS_iP14sqlo_mem_descrP17grou 
p_functi 
_Z21sqlexGetGroupsForUserPciS_iS_iiS_iPviiS_iP14sqlo_mem_descrP9 
sqlf_kcf 
_Z20sqlexSlsSystemAccrdbP14db2UCinterface 
_Z20sqlexEngAuthenticateP14db2UCinterface 
_ZN14sqeApplication13AppLocalStartEP14db2UCinterface 
_Z11sqlelostWrpP14db2UCinterface 
_Z14sqleUCengnInitP14db2UCinterfacet 
_Z18sqljsConnectAttachP13sqljsDrdaAsCbP14db2UCinterface 
_Z16sqljs_ddm_accsecP14db2UCinterfaceP13sqljDDMObject 
_Z17sqljsParseConnectP13sqljsDrdaAsCbP13sqljDDMObjectP14db2UCint 
erface + 
_Z10sqljsParseP13sqljsDrdaAsCbP14db2UCinterfaceP8sqeAgentb 
_Z17sqljsDrdaAsDriverP18SQLCC_INITSTRUCT_T 
...... 
 
 
It failed in sqloacs2 checking for group names from OS plug-in 
getgrent / getgrent_r.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.1 FP1                              * 
****************************************************************
Local Fix:
N/A
available fix packs:
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
First fixed in DB2 Version 10.1 FP1
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
13.06.2012
01.11.2012
01.11.2012
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.1 FixList
10.5.0.1 FixList