| 1 | error 0 |
| 2 | 45a08b96f8877e959667869f9e231038641bbac5cbca37645f0d753c4f549378 393029348 3875956235 4300000000 crypto_aead/riverkeyakv2/ref |
| 3 | ==10614== Memcheck, a memory error detector |
| 4 | ==10614== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. |
| 5 | ==10614== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info |
| 6 | ==10614== Command: ./try |
| 7 | ==10614== |
| 8 | ==10614== Mismatched free() / delete / delete [] |
| 9 | ==10614== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586) |
| 10 | ==10614== by 0x40A07E: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:200) |
| 11 | ==10614== by 0x408E9E: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21) |
| 12 | ==10614== by 0x404CD6: crypto_aead_riverkeyakv2_ref_encrypt (encrypt.cpp:41) |
| 13 | ==10614== by 0x403124: test() (try.cpp:126) |
| 14 | ==10614== by 0x404832: main (try-anything.cpp:295) |
| 15 | ==10614== Address 0x656f760 is 0 bytes inside a block of size 100 alloc'd |
| 16 | ==10614== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433) |
| 17 | ==10614== by 0x40931F: Piston::Piston(Permutation const*, unsigned int, unsigned int) (Motorist.cpp:43) |
| 18 | ==10614== by 0x40A05F: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:200) |
| 19 | ==10614== by 0x408E9E: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21) |
| 20 | ==10614== by 0x404CD6: crypto_aead_riverkeyakv2_ref_encrypt (encrypt.cpp:41) |
| 21 | ==10614== by 0x403124: test() (try.cpp:126) |
| 22 | ==10614== by 0x404832: main (try-anything.cpp:295) |
| 23 | ==10614== |
| 24 | ==10614== Mismatched free() / delete / delete [] |
| 25 | ==10614== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586) |
| 26 | ==10614== by 0x4056AF: void std::_Destroy_aux::__destroy(Piston*, Piston*) (stl_construct.h:103) |
| 27 | ==10614== by 0x405571: std::vector >::~vector() (stl_vector.h:426) |
| 28 | ==10614== by 0x40546F: Keyak::~Keyak() (Keyakv2.h:26) |
| 29 | ==10614== by 0x404E9E: crypto_aead_riverkeyakv2_ref_encrypt (encrypt.cpp:50) |
| 30 | ==10614== by 0x403124: test() (try.cpp:126) |
| 31 | ==10614== by 0x404832: main (try-anything.cpp:295) |
| 32 | ==10614== Address 0x656f880 is 0 bytes inside a block of size 100 alloc'd |
| 33 | ==10614== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433) |
| 34 | ==10614== by 0x4094B1: Piston::Piston(Piston const&) (Motorist.cpp:57) |
| 35 | ==10614== by 0x40B132: Piston* std::__uninitialized_fill_n::__uninit_fill_n(Piston*, unsigned long, Piston const&) (stl_uninitialized.h:202) |
| 36 | ==10614== by 0x40B009: std::vector >::_M_fill_initialize(unsigned long, Piston const&) (stl_vector.h:1299) |
| 37 | ==10614== by 0x40A953: std::vector >::vector(unsigned long, Piston const&, std::allocator const&) (stl_vector.h:308) |
| 38 | ==10614== by 0x40A074: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:200) |
| 39 | ==10614== by 0x408E9E: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21) |
| 40 | ==10614== by 0x404CD6: crypto_aead_riverkeyakv2_ref_encrypt (encrypt.cpp:41) |
| 41 | ==10614== by 0x403124: test() (try.cpp:126) |
| 42 | ==10614== by 0x404832: main (try-anything.cpp:295) |
| 43 | ==10614== |
| 44 | ==10614== Mismatched free() / delete / delete [] |
| 45 | ==10614== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586) |
| 46 | ==10614== by 0x40A07E: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:200) |
| 47 | ==10614== by 0x408E9E: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21) |
| 48 | ==10614== by 0x4051A2: crypto_aead_riverkeyakv2_ref_decrypt (encrypt.cpp:72) |
| 49 | ==10614== by 0x40380B: test() (try.cpp:182) |
| 50 | ==10614== by 0x404832: main (try-anything.cpp:295) |
| 51 | ==10614== Address 0x67745c0 is 0 bytes inside a block of size 100 alloc'd |
| 52 | ==10614== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433) |
| 53 | ==10614== by 0x40931F: Piston::Piston(Permutation const*, unsigned int, unsigned int) (Motorist.cpp:43) |
| 54 | ==10614== by 0x40A05F: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:200) |
| 55 | ==10614== by 0x408E9E: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21) |
| 56 | ==10614== by 0x4051A2: crypto_aead_riverkeyakv2_ref_decrypt (encrypt.cpp:72) |
| 57 | ==10614== by 0x40380B: test() (try.cpp:182) |
| 58 | ==10614== by 0x404832: main (try-anything.cpp:295) |
| 59 | ==10614== |
| 60 | ==10614== Conditional jump or move depends on uninitialised value(s) |
| 61 | ==10614== at 0x4C32742: __memcmp_sse4_1 (vg_replace_strmem.c:1112) |
| 62 | ==10614== by 0x40B220: _ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_ (basic_string.h:5076) |
| 63 | ==10614== by 0x40A9B5: bool std::operator!=, std::allocator >(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) (basic_string.h:5115) |
| 64 | ==10614== by 0x40A366: Motorist::HandleTag(bool, std::__cxx11::basic_stringstream, std::allocator >&, bool) (Motorist.cpp:257) |
| 65 | ==10614== by 0x40A5BB: Motorist::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Motorist.cpp:232) |
| 66 | ==10614== by 0x409105: Keyak::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Keyakv2.cpp:44) |
| 67 | ==10614== by 0x40520A: crypto_aead_riverkeyakv2_ref_decrypt (encrypt.cpp:74) |
| 68 | ==10614== by 0x402FD7: timecop_doit() (try.cpp:107) |
| 69 | ==10614== by 0x404890: main (try-anything.cpp:306) |
| 70 | ==10614== Uninitialised value was created by a client request |
| 71 | ==10614== at 0x402E77: timecop_doit() (try.cpp:102) |
| 72 | ==10614== by 0x404890: main (try-anything.cpp:306) |
| 73 | ==10614== |
| 74 | ==10614== Conditional jump or move depends on uninitialised value(s) |
| 75 | ==10614== at 0x4C32756: __memcmp_sse4_1 (vg_replace_strmem.c:1112) |
| 76 | ==10614== by 0x40B220: _ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_ (basic_string.h:5076) |
| 77 | ==10614== by 0x40A9B5: bool std::operator!=, std::allocator >(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) (basic_string.h:5115) |
| 78 | ==10614== by 0x40A366: Motorist::HandleTag(bool, std::__cxx11::basic_stringstream, std::allocator >&, bool) (Motorist.cpp:257) |
| 79 | ==10614== by 0x40A5BB: Motorist::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Motorist.cpp:232) |
| 80 | ==10614== by 0x409105: Keyak::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Keyakv2.cpp:44) |
| 81 | ==10614== by 0x40520A: crypto_aead_riverkeyakv2_ref_decrypt (encrypt.cpp:74) |
| 82 | ==10614== by 0x402FD7: timecop_doit() (try.cpp:107) |
| 83 | ==10614== by 0x404890: main (try-anything.cpp:306) |
| 84 | ==10614== Uninitialised value was created by a client request |
| 85 | ==10614== at 0x402E77: timecop_doit() (try.cpp:102) |
| 86 | ==10614== by 0x404890: main (try-anything.cpp:306) |
| 87 | ==10614== |
| 88 | ==10614== |
| 89 | ==10614== HEAP SUMMARY: |
| 90 | ==10614== in use at exit: 69,888 bytes in 16 blocks |
| 91 | ==10614== total heap usage: 43,792 allocs, 43,776 frees, 4,143,893 bytes allocated |
| 92 | ==10614== |
| 93 | ==10614== LEAK SUMMARY: |
| 94 | ==10614== definitely lost: 0 bytes in 0 blocks |
| 95 | ==10614== indirectly lost: 0 bytes in 0 blocks |
| 96 | ==10614== possibly lost: 69,888 bytes in 16 blocks |
| 97 | ==10614== still reachable: 0 bytes in 0 blocks |
| 98 | ==10614== suppressed: 0 bytes in 0 blocks |
| 99 | ==10614== Rerun with --leak-check=full to see details of leaked memory |
| 100 | ==10614== |
| 101 | ==10614== For lists of detected and suppressed errors, rerun with: -s |
| 102 | ==10614== ERROR SUMMARY: 52 errors from 5 contexts (suppressed: 0 from 0) |