Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Bad_alloc exception QDataStream serialization
Forum Update on Monday, May 27th 2025

Bad_alloc exception QDataStream serialization

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 835 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Misty River
    wrote on 6 Aug 2014, 02:08 last edited by
    #1

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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 6 Aug 2014, 07:21 last edited by
      #2

      Hi,

      What are you trying to serialize ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      6 Aug 2014, 02:08

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved