[GE issues] [Issue 3192] double free corruption when getting groupid of ldap users

jdprasad johnnydevaprasad at gmail.com
Mon Aug 16 12:34:33 BST 2010


http://gridengine.sunsource.net/issues/show_bug.cgi?id=3192



User jdprasad changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|RESOLVED                  |REOPENED
--------------------------------------------------------------------------------
              Resolution|DUPLICATE                 |
--------------------------------------------------------------------------------




------- Additional comments from jdprasad at sunsource.net Mon Aug 16 04:34:32 -0700 2010 -------
This problem apparently still exists in sge 6.2u5
OS: SuSE Linux Enterprise Server (SLES11)
Kernel: 2.6.27.19-5-default
openldap: openldap2-devel-2.4.12-7.16
          openldap-db4-4.6.21-47_cm5.1
          openldap-servers-2.4.22-47_cm5.1
          openldap2-client-2.4.12-7.16

But this time its not a double free or corruption

*** glibc detected *** qstat: free(): invalid pointer: 0x00002aaaaab19c00 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2aaaab3b5118]
/lib64/libc.so.6(cfree+0x76)[0x2aaaab3b6c76]
/usr/lib64/libldap-2.4.so.2(ldap_pvt_get_fqdn+0x6a)[0x2aaaabf1221a]
/usr/lib64/libldap-2.4.so.2(ldap_int_initialize+0x57)[0x2aaaabf108b7]
/usr/lib64/libldap-2.4.so.2(ldap_create+0x26)[0x2aaaabef6816]
/usr/lib64/libldap-2.4.so.2(ldap_initialize+0x2f)[0x2aaaabef6dff]
/lib64/libnss_ldap.so.2[0x2aaaabccc327]
/lib64/libnss_ldap.so.2[0x2aaaabccf411]
/lib64/libnss_ldap.so.2[0x2aaaabccfbcf]
/lib64/libnss_ldap.so.2(_nss_ldap_getpwuid_r+0x49)[0x2aaaabcd01b9]
/lib64/libnss_compat.so.2[0x2aaaab8aaab8]
/lib64/libnss_compat.so.2[0x2aaaab8aacad]
/lib64/libnss_compat.so.2(_nss_compat_getpwuid_r+0x100)[0x2aaaab8ab040]
/lib64/libc.so.6(getpwuid_r+0xec)[0x2aaaab3e1cfc]
qstat[0x54d032]
qstat[0x4704b1]
qstat[0x47090c]
qstat[0x40b9d6]
/lib64/libc.so.6(__libc_start_main+0xe6)[0x2aaaab35f586]
...
...

gdb `which qstat` core.29665

gdb) bt
#0  0x00002aaaab373645 in raise () from /lib64/libc.so.6
#1  0x00002aaaab374c33 in abort () from /lib64/libc.so.6
#2  0x00002aaaab3af8e8 in ?? () from /lib64/libc.so.6
#3  0x00002aaaab3b5118 in ?? () from /lib64/libc.so.6
#4  0x00002aaaab3b6c76 in free () from /lib64/libc.so.6
#5  0x00002aaaabf1221a in ldap_pvt_get_fqdn () from /usr/lib64/libldap-2.4.so.2
#6  0x00002aaaabf108b7 in ldap_int_initialize () from /usr/lib64/libldap-2.4.so.2
#7  0x00002aaaabef6816 in ldap_create () from /usr/lib64/libldap-2.4.so.2
#8  0x00002aaaabef6dff in ldap_initialize () from /usr/lib64/libldap-2.4.so.2
#9  0x00002aaaabccc327 in ?? () from /lib64/libnss_ldap.so.2
#10 0x00002aaaabccf411 in ?? () from /lib64/libnss_ldap.so.2
#11 0x00002aaaabccfbcf in ?? () from /lib64/libnss_ldap.so.2
#12 0x00002aaaabcd01b9 in _nss_ldap_getpwuid_r () from /lib64/libnss_ldap.so.2
#13 0x00002aaaab8aaab8 in ?? () from /lib64/libnss_compat.so.2
#14 0x00002aaaab8aacad in ?? () from /lib64/libnss_compat.so.2
#15 0x00002aaaab8ab040 in _nss_compat_getpwuid_r () from /lib64/libnss_compat.so.2
#16 0x00002aaaab3e1cfc in getpwuid_r () from /lib64/libc.so.6
#17 0x000000000054d032 in sge_uid2user ()
#18 0x00000000004704b1 in sge_setup2 ()
#19 0x000000000047090c in sge_gdi2_setup ()
#20 0x000000000040b9d6 in main ()

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=274658

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list