ruby_memcheck 1.0.1 → 1.0.2

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: 6afc968d17cd1fabb39f254c3f2373534773e42b094345765c058538cc05b208
4
- data.tar.gz: fe3603ae51113b37d9e07b38e981c0ddab8e9b5059c8c8a797dbc21f5dd31b30
3
+ metadata.gz: d5d70104059dfe613b15fbb637b263ef6829e69e715d6cbeee472ab4715d0ae9
4
+ data.tar.gz: 1827ee868afd8bb2bc4929d82d0c8ebefea2c4ef43547f9c509a38fed693489d
5
5
  SHA512:
6
- metadata.gz: c4402ac65e791413b6e46abf296d21ca1bcd6277469a743a9f00fbadb3802993746ccdd89064de7171c1a4609c8162c245ef8d08d4314e0d598abb1a7f287585
7
- data.tar.gz: '08dfe5c75b6502f563b739d98c8821b3c199fe37dae0f1078158ffc4e43933d18bd508efd7901320c4ad254c4703cbf78ba1de7afe734122acf368d99503e7f7'
6
+ metadata.gz: d5b15eaaae74eb54957aaec9e460b59b07abdc0c922f2bb94f4e9f63504243caa2969a43c6dbfb075e51399c05fc1295ecb5996c381fd9f6ff9e10dae8d0dc4e
7
+ data.tar.gz: 9fa9bc3f6374ffdfc5e0c80b6bd22e13aa26300b3b171895cc729eded1b1a446400912ebfcdc08c9ef3ca5ad3bca851a9222b309e51e8d82aee2d0560e47dcc9
@@ -71,6 +71,13 @@ module RubyMemcheck
71
71
 
72
72
  def command(*args)
73
73
  [
74
+ # On some Rubies, not setting the stack size to be ulimited causes
75
+ # Valgrind to report the following error:
76
+ # Invalid write of size 1
77
+ # reserve_stack (thread_pthread.c:845)
78
+ # ruby_init_stack (thread_pthread.c:871)
79
+ # main (main.c:48)
80
+ "ulimit -s unlimited && ",
74
81
  valgrind,
75
82
  valgrind_options,
76
83
  get_valgrind_suppression_files(valgrind_suppressions_dir).map { |f| "--suppressions=#{f}" },
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyMemcheck
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
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: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Zhu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-03 00:00:00.000000000 Z
11
+ date: 2021-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri