Advertisement
mkX1412f

Untitled

Jan 13th, 2023
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.48 KB | None | 0 0
  1.  
  2. ==26431== Memcheck, a memory error detector
  3. ==26431== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
  4. ==26431== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info
  5. ==26431== Command: ./out
  6. ==26431==
  7. ==26431== Invalid read of size 8
  8. ==26431== at 0x51C93CD: matplot::contours::is_lower_level(unsigned long, unsigned long, unsigned long) (in /usr/local/lib/libmatplot.so)
  9. ==26431== by 0x51D4E44: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  10. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  11. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  12. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  13. ==26431== by 0x11859B: main (prog.cpp:313)
  14. ==26431== Address 0x5ed4860 is 0 bytes after a block of size 240 alloc'd
  15. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  16. ==26431== by 0x51CF984: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  17. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  18. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  19. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  20. ==26431== by 0x118577: main (prog.cpp:312)
  21. ==26431==
  22. ==26431== Invalid read of size 8
  23. ==26431== at 0x51C93D1: matplot::contours::is_lower_level(unsigned long, unsigned long, unsigned long) (in /usr/local/lib/libmatplot.so)
  24. ==26431== by 0x51D4E44: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  25. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  26. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  27. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  28. ==26431== by 0x11859B: main (prog.cpp:313)
  29. ==26431== Address 0x8 is not stack'd, malloc'd or (recently) free'd
  30. ==26431==
  31. ==26431==
  32. ==26431== Process terminating with default action of signal 11 (SIGSEGV)
  33. ==26431== Access not within mapped region at address 0x8
  34. ==26431== at 0x51C93D1: matplot::contours::is_lower_level(unsigned long, unsigned long, unsigned long) (in /usr/local/lib/libmatplot.so)
  35. ==26431== by 0x51D4E44: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  36. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  37. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  38. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  39. ==26431== by 0x11859B: main (prog.cpp:313)
  40. ==26431== If you believe this happened as a result of a stack
  41. ==26431== overflow in your program's main thread (unlikely but
  42. ==26431== possible), you can try to increase the size of the
  43. ==26431== main thread stack using the --main-stacksize= flag.
  44. ==26431== The main thread stack size used in this run was 8388608.
  45. ==26431==
  46. ==26431== HEAP SUMMARY:
  47. ==26431== in use at exit: 106,511 bytes in 317 blocks
  48. ==26431== total heap usage: 7,062 allocs, 6,745 frees, 215,062 bytes allocated
  49. ==26431==
  50. ==26431== 16 bytes in 1 blocks are still reachable in loss record 1 of 72
  51. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  52. ==26431== by 0x510112A: void std::vector<std::shared_ptr<matplot::axes_type>, std::allocator<std::shared_ptr<matplot::axes_type> > >::_M_realloc_insert<std::shared_ptr<matplot::axes_type>&>(__gnu_cxx::__normal_iterator<std::shared_ptr<matplot::axes_type>*, std::vector<std::shared_ptr<matplot::axes_type>, std::allocator<std::shared_ptr<matplot::axes_type> > > >, std::shared_ptr<matplot::axes_type>&) (in /usr/local/lib/libmatplot.so)
  53. ==26431== by 0x50FCAE4: matplot::figure_type::add_axes(std::shared_ptr<matplot::axes_type>, bool, bool) (in /usr/local/lib/libmatplot.so)
  54. ==26431== by 0x50FD22F: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  55. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  56. ==26431== by 0x11851F: main (prog.cpp:311)
  57. ==26431==
  58. ==26431== 16 bytes in 1 blocks are still reachable in loss record 2 of 72
  59. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  60. ==26431== by 0x50EE26A: void std::vector<std::shared_ptr<matplot::axes_object>, std::allocator<std::shared_ptr<matplot::axes_object> > >::_M_realloc_insert<std::shared_ptr<matplot::axes_object> const&>(__gnu_cxx::__normal_iterator<std::shared_ptr<matplot::axes_object>*, std::vector<std::shared_ptr<matplot::axes_object>, std::allocator<std::shared_ptr<matplot::axes_object> > > >, std::shared_ptr<matplot::axes_object> const&) (in /usr/local/lib/libmatplot.so)
  61. ==26431== by 0x50C4583: matplot::axes_type::emplace_object(std::shared_ptr<matplot::axes_object>) (in /usr/local/lib/libmatplot.so)
  62. ==26431== by 0x50C90F8: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  63. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  64. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  65. ==26431== by 0x118577: main (prog.cpp:312)
  66. ==26431==
  67. ==26431== 24 bytes in 1 blocks are still reachable in loss record 3 of 72
  68. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  69. ==26431== by 0x51D673B: void std::vector<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double>, std::allocator<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double> > >::_M_realloc_insert<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double>&>(__gnu_cxx::__normal_iterator<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double>*, std::vector<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double>, std::allocator<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double> > > >, std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double>&) (in /usr/local/lib/libmatplot.so)
  70. ==26431== by 0x51D1B7F: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  71. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  72. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  73. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  74. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  75. ==26431== by 0x11859B: main (prog.cpp:313)
  76. ==26431==
  77. ==26431== 56 bytes in 1 blocks are still reachable in loss record 4 of 72
  78. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  79. ==26431== by 0x51015F4: matplot::detail::register_figure_handle(unsigned long, std::shared_ptr<matplot::figure_type> const&) (in /usr/local/lib/libmatplot.so)
  80. ==26431== by 0x51017BC: matplot::detail::register_figure_handle(bool) (in /usr/local/lib/libmatplot.so)
  81. ==26431== by 0x5101815: matplot::figure_no_backend(bool) (in /usr/local/lib/libmatplot.so)
  82. ==26431== by 0x1195A4: std::shared_ptr<matplot::figure_type> matplot::figure<matplot::backend::gnuplot>(bool) (figure_registry.h:21)
  83. ==26431== by 0x118501: main (prog.cpp:308)
  84. ==26431==
  85. ==26431== 72 bytes in 1 blocks are still reachable in loss record 5 of 72
  86. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  87. ==26431== by 0x50F00DA: std::vector<double, std::allocator<double> >::_M_default_append(unsigned long) (in /usr/local/lib/libmatplot.so)
  88. ==26431== by 0x51CC29D: matplot::contours::process_contour_levels() (in /usr/local/lib/libmatplot.so)
  89. ==26431== by 0x51D1C99: matplot::contours::make_sure_data_is_preprocessed() (in /usr/local/lib/libmatplot.so)
  90. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  91. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  92. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  93. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  94. ==26431== by 0x11859B: main (prog.cpp:313)
  95. ==26431==
  96. ==26431== 72 bytes in 1 blocks are still reachable in loss record 6 of 72
  97. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  98. ==26431== by 0x51C8D47: matplot::contours::get_lowers_and_uppers() (in /usr/local/lib/libmatplot.so)
  99. ==26431== by 0x51D3EDB: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  100. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  101. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  102. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  103. ==26431== by 0x11859B: main (prog.cpp:313)
  104. ==26431==
  105. ==26431== 72 bytes in 1 blocks are still reachable in loss record 7 of 72
  106. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  107. ==26431== by 0x51C8D88: matplot::contours::get_lowers_and_uppers() (in /usr/local/lib/libmatplot.so)
  108. ==26431== by 0x51D3EDB: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  109. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  110. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  111. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  112. ==26431== by 0x11859B: main (prog.cpp:313)
  113. ==26431==
  114. ==26431== 79 bytes in 1 blocks are still reachable in loss record 8 of 72
  115. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  116. ==26431== by 0x5B24E9D: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  117. ==26431== by 0x5B2683F: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  118. ==26431== by 0x50C3D9A: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  119. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  120. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  121. ==26431== by 0x11859B: main (prog.cpp:313)
  122. ==26431==
  123. ==26431== 88 bytes in 1 blocks are still reachable in loss record 9 of 72
  124. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  125. ==26431== by 0x50F3E0C: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  126. ==26431== by 0x50E021D: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  127. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  128. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  129. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  130. ==26431== by 0x11851F: main (prog.cpp:311)
  131. ==26431==
  132. ==26431== 88 bytes in 1 blocks are still reachable in loss record 10 of 72
  133. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  134. ==26431== by 0x50F3E0C: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  135. ==26431== by 0x50E0244: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  136. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  137. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  138. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  139. ==26431== by 0x11851F: main (prog.cpp:311)
  140. ==26431==
  141. ==26431== 88 bytes in 1 blocks are still reachable in loss record 11 of 72
  142. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  143. ==26431== by 0x50F3E0C: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  144. ==26431== by 0x50E026E: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  145. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  146. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  147. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  148. ==26431== by 0x11851F: main (prog.cpp:311)
  149. ==26431==
  150. ==26431== 88 bytes in 1 blocks are still reachable in loss record 12 of 72
  151. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  152. ==26431== by 0x50F3E0C: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  153. ==26431== by 0x50E0295: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  154. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  155. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  156. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  157. ==26431== by 0x11851F: main (prog.cpp:311)
  158. ==26431==
  159. ==26431== 88 bytes in 1 blocks are still reachable in loss record 13 of 72
  160. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  161. ==26431== by 0x50F3E0C: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  162. ==26431== by 0x50E02BF: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  163. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  164. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  165. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  166. ==26431== by 0x11851F: main (prog.cpp:311)
  167. ==26431==
  168. ==26431== 88 bytes in 1 blocks are still reachable in loss record 14 of 72
  169. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  170. ==26431== by 0x50F3E0C: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  171. ==26431== by 0x50E02D8: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  172. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  173. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  174. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  175. ==26431== by 0x11851F: main (prog.cpp:311)
  176. ==26431==
  177. ==26431== 88 bytes in 1 blocks are still reachable in loss record 15 of 72
  178. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  179. ==26431== by 0x50F3E0C: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  180. ==26431== by 0x50E030A: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  181. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  182. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  183. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  184. ==26431== by 0x11851F: main (prog.cpp:311)
  185. ==26431==
  186. ==26431== 106 bytes in 5 blocks are still reachable in loss record 16 of 72
  187. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  188. ==26431== by 0x51D616C: void std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >::_M_realloc_insert<std::vector<unsigned char, std::allocator<unsigned char> >&>(__gnu_cxx::__normal_iterator<std::vector<unsigned char, std::allocator<unsigned char> >*, std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > > >, std::vector<unsigned char, std::allocator<unsigned char> >&) (in /usr/local/lib/libmatplot.so)
  189. ==26431== by 0x51D18C9: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  190. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  191. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  192. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  193. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  194. ==26431== by 0x11859B: main (prog.cpp:313)
  195. ==26431==
  196. ==26431== 110 bytes in 4 blocks are still reachable in loss record 17 of 72
  197. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  198. ==26431== by 0x51D1533: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  199. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  200. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  201. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  202. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  203. ==26431== by 0x11859B: main (prog.cpp:313)
  204. ==26431==
  205. ==26431== 112 bytes in 1 blocks are still reachable in loss record 18 of 72
  206. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  207. ==26431== by 0x50E0431: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  208. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  209. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  210. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  211. ==26431== by 0x11851F: main (prog.cpp:311)
  212. ==26431==
  213. ==26431== 120 bytes in 4 blocks are still reachable in loss record 19 of 72
  214. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  215. ==26431== by 0x51D1A11: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  216. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  217. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  218. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  219. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  220. ==26431== by 0x11859B: main (prog.cpp:313)
  221. ==26431==
  222. ==26431== 128 bytes in 1 blocks are still reachable in loss record 20 of 72
  223. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  224. ==26431== by 0x51B9495: void std::vector<double, std::allocator<double> >::_M_realloc_insert<double const&>(__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >, double const&) (in /usr/local/lib/libmatplot.so)
  225. ==26431== by 0x51CC2EF: matplot::contours::process_contour_levels() (in /usr/local/lib/libmatplot.so)
  226. ==26431== by 0x51D1C99: matplot::contours::make_sure_data_is_preprocessed() (in /usr/local/lib/libmatplot.so)
  227. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  228. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  229. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  230. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  231. ==26431== by 0x11859B: main (prog.cpp:313)
  232. ==26431==
  233. ==26431== 136 bytes in 1 blocks are still reachable in loss record 21 of 72
  234. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  235. ==26431== by 0x11BF01: std::__new_allocator<std::_Sp_counted_ptr_inplace<matplot::backend::gnuplot, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (new_allocator.h:137)
  236. ==26431== by 0x11BD78: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<matplot::backend::gnuplot, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<matplot::backend::gnuplot, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (alloc_traits.h:464)
  237. ==26431== by 0x11BB59: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<matplot::backend::gnuplot, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<matplot::backend::gnuplot, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<matplot::backend::gnuplot, std::allocator<void>, (__gnu_cxx::_Lock_policy)2> >&) (allocated_ptr.h:98)
  238. ==26431== by 0x11B835: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<matplot::backend::gnuplot, std::allocator<void>>(matplot::backend::gnuplot*&, std::_Sp_alloc_shared_tag<std::allocator<void> >) (shared_ptr_base.h:969)
  239. ==26431== by 0x11B4D5: std::__shared_ptr<matplot::backend::gnuplot, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<void>>(std::_Sp_alloc_shared_tag<std::allocator<void> >) (shared_ptr_base.h:1712)
  240. ==26431== by 0x11B078: std::shared_ptr<matplot::backend::gnuplot>::shared_ptr<std::allocator<void>>(std::_Sp_alloc_shared_tag<std::allocator<void> >) (shared_ptr.h:464)
  241. ==26431== by 0x11AA95: std::shared_ptr<std::enable_if<!std::is_array<matplot::backend::gnuplot>::value, matplot::backend::gnuplot>::type> std::make_shared<matplot::backend::gnuplot>() (shared_ptr.h:1010)
  242. ==26431== by 0x11A1FF: std::shared_ptr<matplot::backend::backend_interface> matplot::create_backend<matplot::backend::gnuplot>() (backend_registry.h:17)
  243. ==26431== by 0x119592: std::shared_ptr<matplot::figure_type> matplot::figure<matplot::backend::gnuplot>(bool) (figure_registry.h:19)
  244. ==26431== by 0x118501: main (prog.cpp:308)
  245. ==26431==
  246. ==26431== 160 bytes in 1 blocks are still reachable in loss record 22 of 72
  247. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  248. ==26431== by 0x51B7BB5: matplot::QuadContourGenerator::QuadContourGenerator(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, bool, long) (in /usr/local/lib/libmatplot.so)
  249. ==26431== by 0x51CFB0D: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  250. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  251. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  252. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  253. ==26431== by 0x118577: main (prog.cpp:312)
  254. ==26431==
  255. ==26431== 160 bytes in 1 blocks are still reachable in loss record 23 of 72
  256. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  257. ==26431== by 0x5195C25: void std::vector<double, std::allocator<double> >::_M_realloc_insert<double&>(__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >, double&) (in /usr/local/lib/libmatplot.so)
  258. ==26431== by 0x51E0E91: matplot::histogram::bin_picker(double, double, unsigned long, double) (in /usr/local/lib/libmatplot.so)
  259. ==26431== by 0x51CAFCC: matplot::contours::determine_contour_levels(double, double, unsigned long, matplot::contours::extend_option) (in /usr/local/lib/libmatplot.so)
  260. ==26431== by 0x51CBF20: matplot::contours::process_contour_levels() (in /usr/local/lib/libmatplot.so)
  261. ==26431== by 0x51D1C99: matplot::contours::make_sure_data_is_preprocessed() (in /usr/local/lib/libmatplot.so)
  262. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  263. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  264. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  265. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  266. ==26431== by 0x11859B: main (prog.cpp:313)
  267. ==26431==
  268. ==26431== 176 bytes in 1 blocks are still reachable in loss record 24 of 72
  269. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  270. ==26431== by 0x5152571: matplot::iota(double, double, double) (in /usr/local/lib/libmatplot.so)
  271. ==26431== by 0x50E0810: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  272. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  273. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  274. ==26431== by 0x11851F: main (prog.cpp:311)
  275. ==26431==
  276. ==26431== 240 bytes in 1 blocks are still reachable in loss record 25 of 72
  277. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  278. ==26431== by 0x11B710: std::__new_allocator<std::vector<double, std::allocator<double> > >::allocate(unsigned long, void const*) (new_allocator.h:137)
  279. ==26431== by 0x11B3FC: std::allocator_traits<std::allocator<std::vector<double, std::allocator<double> > > >::allocate(std::allocator<std::vector<double, std::allocator<double> > >&, unsigned long) (alloc_traits.h:464)
  280. ==26431== by 0x11AF59: std::_Vector_base<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::_M_allocate(unsigned long) (stl_vector.h:378)
  281. ==26431== by 0x11A8B7: std::vector<double, std::allocator<double> >* std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::_M_allocate_and_copy<std::vector<double, std::allocator<double> > const*>(unsigned long, std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> > const*) (stl_vector.h:1614)
  282. ==26431== by 0x119FFA: void std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::_M_assign_aux<std::vector<double, std::allocator<double> > const*>(std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> > const*, std::forward_iterator_tag) (vector.tcc:318)
  283. ==26431== by 0x119543: std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::operator=(std::initializer_list<std::vector<double, std::allocator<double> > >) (stl_vector.h:785)
  284. ==26431== by 0x10AADB: input0() (prog.cpp:20)
  285. ==26431== by 0x1184F0: main (prog.cpp:305)
  286. ==26431==
  287. ==26431== 240 bytes in 1 blocks are still reachable in loss record 26 of 72
  288. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  289. ==26431== by 0x11B710: std::__new_allocator<std::vector<double, std::allocator<double> > >::allocate(unsigned long, void const*) (new_allocator.h:137)
  290. ==26431== by 0x11B3FC: std::allocator_traits<std::allocator<std::vector<double, std::allocator<double> > > >::allocate(std::allocator<std::vector<double, std::allocator<double> > >&, unsigned long) (alloc_traits.h:464)
  291. ==26431== by 0x11AF59: std::_Vector_base<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::_M_allocate(unsigned long) (stl_vector.h:378)
  292. ==26431== by 0x11A8B7: std::vector<double, std::allocator<double> >* std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::_M_allocate_and_copy<std::vector<double, std::allocator<double> > const*>(unsigned long, std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> > const*) (stl_vector.h:1614)
  293. ==26431== by 0x119FFA: void std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::_M_assign_aux<std::vector<double, std::allocator<double> > const*>(std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> > const*, std::forward_iterator_tag) (vector.tcc:318)
  294. ==26431== by 0x119543: std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::operator=(std::initializer_list<std::vector<double, std::allocator<double> > >) (stl_vector.h:785)
  295. ==26431== by 0x10B1E2: input0() (prog.cpp:32)
  296. ==26431== by 0x1184F0: main (prog.cpp:305)
  297. ==26431==
  298. ==26431== 240 bytes in 1 blocks are still reachable in loss record 27 of 72
  299. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  300. ==26431== by 0x11B710: std::__new_allocator<std::vector<double, std::allocator<double> > >::allocate(unsigned long, void const*) (new_allocator.h:137)
  301. ==26431== by 0x11B3FC: std::allocator_traits<std::allocator<std::vector<double, std::allocator<double> > > >::allocate(std::allocator<std::vector<double, std::allocator<double> > >&, unsigned long) (alloc_traits.h:464)
  302. ==26431== by 0x11AF59: std::_Vector_base<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::_M_allocate(unsigned long) (stl_vector.h:378)
  303. ==26431== by 0x11A8B7: std::vector<double, std::allocator<double> >* std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::_M_allocate_and_copy<std::vector<double, std::allocator<double> > const*>(unsigned long, std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> > const*) (stl_vector.h:1614)
  304. ==26431== by 0x119FFA: void std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::_M_assign_aux<std::vector<double, std::allocator<double> > const*>(std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> > const*, std::forward_iterator_tag) (vector.tcc:318)
  305. ==26431== by 0x119543: std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::operator=(std::initializer_list<std::vector<double, std::allocator<double> > >) (stl_vector.h:785)
  306. ==26431== by 0x10B921: input0() (prog.cpp:45)
  307. ==26431== by 0x1184F0: main (prog.cpp:305)
  308. ==26431==
  309. ==26431== 240 bytes in 1 blocks are still reachable in loss record 28 of 72
  310. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  311. ==26431== by 0x50F3ED9: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  312. ==26431== by 0x50E021D: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  313. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  314. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  315. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  316. ==26431== by 0x11851F: main (prog.cpp:311)
  317. ==26431==
  318. ==26431== 240 bytes in 1 blocks are still reachable in loss record 29 of 72
  319. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  320. ==26431== by 0x50F3ED9: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  321. ==26431== by 0x50E0244: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  322. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  323. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  324. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  325. ==26431== by 0x11851F: main (prog.cpp:311)
  326. ==26431==
  327. ==26431== 240 bytes in 1 blocks are still reachable in loss record 30 of 72
  328. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  329. ==26431== by 0x50F3ED9: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  330. ==26431== by 0x50E026E: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  331. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  332. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  333. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  334. ==26431== by 0x11851F: main (prog.cpp:311)
  335. ==26431==
  336. ==26431== 240 bytes in 1 blocks are still reachable in loss record 31 of 72
  337. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  338. ==26431== by 0x50F3ED9: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  339. ==26431== by 0x50E0295: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  340. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  341. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  342. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  343. ==26431== by 0x11851F: main (prog.cpp:311)
  344. ==26431==
  345. ==26431== 240 bytes in 1 blocks are still reachable in loss record 32 of 72
  346. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  347. ==26431== by 0x50F3ED9: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  348. ==26431== by 0x50E02BF: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  349. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  350. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  351. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  352. ==26431== by 0x11851F: main (prog.cpp:311)
  353. ==26431==
  354. ==26431== 240 bytes in 1 blocks are still reachable in loss record 33 of 72
  355. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  356. ==26431== by 0x50F3ED9: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  357. ==26431== by 0x50E02D8: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  358. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  359. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  360. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  361. ==26431== by 0x11851F: main (prog.cpp:311)
  362. ==26431==
  363. ==26431== 240 bytes in 1 blocks are still reachable in loss record 34 of 72
  364. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  365. ==26431== by 0x50F3ED9: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  366. ==26431== by 0x50E02F1: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  367. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  368. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  369. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  370. ==26431== by 0x11851F: main (prog.cpp:311)
  371. ==26431==
  372. ==26431== 240 bytes in 1 blocks are still reachable in loss record 35 of 72
  373. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  374. ==26431== by 0x50F3ED9: matplot::axis_type::axis_type(matplot::axes_type*, double, double, bool) (in /usr/local/lib/libmatplot.so)
  375. ==26431== by 0x50E030A: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  376. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  377. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  378. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  379. ==26431== by 0x11851F: main (prog.cpp:311)
  380. ==26431==
  381. ==26431== 240 bytes in 1 blocks are still reachable in loss record 36 of 72
  382. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  383. ==26431== by 0x51CF894: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  384. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  385. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  386. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  387. ==26431== by 0x118577: main (prog.cpp:312)
  388. ==26431==
  389. ==26431== 240 bytes in 1 blocks are still reachable in loss record 37 of 72
  390. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  391. ==26431== by 0x51CF90C: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  392. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  393. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  394. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  395. ==26431== by 0x118577: main (prog.cpp:312)
  396. ==26431==
  397. ==26431== 240 bytes in 1 blocks are still reachable in loss record 38 of 72
  398. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  399. ==26431== by 0x51CF984: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  400. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  401. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  402. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  403. ==26431== by 0x118577: main (prog.cpp:312)
  404. ==26431==
  405. ==26431== 240 bytes in 1 blocks are still reachable in loss record 39 of 72
  406. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  407. ==26431== by 0x51B77F0: matplot::QuadContourGenerator::QuadContourGenerator(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, bool, long) (in /usr/local/lib/libmatplot.so)
  408. ==26431== by 0x51CFB0D: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  409. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  410. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  411. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  412. ==26431== by 0x118577: main (prog.cpp:312)
  413. ==26431==
  414. ==26431== 240 bytes in 1 blocks are still reachable in loss record 40 of 72
  415. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  416. ==26431== by 0x51B78EC: matplot::QuadContourGenerator::QuadContourGenerator(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, bool, long) (in /usr/local/lib/libmatplot.so)
  417. ==26431== by 0x51CFB0D: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  418. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  419. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  420. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  421. ==26431== by 0x118577: main (prog.cpp:312)
  422. ==26431==
  423. ==26431== 240 bytes in 1 blocks are still reachable in loss record 41 of 72
  424. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  425. ==26431== by 0x51B7A01: matplot::QuadContourGenerator::QuadContourGenerator(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, bool, long) (in /usr/local/lib/libmatplot.so)
  426. ==26431== by 0x51CFB0D: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  427. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  428. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  429. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  430. ==26431== by 0x118577: main (prog.cpp:312)
  431. ==26431==
  432. ==26431== 256 bytes in 1 blocks are still reachable in loss record 42 of 72
  433. ==26431== at 0x4E050C5: malloc (vg_replace_malloc.c:393)
  434. ==26431== by 0x5C7F94D: popen@@GLIBC_2.2.5 (iopopen.c:230)
  435. ==26431== by 0x50A62C1: matplot::backend::gnuplot::gnuplot() (in /usr/local/lib/libmatplot.so)
  436. ==26431== by 0x11BFA1: void std::_Construct<matplot::backend::gnuplot>(matplot::backend::gnuplot*) (stl_construct.h:119)
  437. ==26431== by 0x11BE73: void std::allocator_traits<std::allocator<void> >::construct<matplot::backend::gnuplot>(std::allocator<void>&, matplot::backend::gnuplot*) (alloc_traits.h:635)
  438. ==26431== by 0x11BC30: std::_Sp_counted_ptr_inplace<matplot::backend::gnuplot, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<>(std::allocator<void>) (shared_ptr_base.h:604)
  439. ==26431== by 0x11B867: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<matplot::backend::gnuplot, std::allocator<void>>(matplot::backend::gnuplot*&, std::_Sp_alloc_shared_tag<std::allocator<void> >) (shared_ptr_base.h:971)
  440. ==26431== by 0x11B4D5: std::__shared_ptr<matplot::backend::gnuplot, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<void>>(std::_Sp_alloc_shared_tag<std::allocator<void> >) (shared_ptr_base.h:1712)
  441. ==26431== by 0x11B078: std::shared_ptr<matplot::backend::gnuplot>::shared_ptr<std::allocator<void>>(std::_Sp_alloc_shared_tag<std::allocator<void> >) (shared_ptr.h:464)
  442. ==26431== by 0x11AA95: std::shared_ptr<std::enable_if<!std::is_array<matplot::backend::gnuplot>::value, matplot::backend::gnuplot>::type> std::make_shared<matplot::backend::gnuplot>() (shared_ptr.h:1010)
  443. ==26431== by 0x11A1FF: std::shared_ptr<matplot::backend::backend_interface> matplot::create_backend<matplot::backend::gnuplot>() (backend_registry.h:17)
  444. ==26431== by 0x119592: std::shared_ptr<matplot::figure_type> matplot::figure<matplot::backend::gnuplot>(bool) (figure_registry.h:19)
  445. ==26431==
  446. ==26431== 280 bytes in 1 blocks are still reachable in loss record 43 of 72
  447. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  448. ==26431== by 0x5101778: matplot::detail::register_figure_handle(bool) (in /usr/local/lib/libmatplot.so)
  449. ==26431== by 0x5101815: matplot::figure_no_backend(bool) (in /usr/local/lib/libmatplot.so)
  450. ==26431== by 0x1195A4: std::shared_ptr<matplot::figure_type> matplot::figure<matplot::backend::gnuplot>(bool) (figure_registry.h:21)
  451. ==26431== by 0x118501: main (prog.cpp:308)
  452. ==26431==
  453. ==26431== 320 bytes in 1 blocks are still reachable in loss record 44 of 72
  454. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  455. ==26431== by 0x51B91E4: std::vector<matplot::ContourLine*, std::allocator<matplot::ContourLine*> >::_M_fill_insert(__gnu_cxx::__normal_iterator<matplot::ContourLine**, std::vector<matplot::ContourLine*, std::allocator<matplot::ContourLine*> > >, unsigned long, matplot::ContourLine* const&) (in /usr/local/lib/libmatplot.so)
  456. ==26431== by 0x51B4A3E: matplot::ParentCache::set_chunk_starts(long, long) (in /usr/local/lib/libmatplot.so)
  457. ==26431== by 0x51B71B6: matplot::QuadContourGenerator::create_filled_contour(double const&, double const&) (in /usr/local/lib/libmatplot.so)
  458. ==26431== by 0x51D13C5: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  459. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  460. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  461. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  462. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  463. ==26431== by 0x11859B: main (prog.cpp:313)
  464. ==26431==
  465. ==26431== 320 bytes in 10 blocks are still reachable in loss record 45 of 72
  466. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  467. ==26431== by 0x50F0F58: std::vector<double, std::allocator<double> >* std::__do_uninit_copy<__gnu_cxx::__normal_iterator<std::vector<double, std::allocator<double> > const*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > >, std::vector<double, std::allocator<double> >*>(__gnu_cxx::__normal_iterator<std::vector<double, std::allocator<double> > const*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > >, __gnu_cxx::__normal_iterator<std::vector<double, std::allocator<double> > const*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > >, std::vector<double, std::allocator<double> >*) (in /usr/local/lib/libmatplot.so)
  468. ==26431== by 0x51CF8BE: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  469. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  470. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  471. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  472. ==26431== by 0x118577: main (prog.cpp:312)
  473. ==26431==
  474. ==26431== 320 bytes in 10 blocks are still reachable in loss record 46 of 72
  475. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  476. ==26431== by 0x50F0F58: std::vector<double, std::allocator<double> >* std::__do_uninit_copy<__gnu_cxx::__normal_iterator<std::vector<double, std::allocator<double> > const*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > >, std::vector<double, std::allocator<double> >*>(__gnu_cxx::__normal_iterator<std::vector<double, std::allocator<double> > const*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > >, __gnu_cxx::__normal_iterator<std::vector<double, std::allocator<double> > const*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > >, std::vector<double, std::allocator<double> >*) (in /usr/local/lib/libmatplot.so)
  477. ==26431== by 0x51CF937: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  478. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  479. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  480. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  481. ==26431== by 0x118577: main (prog.cpp:312)
  482. ==26431==
  483. ==26431== 320 bytes in 10 blocks are still reachable in loss record 47 of 72
  484. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  485. ==26431== by 0x50F0F58: std::vector<double, std::allocator<double> >* std::__do_uninit_copy<__gnu_cxx::__normal_iterator<std::vector<double, std::allocator<double> > const*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > >, std::vector<double, std::allocator<double> >*>(__gnu_cxx::__normal_iterator<std::vector<double, std::allocator<double> > const*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > >, __gnu_cxx::__normal_iterator<std::vector<double, std::allocator<double> > const*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > >, std::vector<double, std::allocator<double> >*) (in /usr/local/lib/libmatplot.so)
  486. ==26431== by 0x51CF9AE: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  487. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  488. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  489. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  490. ==26431== by 0x118577: main (prog.cpp:312)
  491. ==26431==
  492. ==26431== 320 bytes in 10 blocks are still reachable in loss record 48 of 72
  493. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  494. ==26431== by 0x51B783A: matplot::QuadContourGenerator::QuadContourGenerator(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, bool, long) (in /usr/local/lib/libmatplot.so)
  495. ==26431== by 0x51CFB0D: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  496. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  497. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  498. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  499. ==26431== by 0x118577: main (prog.cpp:312)
  500. ==26431==
  501. ==26431== 320 bytes in 10 blocks are still reachable in loss record 49 of 72
  502. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  503. ==26431== by 0x51B7940: matplot::QuadContourGenerator::QuadContourGenerator(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, bool, long) (in /usr/local/lib/libmatplot.so)
  504. ==26431== by 0x51CFB0D: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  505. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  506. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  507. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  508. ==26431== by 0x118577: main (prog.cpp:312)
  509. ==26431==
  510. ==26431== 320 bytes in 10 blocks are still reachable in loss record 50 of 72
  511. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  512. ==26431== by 0x51B7A50: matplot::QuadContourGenerator::QuadContourGenerator(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, bool, long) (in /usr/local/lib/libmatplot.so)
  513. ==26431== by 0x51CFB0D: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  514. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  515. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  516. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  517. ==26431== by 0x118577: main (prog.cpp:312)
  518. ==26431==
  519. ==26431== 384 bytes in 1 blocks are still reachable in loss record 51 of 72
  520. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  521. ==26431== by 0x51D63CE: void std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > >::_M_realloc_insert<std::vector<unsigned char, std::allocator<unsigned char> >&>(__gnu_cxx::__normal_iterator<std::vector<unsigned char, std::allocator<unsigned char> >*, std::vector<std::vector<unsigned char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned char, std::allocator<unsigned char> > > > >, std::vector<unsigned char, std::allocator<unsigned char> >&) (in /usr/local/lib/libmatplot.so)
  522. ==26431== by 0x51D18C9: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  523. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  524. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  525. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  526. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  527. ==26431== by 0x11859B: main (prog.cpp:313)
  528. ==26431==
  529. ==26431== 384 bytes in 1 blocks are still reachable in loss record 52 of 72
  530. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  531. ==26431== by 0x51D5FE6: void std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > >::_M_realloc_insert<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&>(__gnu_cxx::__normal_iterator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >*, std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > > >, std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&) (in /usr/local/lib/libmatplot.so)
  532. ==26431== by 0x51D1311: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  533. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  534. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  535. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  536. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  537. ==26431== by 0x11859B: main (prog.cpp:313)
  538. ==26431==
  539. ==26431== 456 bytes in 4 blocks are still reachable in loss record 53 of 72
  540. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  541. ==26431== by 0x51D5D80: void std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > >::_M_realloc_insert<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&>(__gnu_cxx::__normal_iterator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >*, std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > > >, std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&) (in /usr/local/lib/libmatplot.so)
  542. ==26431== by 0x51D1311: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  543. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  544. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  545. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  546. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  547. ==26431== by 0x11859B: main (prog.cpp:313)
  548. ==26431==
  549. ==26431== 456 bytes in 4 blocks are still reachable in loss record 54 of 72
  550. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  551. ==26431== by 0x51D5E12: void std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > >::_M_realloc_insert<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&>(__gnu_cxx::__normal_iterator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >*, std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > > >, std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&) (in /usr/local/lib/libmatplot.so)
  552. ==26431== by 0x51D1311: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  553. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  554. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  555. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  556. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  557. ==26431== by 0x11859B: main (prog.cpp:313)
  558. ==26431==
  559. ==26431== 512 bytes in 4 blocks are still reachable in loss record 55 of 72
  560. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  561. ==26431== by 0x51D1150: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  562. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  563. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  564. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  565. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  566. ==26431== by 0x11859B: main (prog.cpp:313)
  567. ==26431==
  568. ==26431== 512 bytes in 4 blocks are still reachable in loss record 56 of 72
  569. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  570. ==26431== by 0x51D11DA: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  571. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  572. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  573. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  574. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  575. ==26431== by 0x11859B: main (prog.cpp:313)
  576. ==26431==
  577. ==26431== 768 bytes in 1 blocks are still reachable in loss record 57 of 72
  578. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  579. ==26431== by 0x51D5FE6: void std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > >::_M_realloc_insert<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&>(__gnu_cxx::__normal_iterator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >*, std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > > >, std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&) (in /usr/local/lib/libmatplot.so)
  580. ==26431== by 0x51D18A0: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  581. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  582. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  583. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  584. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  585. ==26431== by 0x11859B: main (prog.cpp:313)
  586. ==26431==
  587. ==26431== 848 bytes in 5 blocks are still reachable in loss record 58 of 72
  588. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  589. ==26431== by 0x51D5D80: void std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > >::_M_realloc_insert<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&>(__gnu_cxx::__normal_iterator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >*, std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > > >, std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&) (in /usr/local/lib/libmatplot.so)
  590. ==26431== by 0x51D18A0: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  591. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  592. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  593. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  594. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  595. ==26431== by 0x11859B: main (prog.cpp:313)
  596. ==26431==
  597. ==26431== 848 bytes in 5 blocks are still reachable in loss record 59 of 72
  598. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  599. ==26431== by 0x51D5E12: void std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > >::_M_realloc_insert<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&>(__gnu_cxx::__normal_iterator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >*, std::vector<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >, std::allocator<std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > > > > >, std::pair<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > >&) (in /usr/local/lib/libmatplot.so)
  600. ==26431== by 0x51D18A0: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  601. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  602. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  603. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  604. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  605. ==26431== by 0x11859B: main (prog.cpp:313)
  606. ==26431==
  607. ==26431== 880 bytes in 4 blocks are still reachable in loss record 60 of 72
  608. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  609. ==26431== by 0x51D1416: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  610. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  611. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  612. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  613. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  614. ==26431== by 0x11859B: main (prog.cpp:313)
  615. ==26431==
  616. ==26431== 880 bytes in 4 blocks are still reachable in loss record 61 of 72
  617. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  618. ==26431== by 0x51D14A0: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  619. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  620. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  621. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  622. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  623. ==26431== by 0x11859B: main (prog.cpp:313)
  624. ==26431==
  625. ==26431== 896 bytes in 1 blocks are still reachable in loss record 62 of 72
  626. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  627. ==26431== by 0x51D6926: void std::vector<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double>, std::allocator<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double> > >::_M_realloc_insert<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double>&>(__gnu_cxx::__normal_iterator<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double>*, std::vector<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double>, std::allocator<std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double> > > >, std::tuple<std::tuple<unsigned long, unsigned long, unsigned long>, std::vector<std::tuple<unsigned long, unsigned long, unsigned long>, std::allocator<std::tuple<unsigned long, unsigned long, unsigned long> > >, double>&) (in /usr/local/lib/libmatplot.so)
  628. ==26431== by 0x51D1B7F: matplot::contours::process_all_segs_and_all_kinds() (in /usr/local/lib/libmatplot.so)
  629. ==26431== by 0x51D34CA: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  630. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  631. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  632. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  633. ==26431== by 0x11859B: main (prog.cpp:313)
  634. ==26431==
  635. ==26431== 960 bytes in 30 blocks are still reachable in loss record 63 of 72
  636. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  637. ==26431== by 0x11B1FD: std::__new_allocator<double>::allocate(unsigned long, void const*) (new_allocator.h:137)
  638. ==26431== by 0x11ABFC: std::allocator_traits<std::allocator<double> >::allocate(std::allocator<double>&, unsigned long) (alloc_traits.h:464)
  639. ==26431== by 0x11A371: std::_Vector_base<double, std::allocator<double> >::_M_allocate(unsigned long) (stl_vector.h:378)
  640. ==26431== by 0x11A6F6: std::_Vector_base<double, std::allocator<double> >::_M_create_storage(unsigned long) (stl_vector.h:395)
  641. ==26431== by 0x119E62: std::_Vector_base<double, std::allocator<double> >::_Vector_base(unsigned long, std::allocator<double> const&) (stl_vector.h:332)
  642. ==26431== by 0x11940C: std::vector<double, std::allocator<double> >::vector(std::vector<double, std::allocator<double> > const&) (stl_vector.h:598)
  643. ==26431== by 0x11BABF: void std::_Construct<std::vector<double, std::allocator<double> >, std::vector<double, std::allocator<double> > const&>(std::vector<double, std::allocator<double> >*, std::vector<double, std::allocator<double> > const&) (stl_construct.h:119)
  644. ==26431== by 0x11B785: std::vector<double, std::allocator<double> >* std::__do_uninit_copy<std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> >*>(std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> >*) (stl_uninitialized.h:120)
  645. ==26431== by 0x11B498: std::vector<double, std::allocator<double> >* std::__uninitialized_copy<false>::__uninit_copy<std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> >*>(std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> >*) (stl_uninitialized.h:137)
  646. ==26431== by 0x11B04F: std::vector<double, std::allocator<double> >* std::uninitialized_copy<std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> >*>(std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> >*) (stl_uninitialized.h:185)
  647. ==26431== by 0x11AA5E: std::vector<double, std::allocator<double> >* std::__uninitialized_copy_a<std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> >*, std::vector<double, std::allocator<double> > >(std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> > const*, std::vector<double, std::allocator<double> >*, std::allocator<std::vector<double, std::allocator<double> > >&) (stl_uninitialized.h:372)
  648. ==26431==
  649. ==26431== 1,032 bytes in 1 blocks are still reachable in loss record 64 of 72
  650. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  651. ==26431== by 0x50C8FBB: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  652. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  653. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  654. ==26431== by 0x118577: main (prog.cpp:312)
  655. ==26431==
  656. ==26431== 1,040 bytes in 1 blocks are still reachable in loss record 65 of 72
  657. ==26431== at 0x4E09C7D: calloc (vg_replace_malloc.c:1340)
  658. ==26431== by 0x5C40BFE: __new_exitfn (cxa_atexit.c:114)
  659. ==26431== by 0x5C40D6F: __internal_atexit (cxa_atexit.c:44)
  660. ==26431== by 0x5C40D6F: __cxa_atexit (cxa_atexit.c:70)
  661. ==26431== by 0x4004FBD: call_init.part.0 (dl-init.c:70)
  662. ==26431== by 0x40050A7: call_init (dl-init.c:33)
  663. ==26431== by 0x40050A7: _dl_init (dl-init.c:117)
  664. ==26431== by 0x401D8AF: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2)
  665. ==26431==
  666. ==26431== 1,536 bytes in 1 blocks are still reachable in loss record 66 of 72
  667. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  668. ==26431== by 0x5108085: std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::vector(std::initializer_list<std::vector<double, std::allocator<double> > >, std::allocator<std::vector<double, std::allocator<double> > > const&) [clone .constprop.0] (in /usr/local/lib/libmatplot.so)
  669. ==26431== by 0x5109954: matplot::palette::default_map(unsigned long) (in /usr/local/lib/libmatplot.so)
  670. ==26431== by 0x50E04C1: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  671. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  672. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  673. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  674. ==26431== by 0x11851F: main (prog.cpp:311)
  675. ==26431==
  676. ==26431== 1,536 bytes in 1 blocks are still reachable in loss record 67 of 72
  677. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  678. ==26431== by 0x5147B3E: std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::vector(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&) (in /usr/local/lib/libmatplot.so)
  679. ==26431== by 0x51099BE: matplot::palette::default_map(unsigned long) (in /usr/local/lib/libmatplot.so)
  680. ==26431== by 0x50E04C1: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  681. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  682. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  683. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  684. ==26431== by 0x11851F: main (prog.cpp:311)
  685. ==26431==
  686. ==26431== 1,536 bytes in 64 blocks are still reachable in loss record 68 of 72
  687. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  688. ==26431== by 0x51080C2: std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::vector(std::initializer_list<std::vector<double, std::allocator<double> > >, std::allocator<std::vector<double, std::allocator<double> > > const&) [clone .constprop.0] (in /usr/local/lib/libmatplot.so)
  689. ==26431== by 0x5109954: matplot::palette::default_map(unsigned long) (in /usr/local/lib/libmatplot.so)
  690. ==26431== by 0x50E04C1: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  691. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  692. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  693. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  694. ==26431== by 0x11851F: main (prog.cpp:311)
  695. ==26431==
  696. ==26431== 1,536 bytes in 64 blocks are still reachable in loss record 69 of 72
  697. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  698. ==26431== by 0x5147B90: std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >::vector(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&) (in /usr/local/lib/libmatplot.so)
  699. ==26431== by 0x51099BE: matplot::palette::default_map(unsigned long) (in /usr/local/lib/libmatplot.so)
  700. ==26431== by 0x50E04C1: matplot::axes_type::axes_type(matplot::figure_type*, std::array<float, 4ul>) (in /usr/local/lib/libmatplot.so)
  701. ==26431== by 0x50E07D2: matplot::axes_type::axes_type(matplot::figure_type*) (in /usr/local/lib/libmatplot.so)
  702. ==26431== by 0x50FD1AE: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  703. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  704. ==26431== by 0x11851F: main (prog.cpp:311)
  705. ==26431==
  706. ==26431== 3,624 bytes in 1 blocks are still reachable in loss record 70 of 72
  707. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  708. ==26431== by 0x50FD183: matplot::figure_type::add_axes(bool) (in /usr/local/lib/libmatplot.so)
  709. ==26431== by 0x50FD496: matplot::figure_type::current_axes() (in /usr/local/lib/libmatplot.so)
  710. ==26431== by 0x11851F: main (prog.cpp:311)
  711. ==26431==
  712. ==26431== 4,096 bytes in 1 blocks are still reachable in loss record 71 of 72
  713. ==26431== at 0x4E050C5: malloc (vg_replace_malloc.c:393)
  714. ==26431== by 0x5C7D6D3: _IO_file_doallocate (filedoalloc.c:101)
  715. ==26431== by 0x5C8C60F: _IO_doallocbuf (genops.c:347)
  716. ==26431== by 0x5C8B87F: _IO_file_overflow@@GLIBC_2.2.5 (fileops.c:744)
  717. ==26431== by 0x5C8A0D4: _IO_new_file_xsputn (fileops.c:1243)
  718. ==26431== by 0x5C8A0D4: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1196)
  719. ==26431== by 0x5C7E5FC: fputs (iofputs.c:38)
  720. ==26431== by 0x50A12CC: matplot::backend::gnuplot::run_command(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (in /usr/local/lib/libmatplot.so)
  721. ==26431== by 0x50F9F3D: matplot::figure_type::run_figure_properties_command() (in /usr/local/lib/libmatplot.so)
  722. ==26431== by 0x50FAB01: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  723. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  724. ==26431== by 0x11859B: main (prog.cpp:313)
  725. ==26431==
  726. ==26431== 72,704 bytes in 1 blocks are still reachable in loss record 72 of 72
  727. ==26431== at 0x4E050C5: malloc (vg_replace_malloc.c:393)
  728. ==26431== by 0x5A83A89: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
  729. ==26431== by 0x4004FBD: call_init.part.0 (dl-init.c:70)
  730. ==26431== by 0x40050A7: call_init (dl-init.c:33)
  731. ==26431== by 0x40050A7: _dl_init (dl-init.c:117)
  732. ==26431== by 0x401D8AF: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2)
  733. ==26431==
  734. ==26431== LEAK SUMMARY:
  735. ==26431== definitely lost: 0 bytes in 0 blocks
  736. ==26431== indirectly lost: 0 bytes in 0 blocks
  737. ==26431== possibly lost: 0 bytes in 0 blocks
  738. ==26431== still reachable: 106,511 bytes in 317 blocks
  739. ==26431== suppressed: 0 bytes in 0 blocks
  740. ==26431==
  741. ==26431== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
  742. ==26431==
  743. ==26431== 1 errors in context 1 of 2:
  744. ==26431== Invalid read of size 8
  745. ==26431== at 0x51C93D1: matplot::contours::is_lower_level(unsigned long, unsigned long, unsigned long) (in /usr/local/lib/libmatplot.so)
  746. ==26431== by 0x51D4E44: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  747. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  748. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  749. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  750. ==26431== by 0x11859B: main (prog.cpp:313)
  751. ==26431== Address 0x8 is not stack'd, malloc'd or (recently) free'd
  752. ==26431==
  753. ==26431==
  754. ==26431== 1 errors in context 2 of 2:
  755. ==26431== Invalid read of size 8
  756. ==26431== at 0x51C93CD: matplot::contours::is_lower_level(unsigned long, unsigned long, unsigned long) (in /usr/local/lib/libmatplot.so)
  757. ==26431== by 0x51D4E44: matplot::contours::plot_string[abi:cxx11]() (in /usr/local/lib/libmatplot.so)
  758. ==26431== by 0x50C3E2E: matplot::axes_type::run_plot_objects_command() (in /usr/local/lib/libmatplot.so)
  759. ==26431== by 0x50FAC58: matplot::figure_type::send_gnuplot_draw_commands() (in /usr/local/lib/libmatplot.so)
  760. ==26431== by 0x50FB314: matplot::figure_type::draw() (in /usr/local/lib/libmatplot.so)
  761. ==26431== by 0x11859B: main (prog.cpp:313)
  762. ==26431== Address 0x5ed4860 is 0 bytes after a block of size 240 alloc'd
  763. ==26431== at 0x4E05833: operator new(unsigned long) (vg_replace_malloc.c:434)
  764. ==26431== by 0x51CF984: matplot::contours::contours(matplot::axes_type*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  765. ==26431== by 0x50C9005: matplot::axes_type::contour(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  766. ==26431== by 0x50CA252: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<double, std::allocator<double> >, std::basic_string_view<char, std::char_traits<char> >, unsigned long) (in /usr/local/lib/libmatplot.so)
  767. ==26431== by 0x50CA526: matplot::axes_type::contourf(std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > const&, unsigned long, std::basic_string_view<char, std::char_traits<char> >) (in /usr/local/lib/libmatplot.so)
  768. ==26431== by 0x118577: main (prog.cpp:312)
  769. ==26431==
  770. ==26431== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
  771. Segmentation fault (core dumped)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement