BSD Ports

devel/rubygem-ruby_memcheck 3.0.1 FreeBSD

Use Valgrind memcheck without going crazy

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, rubygems
Package size
15.4 KiB, 40.7 KiB installed

Description

ruby_memcheck provides a sane way to use Valgrind's memcheck on your native extension gem.

Valgrind's memcheck is a great tool to find and debug memory issues (e.g. memory leak, use-after-free, etc.). However, it doesn't work well on Ruby because Ruby does not free all of the memory it allocates during shutdown. This results in Valgrind reporting thousands (or more) false positives, making it very difficult for Valgrind to actually be useful. This gem solves the problem by using heuristics to filter out false positives.

Install

Binary package:

pkg install rubygem-ruby_memcheck

From the ports tree:

cd /usr/ports/devel/rubygem-ruby_memcheck/ && make install clean

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

RUN_DEPENDS=	rubygem-ruby_memcheck>0:devel/rubygem-ruby_memcheck

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.0.13.0.1--3.0.1
FreeBSD:14:quarterly3.0.13.0.1n/a-3.0.1
FreeBSD:15:latest3.0.13.0.1n/a-3.0.1
FreeBSD:15:quarterly3.0.13.0.1n/an/an/a
FreeBSD:16:latest3.0.13.0.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 18

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/ruby_memcheck-3.0.1.gem1689662d0f0fd20ed887d3269fd6507f6fe626657de4775e7c98acdcae4ff30448c80
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.