[Boost-bugs] [Boost C++ Libraries] #3547: Valgrind finds errors into compressed_matrix serialization

Subject: [Boost-bugs] [Boost C++ Libraries] #3547: Valgrind finds errors into compressed_matrix serialization
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-23 13:14:37


#3547: Valgrind finds errors into compressed_matrix serialization
----------------------------------------+-----------------------------------
 Reporter: micdestefano@… | Owner: guwi17
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: uBLAS
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: uninitialised bytes memory |
----------------------------------------+-----------------------------------
 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:
 {{{
 valgrind ./compressed_mtx_ser test.arch >& valgrind.out
 }}}

 It seems that the serialization function tries to write not itialized
 bytes to file.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3547>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC