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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16ee16450f130947ac172a2a7f7dcc7c0161fb3f7a851cd525e908533fed0ebc
4
- data.tar.gz: d3de0b6abf7d4c0e0226983fe45aa86403d0cfa3d28171d288c5ed29b0e276fb
3
+ metadata.gz: 597a64c7109c460a09cfaa57715d6f26a50104e8137c5184d9bf5f658954d07f
4
+ data.tar.gz: e9524cbead271b0a5eb8abf85213c59d97d6629d1b6e2e2e3c03d0e94beb7970
5
5
  SHA512:
6
- metadata.gz: aa62176e0585fecb9988d7f874b4207088317b1f97fa00a6b7d17e6336cabe0955a19957b34e6ce6efb496ee75a837b8eca3cc857733da6d7ecfe01e9ac05394
7
- data.tar.gz: 0e11133ec13c7e186aadb3bbcc99f85e0248c8891a66379bae6bd98836f4fc75f2928918382f94d14da650362c36a8283756e3a83ba37aff0e98ab226e6c17cb
6
+ metadata.gz: 2b38c33923e1370245b6184b5b4f16b993819bf02dc3fc76a4fc152c2ae10f50d4597b507983b5fafbbcc09933fd63e06c2c057f55f30c613ece717c68e74e45
7
+ data.tar.gz: 30a0d75f4268ee39cc34cf865bfb7a0414f4bb89ce10995fd8e55517cc8090761c4d21356e908b2d93adf97a5e8200019e577cb4ba61d2361e7caca5097b6049
@@ -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.20.0.tar.bz2
27
- tar xvf valgrind-3.20.0.tar.bz2
28
- cd valgrind-3.20.0
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.20.0.tar.bz2
65
- > tar xvf valgrind-3.20.0.tar.bz2
66
- > cd valgrind-3.20.0
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyMemcheck
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.1"
5
5
  end
@@ -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.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-04 00:00:00.000000000 Z
11
+ date: 2023-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri