Qt6 topics merged with General

Bad_alloc exception QDataStream serialization

  • 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?!?

  • Lifetime Qt Champion


    What are you trying to serialize ?

Log in to reply