Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-12500

QDataStream operator<< crashes with KERN-EXEC 3 when there is not enough memory to serialize data

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • 4.7.0
    • 4.7.0
    • Core: I/O
    • None
    • Symbian^4
      WINSCW emulator only

    Description

      In out of memory situation I expect std::bad_alloc exception to be thrown, but when I try to serialize a large structure into QByteArray using QDataStream I get KERN-EXEC 3 panic. I've attached the test case that reproduces the problem.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            e0348803 Miikka Heikkinen
            chalup Jerzy Chalupski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes