Opened 13 years ago
Last modified 13 years ago
#3547 new Bugs
Valgrind finds errors into compressed_matrix serialization
Reported by: | Owned by: | Gunter | |
---|---|---|---|
Milestone: | Boost 1.42.0 | Component: | uBLAS |
Version: | Boost 1.40.0 | Severity: | Problem |
Keywords: | uninitialised bytes memory | Cc: |
Description
I tried to write a compressed matrix to an archive and to re-read it from the archive.
Without valgrind, the program seems to run correctly, but, if run with valgrind, it outputs some errors.
I attached the source code and the valgrind output.
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.
Attachments (2)
Change History (4)
by , 13 years ago
Attachment: | compressed_mtx_ser.cpp added |
---|
comment:1 by , 13 years ago
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.
comment:2 by , 13 years ago
Milestone: | Boost 1.41.0 → Boost 1.42.0 |
---|
Note:
See TracTickets
for help on using tickets.
Source code of the test program