Robert, your computer clock is an hour fast. You might also run a memtest for that gcc bug. On 09/08/2010 10:06 AM, Robert Ramey wrote:
Paul Graphov wrote:
Hello Boost users!
I've upgraded to boost-1.44 and got a problem with binary serialization archives.
This code sample http://pastebin.com/Uv465sGt
worked well with 1.43 but doesn't work with 1.44
This is a program that creates a struct, serializes it, deserealizes back and compares, archive file name should be supplied as command line parameter.
After switching from binary_*archive to text_*archive it works well.
With binary_*archive it fails with
terminate called after throwing an instance of 'std::bad_alloc'
Stack trace is quite huge.
p.s. [druid@druid-desktop tmp]$ uname -a Linux druid-desktop 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux [druid@druid-desktop tmp]$ gcc --version gcc (Ubuntu/Linaro 4.4.4-13ubuntu2) 4.4.5 20100902 (prerelease)
I just built and ran this on my msvc compiler and windows system. So I don't know what to do about this.
As an aside. I"ve got ubuntu/linux installed which I'm using for some stuff unrelated to boost. I don't have boost loaded on it. I've having problems with gcc 4.3.2 installed on it. (Ubuntu bug 629092) So there might be something there. I'm not very confident about it.
Robert Ramey
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users