Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
6be3e57d
Unverified
Commit
6be3e57d
authored
Nov 27, 2020
by
Nikita Titov
Committed by
GitHub
Nov 27, 2020
Browse files
[R-package][tests] update values in valgrind test (#3600)
parent
918ccaec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
.ci/test_r_package_valgrind.sh
.ci/test_r_package_valgrind.sh
+16
-16
No files found.
.ci/test_r_package_valgrind.sh
View file @
6be3e57d
...
...
@@ -39,28 +39,28 @@ if [[ ${bytes_indirectly_lost} -gt 0 ]]; then
fi
# one error caused by a false positive between valgrind and openmp is allowed
# ==
1312
== 3
52
bytes in 1 blocks are possibly lost in loss record 1
46
of 2,
458
# ==
1312
== at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
# ==
1312
== by 0x40149CA: allocate_dtv (dl-tls.c:286)
# ==
1312
== by 0x40149CA: _dl_allocate_tls (dl-tls.c:532)
# ==
1312
== by 0x5702322: allocate_stack (allocatestack.c:622)
# ==
1312
== by 0x5702322: pthread_create@@GLIBC_2.2.5 (pthread_create.c:660)
# ==
1312
== by 0x56D0DDA: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
# ==
1312
== by 0x56C88E0: GOMP_parallel (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
# ==
1312
== by 0x154
351B8
: LGBM_DatasetCreateFromCSC (c_api.cpp:1286)
# ==
1312
== by 0x154
5789C
: LGBM_DatasetCreateFromCSC_R (lightgbm_R.cpp:91)
# ==
1312
== by 0x4941E2F: R_doDotCall (dotcode.c:634)
# ==
1312
== by 0x494CCC6: do_dotcall (dotcode.c:1281)
# ==
1312
== by 0x499FB01: bcEval (eval.c:7078)
# ==
1312
== by 0x498B67F: Rf_eval (eval.c:727)
# ==
1312
== by 0x498E414: R_execClosure (eval.c:1895)
# ==
2063
== 3
36
bytes in 1 blocks are possibly lost in loss record 1
53
of 2,
709
# ==
2063
== at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
# ==
2063
== by 0x40149CA: allocate_dtv (dl-tls.c:286)
# ==
2063
== by 0x40149CA: _dl_allocate_tls (dl-tls.c:532)
# ==
2063
== by 0x5702322: allocate_stack (allocatestack.c:622)
# ==
2063
== by 0x5702322: pthread_create@@GLIBC_2.2.5 (pthread_create.c:660)
# ==
2063
== by 0x56D0DDA: ??? (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
# ==
2063
== by 0x56C88E0: GOMP_parallel (in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0)
# ==
2063
== by 0x154
4D29C
: LGBM_DatasetCreateFromCSC (c_api.cpp:1286)
# ==
2063
== by 0x154
6F980
: LGBM_DatasetCreateFromCSC_R (lightgbm_R.cpp:91)
# ==
2063
== by 0x4941E2F: R_doDotCall (dotcode.c:634)
# ==
2063
== by 0x494CCC6: do_dotcall (dotcode.c:1281)
# ==
2063
== by 0x499FB01: bcEval (eval.c:7078)
# ==
2063
== by 0x498B67F: Rf_eval (eval.c:727)
# ==
2063
== by 0x498E414: R_execClosure (eval.c:1895)
bytes_possibly_lost
=
$(
cat
${
VALGRIND_LOGS_FILE
}
\
|
grep
-E
"possibly lost
\:
.*"
\
|
sed
's/^.*possibly lost\: \(.*\) bytes.*$/\1/'
\
|
tr
-d
","
)
if
[[
${
bytes_possibly_lost
}
-gt
3
52
]]
;
then
if
[[
${
bytes_possibly_lost
}
-gt
3
36
]]
;
then
echo
"valgrind found
${
bytes_possibly_lost
}
bytes possibly lost"
exit
-1
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment