Boost C++ Libraries: Ticket #3547: Valgrind finds errors into compressed_matrix serialization https://svn.boost.org/trac10/ticket/3547 <p> I tried to write a compressed matrix to an archive and to re-read it from the archive.<br /> Without valgrind, the program seems to run correctly, but, if run with valgrind, it outputs some errors.<br /> <br /> I attached the source code and the valgrind output.<br /> I ran valgrind with this command: </p> <pre class="wiki">valgrind ./compressed_mtx_ser test.arch &gt;&amp; valgrind.out </pre><p> It seems that the serialization function tries to write not itialized bytes to file. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3547 Trac 1.4.3 micdestefano@… Fri, 23 Oct 2009 13:15:40 GMT attachment set https://svn.boost.org/trac10/ticket/3547 https://svn.boost.org/trac10/ticket/3547 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">compressed_mtx_ser.cpp</span> </li> </ul> <p> Source code of the test program </p> Ticket micdestefano@… Fri, 23 Oct 2009 13:16:14 GMT attachment set https://svn.boost.org/trac10/ticket/3547 https://svn.boost.org/trac10/ticket/3547 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">valgrind.out</span> </li> </ul> <p> Valgrind output </p> Ticket micdestefano@… Fri, 23 Oct 2009 13:19:02 GMT <link>https://svn.boost.org/trac10/ticket/3547#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3547#comment:1</guid> <description> <p> I was forgetting to tell something about my environment: I use Boost 1.40 on a Linux CentOS 5.4 system. I've built static libraries only. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Gunter</dc:creator> <pubDate>Wed, 28 Oct 2009 22:21:43 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/3547#comment:2 https://svn.boost.org/trac10/ticket/3547#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.41.0</span> → <span class="trac-field-new">Boost 1.42.0</span> </li> </ul> Ticket