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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.0.1 | 3.0.1 | - | - | 3.0.1 |
| FreeBSD:14:quarterly | 3.0.1 | 3.0.1 | n/a | - | 3.0.1 |
| FreeBSD:15:latest | 3.0.1 | 3.0.1 | n/a | - | 3.0.1 |
| FreeBSD:15:quarterly | 3.0.1 | 3.0.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.0.1 | 3.0.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 2
rubygem-nokogiri>=0: textproc/rubygem-nokogirivalgrind>=3.20.0,1: devel/valgrind
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
| File | Size | SHA256 |
|---|---|---|
| rubygem/ruby_memcheck-3.0.1.gem | 16896 | 62d0f0fd20ed887d3269fd6507f6fe626657de4775e7c98acdcae4ff30448c80 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.