|
Description
|
When running fmstress on SUNW,Sun-Fire-V240/pontiac.sfbay, got some cores which are under /test
> ::findleaks -d
CACHE LEAKED BUFCTL CALLER
00082788 8 00555068 fmd_alloc+0xc
----------------------------------------------------------------------
Total 8 buffers, 256 bytes
umem_alloc_32 leak: 8 buffers, 32 bytes each, 256 bytes total
ADDR BUFADDR TIMESTAMP THREAD
CACHE LASTLOG CONTENTS
555068 5516c0 f7cf8ea247b 13
82788 6d068 0
libumem.so.1`umem_cache_alloc+0x13c
libumem.so.1`umem_alloc+0x60
fmd_alloc+0xc
fmd_hdl_alloc+0x68
eft.so`alloc_malloc+0x58
eft.so`lut_add+0xac
eft.so`tree_func+0x1b4
eft.so`yyparse+0x13dc
eft.so`_fmd_init+0xf8
fmd_module_enter+0xe0
rtld_init+0xfc
fmd_module_start+0x14
fmd_thread_start+0x48
libc.so.1`_lwp_start
It exists on all platforms. It will leak a few bytes whenever "fmadm reset eft" is run, but this should seldom if ever be run on user systems.
"struct lut *Usedprops" defined in eversholt/common/tree.c isn't freed
when eft.so cleanups.
The fix is straightforward, free it in tree_fini().
|