BSD Ports

devel/p5-Test-LeakTrace 0.17 MidnightBSD

Traces memory leaks

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

Description

Test::LeakTrace provides several functions that trace memory leaks. This module scans arenas, the memory allocation system, so it can detect any leaked SVs in given blocks.

Leaked SVs are SVs which are not released after the end of the scope they have been created. These SVs include global variables and internal caches. For example, if you call a method in a tracing block, perl might prepare a cache for the method. Thus, to trace true leaks, no_leaks_ok() and leaks_cmp_ok() executes a block more than once.

In the other systems

The newest version among them is 0.17, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Test-LeakTrace0.17 newestno data-[email protected]-
FreeBSDdevel/p5-Test-LeakTrace0.17 newestnone known-[email protected]-
OpenBSDdevel/p5-Test-LeakTrace0.17 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-Test-LeakTrace0.17nb6 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Test-LeakTrace0.17 newestnone known-[email protected]-
HardenedBSDdevel/p5-Test-LeakTrace0.17 newestno data-[email protected]-
GhostBSDdevel/p5-Test-LeakTrace0.17 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Test-LeakTrace

From mports:

cd /usr/mports/devel/p5-Test-LeakTrace && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Test-LeakTrace>0:devel/p5-Test-LeakTrace

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 7
  • %%SITE_ARCH%%/Test/LeakTrace.pm
  • %%SITE_ARCH%%/Test/LeakTrace/JA.pod
  • %%SITE_ARCH%%/Test/LeakTrace/Script.pm
  • %%SITE_ARCH%%/auto/Test/LeakTrace/LeakTrace.so
  • %%PERL5_MAN3%%/Test::LeakTrace.3.gz
  • %%PERL5_MAN3%%/Test::LeakTrace::JA.3.gz
  • %%PERL5_MAN3%%/Test::LeakTrace::Script.3.gz
distinfo 1
FileSizeSHA256
Test-LeakTrace-0.17.tar.gz34126777d64d2938f5ea586300eef97ef03eacb43d4c1853c9c3b1091eb3311467970
Master sites 1
  • CPAN