Sorry for the very late reply but after some changes to the project, I had to wait for it to be runnable again to test.
So the problem is still the same, nothing in the Valgrind message box. By running it into a console, I get this:
<errorcounts>
<pair>
<count>4</count>
<unique>0x11</unique>
</pair>
<pair>
<count>3</count>
<unique>0x12</unique>
</pair>
</errorcounts>
<status>
<state>FINISHED</state>
<time>00:00:00:02.634</time>
</status>
<suppcounts>
<pair>
<count>17</count>
<name>Debian libc6 (2.9.x) stripped dynamic linker</name>
</pair>
</suppcounts>
<error>
<unique>0x18</unique>
<tid>1</tid>
<kind>Leak_DefinitelyLost</kind>
<what>179,360 bytes in 1 blocks are definitely lost in loss record 1 of 2</what>
<leakedbytes>179360</leakedbytes>
<leakedblocks>1</leakedblocks>
<stack>
<frame>
<ip>0x40270FC</ip>
<obj>/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so</obj>
<fn>realloc</fn>
<dir>/build/buildd/valgrind-3.4.1/coregrind/m_replacemalloc</dir>
<file>vg_replace_malloc.c</file>
<line>429</line>
</frame>
<frame>
<ip>0x808ABC4</ip>
<obj>/Development/projects/MyApplication/MyApplicationTestExe/bin/Debug/MyApplicationTestExe</obj>
<fn>sigar_file_system_list_grow</fn>
<dir>/Development/tools/sigar/src</dir>
<file>sigar.c</file>
<line>391</line>
</frame>
<frame>
<ip>0x8092DB6</ip>
<obj>/Development/projects/MyApplication/MyApplicationTestExe/bin/Debug/MyApplicationTestExe</obj>
<fn>sigar_file_system_list_get</fn>
<dir>/Development/tools/sigar/src/os/linux</dir>
<file>linux_sigar.c</file>
<line>1132</line>
</frame>
<frame>
<ip>0x8052142</ip>
<obj>/Development/projects/MyApplication/MyApplicationTestExe/bin/Debug/MyApplicationTestExe</obj>
<fn>NokManagement::Nok_DataRetriever::InitialiseFS_List()</fn>
<dir>/Development/projects/MyApplication/NokManagement</dir>
<file>Nok_DataRetriever.cpp</file>
<line>18</line>
</frame>
<frame>
<ip>0x804CF4A</ip>
<obj>/Development/projects/MyApplication/MyApplicationTestExe/bin/Debug/MyApplicationTestExe</obj>
<fn>main</fn>
<dir>/Development/projects/MyApplication/MyApplicationTestExe</dir>
<file>main.cpp</file>
<line>22</line>
</frame>
</stack>
</error>
</valgrindoutput>
Expiration de la minuterie durant l'établissement du profile
The last line means something like: Timer expired during profile's creation.
There are a few things that are disturbing me in this result. It refers to two files which... are not included in my project! :shock:
To be exact, the sigar library is used inside the project. So it is linked to the includes and the .a of the library. sigar.c and linux_sigar.c are part of the source code of the library and were never included into the project. The location indicated for these files, is where the library was built before installation.
To be sure that no traces of wrong includes or wrong dependencies were still hidden somewhere, I simply deleted the entire folder with the sources and everything, compiled again with not a single complain from the compiler and then ran it again.
So this report indicates errors (leaks?) from non existing files, non included into the project, which does not depend on them... :shock: :shock:
I start to hope that I did something wrong because... that would be really weird...