Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2009 15:14:30 GMT
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/134617: New port: devel/lmdbg Lightweight malloc debugger
Message-ID:  <200905171514.n4HFEU6b094112@www.freebsd.org>
Resent-Message-ID: <200905171520.n4HFK28N029140@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134617
>Category:       ports
>Synopsis:       New port: devel/lmdbg Lightweight malloc debugger
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 17 15:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Mikolaj Golub
>Release:        
>Organization:
>Environment:
>Description:
LMDBG is a collection of small tools for collecting and analyzing the logs of malloc/realloc/memalign/free function calls. Unlike many others, LMDBG does not provide any way to detect overruns of the boundaries of malloc() memory allocations, as this is not the goal. Like most other malloc debuggers, LMDBG allows detecting memory leaks and double frees. However, unlike others, LMDBG generates full stacktraces and separates the logging process from analysis, thus allowing you to analyze an application on a per-module basis.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	lmdbg
#	lmdbg/pkg-descr
#	lmdbg/pkg-plist
#	lmdbg/Makefile
#	lmdbg/distinfo
#
echo c - lmdbg
mkdir -p lmdbg > /dev/null 2>&1
echo x - lmdbg/pkg-descr
sed 's/^X//' >lmdbg/pkg-descr << 'bfb7017c899d995fc20c93f61a94fabd'
XLMDBG is a collection of small tools for collecting and analyzing
Xthe logs of malloc/realloc/memalign/free function calls. Unlike many
Xothers, LMDBG does not provide any way to detect overruns of the
Xboundaries of malloc() memory allocations, as this is not the goal.
XLike most other malloc debuggers, LMDBG allows detecting memory leaks
Xand double frees. However, unlike others, LMDBG generates full
Xstacktraces and separates the logging process from analysis, thus
Xallowing you to analyze an application on a per-module basis.
X
XWWW: http://sourceforge.net/projects/lmdbg
XAuthor: Aleksey Cheusov (cheusov at users.sourceforge.net)
bfb7017c899d995fc20c93f61a94fabd
echo x - lmdbg/pkg-plist
sed 's/^X//' >lmdbg/pkg-plist << '163955746f4ff353417e0be6f9d0f46e'
Xlib/liblmdbg.a
Xlib/liblmdbg.la
Xlib/liblmdbg.so.0
Xlib/liblmdbg.so
Xbin/lmdbg-run
Xbin/lmdbg-sym
Xbin/lmdbg-leaks
Xbin/lmdbg-sysleaks
Xbin/lmdbg-leak-check
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X
163955746f4ff353417e0be6f9d0f46e
echo x - lmdbg/Makefile
sed 's/^X//' >lmdbg/Makefile << '28b205bb3e457c5aff47ab44e5d97288'
X# New ports collection makefile for:	lmdbg
X# Date created:				14 March 2009
X# Whom:					Mikolaj Golub <to.my.trociny@gmail.com>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	lmdbg
XPORTVERSION=	0.9.0
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	to.my.trociny@gmail.com
XCOMMENT=	Lightweight malloc debugger
X
XHAS_CONFIGURE=  yes
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README    ${DOCSDIR}
X	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/NEWS      ${DOCSDIR}
X	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/ChangeLog ${DOCSDIR}
X	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/TODO      ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
28b205bb3e457c5aff47ab44e5d97288
echo x - lmdbg/distinfo
sed 's/^X//' >lmdbg/distinfo << '59e9e2ccfa5161746ced939064f2579d'
XMD5 (lmdbg-0.9.0.tar.gz) = 6bfc0710cf6726dcc674697d93528742
XSHA256 (lmdbg-0.9.0.tar.gz) = 10c1bad1dbcf456591bc5324ea0d4d2648e42f56fbd94d996e3a690818e4913a
XSIZE (lmdbg-0.9.0.tar.gz) = 79069
59e9e2ccfa5161746ced939064f2579d
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905171514.n4HFEU6b094112>