Project

General

Profile

Actions

Bug #4918

open

"share -o log" triggers memory leaks in libshare_nfs

Added by Marcel Telka almost 9 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
lib - userland libraries
Start date:
2014-06-10
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

# LD_PRELOAD_32=/usr/lib/fs/nfs/libshare_nfs.so.1 UMEM_DEBUG=default dtrace -32 -w -n 'pid$target::main:return {raise(6)}' -c "share -o log /tmp" 
dtrace: description 'pid$target::main:return ' matched 1 probe
dtrace: allowing destructive actions
AUTOFS plugin not installed properly
dtrace: pid 1196 terminated by SIGABRT

# echo "::findleaks" | mdb core
CACHE     LEAKED   BUFCTL CALLER
08075a10       1 080f3760 libc.so.1`strdup+0x2e
08075a10       1 080f3328 libc.so.1`strdup+0x2e
08075a10       1 080f33a0 libc.so.1`strdup+0x2e
08075a10       1 080f3850 libc.so.1`strdup+0x2e
08075a10       1 080f37d8 libc.so.1`strdup+0x2e
08075c10       1 080eda90 libc.so.1`strdup+0x2e
08075c10       1 080ed9a0 libc.so.1`strdup+0x2e
08075c10       1 080edbf8 libc.so.1`strdup+0x2e
08075c10       1 080edce8 libc.so.1`strdup+0x2e
08075e10       1 08166c78 libc.so.1`strdup+0x2e
08075e10       1 08166d68 libc.so.1`strdup+0x2e
08078010       1 080fa1f0 libc.so.1`strdup+0x2e
08075c10       1 080edc70 libshare_nfs.so.1`update_field+0x48
08075c10       1 080eda18 libshare_nfs.so.1`update_field+0x48
08075e10       1 08166c00 libshare_nfs.so.1`update_field+0x48
08075e10       1 08166cf0 libshare_nfs.so.1`update_field+0x48
08078010       1 080fa178 libshare_nfs.so.1`update_field+0x48
08078010       1 080fa100 libshare_nfs.so.1`update_field+0x48
------------------------------------------------------------------------
   Total      18 buffers, 472 bytes
#

No data to display

Actions

Also available in: Atom PDF