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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-Test-LeakTrace | 0.17 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-Test-LeakTrace | 0.17 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Test-LeakTrace | 0.17 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/p5-Test-LeakTrace | 0.17nb6 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-Test-LeakTrace | 0.17 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Test-LeakTrace | 0.17 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Test-LeakTrace | 0.17 newest | no data | - | [email protected] | - |
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
| File | Size | SHA256 |
|---|---|---|
| Test-LeakTrace-0.17.tar.gz | 34126 | 777d64d2938f5ea586300eef97ef03eacb43d4c1853c9c3b1091eb3311467970 |
Master sites 1
- CPAN