Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRAN Additional Issues Failures: valgrind [OLD #9] #6

Closed
MichaelChirico opened this issue Sep 30, 2019 · 0 comments
Closed

CRAN Additional Issues Failures: valgrind [OLD #9] #6

MichaelChirico opened this issue Sep 30, 2019 · 0 comments

Comments

@MichaelChirico
Copy link
Owner

@MichaelChirico MichaelChirico commented Sep 30, 2019

Lots going wrong here...

==21934== LEAK SUMMARY:
  ==21934==    definitely lost: 448 bytes in 11 blocks
  ==21934==    indirectly lost: 0 bytes in 0 blocks
  ==21934==      possibly lost: 196,820 bytes in 6,417 blocks
  ==21934==    still reachable: 106,631,960 bytes in 24,744 blocks
  ==21934==         suppressed: 0 bytes in 0 blocks
  ==21934== Reachable blocks (those to which a pointer was found) are not shown.
  ==21934== To see them, rerun with: --leak-check=full --show-leak-kinds=all
  ==21934== 
  ==21934== For counts of detected and suppressed errors, rerun with: -v
  ==21934== ERROR SUMMARY: 1591 errors from 313 contexts (suppressed: 0 from 0)

Somewhat reproduced now following data.table approach:

https://github.com/Rdatatable/data.table/blob/master/CRAN_Release.cmd#L236-L253

gctorture2(step=100)
[1] 0
tools::testInstalledPackage('geohashTools')
Testing examples for package ‘geohashTools’
==34695== Conditional jump or move depends on uninitialised value(s)
==34695==    at 0xEB9BBF3: ???
==34695==    by 0xB208177: ???
==34695==    by 0xB208177: ???
==34695==    by 0xB208189: ???
==34695==    by 0x1FFEFE4BAF: ???
==34695==    by 0xACFBEA7: ???
==34695==  Uninitialised value was created by a heap allocation
==34695==    at 0x483577F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==34695==    by 0x50EDCBC: GetNewPage (memory.c:924)
==34695==    by 0x50F251A: Rf_allocVector3 (memory.c:2738)
==34695==    by 0x522B2C1: Rf_allocVector (Rinlinedfuns.h:580)
==34695==    by 0x522B2C1: ReadBCConsts (serialize.c:2073)
==34695==    by 0x522B2C1: ReadBC1 (serialize.c:2109)
==34695==    by 0x522B33F: ReadBCConsts (serialize.c:2078)
==34695==    by 0x522B33F: ReadBC1 (serialize.c:2109)
==34695==    by 0x5226073: ReadBC (serialize.c:2120)
==34695==    by 0x5226073: ReadItem (serialize.c:1957)
==34695==    by 0x5226DE7: ReadItem (serialize.c:1865)
==34695==    by 0x522BE2F: R_Unserialize (serialize.c:2174)
==34695==    by 0x522F631: R_unserialize (serialize.c:2883)
==34695==    by 0x52300D6: do_lazyLoadDBfetch (serialize.c:3171)
==34695==    by 0x500D676: Rf_eval (eval.c:727)
==34695==    by 0x500EF25: forcePromise (eval.c:516)
==34695== 
==34695== Conditional jump or move depends on uninitialised value(s)
==34695==    at 0xEB9BBF3: ???
==34695==    by 0xBBD6817: ???
==34695==    by 0xBBD6817: ???
==34695==    by 0xBBD684D: ???
==34695==    by 0x1FFEFE31FF: ???
==34695==    by 0x9E59967: ???
==34695==  Uninitialised value was created by a heap allocation
==34695==    at 0x483577F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==34695==    by 0x50EDCBC: GetNewPage (memory.c:924)
==34695==    by 0x50F251A: Rf_allocVector3 (memory.c:2738)
==34695==    by 0x502D82B: Rf_allocVector (Rinlinedfuns.h:580)
==34695==    by 0x502D82B: R_bcEncode (eval.c:7344)
==34695==    by 0x522B29C: ReadBC1 (serialize.c:2108)
==34695==    by 0x522B33F: ReadBCConsts (serialize.c:2078)
==34695==    by 0x522B33F: ReadBC1 (serialize.c:2109)
==34695==    by 0x522B33F: ReadBCConsts (serialize.c:2078)
==34695==    by 0x522B33F: ReadBC1 (serialize.c:2109)
==34695==    by 0x5226073: ReadBC (serialize.c:2120)
==34695==    by 0x5226073: ReadItem (serialize.c:1957)
==34695==    by 0x5226DE7: ReadItem (serialize.c:1865)
==34695==    by 0x5226DB6: ReadItem (serialize.c:1863)
==34695==    by 0x5226DE7: ReadItem (serialize.c:1865)
==34695==    by 0x5226DE7: ReadItem (serialize.c:1865)
==34695== 
==34695== Conditional jump or move depends on uninitialised value(s)
==34695==    at 0xEB9BBF3: ???
==34695==    by 0xA778C37: ???
==34695==    by 0xA778C37: ???
==34695==    by 0xA778C72: ???
==34695==    by 0x1FFEFE4BAF: ???
==34695==    by 0xAE2E737: ???
==34695==  Uninitialised value was created by a heap allocation
==34695==    at 0x483577F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==34695==    by 0x50EDCBC: GetNewPage (memory.c:924)
==34695==    by 0x50F251A: Rf_allocVector3 (memory.c:2738)
==34695==    by 0x5225EBF: Rf_allocVector (Rinlinedfuns.h:580)
==34695==    by 0x5225EBF: ReadItem (serialize.c:1938)
==34695==    by 0x5226DB6: ReadItem (serialize.c:1863)
==34695==    by 0x5227FE6: ReadItem (serialize.c:2008)
==34695==    by 0x522BE2F: R_Unserialize (serialize.c:2174)
==34695==    by 0x522F631: R_unserialize (serialize.c:2883)
==34695==    by 0x52300D6: do_lazyLoadDBfetch (serialize.c:3171)
==34695==    by 0x4FC74E1: bcEval (eval.c:6775)
==34695==    by 0x500C80F: Rf_eval (eval.c:620)
==34695==    by 0x5013902: R_execClosure (eval.c:1780)
==34695== 
==34695== Conditional jump or move depends on uninitialised value(s)
==34695==    at 0xEB9BC24: ???
==34695==    by 0x9EAC7D7: ???
==34695==    by 0x9EAC7D7: ???
==34695==    by 0x9EAC7EC: ???
==34695==    by 0x1FFEFF9713: ???
==34695==    by 0xBFB845F: ???
==34695==  Uninitialised value was created by a heap allocation
==34695==    at 0x483577F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==34695==    by 0x50EDCBC: GetNewPage (memory.c:924)
==34695==    by 0x50F251A: Rf_allocVector3 (memory.c:2738)
==34695==    by 0x4D096DE: Rf_allocVector (Rinlinedfuns.h:580)
==34695==    by 0x4D096DE: new_compact_intseq (altclasses.c:324)
==34695==    by 0x521910C: do_seq_along (seq.c:1036)
==34695==    by 0x500D676: Rf_eval (eval.c:727)
==34695==    by 0x502787A: do_for (eval.c:2177)
==34695==    by 0x500D277: Rf_eval (eval.c:695)
==34695==    by 0x5018C22: do_begin (eval.c:2383)
==34695==    by 0x500D277: Rf_eval (eval.c:695)
==34695==    by 0x500D277: Rf_eval (eval.c:695)
==34695==    by 0x5018C22: do_begin (eval.c:2383)
==34695== 
q()
==34695== 
==34695== HEAP SUMMARY:
==34695==     in use at exit: 38,767,318 bytes in 7,500 blocks
==34695==   total heap usage: 25,613 allocs, 18,113 frees, 72,181,056 bytes allocated
==34695== 
==34695== 14 bytes in 1 blocks are definitely lost in loss record 22 of 1,200
==34695==    at 0x483577F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==34695==    by 0x6B72238: xmalloc (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B564E4: rl_complete_internal (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B4C275: _rl_dispatch_subseq (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B4C82C: readline_internal_char (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B670F4: rl_callback_read_char (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x5416008: Rstd_ReadConsole (sys-std.c:1073)
==34695==    by 0x50B63F6: Rf_ReplIteration (main.c:208)
==34695==    by 0x50B6E78: R_ReplConsole (main.c:310)
==34695==    by 0x50B6F28: run_Rmainloop (main.c:1108)
==34695==    by 0x10907A: main (Rmain.c:29)
==34695== 
==34695== 14 bytes in 1 blocks are definitely lost in loss record 23 of 1,200
==34695==    at 0x483577F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==34695==    by 0x6B72238: xmalloc (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B63EF1: rl_copy_text (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B5654A: rl_complete_internal (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B4C275: _rl_dispatch_subseq (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B4C82C: readline_internal_char (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B670F4: rl_callback_read_char (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x5416008: Rstd_ReadConsole (sys-std.c:1073)
==34695==    by 0x50B63F6: Rf_ReplIteration (main.c:208)
==34695==    by 0x50B6E78: R_ReplConsole (main.c:310)
==34695==    by 0x50B6F28: run_Rmainloop (main.c:1108)
==34695==    by 0x10907A: main (Rmain.c:29)
==34695== 
==34695== 192 (88 direct, 104 indirect) bytes in 1 blocks are definitely lost in loss record 93 of 1,200
==34695==    at 0x483577F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==34695==    by 0x6B72277: xrealloc (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B56247: rl_completion_matches (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x5412A22: R_custom_completion (sys-std.c:865)
==34695==    by 0x6B56386: ??? (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B5656E: rl_complete_internal (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B4C275: _rl_dispatch_subseq (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B4C82C: readline_internal_char (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x6B670F4: rl_callback_read_char (in /lib/x86_64-linux-gnu/libreadline.so.8.0)
==34695==    by 0x5416008: Rstd_ReadConsole (sys-std.c:1073)
==34695==    by 0x50B63F6: Rf_ReplIteration (main.c:208)
==34695==    by 0x50B6E78: R_ReplConsole (main.c:310)
==34695== 
==34695== LEAK SUMMARY:
==34695==    definitely lost: 116 bytes in 3 blocks
==34695==    indirectly lost: 104 bytes in 4 blocks
==34695==      possibly lost: 0 bytes in 0 blocks
==34695==    still reachable: 38,767,098 bytes in 7,493 blocks
==34695==                       of which reachable via heuristic:
==34695==                         newarray           : 4,264 bytes in 1 blocks
==34695==         suppressed: 0 bytes in 0 blocks
==34695== Reachable blocks (those to which a pointer was found) are not shown.
==34695== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==34695== 
==34695== For lists of detected and suppressed errors, rerun with: -s
==34695== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)

But these issues all seem related to base??

Closing pending new CRAN results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.