OpenSolaris

Printable Version Enter a New Search
Bug ID 6757521
Synopsis SMB daemon leaks memory after displaying GSS status
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:cifs
Keywords
Responsible Engineer Natalie Li
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_103
Fixed In snv_103
Release Fixed solaris_nevada(snv_103)
Related Bugs 6617183 , 6673604
Submit Date 8-October-2008
Last Update Date 19-November-2008
Description
> 081e76b8::bufctl -v
            ADDR          BUFADDR        TIMESTAMP           THREAD
                            CACHE          LASTLOG         CONTENTS
         81e76b8          81e6c30    14e59ab8f8e8e               28
                          8097510                0          80785b8
                 libumem.so.1`umem_cache_alloc_debug+0x14f
                 libumem.so.1`umem_cache_alloc+0x144
                 libumem.so.1`umem_alloc+0xc5
                 libumem.so.1`malloc+0x27
                 libgss.so.1`displayMajor+0x541
                 libgss.so.1`gss_display_status+0xa1
                 libsmbns.so.1`krb5_display_stat+0x36
                 libsmbns.so.1`krb5_establish_sec_ctx_kinit+0xc6
                 libsmbns.so.1`smb_ads_establish_sec_context+0xde
                 libsmbns.so.1`smb_ads_bind+0x5c
                 libsmbns.so.1`smb_ads_open_main+0x176
                 libsmbns.so.1`smb_ads_open+0x4c
                 libmlsvc.so.1`smb_shr_publisher+0xde
                 libc.so.1`_thrp_setup+0x70
                 libc.so.1`_lwp_start

> 080b0f18::bufctl -v
            ADDR          BUFADDR        TIMESTAMP           THREAD
                            CACHE          LASTLOG         CONTENTS
         80b0f18          80aee00    14e59ab9150dc               28
                          8094c90                0          8079250
                 libumem.so.1`umem_cache_alloc_debug+0x14f
                 libumem.so.1`umem_cache_alloc+0x144
                 libumem.so.1`umem_alloc+0xc5
                 libumem.so.1`malloc+0x27
                 mech_krb5.so.1`gssint_g_make_string_buffer+0x2d
                 mech_krb5.so.1`gssint_g_display_com_err_status+0x38
                 mech_krb5.so.1`krb5_350309153+0xbe
                 mech_krb5.so.1`k5glue_display_status+0x2a
                 libgss.so.1`gss_display_status+0x81
                 libsmbns.so.1`krb5_display_stat+0x67
                 libsmbns.so.1`krb5_establish_sec_ctx_kinit+0xc6
                 libsmbns.so.1`smb_ads_establish_sec_context+0xde
                 libsmbns.so.1`smb_ads_bind+0x5c
                 libsmbns.so.1`smb_ads_open_main+0x176
                 libsmbns.so.1`smb_ads_open+0x4c
How to reproduce:

1) Join the systme to a domain
2) remove /etc/krb5/krb5.keytab
3) Attempt to publish shares will fail and GSS status will be displayed.
4) gcore `pgrep smbd` to examine memory leaks.
Work Around
N/A
Comments
N/A