Subject: [Boost-bugs] [Boost C++ Libraries] #6574: Problem deserializing std::string
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-17 21:45:35
#6574: Problem deserializing std::string
---------------------------------------+------------------------------------
Reporter: anonymous | Owner: ramey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost 1.48.0 | Severity: Problem
Keywords: serialization std::string |
---------------------------------------+------------------------------------
My program crashes when i try to deserialize an std::string that was send
from one process to another via shared_memory.
I debug printed the exact serialized value in both processes and the IPC
is definitely not the problem. I also found out that the disabled old
version in serialization/string.hpp works fine for me (the one disabled by
#ifdef 0)
I'm using mingw46-x64 and boost 1.48.0, compiling with std=c++0x. gdb says
SIGTRAP and no exceptions are thrown or like that, so it is a hard program
crash when not using the debugger.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6574> 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:09 UTC