[serialization] Uninformative exception thrown for binary_archive

Hi, I'm getting an exception thrown in basic_binary_iprimitive.hpp at line 154 ( load_binary ). I don't have a clue what the error really is, but from debugging I can see it happen when the member _IGcount and _IPcount of m_sb reaches 0. Is it perhaps the buffer that runs out of memory? I'm simply using binary_[o/i]archive as a drop in replacement for the text variants for serialization. I'm using 1.36 and MSVC 8.0.

On 24 Aug 2008, at 05:20, Sebastian.Karlsson@mmorpgs.org wrote:
Hi,
I'm getting an exception thrown in basic_binary_iprimitive.hpp at line 154 ( load_binary ). I don't have a clue what the error really is, but from debugging I can see it happen when the member _IGcount and _IPcount of m_sb reaches 0. Is it perhaps the buffer that runs out of memory? I'm simply using binary_[o/i]archive as a drop in replacement for the text variants for serialization. I'm using 1.36 and MSVC 8.0.
Can you send an example where this happens? Matthias
participants (2)
-
Matthias Troyer
-
Sebastian.Karlsson@mmorpgs.org