blob: 646033787bc0d8fdb215f423cca98ad91e0f12e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# From: Tanaka Akira <akr@m17n.org>
# matz@ruby-lang.org (Yukihiro Matsumoto) writes:
#
#> Some reports from valgrind is due to Ruby's conservative GC, which
#> touch all C stack region.
#
#I use following suppression file to suppress such reports.
{
memcpy/rb_thread_save_context(Value1)
Addr1
fun:memcpy
fun:rb_thread_save_context
}
{
memcpy/rb_thread_restore_context(Value1)
Addr1
fun:memcpy
fun:rb_thread_restore_context
}
{
strchr/_dl_catch_error(Cond)
Cond
fun:strchr
obj:/lib/libc-2.2.5.so
fun:_dl_catch_error
}
{
mark_locations_array(Cond)
Cond
fun:mark_locations_array
}
{
mark_locations_array(Value4)
Value4
fun:mark_locations_array
}
{
mark_locations_array(Value4)
Addr4
fun:mark_locations_array
}
{
rb_gc_mark(Cond)
Cond
fun:rb_gc_mark
}
{
rb_gc_mark(Value4)
Value4
fun:rb_gc_mark
}
{
rb_gc_mark_children(Value4)
Value4
fun:rb_gc_mark_children
}
{
rb_gc_mark_children(Cond)
Cond
fun:rb_gc_mark_children
}
#--
#Tanaka Akira
# additional attempt by matju:
{
libc
Cond
obj:/lib/libc-2.2.5.so
}
|