valgrind_output_05042023.txt 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. ==765==
  2. ==765== HEAP SUMMARY:
  3. ==765== in use at exit: 160 bytes in 4 blocks
  4. ==765== total heap usage: 15,243 allocs, 15,239 frees, 1,084,856 bytes allocated
  5. ==765==
  6. ==765== 32 bytes in 1 blocks are definitely lost in loss record 1 of 3
  7. ==765== at 0x484A2F3: operator new[](unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
  8. ==765== by 0x1906E3: binom::priv::BufferArrayImplementation* binom::priv::BufferArrayImplementation::create<char>(std::basic_string_view<char, std::char_traits<char> > const&) (buffer_array_impl.hxx:109)
  9. ==765== by 0x18E81B: binom::KeyValue::KeyValue<char>(std::basic_string_view<char, std::char_traits<char> >) (key_value.cxx:42)
  10. ==765== by 0x143CBE: binom::KeyValue::KeyValue<char>(char const*) (key_value.hxx:74)
  11. ==765== by 0x136B16: testTableImpl() (table_impl_test.hxx:130)
  12. ==765== by 0x13931E: main (test.cxx:27)
  13. ==765==
  14. ==765== 32 bytes in 1 blocks are definitely lost in loss record 2 of 3
  15. ==765== at 0x484A2F3: operator new[](unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
  16. ==765== by 0x1906E3: binom::priv::BufferArrayImplementation* binom::priv::BufferArrayImplementation::create<char>(std::basic_string_view<char, std::char_traits<char> > const&) (buffer_array_impl.hxx:109)
  17. ==765== by 0x18E81B: binom::KeyValue::KeyValue<char>(std::basic_string_view<char, std::char_traits<char> >) (key_value.cxx:42)
  18. ==765== by 0x143CBE: binom::KeyValue::KeyValue<char>(char const*) (key_value.hxx:74)
  19. ==765== by 0x13710C: testTableImpl() (table_impl_test.hxx:143)
  20. ==765== by 0x13931E: main (test.cxx:27)
  21. ==765==
  22. ==765== 96 bytes in 2 blocks are definitely lost in loss record 3 of 3
  23. ==765== at 0x484A2F3: operator new[](unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
  24. ==765== by 0x19FCC4: binom::priv::BufferArrayImplementation::copy(binom::priv::BufferArrayImplementation const*) (buffer_array_impl.cxx:19)
  25. ==765== by 0x18C0E0: binom::KeyValue::KeyValue(binom::KeyValue const&) (key_value.cxx:105)
  26. ==765== by 0x162288: binom::conditions::ConditionExpression::ConditionExpressionData::ConditionExpressionData(binom::conditions::ConditionExpression::ConditionExpressionData const&) (query.hxx:29)
  27. ==765== by 0x16231E: binom::conditions::ConditionExpression::Data::Data(binom::conditions::Operator, binom::conditions::ConditionExpression::Data const&) (query.hxx:62)
  28. ==765== by 0x161548: binom::conditions::ConditionExpression::ConditionExpression(binom::conditions::ConditionExpression const&) (query.cxx:20)
  29. ==765== by 0x163165: decltype (::new ((void*)(0)) binom::conditions::ConditionExpression((declval<binom::conditions::ConditionExpression const&>)())) std::construct_at<binom::conditions::ConditionExpression, binom::conditions::ConditionExpression const&>(binom::conditions::ConditionExpression*, binom::conditions::ConditionExpression const&) (stl_construct.h:97)
  30. ==765== by 0x1631C8: void std::allocator_traits<std::allocator<std::_List_node<binom::conditions::ConditionExpression> > >::construct<binom::conditions::ConditionExpression, binom::conditions::ConditionExpression const&>(std::allocator<std::_List_node<binom::conditions::ConditionExpression> >&, binom::conditions::ConditionExpression*, binom::conditions::ConditionExpression const&) (alloc_traits.h:518)
  31. ==765== by 0x162D60: std::_List_node<binom::conditions::ConditionExpression>* std::__cxx11::list<binom::conditions::ConditionExpression, std::allocator<binom::conditions::ConditionExpression> >::_M_create_node<binom::conditions::ConditionExpression const&>(binom::conditions::ConditionExpression const&) (stl_list.h:637)
  32. ==765== by 0x16329D: void std::__cxx11::list<binom::conditions::ConditionExpression, std::allocator<binom::conditions::ConditionExpression> >::_M_insert<binom::conditions::ConditionExpression const&>(std::_List_iterator<binom::conditions::ConditionExpression>, binom::conditions::ConditionExpression const&) (stl_list.h:1911)
  33. ==765== by 0x162FEA: binom::conditions::ConditionExpression& std::__cxx11::list<binom::conditions::ConditionExpression, std::allocator<binom::conditions::ConditionExpression> >::emplace_back<binom::conditions::ConditionExpression const&>(binom::conditions::ConditionExpression const&) (stl_list.h:1227)
  34. ==765== by 0x162BCC: void std::__cxx11::list<binom::conditions::ConditionExpression, std::allocator<binom::conditions::ConditionExpression> >::_M_initialize_dispatch<binom::conditions::ConditionExpression const*>(binom::conditions::ConditionExpression const*, binom::conditions::ConditionExpression const*, std::__false_type) (stl_list.h:1840)
  35. ==765==
  36. ==765== LEAK SUMMARY:
  37. ==765== definitely lost: 160 bytes in 4 blocks
  38. ==765== indirectly lost: 0 bytes in 0 blocks
  39. ==765== possibly lost: 0 bytes in 0 blocks
  40. ==765== still reachable: 0 bytes in 0 blocks
  41. ==765== suppressed: 0 bytes in 0 blocks
  42. ==765==
  43. ==765== ERROR SUMMARY: 23 errors from 15 contexts (suppressed: 0 from 0)
  44. ==765==
  45. ==765== 1 errors in context 1 of 15:
  46. ==765== Conditional jump or move depends on uninitialised value(s)
  47. ==765== at 0x498F99E: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  48. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  49. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  50. ==765== by 0x12311A: testBits() (bits_test.hxx:23)
  51. ==765== by 0x13925E: main (test.cxx:14)
  52. ==765== Uninitialised value was created by a stack allocation
  53. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  54. ==765==
  55. ==765==
  56. ==765== 1 errors in context 2 of 15:
  57. ==765== Conditional jump or move depends on uninitialised value(s)
  58. ==765== at 0x498F93E: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  59. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  60. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  61. ==765== by 0x12311A: testBits() (bits_test.hxx:23)
  62. ==765== by 0x13925E: main (test.cxx:14)
  63. ==765== Uninitialised value was created by a stack allocation
  64. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  65. ==765==
  66. ==765==
  67. ==765== 1 errors in context 3 of 15:
  68. ==765== Conditional jump or move depends on uninitialised value(s)
  69. ==765== at 0x498F99E: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  70. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  71. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  72. ==765== by 0x123035: testBits() (bits_test.hxx:23)
  73. ==765== by 0x13925E: main (test.cxx:14)
  74. ==765== Uninitialised value was created by a stack allocation
  75. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  76. ==765==
  77. ==765==
  78. ==765== 1 errors in context 4 of 15:
  79. ==765== Conditional jump or move depends on uninitialised value(s)
  80. ==765== at 0x498F93E: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  81. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  82. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  83. ==765== by 0x123035: testBits() (bits_test.hxx:23)
  84. ==765== by 0x13925E: main (test.cxx:14)
  85. ==765== Uninitialised value was created by a stack allocation
  86. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  87. ==765==
  88. ==765==
  89. ==765== 1 errors in context 5 of 15:
  90. ==765== Conditional jump or move depends on uninitialised value(s)
  91. ==765== at 0x498F99E: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  92. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  93. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  94. ==765== by 0x122E7E: testBits() (bits_test.hxx:23)
  95. ==765== by 0x13925E: main (test.cxx:14)
  96. ==765== Uninitialised value was created by a stack allocation
  97. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  98. ==765==
  99. ==765==
  100. ==765== 1 errors in context 6 of 15:
  101. ==765== Conditional jump or move depends on uninitialised value(s)
  102. ==765== at 0x498F93E: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  103. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  104. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  105. ==765== by 0x122E7E: testBits() (bits_test.hxx:23)
  106. ==765== by 0x13925E: main (test.cxx:14)
  107. ==765== Uninitialised value was created by a stack allocation
  108. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  109. ==765==
  110. ==765==
  111. ==765== 1 errors in context 7 of 15:
  112. ==765== Conditional jump or move depends on uninitialised value(s)
  113. ==765== at 0x498F99E: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  114. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  115. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  116. ==765== by 0x122D99: testBits() (bits_test.hxx:23)
  117. ==765== by 0x13925E: main (test.cxx:14)
  118. ==765== Uninitialised value was created by a stack allocation
  119. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  120. ==765==
  121. ==765==
  122. ==765== 1 errors in context 8 of 15:
  123. ==765== Conditional jump or move depends on uninitialised value(s)
  124. ==765== at 0x498F93E: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  125. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  126. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  127. ==765== by 0x122D99: testBits() (bits_test.hxx:23)
  128. ==765== by 0x13925E: main (test.cxx:14)
  129. ==765== Uninitialised value was created by a stack allocation
  130. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  131. ==765==
  132. ==765==
  133. ==765== 1 errors in context 9 of 15:
  134. ==765== Conditional jump or move depends on uninitialised value(s)
  135. ==765== at 0x498F99E: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  136. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  137. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  138. ==765== by 0x122D65: testBits() (bits_test.hxx:23)
  139. ==765== by 0x13925E: main (test.cxx:14)
  140. ==765== Uninitialised value was created by a stack allocation
  141. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  142. ==765==
  143. ==765==
  144. ==765== 1 errors in context 10 of 15:
  145. ==765== Conditional jump or move depends on uninitialised value(s)
  146. ==765== at 0x498F93E: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  147. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  148. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  149. ==765== by 0x122D65: testBits() (bits_test.hxx:23)
  150. ==765== by 0x13925E: main (test.cxx:14)
  151. ==765== Uninitialised value was created by a stack allocation
  152. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  153. ==765==
  154. ==765==
  155. ==765== 5 errors in context 11 of 15:
  156. ==765== Conditional jump or move depends on uninitialised value(s)
  157. ==765== at 0x498F82D: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  158. ==765== by 0x498F968: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  159. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  160. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  161. ==765== by 0x122D65: testBits() (bits_test.hxx:23)
  162. ==765== by 0x13925E: main (test.cxx:14)
  163. ==765== Uninitialised value was created by a stack allocation
  164. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  165. ==765==
  166. ==765==
  167. ==765== 5 errors in context 12 of 15:
  168. ==765== Use of uninitialised value of size 8
  169. ==765== at 0x498F81B: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  170. ==765== by 0x498F968: std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  171. ==765== by 0x498FC3E: std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, bool) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  172. ==765== by 0x499E611: std::ostream& std::ostream::_M_insert<bool>(bool) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  173. ==765== by 0x122D65: testBits() (bits_test.hxx:23)
  174. ==765== by 0x13925E: main (test.cxx:14)
  175. ==765== Uninitialised value was created by a stack allocation
  176. ==765== at 0x1229AE: testBits() (bits_test.hxx:17)
  177. ==765==
  178. ==765== ERROR SUMMARY: 23 errors from 15 contexts (suppressed: 0 from 0)