id summary reporter owner description type status milestone component version severity resolution keywords cc 2002 bugs in load_binary and save_binary on 64 bit machines MIchele De Stefano Matthias Troyer "I discovered that '''load_binary''' and '''save_binary''' do not work properly on 64 bit machines.[[BR]] I discovered the problem on CentOS 5.1, 32 and 64 bit machines, running the attached program with ''valgrind''.[[BR]] If you don't compile it with -DBOOST_SERIALIZATION_WORK_AROUND, the program runs correctly on the 32 bit machine only.[[BR]] On the 64 bit machine, the program seems to terminate correctly, but, if run with ''valgrind'', a lot of errors come out.[[BR]] This can appear as a minor bug, but, if you try to use Boost.MPI in conjunction with serialization (for example to broadcast an object of the class Mtx_Wrap ... see ticket #1998), your program crashes if you run it with more than one process.[[BR]] I have to add that, before boost 1.35.0 were released, I used the 1.35 development version without any problem on 32 and 64 bit machines both. At the moment, I have a lot of code that uses '''load_binary''' and '''save_binary''' like it is shown in the attached code." Bugs closed serialization Boost 1.35.0 Regression invalid load_binary save_binary 64 bit Douglas Gregor