hoe-debugging 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/CHANGELOG.rdoc +5 -0
- data/{README.rdoc → LICENSE} +1 -42
- data/Manifest.txt +16 -1
- data/README.md +42 -0
- data/Rakefile +10 -6
- data/lib/hoe/debugging.rb +8 -2
- data/spec/files/sample.log +974 -0
- data/spec/files/sample.supp +84 -0
- data/spec/files/test_project/Gemfile +7 -0
- data/spec/files/test_project/History.txt +6 -0
- data/spec/files/test_project/Manifest.txt +8 -0
- data/spec/files/test_project/README.txt +6 -0
- data/spec/files/test_project/Rakefile +28 -0
- data/spec/files/test_project/ext/test_project/extconf.rb +3 -0
- data/spec/files/test_project/ext/test_project/test_project.c +20 -0
- data/spec/files/test_project/test/test_test_project.rb +11 -0
- data/spec/hoe_debugging_exit_code_spec.rb +45 -0
- data/spec/hoe_debugging_valgrind_helper_spec.rb +98 -0
- data/spec/spec_helper.rb +3 -0
- metadata +65 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfa052d4d8e419305a6280beb720a4eba27feb8a
|
4
|
+
data.tar.gz: 2dc7714be6e94558807f4548e41792e14bffdb95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba1a0830b5e89b864b72b8c3fef07495f98b4393284df700a27f75043f497edc335a466a718f12b11d35e1cb4ada28d05c7e2a036f83d6dbea1e23101b206e4d
|
7
|
+
data.tar.gz: 91ccfc32a42b5e315e95885ec657a3a0896f55075fc1dac2ed2105d4d4e2e3afbe818803b054149b7fc2c5226c5c6716ef5e7b61f855aae5c196540d7d49936b
|
data/.rspec
ADDED
data/CHANGELOG.rdoc
CHANGED
data/{README.rdoc → LICENSE}
RENAMED
@@ -1,47 +1,6 @@
|
|
1
|
-
= hoe-debugging
|
2
|
-
|
3
|
-
* http://github.com/jbarnette/hoe-debugging
|
4
|
-
|
5
|
-
|
6
|
-
== Description
|
7
|
-
|
8
|
-
A Hoe plugin to help you debug your C extensions. This plugin provides
|
9
|
-
<tt>test:gdb</tt> and <tt>test:valgrind</tt> tasks (plus a few
|
10
|
-
variants).
|
11
|
-
|
12
|
-
See the Hoe::Debugging module for a few configuration options.
|
13
|
-
|
14
|
-
This plugin expects you to have <tt>gdb</tt> and <tt>valgrind</tt>
|
15
|
-
available in your <tt>PATH</tt>.
|
16
|
-
|
17
|
-
These tasks were extracted from nokogiri / johnson and originally written by
|
18
|
-
ruby legend, {Mike Dalessio}[http://mike.daless.io].
|
19
|
-
|
20
|
-
|
21
|
-
== Examples
|
22
|
-
|
23
|
-
# in your Rakefile
|
24
|
-
Hoe.plugin :debugging
|
25
|
-
|
26
|
-
# in your shell
|
27
|
-
$ rake test:gdb
|
28
|
-
$ rake test:valgrind
|
29
|
-
|
30
|
-
# if you've got valgrind warnings you've deemed OK to suppress
|
31
|
-
$ rake test:valgrind:suppression
|
32
|
-
$ rake test:valgrind # this runs, suppressing the errors previously emitted by valgrind
|
33
|
-
|
34
|
-
|
35
|
-
== Installation
|
36
|
-
|
37
|
-
$ gem install hoe-debugging
|
38
|
-
|
39
|
-
|
40
|
-
== License
|
41
|
-
|
42
1
|
(The MIT License)
|
43
2
|
|
44
|
-
Copyright 2009
|
3
|
+
Copyright 2009-present
|
45
4
|
|
46
5
|
* John Barnette (jbarnette@rubyforge.org)
|
47
6
|
* {Aaron Patterson}[http://tenderlovemaking.com/]
|
data/Manifest.txt
CHANGED
@@ -1,5 +1,20 @@
|
|
1
|
+
.rspec
|
1
2
|
CHANGELOG.rdoc
|
3
|
+
LICENSE
|
2
4
|
Manifest.txt
|
3
|
-
README.
|
5
|
+
README.md
|
4
6
|
Rakefile
|
5
7
|
lib/hoe/debugging.rb
|
8
|
+
spec/files/sample.log
|
9
|
+
spec/files/sample.supp
|
10
|
+
spec/files/test_project/Gemfile
|
11
|
+
spec/files/test_project/History.txt
|
12
|
+
spec/files/test_project/Manifest.txt
|
13
|
+
spec/files/test_project/README.txt
|
14
|
+
spec/files/test_project/Rakefile
|
15
|
+
spec/files/test_project/ext/test_project/extconf.rb
|
16
|
+
spec/files/test_project/ext/test_project/test_project.c
|
17
|
+
spec/files/test_project/test/test_test_project.rb
|
18
|
+
spec/hoe_debugging_exit_code_spec.rb
|
19
|
+
spec/hoe_debugging_valgrind_helper_spec.rb
|
20
|
+
spec/spec_helper.rb
|
data/README.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# hoe-debugging
|
2
|
+
|
3
|
+
* http://github.com/jbarnette/hoe-debugging
|
4
|
+
|
5
|
+
|
6
|
+
## Description
|
7
|
+
|
8
|
+
A Hoe plugin to help you debug your C extensions. This plugin provides `test:gdb` and `test:valgrind` tasks (plus a few variants).
|
9
|
+
|
10
|
+
See the `Hoe::Debugging` module for a few configuration options.
|
11
|
+
|
12
|
+
This plugin expects you to have `gdb` and `valgrind` available in your `PATH`.
|
13
|
+
|
14
|
+
|
15
|
+
## Examples
|
16
|
+
|
17
|
+
```
|
18
|
+
# in your Rakefile
|
19
|
+
Hoe.plugin :debugging
|
20
|
+
|
21
|
+
# in your shell
|
22
|
+
$ rake test:gdb
|
23
|
+
$ rake test:valgrind
|
24
|
+
|
25
|
+
# if you've got valgrind warnings you've deemed OK to suppress
|
26
|
+
$ rake test:valgrind:suppression
|
27
|
+
$ rake test:valgrind # this runs, suppressing the errors previously emitted by valgrind
|
28
|
+
```
|
29
|
+
|
30
|
+
|
31
|
+
## Installation
|
32
|
+
|
33
|
+
```
|
34
|
+
$ gem install hoe-debugging
|
35
|
+
```
|
36
|
+
|
37
|
+
You should also use your distro's package manager to install `gdb` and `valgrind`.
|
38
|
+
|
39
|
+
|
40
|
+
## License
|
41
|
+
|
42
|
+
MIT. See `LICENSE` file in this repository.
|
data/Rakefile
CHANGED
@@ -11,13 +11,17 @@ Hoe.spec "hoe-debugging" do
|
|
11
11
|
|
12
12
|
self.extra_rdoc_files = FileList["*.rdoc"]
|
13
13
|
self.history_file = "CHANGELOG.rdoc"
|
14
|
-
self.readme_file = "README.
|
14
|
+
self.readme_file = "README.md"
|
15
15
|
|
16
16
|
license "MIT"
|
17
17
|
|
18
|
-
extra_dev_deps << ["
|
19
|
-
extra_dev_deps << ["
|
20
|
-
extra_dev_deps << ["hoe-
|
21
|
-
extra_dev_deps << ["hoe-gemspec",
|
22
|
-
extra_dev_deps << ["hoe-
|
18
|
+
extra_dev_deps << ["bundler", ">= 0"]
|
19
|
+
extra_dev_deps << ["hoe", "~> 3.1"]
|
20
|
+
extra_dev_deps << ["hoe-bundler", ">= 0"]
|
21
|
+
extra_dev_deps << ["hoe-gemspec", ">= 0"]
|
22
|
+
extra_dev_deps << ["hoe-git", ">= 0"]
|
23
|
+
extra_dev_deps << ["rake-compiler", ">= 0"]
|
24
|
+
extra_dev_deps << ["rspec", "~> 3.5.0"]
|
23
25
|
end
|
26
|
+
|
27
|
+
task "spec" => ["bundler:gemfile", "gem:spec"] # so the integration tests work
|
data/lib/hoe/debugging.rb
CHANGED
@@ -10,7 +10,11 @@ class Hoe #:nodoc:
|
|
10
10
|
# * <tt>test:valgrind:mem0</tt>
|
11
11
|
|
12
12
|
module Debugging
|
13
|
-
VERSION = "1.
|
13
|
+
VERSION = "1.3.0" #:nodoc:
|
14
|
+
|
15
|
+
##
|
16
|
+
# The exit code of valgrind when it detects an error.
|
17
|
+
ERROR_EXITCODE = 42 # the answer to life, the universe, and segfaulting.
|
14
18
|
|
15
19
|
##
|
16
20
|
# Optional: Used to add flags to GDB. [default: <tt>[]</tt>]
|
@@ -30,7 +34,9 @@ class Hoe #:nodoc:
|
|
30
34
|
self.valgrind_options = ["--num-callers=50",
|
31
35
|
"--error-limit=no",
|
32
36
|
"--partial-loads-ok=yes",
|
33
|
-
"--undef-value-errors=no"
|
37
|
+
"--undef-value-errors=no",
|
38
|
+
"--error-exitcode=#{ERROR_EXITCODE}",
|
39
|
+
]
|
34
40
|
end
|
35
41
|
|
36
42
|
def hoe_debugging_ruby
|
@@ -0,0 +1,974 @@
|
|
1
|
+
==26723== Memcheck, a memory error detector
|
2
|
+
==26723== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
|
3
|
+
==26723== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
|
4
|
+
==26723== Command: /home/miked/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -w -I.:lib:bin:test:. -e require\ "rubygems";\ require\ "minitest/autorun";\ require\ "test/html/test_named_characters.rb";\ require\ "test/html/sax/test_parser_context.rb";\ require\ "test/html/sax/test_parser.rb";\ require\ "test/html/test_node.rb";\ require\ "test/html/test_document_encoding.rb";\ require\ "test/html/test_document_fragment.rb";\ require\ "test/html/test_node_encoding.rb";\ require\ "test/html/test_builder.rb";\ require\ "test/html/test_document.rb";\ require\ "test/html/test_element_description.rb";\ require\ "test/test_soap4r_sax.rb";\ require\ "test/css/test_nthiness.rb";\ require\ "test/css/test_xpath_visitor.rb";\ require\ "test/css/test_parser.rb";\ require\ "test/css/test_tokenizer.rb";\ require\ "test/test_nokogiri.rb";\ require\ "test/xml/test_cdata.rb";\ require\ "test/xml/test_xpath.rb";\ require\ "test/xml/test_node_reparenting.rb";\ require\ "test/xml/test_syntax_error.rb";\ require\ "test/xml/test_parse_options.rb";\ require\ "test/xml/test_dtd.rb";\ require\ "test/xml/sax/test_push_parser.rb";\ require\ "test/xml/sax/test_parser_context.rb";\ require\ "test/xml/sax/test_parser.rb";\ require\ "test/xml/test_element_decl.rb";\ require\ "test/xml/test_node.rb";\ require\ "test/xml/test_document_encoding.rb";\ require\ "test/xml/test_reader_encoding.rb";\ require\ "test/xml/test_document_fragment.rb";\ require\ "test/xml/test_comment.rb";\ require\ "test/xml/test_node_inheritance.rb";\ require\ "test/xml/test_processing_instruction.rb";\ require\ "test/xml/test_schema.rb";\ require\ "test/xml/test_node_set.rb";\ require\ "test/xml/test_element_content.rb";\ require\ "test/xml/test_c14n.rb";\ require\ "test/xml/test_unparented_node.rb";\ require\ "test/xml/test_xinclude.rb";\ require\ "test/xml/test_entity_reference.rb";\ require\ "test/xml/test_node_encoding.rb";\ require\ "test/xml/test_attribute_decl.rb";\ require\ "test/xml/test_builder.rb";\ require\ "test/xml/test_text.rb";\ require\ "test/xml/node/test_save_options.rb";\ require\ "test/xml/node/test_subclass.rb";\ require\ "test/xml/test_document.rb";\ require\ "test/xml/test_node_attributes.rb";\ require\ "test/xml/test_attr.rb";\ require\ "test/xml/test_relax_ng.rb";\ require\ "test/xml/test_namespace.rb";\ require\ "test/xml/test_entity_decl.rb";\ require\ "test/xml/test_dtd_encoding.rb";\ require\ "test/decorators/test_slop.rb";\ require\ "test/test_convert_xpath.rb";\ require\ "test/test_memory_leak.rb";\ require\ "test/test_reader.rb";\ require\ "test/test_css_cache.rb";\ require\ "test/test_encoding_handler.rb";\ require\ "test/xslt/test_exception_handling.rb";\ require\ "test/xslt/test_custom_functions.rb";\ require\ "test/test_xslt_transforms.rb" --
|
5
|
+
==26723==
|
6
|
+
==26723== Invalid read of size 4
|
7
|
+
==26723== at 0x4E861D3: glob_helper (dir.c:1139)
|
8
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
9
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
10
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
11
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
12
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
13
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
14
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
15
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
16
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
17
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
18
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
19
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
20
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
21
|
+
==26723== by 0x4E89BBC: enum_find_all (enum.c:329)
|
22
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
23
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
24
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
25
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
26
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
27
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
28
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
29
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
30
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
31
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
32
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
33
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
34
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
35
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
36
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
37
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
38
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
39
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
40
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
41
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
42
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
43
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
44
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
45
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
46
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
47
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
48
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
49
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
50
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
51
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
52
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
53
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
54
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
55
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
56
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
57
|
+
==26723== Address 0x7d47ffc is 60 bytes inside a block of size 61 alloc'd
|
58
|
+
==26723== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
59
|
+
==26723== by 0x4E85F0F: glob_helper (dir.c:1445)
|
60
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
61
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
62
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
63
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
64
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
65
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
66
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
67
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
68
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
69
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
70
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
71
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
72
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
73
|
+
==26723== by 0x4E89BBC: enum_find_all (enum.c:329)
|
74
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
75
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
76
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
77
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
78
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
79
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
80
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
81
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
82
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
83
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
84
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
85
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
86
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
87
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
88
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
89
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
90
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
91
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
92
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
93
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
94
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
95
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
96
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
97
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
98
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
99
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
100
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
101
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
102
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
103
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
104
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
105
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
106
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
107
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
108
|
+
==26723==
|
109
|
+
{
|
110
|
+
<insert_a_suppression_name_here>
|
111
|
+
Memcheck:Addr4
|
112
|
+
fun:glob_helper
|
113
|
+
fun:ruby_glob0
|
114
|
+
fun:rb_push_glob
|
115
|
+
fun:vm_call_method
|
116
|
+
fun:vm_exec_core
|
117
|
+
fun:vm_exec
|
118
|
+
fun:rb_yield
|
119
|
+
fun:rb_ary_each
|
120
|
+
fun:vm_call_method
|
121
|
+
fun:vm_exec_core
|
122
|
+
fun:vm_exec
|
123
|
+
fun:vm_call0
|
124
|
+
fun:rb_iterate
|
125
|
+
fun:rb_block_call
|
126
|
+
fun:enum_find_all
|
127
|
+
fun:vm_call_method
|
128
|
+
fun:vm_exec_core
|
129
|
+
fun:vm_exec
|
130
|
+
fun:vm_call0
|
131
|
+
fun:rb_class_new_instance
|
132
|
+
fun:vm_call_method
|
133
|
+
fun:vm_exec_core
|
134
|
+
fun:vm_exec
|
135
|
+
fun:vm_call0
|
136
|
+
}
|
137
|
+
==26723== Invalid read of size 4
|
138
|
+
==26723== at 0x4E85FCC: glob_helper (dir.c:1252)
|
139
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
140
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
141
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
142
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
143
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
144
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
145
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
146
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
147
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
148
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
149
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
150
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
151
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
152
|
+
==26723== by 0x4E89BBC: enum_find_all (enum.c:329)
|
153
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
154
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
155
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
156
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
157
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
158
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
159
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
160
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
161
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
162
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
163
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
164
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
165
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
166
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
167
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
168
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
169
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
170
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
171
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
172
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
173
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
174
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
175
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
176
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
177
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
178
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
179
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
180
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
181
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
182
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
183
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
184
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
185
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
186
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
187
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
188
|
+
==26723== Address 0x7d47ffc is 60 bytes inside a block of size 61 alloc'd
|
189
|
+
==26723== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
190
|
+
==26723== by 0x4E85F0F: glob_helper (dir.c:1445)
|
191
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
192
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
193
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
194
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
195
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
196
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
197
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
198
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
199
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
200
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
201
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
202
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
203
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
204
|
+
==26723== by 0x4E89BBC: enum_find_all (enum.c:329)
|
205
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
206
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
207
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
208
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
209
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
210
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
211
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
212
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
213
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
214
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
215
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
216
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
217
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
218
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
219
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
220
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
221
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
222
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
223
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
224
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
225
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
226
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
227
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
228
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
229
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
230
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
231
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
232
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
233
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
234
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
235
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
236
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
237
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
238
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
239
|
+
==26723==
|
240
|
+
{
|
241
|
+
<insert_a_suppression_name_here>
|
242
|
+
Memcheck:Addr4
|
243
|
+
fun:glob_helper
|
244
|
+
fun:ruby_glob0
|
245
|
+
fun:rb_push_glob
|
246
|
+
fun:vm_call_method
|
247
|
+
fun:vm_exec_core
|
248
|
+
fun:vm_exec
|
249
|
+
fun:rb_yield
|
250
|
+
fun:rb_ary_each
|
251
|
+
fun:vm_call_method
|
252
|
+
fun:vm_exec_core
|
253
|
+
fun:vm_exec
|
254
|
+
fun:vm_call0
|
255
|
+
fun:rb_iterate
|
256
|
+
fun:rb_block_call
|
257
|
+
fun:enum_find_all
|
258
|
+
fun:vm_call_method
|
259
|
+
fun:vm_exec_core
|
260
|
+
fun:vm_exec
|
261
|
+
fun:vm_call0
|
262
|
+
fun:rb_class_new_instance
|
263
|
+
fun:vm_call_method
|
264
|
+
fun:vm_exec_core
|
265
|
+
fun:vm_exec
|
266
|
+
fun:vm_call0
|
267
|
+
}
|
268
|
+
==26723== Invalid read of size 4
|
269
|
+
==26723== at 0x4E861E8: glob_helper (dir.c:1139)
|
270
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
271
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
272
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
273
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
274
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
275
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
276
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
277
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
278
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
279
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
280
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
281
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
282
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
283
|
+
==26723== by 0x4E89BBC: enum_find_all (enum.c:329)
|
284
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
285
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
286
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
287
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
288
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
289
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
290
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
291
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
292
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
293
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
294
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
295
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
296
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
297
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
298
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
299
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
300
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
301
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
302
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
303
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
304
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
305
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
306
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
307
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
308
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
309
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
310
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
311
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
312
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
313
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
314
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
315
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
316
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
317
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
318
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
319
|
+
==26723== Address 0x82d56b8 is 56 bytes inside a block of size 59 alloc'd
|
320
|
+
==26723== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
321
|
+
==26723== by 0x4E85F0F: glob_helper (dir.c:1445)
|
322
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
323
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
324
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
325
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
326
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
327
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
328
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
329
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
330
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
331
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
332
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
333
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
334
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
335
|
+
==26723== by 0x4E89BBC: enum_find_all (enum.c:329)
|
336
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
337
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
338
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
339
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
340
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
341
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
342
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
343
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
344
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
345
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
346
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
347
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
348
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
349
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
350
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
351
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
352
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
353
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
354
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
355
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
356
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
357
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
358
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
359
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
360
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
361
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
362
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
363
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
364
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
365
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
366
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
367
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
368
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
369
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
370
|
+
==26723==
|
371
|
+
{
|
372
|
+
<insert_a_suppression_name_here>
|
373
|
+
Memcheck:Addr4
|
374
|
+
fun:glob_helper
|
375
|
+
fun:ruby_glob0
|
376
|
+
fun:rb_push_glob
|
377
|
+
fun:vm_call_method
|
378
|
+
fun:vm_exec_core
|
379
|
+
fun:vm_exec
|
380
|
+
fun:rb_yield
|
381
|
+
fun:rb_ary_each
|
382
|
+
fun:vm_call_method
|
383
|
+
fun:vm_exec_core
|
384
|
+
fun:vm_exec
|
385
|
+
fun:vm_call0
|
386
|
+
fun:rb_iterate
|
387
|
+
fun:rb_block_call
|
388
|
+
fun:enum_find_all
|
389
|
+
fun:vm_call_method
|
390
|
+
fun:vm_exec_core
|
391
|
+
fun:vm_exec
|
392
|
+
fun:vm_call0
|
393
|
+
fun:rb_class_new_instance
|
394
|
+
fun:vm_call_method
|
395
|
+
fun:vm_exec_core
|
396
|
+
fun:vm_exec
|
397
|
+
fun:vm_call0
|
398
|
+
}
|
399
|
+
==26723== Invalid read of size 4
|
400
|
+
==26723== at 0x4E85FE1: glob_helper (dir.c:1252)
|
401
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
402
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
403
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
404
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
405
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
406
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
407
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
408
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
409
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
410
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
411
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
412
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
413
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
414
|
+
==26723== by 0x4E89BBC: enum_find_all (enum.c:329)
|
415
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
416
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
417
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
418
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
419
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
420
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
421
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
422
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
423
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
424
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
425
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
426
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
427
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
428
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
429
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
430
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
431
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
432
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
433
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
434
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
435
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
436
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
437
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
438
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
439
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
440
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
441
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
442
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
443
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
444
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
445
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
446
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
447
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
448
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
449
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
450
|
+
==26723== Address 0x82d56b8 is 56 bytes inside a block of size 59 alloc'd
|
451
|
+
==26723== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
452
|
+
==26723== by 0x4E85F0F: glob_helper (dir.c:1445)
|
453
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
454
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
455
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
456
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
457
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
458
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
459
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
460
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
461
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
462
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
463
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
464
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
465
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
466
|
+
==26723== by 0x4E89BBC: enum_find_all (enum.c:329)
|
467
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
468
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
469
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
470
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
471
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
472
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
473
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
474
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
475
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
476
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
477
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
478
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
479
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
480
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
481
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
482
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
483
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
484
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
485
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
486
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
487
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
488
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
489
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
490
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
491
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
492
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
493
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
494
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
495
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
496
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
497
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
498
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
499
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
500
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
501
|
+
==26723==
|
502
|
+
{
|
503
|
+
<insert_a_suppression_name_here>
|
504
|
+
Memcheck:Addr4
|
505
|
+
fun:glob_helper
|
506
|
+
fun:ruby_glob0
|
507
|
+
fun:rb_push_glob
|
508
|
+
fun:vm_call_method
|
509
|
+
fun:vm_exec_core
|
510
|
+
fun:vm_exec
|
511
|
+
fun:rb_yield
|
512
|
+
fun:rb_ary_each
|
513
|
+
fun:vm_call_method
|
514
|
+
fun:vm_exec_core
|
515
|
+
fun:vm_exec
|
516
|
+
fun:vm_call0
|
517
|
+
fun:rb_iterate
|
518
|
+
fun:rb_block_call
|
519
|
+
fun:enum_find_all
|
520
|
+
fun:vm_call_method
|
521
|
+
fun:vm_exec_core
|
522
|
+
fun:vm_exec
|
523
|
+
fun:vm_call0
|
524
|
+
fun:rb_class_new_instance
|
525
|
+
fun:vm_call_method
|
526
|
+
fun:vm_exec_core
|
527
|
+
fun:vm_exec
|
528
|
+
fun:vm_call0
|
529
|
+
}
|
530
|
+
/home/miked/.rvm/gems/ruby-1.9.3-p194@nokogiri/gems/bundler-1.2.1/lib/bundler/definition.rb:233: warning: assigned but unused variable - e
|
531
|
+
/home/miked/.rvm/gems/ruby-1.9.3-p194@nokogiri/gems/bundler-1.2.1/lib/bundler/source.rb:516: warning: method redefined; discarding old revision
|
532
|
+
==26723== Invalid read of size 4
|
533
|
+
==26723== at 0x4E861E8: glob_helper (dir.c:1139)
|
534
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
535
|
+
==26723== by 0x4E86EA6: ruby_brace_expand.constprop.7 (dir.c:1620)
|
536
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
537
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
538
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
539
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
540
|
+
==26723== by 0x4E88BFD: any_iter_i (enum.c:992)
|
541
|
+
==26723== by 0x4F9BA5D: vm_yield_with_cfunc (vm_insnhelper.c:739)
|
542
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
543
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
544
|
+
==26723== by 0x4FA4BF6: vm_call0 (vm_eval.c:79)
|
545
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
546
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
547
|
+
==26723== by 0x4E8820F: enum_any (enum.c:1024)
|
548
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
549
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
550
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
551
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
552
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
553
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
554
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
555
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
556
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
557
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
558
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
559
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
560
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
561
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
562
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
563
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
564
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
565
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
566
|
+
==26723== by 0x4E97538: ruby_options (eval.c:73)
|
567
|
+
==26723== by 0x4007F2: main (main.c:38)
|
568
|
+
==26723== Address 0x953bd60 is 32 bytes inside a block of size 34 alloc'd
|
569
|
+
==26723== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
570
|
+
==26723== by 0x4E85F0F: glob_helper (dir.c:1445)
|
571
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
572
|
+
==26723== by 0x4E86EA6: ruby_brace_expand.constprop.7 (dir.c:1620)
|
573
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
574
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
575
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
576
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
577
|
+
==26723== by 0x4E88BFD: any_iter_i (enum.c:992)
|
578
|
+
==26723== by 0x4F9BA5D: vm_yield_with_cfunc (vm_insnhelper.c:739)
|
579
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
580
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
581
|
+
==26723== by 0x4FA4BF6: vm_call0 (vm_eval.c:79)
|
582
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
583
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
584
|
+
==26723== by 0x4E8820F: enum_any (enum.c:1024)
|
585
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
586
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
587
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
588
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
589
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
590
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
591
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
592
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
593
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
594
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
595
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
596
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
597
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
598
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
599
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
600
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
601
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
602
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
603
|
+
==26723== by 0x4E97538: ruby_options (eval.c:73)
|
604
|
+
==26723== by 0x4007F2: main (main.c:38)
|
605
|
+
==26723==
|
606
|
+
{
|
607
|
+
<insert_a_suppression_name_here>
|
608
|
+
Memcheck:Addr4
|
609
|
+
fun:glob_helper
|
610
|
+
fun:ruby_glob0
|
611
|
+
fun:ruby_brace_expand.constprop.7
|
612
|
+
fun:rb_push_glob
|
613
|
+
fun:vm_call_method
|
614
|
+
fun:vm_exec_core
|
615
|
+
fun:vm_exec
|
616
|
+
fun:any_iter_i
|
617
|
+
fun:vm_yield_with_cfunc
|
618
|
+
fun:rb_yield
|
619
|
+
fun:rb_ary_each
|
620
|
+
fun:vm_call0
|
621
|
+
fun:rb_iterate
|
622
|
+
fun:rb_block_call
|
623
|
+
fun:enum_any
|
624
|
+
fun:vm_call_method
|
625
|
+
fun:vm_exec_core
|
626
|
+
fun:vm_exec
|
627
|
+
fun:vm_call0
|
628
|
+
fun:rb_class_new_instance
|
629
|
+
fun:vm_call_method
|
630
|
+
fun:vm_exec_core
|
631
|
+
fun:vm_exec
|
632
|
+
fun:rb_iseq_eval
|
633
|
+
}
|
634
|
+
==26723== Invalid read of size 4
|
635
|
+
==26723== at 0x4E85FE1: glob_helper (dir.c:1252)
|
636
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
637
|
+
==26723== by 0x4E86EA6: ruby_brace_expand.constprop.7 (dir.c:1620)
|
638
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
639
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
640
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
641
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
642
|
+
==26723== by 0x4E88BFD: any_iter_i (enum.c:992)
|
643
|
+
==26723== by 0x4F9BA5D: vm_yield_with_cfunc (vm_insnhelper.c:739)
|
644
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
645
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
646
|
+
==26723== by 0x4FA4BF6: vm_call0 (vm_eval.c:79)
|
647
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
648
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
649
|
+
==26723== by 0x4E8820F: enum_any (enum.c:1024)
|
650
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
651
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
652
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
653
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
654
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
655
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
656
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
657
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
658
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
659
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
660
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
661
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
662
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
663
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
664
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
665
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
666
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
667
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
668
|
+
==26723== by 0x4E97538: ruby_options (eval.c:73)
|
669
|
+
==26723== by 0x4007F2: main (main.c:38)
|
670
|
+
==26723== Address 0x953bd60 is 32 bytes inside a block of size 34 alloc'd
|
671
|
+
==26723== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
672
|
+
==26723== by 0x4E85F0F: glob_helper (dir.c:1445)
|
673
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
674
|
+
==26723== by 0x4E86EA6: ruby_brace_expand.constprop.7 (dir.c:1620)
|
675
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
676
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
677
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
678
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
679
|
+
==26723== by 0x4E88BFD: any_iter_i (enum.c:992)
|
680
|
+
==26723== by 0x4F9BA5D: vm_yield_with_cfunc (vm_insnhelper.c:739)
|
681
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
682
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
683
|
+
==26723== by 0x4FA4BF6: vm_call0 (vm_eval.c:79)
|
684
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
685
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
686
|
+
==26723== by 0x4E8820F: enum_any (enum.c:1024)
|
687
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
688
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
689
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
690
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
691
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
692
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
693
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
694
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
695
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
696
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
697
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
698
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
699
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
700
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
701
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
702
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
703
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
704
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
705
|
+
==26723== by 0x4E97538: ruby_options (eval.c:73)
|
706
|
+
==26723== by 0x4007F2: main (main.c:38)
|
707
|
+
==26723==
|
708
|
+
{
|
709
|
+
<insert_a_suppression_name_here>
|
710
|
+
Memcheck:Addr4
|
711
|
+
fun:glob_helper
|
712
|
+
fun:ruby_glob0
|
713
|
+
fun:ruby_brace_expand.constprop.7
|
714
|
+
fun:rb_push_glob
|
715
|
+
fun:vm_call_method
|
716
|
+
fun:vm_exec_core
|
717
|
+
fun:vm_exec
|
718
|
+
fun:any_iter_i
|
719
|
+
fun:vm_yield_with_cfunc
|
720
|
+
fun:rb_yield
|
721
|
+
fun:rb_ary_each
|
722
|
+
fun:vm_call0
|
723
|
+
fun:rb_iterate
|
724
|
+
fun:rb_block_call
|
725
|
+
fun:enum_any
|
726
|
+
fun:vm_call_method
|
727
|
+
fun:vm_exec_core
|
728
|
+
fun:vm_exec
|
729
|
+
fun:vm_call0
|
730
|
+
fun:rb_class_new_instance
|
731
|
+
fun:vm_call_method
|
732
|
+
fun:vm_exec_core
|
733
|
+
fun:vm_exec
|
734
|
+
fun:rb_iseq_eval
|
735
|
+
}
|
736
|
+
==26723== Invalid read of size 4
|
737
|
+
==26723== at 0x4E861E8: glob_helper (dir.c:1139)
|
738
|
+
==26723== by 0x4E860B7: glob_helper (dir.c:1474)
|
739
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
740
|
+
==26723== by 0x4E86EA6: ruby_brace_expand.constprop.7 (dir.c:1620)
|
741
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
742
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
743
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
744
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
745
|
+
==26723== by 0x4E88BFD: any_iter_i (enum.c:992)
|
746
|
+
==26723== by 0x4F9BA5D: vm_yield_with_cfunc (vm_insnhelper.c:739)
|
747
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
748
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
749
|
+
==26723== by 0x4FA4BF6: vm_call0 (vm_eval.c:79)
|
750
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
751
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
752
|
+
==26723== by 0x4E8820F: enum_any (enum.c:1024)
|
753
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
754
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
755
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
756
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
757
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
758
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
759
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
760
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
761
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
762
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
763
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
764
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
765
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
766
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
767
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
768
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
769
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
770
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
771
|
+
==26723== by 0x4E97538: ruby_options (eval.c:73)
|
772
|
+
==26723== by 0x4007F2: main (main.c:38)
|
773
|
+
==26723== Address 0x9455a48 is 8 bytes inside a block of size 9 alloc'd
|
774
|
+
==26723== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
775
|
+
==26723== by 0x4E85F0F: glob_helper (dir.c:1445)
|
776
|
+
==26723== by 0x4E860B7: glob_helper (dir.c:1474)
|
777
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
778
|
+
==26723== by 0x4E86EA6: ruby_brace_expand.constprop.7 (dir.c:1620)
|
779
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
780
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
781
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
782
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
783
|
+
==26723== by 0x4E88BFD: any_iter_i (enum.c:992)
|
784
|
+
==26723== by 0x4F9BA5D: vm_yield_with_cfunc (vm_insnhelper.c:739)
|
785
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
786
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
787
|
+
==26723== by 0x4FA4BF6: vm_call0 (vm_eval.c:79)
|
788
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
789
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
790
|
+
==26723== by 0x4E8820F: enum_any (enum.c:1024)
|
791
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
792
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
793
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
794
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
795
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
796
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
797
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
798
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
799
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
800
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
801
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
802
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
803
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
804
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
805
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
806
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
807
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
808
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
809
|
+
==26723== by 0x4E97538: ruby_options (eval.c:73)
|
810
|
+
==26723== by 0x4007F2: main (main.c:38)
|
811
|
+
==26723==
|
812
|
+
{
|
813
|
+
<insert_a_suppression_name_here>
|
814
|
+
Memcheck:Addr4
|
815
|
+
fun:glob_helper
|
816
|
+
fun:glob_helper
|
817
|
+
fun:ruby_glob0
|
818
|
+
fun:ruby_brace_expand.constprop.7
|
819
|
+
fun:rb_push_glob
|
820
|
+
fun:vm_call_method
|
821
|
+
fun:vm_exec_core
|
822
|
+
fun:vm_exec
|
823
|
+
fun:any_iter_i
|
824
|
+
fun:vm_yield_with_cfunc
|
825
|
+
fun:rb_yield
|
826
|
+
fun:rb_ary_each
|
827
|
+
fun:vm_call0
|
828
|
+
fun:rb_iterate
|
829
|
+
fun:rb_block_call
|
830
|
+
fun:enum_any
|
831
|
+
fun:vm_call_method
|
832
|
+
fun:vm_exec_core
|
833
|
+
fun:vm_exec
|
834
|
+
fun:vm_call0
|
835
|
+
fun:rb_class_new_instance
|
836
|
+
fun:vm_call_method
|
837
|
+
fun:vm_exec_core
|
838
|
+
fun:vm_exec
|
839
|
+
}
|
840
|
+
==26723== Invalid read of size 4
|
841
|
+
==26723== at 0x4E85FE1: glob_helper (dir.c:1252)
|
842
|
+
==26723== by 0x4E860B7: glob_helper (dir.c:1474)
|
843
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
844
|
+
==26723== by 0x4E86EA6: ruby_brace_expand.constprop.7 (dir.c:1620)
|
845
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
846
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
847
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
848
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
849
|
+
==26723== by 0x4E88BFD: any_iter_i (enum.c:992)
|
850
|
+
==26723== by 0x4F9BA5D: vm_yield_with_cfunc (vm_insnhelper.c:739)
|
851
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
852
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
853
|
+
==26723== by 0x4FA4BF6: vm_call0 (vm_eval.c:79)
|
854
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
855
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
856
|
+
==26723== by 0x4E8820F: enum_any (enum.c:1024)
|
857
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
858
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
859
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
860
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
861
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
862
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
863
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
864
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
865
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
866
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
867
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
868
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
869
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
870
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
871
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
872
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
873
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
874
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
875
|
+
==26723== by 0x4E97538: ruby_options (eval.c:73)
|
876
|
+
==26723== by 0x4007F2: main (main.c:38)
|
877
|
+
==26723== Address 0x9455a48 is 8 bytes inside a block of size 9 alloc'd
|
878
|
+
==26723== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
879
|
+
==26723== by 0x4E85F0F: glob_helper (dir.c:1445)
|
880
|
+
==26723== by 0x4E860B7: glob_helper (dir.c:1474)
|
881
|
+
==26723== by 0x4E86B0B: ruby_glob0 (dir.c:1516)
|
882
|
+
==26723== by 0x4E86EA6: ruby_brace_expand.constprop.7 (dir.c:1620)
|
883
|
+
==26723== by 0x4E87194: rb_push_glob (dir.c:1655)
|
884
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
885
|
+
==26723== by 0x4F9E3F5: vm_exec_core (insns.def:1899)
|
886
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
887
|
+
==26723== by 0x4E88BFD: any_iter_i (enum.c:992)
|
888
|
+
==26723== by 0x4F9BA5D: vm_yield_with_cfunc (vm_insnhelper.c:739)
|
889
|
+
==26723== by 0x4FA8EB6: rb_yield (vm.c:654)
|
890
|
+
==26723== by 0x4E5DE41: rb_ary_each (array.c:1478)
|
891
|
+
==26723== by 0x4FA4BF6: vm_call0 (vm_eval.c:79)
|
892
|
+
==26723== by 0x4F9AB91: rb_iterate (vm_eval.c:882)
|
893
|
+
==26723== by 0x4F9AD4C: rb_block_call (vm_eval.c:962)
|
894
|
+
==26723== by 0x4E8820F: enum_any (enum.c:1024)
|
895
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
896
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
897
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
898
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
899
|
+
==26723== by 0x4EDF86F: rb_class_new_instance (object.c:1636)
|
900
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
901
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
902
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
903
|
+
==26723== by 0x4FA995F: rb_iseq_eval (vm.c:1447)
|
904
|
+
==26723== by 0x4E98262: rb_load_internal (load.c:310)
|
905
|
+
==26723== by 0x4E996CE: rb_require_safe (load.c:619)
|
906
|
+
==26723== by 0x4FA7750: vm_call_method (vm_insnhelper.c:404)
|
907
|
+
==26723== by 0x4F9D418: vm_exec_core (insns.def:1015)
|
908
|
+
==26723== by 0x4FA38A9: vm_exec (vm.c:1220)
|
909
|
+
==26723== by 0x4FA4D52: vm_call0 (vm_eval.c:66)
|
910
|
+
==26723== by 0x4F3EA1F: require_libraries (ruby.c:491)
|
911
|
+
==26723== by 0x4F41598: process_options (ruby.c:1392)
|
912
|
+
==26723== by 0x4F41F3F: ruby_process_options (ruby.c:1806)
|
913
|
+
==26723== by 0x4E97538: ruby_options (eval.c:73)
|
914
|
+
==26723== by 0x4007F2: main (main.c:38)
|
915
|
+
==26723==
|
916
|
+
{
|
917
|
+
<insert_a_suppression_name_here>
|
918
|
+
Memcheck:Addr4
|
919
|
+
fun:glob_helper
|
920
|
+
fun:glob_helper
|
921
|
+
fun:ruby_glob0
|
922
|
+
fun:ruby_brace_expand.constprop.7
|
923
|
+
fun:rb_push_glob
|
924
|
+
fun:vm_call_method
|
925
|
+
fun:vm_exec_core
|
926
|
+
fun:vm_exec
|
927
|
+
fun:any_iter_i
|
928
|
+
fun:vm_yield_with_cfunc
|
929
|
+
fun:rb_yield
|
930
|
+
fun:rb_ary_each
|
931
|
+
fun:vm_call0
|
932
|
+
fun:rb_iterate
|
933
|
+
fun:rb_block_call
|
934
|
+
fun:enum_any
|
935
|
+
fun:vm_call_method
|
936
|
+
fun:vm_exec_core
|
937
|
+
fun:vm_exec
|
938
|
+
fun:vm_call0
|
939
|
+
fun:rb_class_new_instance
|
940
|
+
fun:vm_call_method
|
941
|
+
fun:vm_exec_core
|
942
|
+
fun:vm_exec
|
943
|
+
}
|
944
|
+
/home/miked/code/oss/nokogiri/test/helper.rb:10: version info: {"warnings"=>[], "nokogiri"=>"1.5.6.rc2", "ruby"=>{"version"=>"1.9.3", "platform"=>"x86_64-linux", "description"=>"ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]", "engine"=>"ruby"}, "libxml"=>{"binding"=>"extension", "compiled"=>"2.7.8", "loaded"=>"2.7.8"}}
|
945
|
+
==26768==
|
946
|
+
==26768== HEAP SUMMARY:
|
947
|
+
==26768== in use at exit: 20,392,105 bytes in 117,929 blocks
|
948
|
+
==26768== total heap usage: 2,579,630 allocs, 2,461,701 frees, 521,991,635 bytes allocated
|
949
|
+
==26768==
|
950
|
+
==26768== LEAK SUMMARY:
|
951
|
+
==26768== definitely lost: 2,931 bytes in 31 blocks
|
952
|
+
==26768== indirectly lost: 6,388 bytes in 119 blocks
|
953
|
+
==26768== possibly lost: 0 bytes in 0 blocks
|
954
|
+
==26768== still reachable: 20,382,786 bytes in 117,779 blocks
|
955
|
+
==26768== suppressed: 0 bytes in 0 blocks
|
956
|
+
==26768== Rerun with --leak-check=full to see details of leaked memory
|
957
|
+
==26768==
|
958
|
+
==26768== For counts of detected and suppressed errors, rerun with: -v
|
959
|
+
==26768== ERROR SUMMARY: 24 errors from 8 contexts (suppressed: 0 from 0)
|
960
|
+
==26723==
|
961
|
+
==26723== HEAP SUMMARY:
|
962
|
+
==26723== in use at exit: 26,305,683 bytes in 115,956 blocks
|
963
|
+
==26723== total heap usage: 3,400,070 allocs, 3,284,114 frees, 700,637,546 bytes allocated
|
964
|
+
==26723==
|
965
|
+
==26723== LEAK SUMMARY:
|
966
|
+
==26723== definitely lost: 21,760,117 bytes in 38,642 blocks
|
967
|
+
==26723== indirectly lost: 2,684,823 bytes in 48,267 blocks
|
968
|
+
==26723== possibly lost: 296,994 bytes in 398 blocks
|
969
|
+
==26723== still reachable: 1,563,749 bytes in 28,649 blocks
|
970
|
+
==26723== suppressed: 0 bytes in 0 blocks
|
971
|
+
==26723== Rerun with --leak-check=full to see details of leaked memory
|
972
|
+
==26723==
|
973
|
+
==26723== For counts of detected and suppressed errors, rerun with: -v
|
974
|
+
==26723== ERROR SUMMARY: 24 errors from 8 contexts (suppressed: 0 from 0)
|