Opened 11 years ago

Closed 10 years ago

#6574 closed Bugs (wontfix)

Problem deserializing std::string

Reported by: anonymous Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.48.0 Severity: Problem
Keywords: serialization std::string Cc:

Description

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.

Change History (2)

comment:1 by anonymous, 11 years ago

I tested it on Linux now and the problem does not exist there. Maybe it has something to do with mingw's c++0x string implementation.

comment:2 by Robert Ramey, 10 years ago

Resolution: wontfix
Status: newclosed

OK - I'm closing this out now

Note: See TracTickets for help on using tickets.