Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Bad_alloc exception QDataStream serialization
Misty River last edited by
Hi, I am getting a very weird bad_alloc exception thrown when I try to deserialize an object.. I really can't figure out what's the problem.. I've check the << >> methods on both ends and they are identical.. there is no New allocation use anywhere.. Yet I get a bad_alloc at the line where I deserialize my object.. anyone ever encountered that problem?!?
What are you trying to serialize ?