Created
March 24, 2016 13:01
-
-
Save wrathematics/53c761b3e8cdfce18e3c to your computer and use it in GitHub Desktop.
readxl valgrind report
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ R --vanilla -d valgrind < read.r | |
==13800== Memcheck, a memory error detector | |
==13800== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. | |
==13800== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info | |
==13800== Command: /usr/lib/R/bin/exec/R --no-save --quiet --no-restore --vanilla | |
==13800== | |
==13800== WARNING: valgrind ignores shmget(shmflg) SHM_HUGETLB | |
> readxl::read_excel('exp.xlsx') | |
==13800== Invalid free() / delete / delete[] / realloc() | |
==13800== at 0x4C2D28B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==13800== by 0x16764E18: deallocate (new_allocator.h:110) | |
==13800== by 0x16764E18: deallocate (alloc_traits.h:386) | |
==13800== by 0x16764E18: _M_destroy (basic_string.h:185) | |
==13800== by 0x16764E18: _M_dispose (basic_string.h:180) | |
==13800== by 0x16764E18: ~basic_string (basic_string.h:544) | |
==13800== by 0x16764E18: exception_to_r_condition(std::exception const&) (exceptions.h:164) | |
==13800== by 0x16763644: readxl_read_xlsx_ (RcppExports.cpp:184) | |
==13800== by 0x4F0916F: ??? (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F3F8EE: Rf_eval (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F41DE7: ??? (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F3F6E0: Rf_eval (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F40DA4: Rf_applyClosure (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F3F4BC: Rf_eval (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F41DE7: ??? (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F3F6E0: Rf_eval (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F40DA4: Rf_applyClosure (in /usr/lib/R/lib/libR.so) | |
==13800== Address 0x13857848 is 24 bytes inside a block of size 40 alloc'd | |
==13800== at 0x4C2C12F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==13800== by 0x15E98268: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21) | |
==13800== by 0x15E9857A: std::string::_M_mutate(unsigned long, unsigned long, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21) | |
==13800== by 0x15E98BAD: std::string::_M_replace_safe(unsigned long, unsigned long, char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21) | |
==13800== by 0x15B8EAE8: assign (basic_string.h:1149) | |
==13800== by 0x15B8EAE8: operator= (basic_string.h:563) | |
==13800== by 0x15B8EAE8: demangle(std::string const&) (api.cpp:129) | |
==13800== by 0x16764A69: demangle (routines.h:137) | |
==13800== by 0x16764A69: exception_to_r_condition(std::exception const&) (exceptions.h:164) | |
==13800== by 0x16763644: readxl_read_xlsx_ (RcppExports.cpp:184) | |
==13800== by 0x4F0916F: ??? (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F3F8EE: Rf_eval (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F41DE7: ??? (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F3F6E0: Rf_eval (in /usr/lib/R/lib/libR.so) | |
==13800== by 0x4F40DA4: Rf_applyClosure (in /usr/lib/R/lib/libR.so) | |
==13800== | |
Error: Invalid cell: lacks ref attribute | |
Execution halted | |
==13800== | |
==13800== HEAP SUMMARY: | |
==13800== in use at exit: 37,403,503 bytes in 17,949 blocks | |
==13800== total heap usage: 46,844 allocs, 28,896 frees, 77,650,798 bytes allocated | |
==13800== | |
==13800== LEAK SUMMARY: | |
==13800== definitely lost: 40 bytes in 1 blocks | |
==13800== indirectly lost: 0 bytes in 0 blocks | |
==13800== possibly lost: 0 bytes in 0 blocks | |
==13800== still reachable: 37,403,463 bytes in 17,948 blocks | |
==13800== suppressed: 0 bytes in 0 blocks | |
==13800== Rerun with --leak-check=full to see details of leaked memory | |
==13800== | |
==13800== For counts of detected and suppressed errors, rerun with: -v | |
==13800== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment