ruby_memcheck 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +3 -3
- data/README.md +3 -3
- data/lib/ruby_memcheck/version.rb +1 -1
- data/suppressions/ruby.supp +9 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 597a64c7109c460a09cfaa57715d6f26a50104e8137c5184d9bf5f658954d07f
|
4
|
+
data.tar.gz: e9524cbead271b0a5eb8abf85213c59d97d6629d1b6e2e2e3c03d0e94beb7970
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b38c33923e1370245b6184b5b4f16b993819bf02dc3fc76a4fc152c2ae10f50d4597b507983b5fafbbcc09933fd63e06c2c057f55f30c613ece717c68e74e45
|
7
|
+
data.tar.gz: 30a0d75f4268ee39cc34cf865bfb7a0414f4bb89ce10995fd8e55517cc8090761c4d21356e908b2d93adf97a5e8200019e577cb4ba61d2361e7caca5097b6049
|
data/.github/workflows/test.yml
CHANGED
@@ -23,9 +23,9 @@ jobs:
|
|
23
23
|
- run: sudo apt-get install -y libc6-dbg
|
24
24
|
- name: Install Valgrind from source
|
25
25
|
run: |
|
26
|
-
wget https://sourceware.org/pub/valgrind/valgrind-3.
|
27
|
-
tar xvf valgrind-3.
|
28
|
-
cd valgrind-3.
|
26
|
+
wget https://sourceware.org/pub/valgrind/valgrind-3.21.0.tar.bz2
|
27
|
+
tar xvf valgrind-3.21.0.tar.bz2
|
28
|
+
cd valgrind-3.21.0
|
29
29
|
./configure
|
30
30
|
make
|
31
31
|
sudo make install
|
data/README.md
CHANGED
@@ -61,9 +61,9 @@ gem install ruby_memcheck
|
|
61
61
|
> You can install Valgrind from source using the following commands:
|
62
62
|
> ```
|
63
63
|
> sudo apt-get install -y libc6-dbg
|
64
|
-
> wget https://sourceware.org/pub/valgrind/valgrind-3.
|
65
|
-
> tar xvf valgrind-3.
|
66
|
-
> cd valgrind-3.
|
64
|
+
> wget https://sourceware.org/pub/valgrind/valgrind-3.21.0.tar.bz2
|
65
|
+
> tar xvf valgrind-3.21.0.tar.bz2
|
66
|
+
> cd valgrind-3.21.0
|
67
67
|
> ./configure
|
68
68
|
> make
|
69
69
|
> sudo make install
|
data/suppressions/ruby.supp
CHANGED
@@ -12,13 +12,6 @@
|
|
12
12
|
fun:require_internal
|
13
13
|
...
|
14
14
|
}
|
15
|
-
{
|
16
|
-
Remove this after Ruby 2.7.7, 3.0.5, 3.1.3 are relased. See: https://github.com/Shopify/ruby_memcheck/issues/6
|
17
|
-
Memcheck:Leak
|
18
|
-
...
|
19
|
-
fun:stack_chunk_alloc
|
20
|
-
...
|
21
|
-
}
|
22
15
|
{
|
23
16
|
recursive_list_access creates a hash called `list` that is stored on the threadptr_recursive_hash. This is reported as a memory leak.
|
24
17
|
Memcheck:Leak
|
@@ -58,3 +51,12 @@
|
|
58
51
|
fun:strscan_do_scan
|
59
52
|
...
|
60
53
|
}
|
54
|
+
{
|
55
|
+
The callcache table (RCLASS_CC_TBL) is lazily created, so it is allocated when the first method that gets cached. If this happens in a native extension, it may be reported as a memory leak.
|
56
|
+
Memcheck:Leak
|
57
|
+
...
|
58
|
+
fun:rb_id_table_create
|
59
|
+
...
|
60
|
+
fun:rb_callable_method_entry
|
61
|
+
...
|
62
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_memcheck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Zhu
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|