Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Oooops. cargo valgrind unexpectedly crashed. This is a bug! #68

Closed
cpmech opened this issue Jun 16, 2022 · 3 comments
Closed

Oooops. cargo valgrind unexpectedly crashed. This is a bug! #68

cpmech opened this issue Jun 16, 2022 · 3 comments

Comments

@cpmech
Copy link

cpmech commented Jun 16, 2022

Hi There,

I was working with your nice tool and got a message saying that I should submit an issue. Here you are (huge XML follows).

This is my project/branch https://github.com/cpmech/tritet/tree/issue-with-cargo-valgrind

To reproduce the issue, you may run cargo valgrind run --bin mem_check_build

But I may be doing something wrong! LOL

By the way, there is a double-free issue in my code that I deliberately let happen to verify that Valgrind captures it.

Cheers.
Dorival

cargo-valgrind: version 2.0.3
XML format mismatch between valgrind and cargo valgrind: custom: duplicate field stack
XML output of valgrind:

<?xml version="1.0"?>

<valgrindoutput>

<protocolversion>4</protocolversion>
<protocoltool>memcheck</protocoltool>

<preamble>
  <line>Memcheck, a memory error detector</line>
  <line>Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.</line>
  <line>Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info</line>
  <line>Command: /home/dorival/rust_modules/debug/mem_check_build</line>
</preamble>

<pid>3596</pid>
<ppid>3593</ppid>
<tool>memcheck</tool>

<args>
  <vargv>
    <exe>/usr/bin/valgrind.bin</exe>
    <arg>--xml=yes</arg>
    <arg>--xml-socket=127.0.0.1:39543</arg>
  </vargv>
  <argv>
    <exe>/home/dorival/rust_modules/debug/mem_check_build</exe>
  </argv>
</args>

<status>
  <state>RUNNING</state>
  <time>00:00:00:00.104 </time>
</status>

<error>
  <unique>0x0</unique>
  <tid>1</tid>
  <kind>UninitCondition</kind>
  <what>Conditional jump or move depends on uninitialised value(s)</what>
  <stack>
    <frame>
      <ip>0x13D8AE</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>carveholes</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>13073</line>
    </frame>
    <frame>
      <ip>0x142D94</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>triangulate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>15808</line>
    </frame>
    <frame>
      <ip>0x1112E9</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>217</line>
    </frame>
    <frame>
      <ip>0x110B5B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>tritet::triangle::Triangle::generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src</dir>
      <file>triangle.rs</file>
      <line>161</line>
    </frame>
    <frame>
      <ip>0x11004F</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>mem_check_build::main</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src/bin</dir>
      <file>mem_check_build.rs</file>
      <line>14</line>
    </frame>
    <frame>
      <ip>0x1105FA</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ops::function::FnOnce::call_once</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>248</line>
    </frame>
    <frame>
      <ip>0x11057D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::sys_common::backtrace::__rust_begin_short_backtrace</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src/sys_common</dir>
      <file>backtrace.rs</file>
      <line>122</line>
    </frame>
    <frame>
      <ip>0x1106F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start::{{closure}}</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>145</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>call_once&lt;(), (dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>280</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;i32, &amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>{closure#2}</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;isize, std::rt::lang_start_internal::{closure_env#2}&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start_internal</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x1106BF</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>144</line>
    </frame>
    <frame>
      <ip>0x11012B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>main</fn>
    </frame>
  </stack>
</error>

<error>
  <unique>0x1</unique>
  <tid>1</tid>
  <kind>UninitCondition</kind>
  <what>Conditional jump or move depends on uninitialised value(s)</what>
  <stack>
    <frame>
      <ip>0x13D8E2</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>carveholes</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>13073</line>
    </frame>
    <frame>
      <ip>0x142D94</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>triangulate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>15808</line>
    </frame>
    <frame>
      <ip>0x1112E9</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>217</line>
    </frame>
    <frame>
      <ip>0x110B5B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>tritet::triangle::Triangle::generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src</dir>
      <file>triangle.rs</file>
      <line>161</line>
    </frame>
    <frame>
      <ip>0x11004F</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>mem_check_build::main</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src/bin</dir>
      <file>mem_check_build.rs</file>
      <line>14</line>
    </frame>
    <frame>
      <ip>0x1105FA</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ops::function::FnOnce::call_once</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>248</line>
    </frame>
    <frame>
      <ip>0x11057D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::sys_common::backtrace::__rust_begin_short_backtrace</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src/sys_common</dir>
      <file>backtrace.rs</file>
      <line>122</line>
    </frame>
    <frame>
      <ip>0x1106F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start::{{closure}}</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>145</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>call_once&lt;(), (dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>280</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;i32, &amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>{closure#2}</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;isize, std::rt::lang_start_internal::{closure_env#2}&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start_internal</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x1106BF</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>144</line>
    </frame>
    <frame>
      <ip>0x11012B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>main</fn>
    </frame>
  </stack>
</error>

<error>
  <unique>0x2</unique>
  <tid>1</tid>
  <kind>UninitCondition</kind>
  <what>Conditional jump or move depends on uninitialised value(s)</what>
  <stack>
    <frame>
      <ip>0x13D91A</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>carveholes</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>13073</line>
    </frame>
    <frame>
      <ip>0x142D94</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>triangulate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>15808</line>
    </frame>
    <frame>
      <ip>0x1112E9</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>217</line>
    </frame>
    <frame>
      <ip>0x110B5B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>tritet::triangle::Triangle::generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src</dir>
      <file>triangle.rs</file>
      <line>161</line>
    </frame>
    <frame>
      <ip>0x11004F</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>mem_check_build::main</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src/bin</dir>
      <file>mem_check_build.rs</file>
      <line>14</line>
    </frame>
    <frame>
      <ip>0x1105FA</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ops::function::FnOnce::call_once</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>248</line>
    </frame>
    <frame>
      <ip>0x11057D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::sys_common::backtrace::__rust_begin_short_backtrace</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src/sys_common</dir>
      <file>backtrace.rs</file>
      <line>122</line>
    </frame>
    <frame>
      <ip>0x1106F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start::{{closure}}</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>145</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>call_once&lt;(), (dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>280</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;i32, &amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>{closure#2}</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;isize, std::rt::lang_start_internal::{closure_env#2}&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start_internal</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x1106BF</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>144</line>
    </frame>
    <frame>
      <ip>0x11012B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>main</fn>
    </frame>
  </stack>
</error>

<error>
  <unique>0x3</unique>
  <tid>1</tid>
  <kind>UninitCondition</kind>
  <what>Conditional jump or move depends on uninitialised value(s)</what>
  <stack>
    <frame>
      <ip>0x13D952</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>carveholes</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>13074</line>
    </frame>
    <frame>
      <ip>0x142D94</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>triangulate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>15808</line>
    </frame>
    <frame>
      <ip>0x1112E9</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>217</line>
    </frame>
    <frame>
      <ip>0x110B5B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>tritet::triangle::Triangle::generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src</dir>
      <file>triangle.rs</file>
      <line>161</line>
    </frame>
    <frame>
      <ip>0x11004F</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>mem_check_build::main</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src/bin</dir>
      <file>mem_check_build.rs</file>
      <line>14</line>
    </frame>
    <frame>
      <ip>0x1105FA</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ops::function::FnOnce::call_once</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>248</line>
    </frame>
    <frame>
      <ip>0x11057D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::sys_common::backtrace::__rust_begin_short_backtrace</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src/sys_common</dir>
      <file>backtrace.rs</file>
      <line>122</line>
    </frame>
    <frame>
      <ip>0x1106F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start::{{closure}}</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>145</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>call_once&lt;(), (dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>280</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;i32, &amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>{closure#2}</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;isize, std::rt::lang_start_internal::{closure_env#2}&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start_internal</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x1106BF</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>144</line>
    </frame>
    <frame>
      <ip>0x11012B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>main</fn>
    </frame>
  </stack>
</error>

<error>
  <unique>0x4</unique>
  <tid>1</tid>
  <kind>UninitCondition</kind>
  <what>Conditional jump or move depends on uninitialised value(s)</what>
  <stack>
    <frame>
      <ip>0x116DE6</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>counterclockwise</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>5263</line>
    </frame>
    <frame>
      <ip>0x13DA2B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>carveholes</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>13085</line>
    </frame>
    <frame>
      <ip>0x142D94</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>triangulate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>15808</line>
    </frame>
    <frame>
      <ip>0x1112E9</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>217</line>
    </frame>
    <frame>
      <ip>0x110B5B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>tritet::triangle::Triangle::generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src</dir>
      <file>triangle.rs</file>
      <line>161</line>
    </frame>
    <frame>
      <ip>0x11004F</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>mem_check_build::main</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src/bin</dir>
      <file>mem_check_build.rs</file>
      <line>14</line>
    </frame>
    <frame>
      <ip>0x1105FA</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ops::function::FnOnce::call_once</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>248</line>
    </frame>
    <frame>
      <ip>0x11057D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::sys_common::backtrace::__rust_begin_short_backtrace</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src/sys_common</dir>
      <file>backtrace.rs</file>
      <line>122</line>
    </frame>
    <frame>
      <ip>0x1106F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start::{{closure}}</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>145</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>call_once&lt;(), (dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>280</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;i32, &amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>{closure#2}</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;isize, std::rt::lang_start_internal::{closure_env#2}&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start_internal</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x1106BF</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>144</line>
    </frame>
    <frame>
      <ip>0x11012B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>main</fn>
    </frame>
  </stack>
</error>

<error>
  <unique>0x5</unique>
  <tid>1</tid>
  <kind>UninitCondition</kind>
  <what>Conditional jump or move depends on uninitialised value(s)</what>
  <stack>
    <frame>
      <ip>0x116E16</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>counterclockwise</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>5269</line>
    </frame>
    <frame>
      <ip>0x13DA2B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>carveholes</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>13085</line>
    </frame>
    <frame>
      <ip>0x142D94</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>triangulate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>15808</line>
    </frame>
    <frame>
      <ip>0x1112E9</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>217</line>
    </frame>
    <frame>
      <ip>0x110B5B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>tritet::triangle::Triangle::generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src</dir>
      <file>triangle.rs</file>
      <line>161</line>
    </frame>
    <frame>
      <ip>0x11004F</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>mem_check_build::main</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src/bin</dir>
      <file>mem_check_build.rs</file>
      <line>14</line>
    </frame>
    <frame>
      <ip>0x1105FA</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ops::function::FnOnce::call_once</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>248</line>
    </frame>
    <frame>
      <ip>0x11057D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::sys_common::backtrace::__rust_begin_short_backtrace</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src/sys_common</dir>
      <file>backtrace.rs</file>
      <line>122</line>
    </frame>
    <frame>
      <ip>0x1106F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start::{{closure}}</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>145</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>call_once&lt;(), (dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>280</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;i32, &amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>{closure#2}</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;isize, std::rt::lang_start_internal::{closure_env#2}&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start_internal</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x1106BF</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>144</line>
    </frame>
    <frame>
      <ip>0x11012B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>main</fn>
    </frame>
  </stack>
</error>

<error>
  <unique>0x6</unique>
  <tid>1</tid>
  <kind>UninitCondition</kind>
  <what>Conditional jump or move depends on uninitialised value(s)</what>
  <stack>
    <frame>
      <ip>0x13DA34</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>carveholes</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>13085</line>
    </frame>
    <frame>
      <ip>0x142D94</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>triangulate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>triangle.c</file>
      <line>15808</line>
    </frame>
    <frame>
      <ip>0x1112E9</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>217</line>
    </frame>
    <frame>
      <ip>0x110B5B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>tritet::triangle::Triangle::generate</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src</dir>
      <file>triangle.rs</file>
      <line>161</line>
    </frame>
    <frame>
      <ip>0x11004F</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>mem_check_build::main</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src/bin</dir>
      <file>mem_check_build.rs</file>
      <line>14</line>
    </frame>
    <frame>
      <ip>0x1105FA</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ops::function::FnOnce::call_once</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>248</line>
    </frame>
    <frame>
      <ip>0x11057D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::sys_common::backtrace::__rust_begin_short_backtrace</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src/sys_common</dir>
      <file>backtrace.rs</file>
      <line>122</line>
    </frame>
    <frame>
      <ip>0x1106F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start::{{closure}}</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>145</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>call_once&lt;(), (dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>280</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;i32, &amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>{closure#2}</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;isize, std::rt::lang_start_internal::{closure_env#2}&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start_internal</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x1106BF</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>144</line>
    </frame>
    <frame>
      <ip>0x11012B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>main</fn>
    </frame>
  </stack>
</error>

<error>
  <unique>0x7</unique>
  <tid>1</tid>
  <kind>InvalidFree</kind>
  <what>Invalid free() / delete / delete[] / realloc()</what>
  <stack>
    <frame>
      <ip>0x483CA3F</ip>
      <obj>/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>free</fn>
    </frame>
    <frame>
      <ip>0x110F36</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>free_data</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>103</line>
    </frame>
    <frame>
      <ip>0x1111E3</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>drop_triangle</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>181</line>
    </frame>
    <frame>
      <ip>0x11079D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>&lt;tritet::triangle::Triangle as core::ops::drop::Drop&gt;::drop</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src</dir>
      <file>triangle.rs</file>
      <line>200</line>
    </frame>
    <frame>
      <ip>0x11068A</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ptr::drop_in_place&lt;tritet::triangle::Triangle&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ptr</dir>
      <file>mod.rs</file>
      <line>487</line>
    </frame>
    <frame>
      <ip>0x1100F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>mem_check_build::main</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src/bin</dir>
      <file>mem_check_build.rs</file>
      <line>17</line>
    </frame>
    <frame>
      <ip>0x1105FA</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ops::function::FnOnce::call_once</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>248</line>
    </frame>
    <frame>
      <ip>0x11057D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::sys_common::backtrace::__rust_begin_short_backtrace</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src/sys_common</dir>
      <file>backtrace.rs</file>
      <line>122</line>
    </frame>
    <frame>
      <ip>0x1106F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start::{{closure}}</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>145</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>call_once&lt;(), (dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>280</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;i32, &amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>{closure#2}</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;isize, std::rt::lang_start_internal::{closure_env#2}&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start_internal</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x1106BF</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>144</line>
    </frame>
    <frame>
      <ip>0x11012B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>main</fn>
    </frame>
  </stack>
  <auxwhat>Address 0x4bf70b0 is 0 bytes inside a block of size 32 free'd</auxwhat>
  <stack>
    <frame>
      <ip>0x483CA3F</ip>
      <obj>/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>free</fn>
    </frame>
    <frame>
      <ip>0x110F36</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>free_data</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>103</line>
    </frame>
    <frame>
      <ip>0x1111D1</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>drop_triangle</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>180</line>
    </frame>
    <frame>
      <ip>0x11079D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>&lt;tritet::triangle::Triangle as core::ops::drop::Drop&gt;::drop</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src</dir>
      <file>triangle.rs</file>
      <line>200</line>
    </frame>
    <frame>
      <ip>0x11068A</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ptr::drop_in_place&lt;tritet::triangle::Triangle&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ptr</dir>
      <file>mod.rs</file>
      <line>487</line>
    </frame>
    <frame>
      <ip>0x1100F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>mem_check_build::main</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src/bin</dir>
      <file>mem_check_build.rs</file>
      <line>17</line>
    </frame>
    <frame>
      <ip>0x1105FA</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ops::function::FnOnce::call_once</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>248</line>
    </frame>
    <frame>
      <ip>0x11057D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::sys_common::backtrace::__rust_begin_short_backtrace</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src/sys_common</dir>
      <file>backtrace.rs</file>
      <line>122</line>
    </frame>
    <frame>
      <ip>0x1106F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start::{{closure}}</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>145</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>call_once&lt;(), (dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>280</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;i32, &amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>{closure#2}</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;isize, std::rt::lang_start_internal::{closure_env#2}&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start_internal</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x1106BF</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>144</line>
    </frame>
    <frame>
      <ip>0x11012B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>main</fn>
    </frame>
  </stack>
  <auxwhat>Block was alloc'd at</auxwhat>
  <stack>
    <frame>
      <ip>0x483B7F3</ip>
      <obj>/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>malloc</fn>
    </frame>
    <frame>
      <ip>0x1110C0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>new_triangle</fn>
      <dir>/home/dorival/01-Code/rust/tritet/c_code</dir>
      <file>interface_triangle.h</file>
      <line>148</line>
    </frame>
    <frame>
      <ip>0x110894</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>tritet::triangle::Triangle::new</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src</dir>
      <file>triangle.rs</file>
      <line>66</line>
    </frame>
    <frame>
      <ip>0x10FB33</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>mem_check_build::main</fn>
      <dir>/home/dorival/01-Code/rust/tritet/src/bin</dir>
      <file>mem_check_build.rs</file>
      <line>5</line>
    </frame>
    <frame>
      <ip>0x1105FA</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>core::ops::function::FnOnce::call_once</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>248</line>
    </frame>
    <frame>
      <ip>0x11057D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::sys_common::backtrace::__rust_begin_short_backtrace</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src/sys_common</dir>
      <file>backtrace.rs</file>
      <line>122</line>
    </frame>
    <frame>
      <ip>0x1106F0</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start::{{closure}}</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>145</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>call_once&lt;(), (dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/core/src/ops</dir>
      <file>function.rs</file>
      <line>280</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;i32, &amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;&amp;(dyn core::ops::function::Fn&lt;(), Output=i32&gt; + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>{closure#2}</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>do_call&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>492</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>try&lt;isize, std::rt::lang_start_internal::{closure_env#2}&gt;</fn>
      <dir>library/std/src</dir>
      <file>panicking.rs</file>
      <line>456</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>catch_unwind&lt;std::rt::lang_start_internal::{closure_env#2}, isize&gt;</fn>
      <dir>library/std/src</dir>
      <file>panic.rs</file>
      <line>137</line>
    </frame>
    <frame>
      <ip>0x15520D</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start_internal</fn>
      <dir>library/std/src</dir>
      <file>rt.rs</file>
      <line>128</line>
    </frame>
    <frame>
      <ip>0x1106BF</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>std::rt::lang_start</fn>
      <dir>/rustc/99930ac7f8cbb5d9b319b2e2e92794fd6f24f556/library/std/src</dir>
      <file>rt.rs</file>
      <line>144</line>
    </frame>
    <frame>
      <ip>0x11012B</ip>
      <obj>/home/dorival/rust_modules/debug/mem_check_build</obj>
      <fn>main</fn>
    </frame>
  </stack>
</error>


<status>
  <state>FINISHED</state>
  <time>00:00:00:00.627 </time>
</status>

<errorcounts>
  <pair>
    <count>1</count>
    <unique>0x7</unique>
  </pair>
  <pair>
    <count>1</count>
    <unique>0x6</unique>
  </pair>
  <pair>
    <count>1</count>
    <unique>0x5</unique>
  </pair>
  <pair>
    <count>1</count>
    <unique>0x4</unique>
  </pair>
  <pair>
    <count>1</count>
    <unique>0x3</unique>
  </pair>
  <pair>
    <count>1</count>
    <unique>0x2</unique>
  </pair>
  <pair>
    <count>1</count>
    <unique>0x1</unique>
  </pair>
  <pair>
    <count>1</count>
    <unique>0x0</unique>
  </pair>
</errorcounts>

<suppcounts>
</suppcounts>

</valgrindoutput>
@spital
Copy link

spital commented Jun 23, 2022

I got that xml error before, today I tried different versions of valgrind with the latest cargo-valgrind from git and no xml error displayed (just std mem leak that was present in the tested project before).
Tested ./valgrind-3.17.0-13.fc35.x86_64.rpm, ./valgrind-3.18.1-7.fc35.x86_64.rpm, valgrind-1:3.19.0-3.fc35.x86_64
with
cargo install --git https://github.com/jfrimmel/cargo-valgrind cargo-valgrind
Ignored package cargo-valgrind v2.0.3 (https://github.com/jfrimmel/cargo-valgrind#dd048811) is already installed, use --force to override

@mfreeborn
Copy link

Same issue with the headline error:

XML format mismatch between valgrind and cargo valgrind: custom: duplicate field stack

That was on v2.1.0 of cargo-valgrind and v3.20 of valgrind itself.

Using the version in PR #67 worked.

@jfrimmel
Copy link
Owner

Hey, really sorry for the huge delay. This should be fixed on the current master-branch (and can be tested using cargo install --git https://github.com/jfrimmel/cargo-valgrind.git cargo-valgrind). Sorry for your inconvenience, but I could not work on this repository for various reasons.

Feel free to re-open this issue, if this does not solve your problem.

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

No branches or pull requests

4 participants